/* ================================================================
   ONCE HUMAN — Affiliate Pre-Lander V4
   Desktop-first | Multi-language | Cloudflare Pages
   ================================================================
   V4 CHANGES vs V3:
   ✓ Video overlay reduced — footage clearly visible
   ✓ Glitch animation more dramatic + longer duration
   ✓ Logo enlarged to match CTA height in topbar
   ✓ KPI strip removed from hero (kept in proof section only)
   ✓ Qualify card moved to standalone section between install/showcase
   ✓ "no VPN" removed everywhere
   ✓ 3D gaming SVG icons for spec cards
   ✓ Language switcher component
   ✓ 5 languages: EN / DE / FR / NL / NO
   ================================================================ */

:root {
  --cyan:        #1DE3E3;
  --cyan2:       #0af7f7;
  --cyan-dim:    rgba(29, 227, 227, .13);
  --cyan-glow:   rgba(29, 227, 227, .42);
  --magenta:     #E8176C;
  --mag-dim:     rgba(232, 23, 108, .12);
  --mag-glow:    rgba(232, 23, 108, .40);

  --bg:       #03060f;
  --bg2:      #060c1a;
  --surf:     #0a1020;
  --surf2:    #0e1628;

  --border:   rgba(29, 227, 227, .08);
  --border-s: rgba(29, 227, 227, .22);
  --border-mg:rgba(232, 23, 108, .25);

  --text:   #d8eaf8;
  --muted:  #5d7da0;
  --muted2: #2e4461;
  --gold:   #f5c118;

  --fd: 'Barlow Condensed', 'Impact', sans-serif;
  --fb: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --fm: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  --wrap: 1200px;
  --r:    10px;
  --rl:   18px;
  --rp:   999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.022'/%3E%3C/svg%3E");
}
img    { display: block; max-width: 100%; height: auto; }
a      { color: var(--cyan); text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.wrap    { max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }
.section    { padding-block: 88px; }
.section--sm{ padding-block: 52px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Typography ─────────────────────────────────────────── */
.t-over { font-family: var(--fm); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.t-hero { font-family: var(--fd); font-size: clamp(52px, 7.6vw, 106px); font-weight: 900; line-height: .9; letter-spacing: -.018em; text-transform: uppercase; }
.t-h2   { font-family: var(--fd); font-size: clamp(34px, 5vw, 64px); font-weight: 800; line-height: .95; text-transform: uppercase; letter-spacing: -.01em; }
.t-lead { font-size: 18px; line-height: 1.74; color: var(--muted); }
.tc { color: var(--cyan); }
.tm { color: var(--magenta); }

.stb          { display: flex; flex-direction: column; gap: 10px; margin-bottom: 48px; }
.stb--center  { align-items: center; text-align: center; }
.stb__line    { width: 64px; height: 3px; border-radius: var(--rp); background: linear-gradient(90deg, var(--cyan), transparent); }
.stb--center .stb__line { margin-inline: auto; }

/* ── Badges ─────────────────────────────────────────────── */
.badge       { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--rp); font-family: var(--fm); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.badge--free { background: rgba(29,227,227,.10); border: 1px solid rgba(29,227,227,.30); color: var(--cyan); }
.badge--win  { background: rgba(29,227,227,.05); border: 1px solid rgba(29,227,227,.15); color: var(--muted); }
.badge--live { background: rgba(232,23,108,.10); border: 1px solid rgba(232,23,108,.30); color: var(--magenta); }
.badge--live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); animation: live-dot 1.4s infinite; flex-shrink: 0; }
@keyframes live-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.72)} }

/* ═══════════════════════════════════════════════════════════
   GLITCH — V4: more dramatic, longer burst, visible displacement
   ═══════════════════════════════════════════════════════════ */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  font-family: inherit; font-size: inherit; font-weight: inherit;
  text-transform: inherit; letter-spacing: inherit; line-height: inherit;
  color: inherit;
}
/* Magenta channel — active 18–24% of cycle */
.glitch::before {
  color: var(--magenta);
  text-shadow: 0 0 8px var(--mag-glow);
  animation: glitch-a 2.8s infinite;
  clip-path: polygon(0 20%, 100% 20%, 100% 50%, 0 50%);
}
/* Cyan channel — active 22–28% of cycle */
.glitch::after {
  color: var(--cyan2);
  text-shadow: 0 0 8px var(--cyan-glow);
  animation: glitch-b 2.8s infinite;
  clip-path: polygon(0 58%, 100% 58%, 100% 82%, 0 82%);
}
@keyframes glitch-a {
  0%,17%,100%  { transform:translate(0); opacity:0; }
  18%          { transform:translate(-7px, 2px); opacity:1; clip-path:polygon(0 18%,100% 18%,100% 46%,0 46%); }
  20%          { transform:translate(7px,-2px); opacity:1; clip-path:polygon(0 55%,100% 55%,100% 78%,0 78%); }
  22%          { transform:translate(-5px, 3px); opacity:1; clip-path:polygon(0 30%,100% 30%,100% 52%,0 52%); }
  24%          { transform:translate(4px,-1px); opacity:.8; clip-path:polygon(0 5%,100% 5%,100% 22%,0 22%); }
  26%          { transform:translate(0); opacity:0; }
  /* second burst */
  68%,100%     { transform:translate(0); opacity:0; }
  69%          { transform:translate(-6px, 1px); opacity:1; clip-path:polygon(0 40%,100% 40%,100% 65%,0 65%); }
  71%          { transform:translate(6px,-3px); opacity:1; clip-path:polygon(0 12%,100% 12%,100% 38%,0 38%); }
  73%          { transform:translate(0); opacity:0; }
}
@keyframes glitch-b {
  0%,19%,100%  { transform:translate(0); opacity:0; }
  20%          { transform:translate(7px, 2px); opacity:1; clip-path:polygon(0 52%,100% 52%,100% 75%,0 75%); }
  22%          { transform:translate(-7px,-2px); opacity:1; clip-path:polygon(0 22%,100% 22%,100% 44%,0 44%); }
  24%          { transform:translate(5px, 4px); opacity:1; clip-path:polygon(0 68%,100% 68%,100% 88%,0 88%); }
  26%          { transform:translate(-3px, 0); opacity:.7; clip-path:polygon(0 0%,100% 0%,100% 18%,0 18%); }
  28%          { transform:translate(0); opacity:0; }
  70%,100%     { transform:translate(0); opacity:0; }
  71%          { transform:translate(7px,-2px); opacity:1; clip-path:polygon(0 60%,100% 60%,100% 82%,0 82%); }
  73%          { transform:translate(-6px, 2px); opacity:1; clip-path:polygon(0 28%,100% 28%,100% 50%,0 50%); }
  75%          { transform:translate(0); opacity:0; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 0 34px; height: 56px;
  border-radius: var(--rp); border: none;
  font-family: var(--fd); font-size: 18px; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap; text-decoration: none !important;
  position: relative; overflow: hidden; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.18) 0%, transparent 65%);
  opacity: 0; transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }
.btn--xl { height: 66px; font-size: 21px; padding: 0 48px; }
.btn--primary {
  background: linear-gradient(138deg, #1DE3E3 0%, #008888 100%);
  color: #021315; font-weight: 900;
  box-shadow: 0 0 38px var(--cyan-glow), 0 4px 22px rgba(0,0,0,.6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 0 64px var(--cyan-glow), 0 8px 30px rgba(0,0,0,.7); }
.btn--primary:active { transform: translateY(0); }
.btn--outline { background: transparent; border: 1.5px solid var(--border-s); color: var(--text); backdrop-filter: blur(10px); }
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); transform: translateY(-2px); }
.btn__icon { width: 21px; height: 21px; flex-shrink: 0; fill: currentColor; }

/* ── Cards ───────────────────────────────────────────────── */
.card         { background: var(--surf);  border: 1px solid var(--border);    border-radius: var(--rl); padding: 28px; }
.card--accent { background: var(--cyan-dim); border: 1px solid var(--border-s); }
.card--warn   { background: rgba(232,23,108,.07); border: 1px solid var(--border-mg); border-left: 4px solid var(--magenta); }

/* Platform warning */
#platform-warning {
  display: none; background: #160410; border-bottom: 2px solid var(--magenta);
  padding: 12px 24px; text-align: center; font-size: 14px; color: #ffadd4;
  position: relative; z-index: 60;
}

/* ═══════════════════════════════════════════════════════════
   TOPBAR — V4: logo enlarged to match CTA height
   ═══════════════════════════════════════════════════════════ */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(3, 6, 15, .94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.topbar__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
/* Logo: matches oncehuman.game proportions — prominent but clean */
.topbar__logo { flex-shrink: 0; }
.topbar__logo img {
  height: 56px;       /* V4: enlarged — matches CTA visual weight */
  width: auto;
  display: block;
}
.topbar__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar .btn   { height: 44px; font-size: 13px; padding: 0 20px; }

/* ── Language Switcher ──────────────────────────────────── */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px; height: 36px;
  background: var(--surf); border: 1px solid var(--border-s);
  border-radius: var(--rp); color: var(--muted);
  font-family: var(--fm); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: var(--cyan); color: var(--text); }
.lang-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.lang-chevron { transition: transform .2s; }
.lang-switcher.is-open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surf2); border: 1px solid var(--border-s);
  border-radius: var(--r); overflow: hidden;
  min-width: 150px;
  box-shadow: 0 12px 36px rgba(0,0,0,.6), 0 0 20px rgba(29,227,227,.06);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 50;
}
.lang-switcher.is-open .lang-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px;
  background: none; border: none;
  color: var(--muted); font-family: var(--fb); font-size: 13px;
  cursor: pointer; text-align: left;
  transition: background .15s, color .15s;
}
.lang-option:hover { background: var(--cyan-dim); color: var(--text); }
.lang-option.is-active { color: var(--cyan); background: rgba(29,227,227,.06); }
.lang-option .flag { font-size: 18px; }
.lang-option .lname { flex: 1; }
.lang-option .lcode { font-family: var(--fm); font-size: 10px; letter-spacing: .1em; color: var(--muted2); }

/* ═══════════════════════════════════════════════════════════
   HERO — V4: video clearly visible, minimal overlay
   KPI strip REMOVED from hero (it lives only in proof section)
   Qualify card REMOVED from hero (standalone section below)
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-block: 0 88px;
}

/* ── VIDEO — V4: brighter, more visible ─────────────────── */
.hero__video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  /* V4: brightness increased from .72 → .88 — video is clearly visible */
  filter: brightness(.88) saturate(1.12);
}
/* V4: overlay is MUCH lighter — only bottom and very thin left edge */
.hero__video-wrap::after {
  content: ''; position: absolute; inset: 0;
  background:
    /* Bottom gradient for text readability */
    linear-gradient(to top,
      rgba(3,6,15,.95)  0%,
      rgba(3,6,15,.60)  20%,
      rgba(3,6,15,.18)  45%,
      transparent       65%),
    /* Thin left edge for text column */
    linear-gradient(90deg,
      rgba(3,6,15,.55)  0%,
      rgba(3,6,15,.22)  32%,
      transparent       52%);
}

.hero__scanlines {
  position: absolute; inset: 0; z-index: 1;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.05) 3px, rgba(0,0,0,.05) 4px);
  pointer-events: none;
}
.hero__accent-bar {
  position: absolute; left: 0; top: 10%; bottom: 10%; width: 3px; z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--cyan) 35%, var(--magenta) 68%, transparent);
  box-shadow: 0 0 18px var(--cyan-glow); opacity: .7;
}
.hero__hud {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; gap: 18px; align-items: center;
  font-family: var(--fm); font-size: 10px; color: var(--muted);
  letter-spacing: .12em; text-transform: uppercase;
  background: rgba(3,6,15,.52); border: 1px solid var(--border);
  border-radius: var(--rp); padding: 6px 18px;
  backdrop-filter: blur(8px); white-space: nowrap;
}
.hero__hud-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: live-dot 2s infinite; }
.hero__hud-sep   { color: var(--border-s); }
.hero__corner { position: absolute; z-index: 3; width: 36px; height: 36px; }
.hero__corner--tl { top: 18px; left: 18px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hero__corner--tr { top: 18px; right: 18px; border-top: 2px solid var(--magenta); border-right: 2px solid var(--magenta); }
.hero__corner--bl { bottom: 18px; left: 18px; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.hero__corner--br { bottom: 18px; right: 18px; border-bottom: 2px solid var(--magenta); border-right: 2px solid var(--magenta); }

.hero__content { position: relative; z-index: 4; max-width: 640px; padding-top: 120px; }
.hero__eyebrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__title   { margin-bottom: 18px; }
.hero__title .line-1 { display: block; color: var(--cyan); }
.hero__title .line-2 { display: block; color: var(--text); }
.hero__title .line-3 { display: block; color: var(--text); }
.hero__sub { font-size: 18px; line-height: 1.74; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero__sub strong { color: var(--text); }

.hero__cta-wrap { margin-bottom: 0; }
.hero__friction { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.hero__friction-item {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--fm); font-size: 11px;
  color: var(--muted2); letter-spacing: .07em; text-transform: uppercase;
}
.hero__friction-item::before { content: '✓'; color: var(--cyan); font-size: 12px; font-weight: 700; }
.hero__legal { font-size: 11px; color: var(--muted2); margin-top: 14px; line-height: 1.5; }
.hero__legal a { color: var(--muted2); text-decoration: underline; text-decoration-color: rgba(46,68,97,.45); }
.hero__legal a:hover { color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   QUALIFY SECTION — Standalone, between Install and Showcase
   ═══════════════════════════════════════════════════════════ */
.qualify-section {
  background: var(--bg2);
  border-block: 1px solid rgba(232,23,108,.18);
  padding-block: 40px;
}
.qualify-standalone {
  max-width: 860px; margin: 0 auto;
  border-radius: var(--rl);
  padding: 22px 28px;
}
.qualify-standalone .qualify-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fm); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 14px;
}
.qualify-standalone .qualify-title::before { content: '⚠'; font-size: 13px; }
.qualify-standalone ul { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.qualify-standalone li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted);
}
.qualify-standalone li strong { color: var(--text); }
.qualify-standalone li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--magenta); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   INSTALL SECTION
   ═══════════════════════════════════════════════════════════ */
.install { background: var(--surf); border-block: 1px solid var(--border); }
.install__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding-bottom: 28px; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 25px; top: 52px; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--border-s), transparent);
}
.step__num {
  width: 52px; height: 52px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: 24px; font-weight: 900;
  flex-shrink: 0; z-index: 1;
  background: var(--bg2); border: 1.5px solid var(--border-s); color: var(--cyan);
}
.step__body h4 { font-family: var(--fd); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; line-height: 1; padding-top: 12px; }
.step__body p  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── System Requirements — 3D gaming icons ─────────────── */
.specs-list { display: flex; flex-direction: column; gap: 10px; }
.spec {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color .18s;
}
.spec:hover { border-color: var(--border-s); }

/* 3D gaming icon container */
.spec__icon-3d {
  width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(29,227,227,.12) 0%, rgba(5,12,28,.8) 60%, rgba(29,227,227,.04) 100%);
  border: 1px solid rgba(29,227,227,.25);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 4px 18px rgba(29,227,227,.12), inset 0 1px 0 rgba(29,227,227,.2), inset 0 -1px 0 rgba(0,0,0,.4);
}
.spec__icon-3d::before {
  content: ''; position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29,227,227,.7), transparent);
  border-radius: 0 0 50% 50%;
}
.spec__icon-3d::after {
  content: ''; position: absolute;
  bottom: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29,227,227,.2), transparent);
}
.spec__icon-3d svg { width: 28px; height: 28px; filter: drop-shadow(0 0 6px rgba(29,227,227,.5)); }
.spec__label { font-size: 11px; color: var(--muted2); text-transform: uppercase; letter-spacing: .08em; }
.spec__value { font-family: var(--fd); font-size: 17px; font-weight: 700; line-height: 1.25; }
.spec__note  { font-size: 11px; color: var(--muted2); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   SHOWCASE
   ═══════════════════════════════════════════════════════════ */
.showcase { background: var(--bg); border-block: 1px solid var(--border); overflow: hidden; }
.showcase__hero-img { width: 100%; height: 420px; object-fit: cover; object-position: center 30%; display: block; border-bottom: 1px solid var(--border); }
.showcase__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.showcase__cell { position: relative; overflow: hidden; aspect-ratio: 1; border-right: 1px solid var(--border); cursor: pointer; }
.showcase__cell:last-child { border-right: 0; }
.showcase__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .4s; filter: saturate(.88) brightness(.82); }
.showcase__cell:hover img { transform: scale(1.06); filter: saturate(1.15) brightness(1.02); }
.showcase__cell-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(3,6,15,.92), transparent);
  font-family: var(--fm); font-size: 10px; color: var(--cyan);
  letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(6px); transition: transform .3s var(--ease);
}
.showcase__cell:hover .showcase__cell-cap { transform: translateY(0); }

/* Scroll strip */
.scroll-strip { background: var(--bg2); border-block: 1px solid var(--border); overflow: hidden; position: relative; }
.scroll-strip::before, .scroll-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; z-index: 2; width: 80px; pointer-events: none;
}
.scroll-strip::before { left: 0;  background: linear-gradient(90deg, var(--bg2), transparent); }
.scroll-strip::after  { right: 0; background: linear-gradient(-90deg, var(--bg2), transparent); }
.scroll-strip__track { display: flex; gap: 12px; padding: 12px; animation: scrollx 32s linear infinite; width: max-content; }
.scroll-strip:hover .scroll-strip__track { animation-play-state: paused; }
@keyframes scrollx { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.scroll-strip__item { flex-shrink: 0; width: 280px; height: 158px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.scroll-strip__item img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════ */
.features { background: var(--bg2); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  background: var(--surf); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .22s var(--ease), box-shadow .22s;
}
.feat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0; transition: opacity .3s; }
.feat:hover { border-color: var(--border-s); transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.4), 0 0 30px var(--cyan-dim); }
.feat:hover::before { opacity: 1; }
.feat__icon  { width: 50px; height: 50px; border-radius: var(--r); background: var(--cyan-dim); border: 1px solid var(--border-s); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.feat__title { font-family: var(--fd); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.18; }
.feat__desc  { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.feat__pill  { display: inline-block; font-family: var(--fm); font-size: 10px; color: var(--cyan); border: 1px solid var(--border-s); border-radius: var(--rp); padding: 3px 9px; letter-spacing: .08em; text-transform: uppercase; align-self: flex-start; }

/* Twitch */
.twitch-strip { background: linear-gradient(90deg, rgba(145,70,255,.1), rgba(29,227,227,.05)); border-block: 1px solid rgba(145,70,255,.18); padding: 18px 0; }
.twitch-strip__inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.twitch-strip__text strong { color: #bf94ff; }

/* ═══════════════════════════════════════════════════════════
   PROOF
   ═══════════════════════════════════════════════════════════ */
.proof { background: var(--bg); }
.proof__stats   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.proof__reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { text-align: center; padding: 36px 18px; background: var(--surf); border: 1px solid var(--border); border-radius: var(--rl); position: relative; overflow: hidden; }
.stat::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 55%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.stat::after  { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(29,227,227,.05), transparent); }
.stat__num { font-family: var(--fd); font-size: clamp(44px,5vw,66px); font-weight: 900; color: var(--cyan); line-height: 1; margin-bottom: 6px; position: relative; z-index: 1; }
.stat__lbl { font-size: 13px; color: var(--muted); position: relative; z-index: 1; }
.stat__src { font-family: var(--fm); font-size: 10px; color: var(--muted2); margin-top: 8px; position: relative; z-index: 1; }
.review { background: var(--surf); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; position: relative; overflow: hidden; }
.review::before { content: '"'; position: absolute; top: -12px; left: 12px; font-family: var(--fd); font-size: 90px; line-height: 1; color: var(--cyan-dim); pointer-events: none; z-index: 0; }
.review__stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; position: relative; z-index: 1; }
.review__text  { font-size: 14px; color: var(--text); line-height: 1.72; font-style: italic; margin-bottom: 10px; position: relative; z-index: 1; }
.review__src   { font-size: 11px; color: var(--muted2); position: relative; z-index: 1; }

/* FAQ */
.faq { background: var(--surf); border-top: 1px solid var(--border); }
.faq__list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.faq-item.is-open { border-color: var(--border-s); }
.faq-item__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: none; border: none; text-align: left; color: var(--text); font-family: var(--fb); font-size: 15px; font-weight: 600; cursor: pointer; transition: color .2s; }
.faq-item__btn:hover { color: var(--cyan); }
.faq-item__icon { flex-shrink: 0; width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); color: var(--cyan); }
.faq-item__body { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--muted); line-height: 1.78; }
.faq-item.is-open .faq-item__body { display: block; }

/* Final CTA */
.final-cta { background: var(--bg); text-align: center; padding-block: 120px; position: relative; overflow: hidden; }
.final-cta__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(29,227,227,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(29,227,227,.04) 1px,transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center,black 10%,transparent 75%); }
.final-cta__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 500px; background: radial-gradient(ellipse, rgba(29,227,227,.07) 0%,transparent 70%); pointer-events: none; }
.final-cta__inner { position: relative; z-index: 1; }
.final-cta__ctas  { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.final-cta__meta  { margin-top: 18px; font-size: 12px; color: var(--muted2); }

/* Footer */
.footer { background: var(--surf); border-top: 1px solid var(--border); padding-block: 34px; position: relative; z-index: 1; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__logo img { height: 40px; width: auto; opacity: .88; transition: opacity .18s; }
.footer__logo img:hover { opacity: 1; }
.footer__links   { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { font-size: 12px; color: var(--muted); transition: color .18s; }
.footer__links a:hover { color: var(--text); }
.footer__disc { width: 100%; font-size: 11px; color: var(--muted2); line-height: 1.78; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 16px; }

/* Modals */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.82); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal { background: var(--surf2); border: 1px solid var(--border-s); border-radius: var(--rl); max-width: 620px; width: 100%; max-height: 82vh; display: flex; flex-direction: column; transform: translateY(20px); transition: transform .3s var(--ease); }
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px 18px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.modal__title { font-family: var(--fd); font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.modal__close { width: 32px; height: 32px; border-radius: 50%; background: var(--surf); border: 1px solid var(--border); color: var(--muted); font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: color .18s, border-color .18s; flex-shrink: 0; }
.modal__close:hover { color: var(--text); border-color: var(--cyan); }
.modal__body { flex: 1; overflow-y: auto; padding: 24px 28px; font-size: 13px; color: var(--muted); line-height: 1.82; }
.modal__body h3 { color: var(--text); font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
.modal__body p  { margin-bottom: 10px; }
.modal__footer { padding: 18px 28px; border-top: 1px solid var(--border); display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.modal__footer .btn          { height: 44px; font-size: 14px; flex: 1; }
.modal__footer .btn--outline { flex: 0 0 auto; padding: 0 16px; font-size: 13px; }

/* Scroll animations */
.anim     { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.anim.in  { opacity: 1; transform: translateY(0); }
.stagger > .anim:nth-child(1) { transition-delay: .05s; }
.stagger > .anim:nth-child(2) { transition-delay: .13s; }
.stagger > .anim:nth-child(3) { transition-delay: .21s; }
.stagger > .anim:nth-child(4) { transition-delay: .29s; }

/* Responsive */
@media (max-width: 1100px) { .features__grid { grid-template-columns: repeat(2,1fr); } .showcase__grid { grid-template-columns: repeat(2,1fr); } .install__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 840px)  { .proof__stats, .proof__reviews { grid-template-columns: 1fr; } .topbar__right .badge { display: none; } }
@media (max-width: 680px)  { .section { padding-block: 62px; } .hero { min-height: auto; } .hero__content { padding-top: 90px; } .features__grid, .showcase__grid { grid-template-columns: 1fr; } .footer__inner { flex-direction: column; align-items: flex-start; } .topbar__logo img { height: 42px; } .qualify-standalone ul { flex-direction: column; } }

/* ═══════════════════════════════════════════════════════════
   EXIT-INTENT POPUP — V5
   ═══════════════════════════════════════════════════════════ */
.exit-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}
.exit-overlay.is-open { opacity: 1; pointer-events: auto; }

.exit-popup {
  position: relative;
  max-width: 580px; width: 100%;
  background: linear-gradient(145deg, #0d1424 0%, #060c1a 100%);
  border: 1px solid rgba(29,227,227,.3);
  border-radius: 24px;
  padding: 48px 44px 40px;
  text-align: center;
  box-shadow:
    0 0 80px rgba(29,227,227,.12),
    0 0 0 1px rgba(29,227,227,.06),
    0 32px 80px rgba(0,0,0,.7);
  transform: scale(.92) translateY(20px);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .35s;
}
.exit-overlay.is-open .exit-popup {
  transform: scale(1) translateY(0);
}

/* Animated glow border */
.exit-popup::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg,
    rgba(29,227,227,.15) 0%,
    transparent 40%,
    rgba(232,23,108,.1) 100%);
  pointer-events: none;
}
/* Top accent line */
.exit-popup::after {
  content: '';
  position: absolute; top: 0; left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  border-radius: 0 0 4px 4px;
}

.exit-popup__close {
  position: absolute; top: 16px; right: 18px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: var(--muted); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .18s, background .18s;
}
.exit-popup__close:hover { color: var(--text); background: rgba(255,255,255,.1); }

.exit-popup__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fm); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}
.exit-popup__eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--magenta); animation: live-dot 1.4s infinite;
}

.exit-popup__title {
  font-family: var(--fd);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900; line-height: 1.05;
  text-transform: uppercase; letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 10px;
}
.exit-popup__title .highlight { color: var(--cyan); }

.exit-popup__sub {
  font-size: 16px; line-height: 1.65;
  color: var(--muted);
  max-width: 420px; margin: 0 auto 24px;
}

.exit-popup__checks {
  display: flex; flex-direction: column; gap: 10px;
  margin: 0 auto 28px; max-width: 360px; text-align: left;
}
.exit-popup__check {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--text); font-weight: 500;
}
.exit-popup__check-icon {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #1DE3E3, #008888);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #021315; font-weight: 900;
}

.exit-popup__cta {
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.exit-popup__cta .btn {
  width: 100%; max-width: 380px;
  height: 64px; font-size: 20px;
}
.exit-popup__skip {
  font-size: 13px; color: var(--muted2); cursor: pointer;
  background: none; border: none;
  text-decoration: underline; text-decoration-color: rgba(46,68,97,.4);
  transition: color .18s; font-family: var(--fb);
}
.exit-popup__skip:hover { color: var(--muted); }

/* V5: Bigger topbar badges */
.topbar .badge {
  font-size: 11px !important;
  padding: 7px 16px !important;
  letter-spacing: .12em;
}
