/* =============================================================
   VOXTER — Premium Homepage
   Dark cinematic theme · real app screens in light UI
   ============================================================= */

:root {
  --bg: #07070C;
  --bg-2: #0C0C14;
  --bg-soft: #11111C;
  --card: rgba(20, 20, 32, 0.5);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.16);
  --blue: #00C6FF;
  --purple: #7B61FF;
  --pink: #FF4D9D;
  --orange: #FF7A59;
  --white: #FFFFFF;
  --muted: #A2A2B5;
  --dim: #65657A;
  --grad: linear-gradient(120deg, #00C6FF 0%, #7B61FF 48%, #FF7A59 100%);
  --grad-warm: linear-gradient(135deg, #FF4D9D, #FF7A59);
  --grad-cool: linear-gradient(135deg, #00C6FF, #7B61FF);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
}
::selection { background: rgba(123, 97, 255, 0.4); color: #fff; }

a { color: inherit; }
img, video { display: block; max-width: 100%; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; }

/* Grain */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.45; mix-blend-mode: overlay;
}

/* Aurora ambient */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(130px); opacity: 0.4; will-change: transform;
}
.aurora .a1 { width: 720px; height: 720px; background: radial-gradient(circle, var(--purple), transparent 70%); top: -240px; left: -160px; animation: float1 24s var(--ease-io) infinite alternate; }
.aurora .a2 { width: 620px; height: 620px; background: radial-gradient(circle, var(--blue), transparent 70%); top: 24%; right: -220px; animation: float2 28s var(--ease-io) infinite alternate; }
.aurora .a3 { width: 560px; height: 560px; background: radial-gradient(circle, var(--orange), transparent 70%); bottom: -180px; left: 28%; opacity: 0.28; animation: float3 32s var(--ease-io) infinite alternate; }
@keyframes float1 { to { transform: translate(140px, 90px) scale(1.18); } }
@keyframes float2 { to { transform: translate(-90px, 120px) scale(1.1); } }
@keyframes float3 { to { transform: translate(-160px, -70px) scale(1.22); } }

/* =================== CUSTOM CURSOR =================== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; mix-blend-mode: difference;
}
.cursor-dot { width: 7px; height: 7px; background: #fff; transform: translate(-50%, -50%); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,0.6);
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s;
}
.cursor-ring.hover { width: 64px; height: 64px; border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.06); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 32px; max-width: 1320px; margin: 0 auto; }
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 86px; width: auto; transition: transform .3s var(--ease); }
.nav-brand:hover img { transform: scale(1.04); }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; position: relative; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); border-radius: 2px; transition: width .3s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 38px; padding: 0 14px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 100px; color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; font-family: 'JetBrains Mono', monospace; cursor: pointer; transition: all .2s;
}
.lang-switch:hover { background: rgba(255,255,255,0.1); border-color: var(--border-2); }
.btn-nav {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: var(--grad); color: #fff;
  text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 100px; border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(123, 97, 255, 0.4); transition: transform .2s var(--ease), box-shadow .3s; background-size: 160% 160%;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(123, 97, 255, 0.6); }
.nav-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }

/* =================== HERO =================== */
.hero { position: relative; z-index: 2; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 80px; overflow: hidden; }
.hero-bgvideo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bgvideo video { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: saturate(1.1); }
.hero-bgvideo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, transparent, var(--bg) 78%), linear-gradient(180deg, rgba(7,7,12,0.4), var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 100px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); animation: pulse 2s var(--ease-io) infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.7);} }

.hero h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 26px; }
.hero h1 .grad { background: var(--grad); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradShift 8s ease infinite; }
@keyframes gradShift { 0%,100%{background-position:0% 50%;} 50%{background-position:100% 50%;} }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; will-change: transform; }

.hero-sub { font-size: clamp(16px, 1.5vw, 20px); color: var(--muted); max-width: 520px; margin-bottom: 38px; line-height: 1.55; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px; padding: 16px 30px; background: var(--grad); background-size: 160% 160%; color: #fff;
  text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 100px; border: none; cursor: pointer;
  box-shadow: 0 8px 34px rgba(123, 97, 255, 0.45); position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .3s;
}
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 46px rgba(123, 97, 255, 0.62); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px; padding: 16px 26px; background: rgba(255,255,255,0.04); color: #fff;
  text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 100px; border: 1px solid var(--border); transition: all .25s var(--ease); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--border-2); }

.hero-meta { margin-top: 38px; display: flex; gap: 26px; color: var(--dim); font-size: 13px; font-family: 'JetBrains Mono', monospace; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: '◇'; color: var(--orange); }

/* Phone */
.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; perspective: 1600px; }
.phone-glow { position: absolute; width: 115%; height: 115%; background: radial-gradient(circle, rgba(123,97,255,0.42), transparent 62%); filter: blur(50px); z-index: -1; }
.phone {
  position: relative; width: 322px; aspect-ratio: 1180 / 2556; background: linear-gradient(165deg, #20202e, #0c0c14);
  border-radius: 52px; padding: 11px; box-shadow: 0 0 0 1px rgba(255,255,255,0.07), 0 40px 90px rgba(0,0,0,0.62), 0 0 120px rgba(123,97,255,0.22);
  transform-style: preserve-3d; will-change: transform;
}
.phone-screen { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; position: relative; background: #F4F2FB; transform: translateZ(0); }
.phone-screen img, .phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 24px; background: #000; border-radius: 100px; z-index: 5; }
.phone-shine { position: absolute; inset: 0; border-radius: 42px; background: linear-gradient(135deg, rgba(255,255,255,0.14), transparent 36%); pointer-events: none; z-index: 4; }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--dim); font-size: 11px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.12em; z-index: 3; }
.scroll-cue .mouse { width: 22px; height: 36px; border: 1.5px solid var(--dim); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: var(--muted); border-radius: 3px; animation: scrollDot 1.8s var(--ease-io) infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0;transform:translate(-50%,12px);} }

/* =================== FAQ =================== */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: border-color .3s; }
.faq-item:hover { border-color: var(--border-2); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 28px; font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 26px; font-weight: 300; color: var(--orange); line-height: 1; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 28px 26px; }
.faq-a p { color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 640px; }

/* =================== SECTION SHELL =================== */
section { position: relative; z-index: 2; }
.section { padding: 130px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 76px; }
.s-eyebrow { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--orange); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.s-title { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 18px; }
.s-sub { font-size: 17px; color: var(--muted); line-height: 1.6; }

/* =================== SCROLL-TELLING (pinned phone) =================== */
.story { position: relative; }
.story-track { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story-phone-col { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; align-self: start; }
.story-phone { position: relative; width: 318px; aspect-ratio: 1180 / 2556; }
.story-phone .phone { width: 100%; }
.story-screens { position: absolute; inset: 11px; border-radius: 42px; overflow: hidden; z-index: 1; }
.story-screens .screen { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: scale(1.04); }
.story-screens .screen.active { opacity: 1; transform: scale(1); }
.story-screens .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.story-steps { display: flex; flex-direction: column; gap: 0; padding: 8vh 0; }
.story-step { padding: 60px 0; opacity: 0.32; transition: opacity .45s var(--ease); border-left: 2px solid var(--border); padding-left: 34px; position: relative; }
.story-step.active { opacity: 1; }
.story-step.active::before { content: ''; position: absolute; left: -2px; top: 60px; bottom: 60px; width: 2px; background: var(--grad); }
.story-step .num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--orange); letter-spacing: 0.08em; margin-bottom: 14px; }
.story-step h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.story-step p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 420px; }
.story-step .ico { width: 54px; height: 54px; border-radius: 15px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.story-step:nth-child(1) .ico { color: var(--blue); }
.story-step:nth-child(2) .ico { color: var(--purple); }
.story-step:nth-child(3) .ico { color: var(--orange); }

/* =================== VALUE (b-roll bg) =================== */
.value { position: relative; padding: 160px 0; text-align: center; overflow: hidden; }
.value-video { position: absolute; inset: 0; z-index: 0; }
.value-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.value-video::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7,7,12,0.25), var(--bg) 82%); }
.value-inner { position: relative; z-index: 2; }
.value-quote { font-size: clamp(34px, 5.4vw, 70px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 1100px; margin: 0 auto 30px; }
.value-quote .grad { background: var(--grad); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradShift 8s ease infinite; }
.value-quote .w { display: inline-block; will-change: transform, opacity; }
.value-sub { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* =================== FEATURES =================== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.f-card {
  position: relative; padding: 34px; background: var(--card); backdrop-filter: blur(20px); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden; transform-style: preserve-3d; will-change: transform; transition: border-color .3s;
}
.f-card::before { content: ''; position: absolute; inset: 0; border-radius: 22px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.f-card:hover::before { opacity: 1; }
.f-card .glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(70px); opacity: 0; transition: opacity .4s; pointer-events: none; top: -60px; right: -40px; }
.f-card:hover .glow { opacity: 0.4; }
.f-ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transform: translateZ(40px); }
.f-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; transform: translateZ(28px); }
.f-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; transform: translateZ(18px); }
.f-card:nth-child(1) .f-ico svg, .f-card:nth-child(5) .f-ico svg { color: var(--blue); }
.f-card:nth-child(2) .f-ico svg, .f-card:nth-child(6) .f-ico svg { color: var(--orange); }
.f-card:nth-child(3) .f-ico svg { color: var(--purple); }
.f-card:nth-child(4) .f-ico svg { color: var(--pink); }
.f-card:nth-child(1) .glow { background: var(--blue); }
.f-card:nth-child(2) .glow { background: var(--orange); }
.f-card:nth-child(3) .glow { background: var(--purple); }
.f-card:nth-child(4) .glow { background: var(--pink); }
.f-card:nth-child(5) .glow { background: var(--blue); }
.f-card:nth-child(6) .glow { background: var(--orange); }

/* =================== APP PREVIEW (live videos) =================== */
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: center; }
.pv { display: flex; flex-direction: column; align-items: center; }
.pv .phone { width: 100%; max-width: 290px; }
.pv:nth-child(2) .phone { transform: translateY(-26px); }
.pv-label { margin-top: 22px; font-size: 13px; font-family: 'JetBrains Mono', monospace; color: var(--muted); letter-spacing: 0.04em; display: flex; align-items: center; gap: 8px; }
.pv:nth-child(2) .pv-label { margin-top: -4px; }
.pv-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* =================== AUDIO SAMPLE =================== */
.echo-card { max-width: 800px; margin: 0 auto; padding: 44px; background: var(--card); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 28px; position: relative; overflow: hidden; }
.echo-card::before { content: ''; position: absolute; top: -120px; right: -120px; width: 320px; height: 320px; background: radial-gradient(circle, var(--orange), transparent 60%); filter: blur(70px); opacity: 0.22; pointer-events: none; }
.echo-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; flex-wrap: wrap; gap: 16px; }
.echo-loc { display: flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.echo-loc::before { content: '◉'; color: var(--orange); }
.echo-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.echo-tag { padding: 5px 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 100px; font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.echo-tag.warm { background: rgba(255,122,89,0.1); color: var(--orange); border-color: rgba(255,122,89,0.3); }
.echo-place { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.echo-desc { color: var(--muted); font-size: 15px; margin-bottom: 30px; max-width: 480px; line-height: 1.6; }
.player { display: flex; align-items: center; gap: 20px; padding: 20px; background: rgba(0,0,0,0.32); border: 1px solid var(--border); border-radius: 20px; }
.player-play { width: 58px; height: 58px; border-radius: 50%; background: var(--grad-warm); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; box-shadow: 0 0 32px rgba(255,122,89,0.5); flex-shrink: 0; transition: transform .2s var(--ease); }
.player-play:hover { transform: scale(1.06); }
.player-wave { flex: 1; height: 52px; display: flex; align-items: center; gap: 3px; }
.player-wave span { flex: 1; background: linear-gradient(180deg, var(--orange), var(--pink)); border-radius: 3px; min-height: 4px; transform-origin: center bottom; transition: transform .07s linear; }
.player-wave.playing span { animation: waveB 1.3s var(--ease-io) infinite; }
.player-wave.reactive span { animation: none; }
@keyframes waveB { 0%,100%{transform:scaleY(0.4);} 50%{transform:scaleY(1.25);} }
.player-meta { display: flex; flex-direction: column; align-items: flex-end; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); flex-shrink: 0; }
.player-meta .time { color: var(--orange); font-weight: 600; font-size: 14px; }

/* =================== CITIES =================== */
.cities-globe { position: relative; max-width: 900px; height: 380px; margin: 0 auto 48px; border: 1px solid var(--border); border-radius: 28px; background: radial-gradient(circle at 50% 45%, rgba(123,97,255,0.08), transparent 65%), var(--card); backdrop-filter: blur(20px); overflow: hidden; }
.cg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse at center, #000 50%, transparent 85%); }
.cg-ring { position: absolute; top: 50%; left: 50%; border: 1px solid var(--border); border-radius: 50%; transform: translate(-50%,-50%); animation: cgspin 40s linear infinite; }
.cg-ring.r1 { width: 560px; height: 560px; }
.cg-ring.r2 { width: 760px; height: 760px; animation-direction: reverse; animation-duration: 60s; }
@keyframes cgspin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.cg-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cg-lines line { stroke: rgba(255,122,89,0.28); stroke-width: 0.3; stroke-dasharray: 2 2; }
.cg-pin { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translate(-50%,-50%); }
.cg-pin .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,122,89,0.6); animation: cgpulse 2.4s var(--ease-io) infinite; animation-delay: var(--d); }
.cg-pin .lbl { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--white); background: rgba(10,10,16,0.7); padding: 4px 10px; border-radius: 100px; border: 1px solid var(--border); white-space: nowrap; }
@keyframes cgpulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,89,0.55); } 70% { box-shadow: 0 0 0 16px rgba(255,122,89,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,89,0); } }
.cities-cta { display: flex; justify-content: center; }

/* =================== FINAL CTA =================== */
.final { padding: 150px 0; text-align: center; }
.final-card { max-width: 800px; margin: 0 auto; padding: 70px 50px; background: linear-gradient(160deg, rgba(123,97,255,0.16), rgba(0,198,255,0.05) 50%, rgba(255,122,89,0.1)); border: 1px solid rgba(255,255,255,0.1); border-radius: 34px; backdrop-filter: blur(20px); position: relative; overflow: hidden; }
.final-card::before { content: ''; position: absolute; inset: -2px; border-radius: 34px; padding: 2px; background: var(--grad); background-size: 200% 200%; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.45; pointer-events: none; animation: gradShift 8s ease infinite; }
.final-card h2 { font-size: clamp(32px, 5vw, 58px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 18px; }
.final-card p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 auto 36px; }
.store-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 26px; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.14); border-radius: 15px; color: #fff; text-decoration: none; min-width: 210px; transition: all .25s var(--ease); will-change: transform; }
.store-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); box-shadow: 0 12px 36px rgba(123,97,255,0.32); }
.store-btn .st { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.store-btn .st small { font-size: 11px; color: var(--muted); font-weight: 400; }
.store-btn .st b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }
.fine { font-size: 12px; color: var(--dim); font-family: 'JetBrains Mono', monospace; }

/* =================== FOOTER =================== */
footer { padding: 70px 0 44px; border-top: 1px solid var(--border); position: relative; z-index: 2; }
.foot-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.foot-brand { display: flex; flex-direction: column; }
.foot-brand .b2b-btn + .b2b-btn { margin-top: 10px; }
.foot-tag { color: var(--muted); font-size: 14px; max-width: 320px; }
.b2b-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 18px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 100px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; transition: all .25s var(--ease); align-self: flex-start; }
.b2b-btn svg { color: var(--blue); }
.b2b-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--purple); box-shadow: 0 6px 24px rgba(123,97,255,0.25); transform: translateY(-1px); }
.foot-links { display: flex; gap: 28px; justify-content: flex-end; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.foot-links a:hover { color: #fff; }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; color: var(--dim); font-size: 13px; font-family: 'JetBrains Mono', monospace; flex-wrap: wrap; gap: 12px; }

/* =================== REVEAL =================== */
/* Visible by default; hidden only once JS confirms animation works (html.anim-ready). */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.anim-ready .reveal { opacity: 0; transform: translateY(34px); }
html.anim-ready .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1400px) { .nav-links { gap: 24px; } .nav-brand img { height: 72px; } }
@media (max-width: 1240px) { .nav-links { gap: 18px; } .nav-links a { font-size: 13px; } .nav-brand img { height: 64px; } .nav-inner { padding: 8px 22px; } }
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,7,12,0.96); backdrop-filter: blur(22px); padding: 24px 32px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links a { font-size: 15px; }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,7,12,0.96); backdrop-filter: blur(22px); padding: 24px 32px; gap: 20px; border-bottom: 1px solid var(--border); }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { min-height: auto; padding-top: 120px; }
  .phone-stage { order: -1; }
  .hero .phone { width: min(78vw, 312px); }
  .story-track { grid-template-columns: 1fr; gap: 16px; }
  .story-phone-col { position: sticky; top: 70px; height: auto; padding: 10px 0 18px; z-index: 3; background: linear-gradient(180deg, var(--bg) 72%, transparent); }
  .story-phone { width: min(46vw, 196px); }
  .story-steps { padding: 0; }
  .story-step { padding: 38px 0; padding-left: 26px; }
  .story-step.active::before { top: 38px; bottom: 38px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; gap: 50px; }
  .pv:nth-child(2) .phone { transform: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 8px 20px; }
  .nav-brand img { height: 64px; }
  .section { padding: 90px 0; }
  .value, .final { padding: 110px 0; }
  .features { grid-template-columns: 1fr; }
  .final-card { padding: 48px 26px; }
  .player { flex-direction: column; align-items: stretch; gap: 14px; }
  .player-meta { flex-direction: row; justify-content: space-between; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .hero-meta { gap: 14px; }
  .store-btn { min-width: 0; flex: 1; justify-content: center; }
  .story-phone { width: min(52vw, 184px); }
  .pl-logo { height: 78px; }
  .s-title { font-size: clamp(28px, 7vw, 40px); }
  .echo-card { padding: 26px 20px; }
  .echo-head { gap: 12px; }
}

/* =================== SONAR (sound ripples in hero) =================== */
.sonar { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: -1; pointer-events: none; }
.sonar i { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 1.5px solid rgba(0,198,255,0.5); transform: scale(0); opacity: 0; will-change: transform, opacity; }
html.anim-ready .sonar i { animation: sonar 4.2s var(--ease-io) infinite; }
.sonar i:nth-child(2) { border-color: rgba(123,97,255,0.5); animation-delay: 1.4s !important; }
.sonar i:nth-child(3) { border-color: rgba(255,122,89,0.5); animation-delay: 2.8s !important; }
@keyframes sonar { 0% { transform: scale(0); opacity: 0.85; } 80% { opacity: 0.12; } 100% { transform: scale(9.5); opacity: 0; } }

/* =================== PRELOADER =================== */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(123,97,255,0.22), transparent 65%); filter: blur(60px); }
.pl-logo { height: 96px; width: auto; position: relative; opacity: 1; animation: plLogo .9s var(--ease) both; }
@keyframes plLogo { from { transform: translateY(10px) scale(0.96); } to { transform: none; } }
.pl-eq { display: flex; align-items: center; gap: 7px; height: 44px; position: relative; }
.pl-eq span { width: 6px; height: 14px; border-radius: 8px; background: var(--grad); transform-origin: center; animation: plEq 1.1s var(--ease-io) infinite; }
.pl-eq span:nth-child(1){animation-delay:0s;} .pl-eq span:nth-child(2){animation-delay:.12s;} .pl-eq span:nth-child(3){animation-delay:.24s;} .pl-eq span:nth-child(4){animation-delay:.36s;} .pl-eq span:nth-child(5){animation-delay:.48s;} .pl-eq span:nth-child(6){animation-delay:.36s;} .pl-eq span:nth-child(7){animation-delay:.24s;} .pl-eq span:nth-child(8){animation-delay:.12s;} .pl-eq span:nth-child(9){animation-delay:0s;}
@keyframes plEq { 0%,100% { transform: scaleY(0.5); } 50% { transform: scaleY(3); } }

/* =================== REDUCED MOTION =================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .story-screens .screen { transition: none; }
  .sonar i { animation: none !important; display: none; }
  .preloader { display: none !important; }
  html { scroll-behavior: auto; }
}
