:root {
  --bg: #050b1f;
  --bg2: #081232;
  --navy: #0a1633;
  --line: rgba(120, 160, 255, 0.14);
  --text: #eaf0ff;
  --muted: #9aa8cc;
  --blue: #1d63ff;
  --deep: #1d4dff;
  --sky: #38b6ff;
  --grad: linear-gradient(100deg, #1d4dff, #1d63ff 45%, #38b6ff);
  --radius: 22px;
  --head: 'Sora', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 12px/1 var(--head);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font: 600 15px/1 var(--head);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(29, 99, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(56, 182, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(56, 182, 255, 0.6); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(5, 11, 31, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { width: 132px; }
.links { display: flex; align-items: center; gap: 30px; }
.links a:not(.btn) { font: 500 14px/1 var(--head); text-decoration: none; color: rgba(234, 240, 255, 0.82); transition: color 0.2s; }
.links a:not(.btn):hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.06); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s; }
.nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 75% 40%, rgba(29, 99, 255, 0.22), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(56, 182, 255, 0.1), transparent 70%),
    var(--bg);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-visual { position: absolute; inset: 0 0 0 38%; }
.hero-visual canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero-visual.ready canvas { opacity: 1; }
.hero-static { display: none; position: absolute; inset: 18% 8% 18% 6%; }
.no-webgl .hero-static { display: block; }
.no-webgl canvas { display: none; }
.hero-static img { position: absolute; border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line); }
.hero-static .s1 { width: 82%; top: 0; right: 0; transform: perspective(1200px) rotateY(-14deg); }
.hero-static .s2 { width: 26%; bottom: 0; left: 4%; border-radius: 22px; }

.hero-in { position: relative; z-index: 2; pointer-events: none; }
.hero-in > * { pointer-events: auto; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; max-width: 11.5em; letter-spacing: -0.035em; }
.hero h1 .grad { display: inline; }
.lead { margin-top: 26px; max-width: 34em; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 40px 0 0; }
.pills li { padding: 9px 16px; border-radius: 999px; font: 500 13px/1 var(--head); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.pills li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); vertical-align: middle; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.section { position: relative; padding: 120px 0; }
.head { max-width: 720px; margin-bottom: 56px; }
.head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; }
.head p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 40, 100, 0.35), rgba(10, 22, 51, 0.25));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(56, 182, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(56, 182, 255, 0.35), 0 30px 60px -30px rgba(29, 99, 255, 0.6); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); box-shadow: 0 10px 24px -8px rgba(29, 99, 255, 0.8); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.work {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 110px;
}
.work:last-child { margin-bottom: 0; }
.work-alt .work-shots { order: 2; }
.work-shots { position: relative; padding: 0 0 12% 0; perspective: 1400px; }
.shot-d {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(120, 160, 255, 0.22), 0 0 80px -20px rgba(29, 99, 255, 0.45);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transition: transform 0.4s ease-out;
}
.work-alt .shot-d { --ry: 8deg; }
.shot-m {
  position: absolute;
  width: 26%;
  right: -4%;
  bottom: 0;
  border-radius: 22px;
  border: 6px solid #0b1020;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(120, 160, 255, 0.3);
  transform: translateZ(60px) rotateY(var(--ry, -8deg));
  transition: transform 0.4s ease-out;
}
.work-alt .shot-m { right: auto; left: -4%; }
.work-txt h3 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; margin-bottom: 18px; }
.work-txt > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.tags li { padding: 7px 14px; border-radius: 999px; font: 500 13px/1 var(--head); color: #cfe0ff; background: rgba(29, 99, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(56, 182, 255, 0.25); }
.work .cta { margin-top: 30px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--line); }
.steps b { display: block; font: 800 44px/1 var(--head); letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 22px; }
.steps h3 { font-size: 19px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15px; }

.prices { align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.price.featured { background: linear-gradient(180deg, rgba(29, 99, 255, 0.22), rgba(10, 22, 51, 0.4)); box-shadow: inset 0 0 0 1px rgba(56, 182, 255, 0.5), 0 40px 80px -40px rgba(29, 99, 255, 0.9); }
.badge { position: absolute; top: -13px; left: 32px; padding: 7px 14px; border-radius: 999px; background: var(--grad); font: 600 12px/1 var(--head); }
.price h3 { font-size: 20px; }
.amount { margin-top: 18px; font: 800 46px/1 var(--head); letter-spacing: -0.03em; }
.amount small { display: block; font: 500 13px/1 var(--body); letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.sub { margin-top: 12px; color: var(--muted); font-size: 15px; }
.price ul { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; font-size: 15px; }
.price li { display: flex; gap: 12px; }
.price li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(56, 182, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338b6ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.price .btn { margin-top: auto; }
.extras { margin-top: 26px; padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--line); }
.extras h3 { font-size: 18px; margin-bottom: 18px; }
.extras ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.extras li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.extras li span { color: var(--muted); }
.extras li b { font-family: var(--head); font-weight: 600; white-space: nowrap; }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(56, 182, 255, 0.4); }
.faq summary { position: relative; padding: 22px 60px 22px 26px; font: 600 16px/1.4 var(--head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(45deg); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

.contact { background: radial-gradient(50% 60% at 20% 30%, rgba(29, 99, 255, 0.16), transparent 70%); }
.contact-in { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact-txt h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; }
.contact-txt > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 17px; }
.direct { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.direct a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 600 16px/1.3 var(--head); word-break: break-all; }
.direct svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: rgba(29, 99, 255, 0.16); fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form { display: grid; gap: 18px; padding: 36px; border-radius: 28px; background: linear-gradient(180deg, rgba(20, 40, 100, 0.4), rgba(10, 22, 51, 0.5)); box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -50px rgba(29, 99, 255, 0.8); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.form label { display: grid; gap: 8px; font: 500 13px/1.3 var(--head); color: #c7d3f2; }
.form input:not([type='checkbox']),
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(5, 11, 31, 0.6);
  box-shadow: inset 0 0 0 1px rgba(120, 160, 255, 0.2);
  color: var(--text);
  font: 400 15px/1.4 var(--body);
  transition: box-shadow 0.2s;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa8cc' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.form select option { background: var(--navy); }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(29, 99, 255, 0.2); }
.form .invalid { box-shadow: inset 0 0 0 2px #ff5a7a !important; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font: 400 13px/1.5 var(--body); color: var(--muted); }
.form .check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); }
.form .check a { color: var(--sky); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-msg { min-height: 1.5em; font-size: 15px; }
.form-msg.ok { color: #5ee0a0; }
.form-msg.err { color: #ff7d95; }

.foot { padding: 64px 0 32px; border-top: 1px solid var(--line); background: #040919; }
.foot-in { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.foot-in p { color: var(--muted); font-size: 14px; }
.foot nav { display: flex; gap: 24px; }
.foot nav a { font: 500 14px/1 var(--head); text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: #fff; }
.copy { margin-top: 36px; color: rgba(154, 168, 204, 0.6); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

.legal { padding: 140px 0 100px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--sky); }

@media (max-width: 1020px) {
  .g3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .work, .contact-in { grid-template-columns: 1fr; gap: 40px; }
  .work-alt .work-shots { order: 0; }
  .work-shots { max-width: 640px; }
  .hero-visual { inset: 0 0 0 20%; opacity: 0.55; }
}

@media (max-width: 760px) {
  .links {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: rgba(5, 11, 31, 0.97);
    box-shadow: 0 1px 0 var(--line);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .links a:not(.btn) { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .links .btn { margin-top: 18px; }
  .nav.open .links { transform: none; }
  .nav.open { background: rgba(5, 11, 31, 0.97); }
  .burger { display: flex; }
  .hero { flex-direction: column; align-items: stretch; padding: 76px 0 80px; min-height: 0; }
  .hero-visual { position: relative; inset: auto; height: 62vw; min-height: 260px; max-height: 420px; opacity: 1; margin-bottom: 8px; }
  .hero-static { inset: 6% 6% 4%; }
  .g3, .steps, .row2, .row3, .extras ul { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
  .head { margin-bottom: 40px; }
  .card, .price, .extras { padding: 28px 24px; }
  .form { padding: 24px 20px; border-radius: 22px; }
  .form .btn { justify-self: stretch; }
  .work { margin-bottom: 80px; }
  .shot-m { width: 30%; right: -2%; border-width: 4px; border-radius: 16px; }
  .work-alt .shot-m { left: -2%; }
  .cta .btn { flex: 1 1 auto; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
}
