* { box-sizing: border-box; }
:root {
  --black: #05060a;
  --dark: #090f1f;
  --navy: #061b3c;
  --blue: #0c3b78;
  --gold: #d7a84f;
  --white: #ffffff;
  --gray: #aeb7c7;
  --line: rgba(255,255,255,.14);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.85;
}
a { color: inherit; }
.page-loader {
  position: fixed; inset: 0; z-index: 999;
  background: #02040a;
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.hide { opacity: 0; visibility: hidden; }
.loader-logo { font-size: 34px; font-weight: 900; letter-spacing: .08em; color: var(--gold); }
.loader-bar { width: 240px; height: 4px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 999px; margin-top: 18px; }
.loader-bar span { display:block; width: 50%; height:100%; background: var(--gold); animation: loading 1s infinite alternate; }
@keyframes loading { to { transform: translateX(120px); } }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 78px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,.22));
  backdrop-filter: blur(12px);
}
.logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display:grid; place-items:center; font-weight:900;
  background: linear-gradient(135deg, var(--gold), #fff2c6);
  color: #07152d;
}
.logo strong { display:block; font-size: 20px; letter-spacing:.02em; }
.logo small { display:block; color: var(--gray); font-size: 10px; letter-spacing:.08em; }
.nav { display:flex; align-items:center; gap:24px; }
.nav a { text-decoration:none; font-size:14px; font-weight:800; color:#eef3ff; opacity:.92; }
.nav-contact { padding: 10px 18px; border-radius: 999px; background: var(--gold); color:#06152c !important; }
.menu-button { display:none; background:none; border:0; color:#fff; font-size:28px; }

.hero { position:relative; min-height: 100vh; overflow:hidden; display:flex; align-items:center; padding: 140px 5vw 80px; }
.hero-video { position:absolute; inset:0; overflow:hidden; }
.cinema-layer { position:absolute; inset:-10%; background-size:cover; background-position:center; animation: zoom 14s ease-in-out infinite alternate; }
.layer-a {
  background-image: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,.1) 100%), url("assets/hero-bg.svg");
}
.layer-b {
  opacity:.35;
  background-image: radial-gradient(circle at 70% 35%, rgba(215,168,79,.34), transparent 26%), radial-gradient(circle at 25% 75%, rgba(12,59,120,.65), transparent 32%);
  animation-duration: 9s;
}
.cinema-noise { position:absolute; inset:0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 1px, transparent 1px, transparent 4px); opacity:.32; }
@keyframes zoom { to { transform: scale(1.08) translateY(-1%); } }
.hero-content { position:relative; z-index:2; max-width: 760px; }
.eyebrow { color: var(--gold); font-weight:900; letter-spacing:.18em; font-size:13px; margin: 0 0 12px; }
.hero h1 { margin:0; font-size: clamp(46px, 8vw, 92px); line-height:1.08; letter-spacing:.02em; }
.hero-lead { max-width: 680px; color:#e8eef9; font-size:18px; margin: 26px 0 0; }
.hero-actions { display:flex; gap:16px; flex-wrap:wrap; margin-top:34px; }
.btn { text-decoration:none; display:inline-block; border-radius:999px; padding:14px 28px; font-weight:900; }
.btn.primary { background: var(--gold); color:#07152d; }
.btn.ghost { border:1px solid rgba(255,255,255,.4); color:#fff; }
.hero-phone {
  position:absolute; z-index:2; right:6vw; bottom:9vh; width:min(420px, 34vw);
  filter: drop-shadow(0 35px 60px rgba(0,0,0,.55));
}
.phone-screen { border: 12px solid #111; border-radius: 36px; overflow:hidden; background:#111; transform: rotate(-7deg); }
.phone-screen img, .big-phone img { width:100%; display:block; }
.floating { animation: float 4.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-18px); } }
.scroll-cue { position:absolute; bottom:24px; left:5vw; color:var(--gray); font-size:12px; letter-spacing:.2em; writing-mode: vertical-rl; }

.section { padding: 100px 5vw; position:relative; }
.dark-section { background: linear-gradient(180deg, #05060a, #0b1120); }
.section-head { max-width: 860px; margin-bottom: 42px; }
.section-head h2, .split-copy h2, .company-card h2, .contact-copy h2 { font-size: clamp(32px, 5vw, 58px); line-height:1.22; margin:0 0 16px; }
.section-head p, .split-copy p, .contact-copy p { color:#cbd4e6; }

.netflix-row { display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  position:relative; min-height: 420px; border-radius: 24px; overflow:hidden;
  background:#111927; border:1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feature-card:hover { transform: scale(1.045); border-color: rgba(215,168,79,.7); box-shadow: 0 40px 100px rgba(0,0,0,.45); z-index:2; }
.feature-card img { width:100%; height:210px; object-fit:cover; background:#111; }
.feature-card div { padding: 22px; }
.feature-card span { color: var(--gold); font-weight:900; }
.feature-card h3 { margin: 8px 0; font-size:20px; }
.feature-card p { color:#cbd4e6; font-size:14px; margin:0; }

.split-section { display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:center; background: radial-gradient(circle at 80% 30%, rgba(215,168,79,.13), transparent 32%), #080d18; }
.check-list { list-style:none; padding:0; margin:28px 0 0; }
.check-list li { margin:10px 0; padding-left:34px; position:relative; font-weight:800; }
.check-list li:before { content:"✓"; position:absolute; left:0; color:var(--gold); }
.device-stage { position:relative; min-height:560px; display:grid; place-items:center; }
.big-phone { width:min(390px, 80%); border:12px solid #111; border-radius:40px; overflow:hidden; box-shadow:0 40px 90px rgba(0,0,0,.45); }
.metric-card { position:absolute; padding:12px 18px; border-radius:16px; background:rgba(215,168,79,.94); color:#06152d; font-weight:900; box-shadow:0 20px 45px rgba(0,0,0,.25); }
.metric-card.one { top: 18%; left: 8%; }
.metric-card.two { bottom: 18%; right: 8%; }

.retouch-section { background:#05060a; }
.before-after { display:grid; grid-template-columns: 1fr auto 1fr; gap:24px; align-items:center; }
.ba-card { border:1px solid var(--line); border-radius:24px; overflow:hidden; background:#0d1425; padding:22px; }
.ba-card img { width:100%; border-radius:18px; display:block; }
.ba-card h3 { color:var(--gold); margin:0 0 14px; }
.ba-card p { color:#cbd4e6; }
.arrow { font-size:44px; color:var(--gold); font-weight:900; }
.service-tags { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.service-tags span { border:1px solid rgba(215,168,79,.55); border-radius:999px; padding:9px 16px; color:#ffe2a3; background:rgba(215,168,79,.08); }

.ip-section { background: linear-gradient(180deg, #0b1120, #05060a); }
.ip-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; }
.ip-box { padding:28px; border-radius:22px; background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border:1px solid var(--line); }
.ip-box strong { color:var(--gold); font-size:24px; }
.ip-box p { color:#cbd4e6; }

.company-section { background: url("assets/company-bg.svg") center/cover no-repeat fixed; }
.company-card { max-width:980px; margin:auto; padding:42px; border-radius:28px; background:rgba(5,6,10,.82); border:1px solid var(--line); backdrop-filter: blur(16px); }
.company-card dl { margin:0; }
.company-card div { display:grid; grid-template-columns: 180px 1fr; border-bottom:1px solid var(--line); }
.company-card div:last-child { border-bottom:0; }
.company-card dt, .company-card dd { padding:18px; margin:0; }
.company-card dt { color:var(--gold); font-weight:900; }

.contact-section { display:grid; grid-template-columns: .9fr 1.1fr; gap:44px; align-items:start; background:linear-gradient(135deg, #061b3c, #05060a); }
.contact-form { padding:34px; border-radius:26px; background:#fff; color:#111; }
.contact-form label { display:block; font-weight:900; margin-bottom:18px; }
.contact-form input, .contact-form textarea { width:100%; margin-top:8px; border:1px solid #d7dce8; border-radius:12px; padding:13px; font:inherit; }
.contact-form button { width:100%; border:0; border-radius:999px; padding:15px; background:#061b3c; color:#fff; font-weight:900; cursor:pointer; }
.contact-form p { color:#667085; font-size:12px; }

.footer { padding:38px 5vw; background:#02040a; color:#cbd4e6; display:grid; gap:8px; }
.footer-logo { color:var(--gold); font-size:22px; font-weight:900; }

.top-button { position:fixed; right:22px; bottom:22px; width:48px; height:48px; border-radius:50%; border:0; background:var(--gold); color:#06152d; font-weight:900; cursor:pointer; opacity:0; transform:translateY(10px); transition:.25s; z-index:40; }
.top-button.show { opacity:1; transform:translateY(0); }

.reveal { opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity:1; transform: translateY(0); }

@media (max-width: 980px) {
  .menu-button { display:block; }
  .nav { position:absolute; right:5vw; top:72px; display:none; flex-direction:column; background:rgba(5,6,10,.96); border:1px solid var(--line); border-radius:18px; padding:18px; width:240px; }
  .nav.open { display:flex; }
  .hero { padding-top:120px; }
  .hero-phone { position:relative; right:auto; bottom:auto; width:min(360px, 88vw); margin:40px auto 0; }
  .hero { display:block; }
  .netflix-row, .ip-grid, .split-section, .contact-section { grid-template-columns:1fr; }
  .before-after { grid-template-columns:1fr; }
  .arrow { text-align:center; transform:rotate(90deg); }
  .company-card div { grid-template-columns:1fr; }
}
