/* ───────────────── tokens ───────────────── */
:root {
  --bg:        #0a0b10;
  --bg-2:      #0d0e14;
  --card:      #14151d;
  --card-hi:   #1b1d27;
  --border:    #23252f;
  --border-hi: #34384a;
  --brand:     #2dd4d4;
  --brand-dk:  #14a8a8;
  --brand-gl:  rgba(45, 212, 212, .15);
  --green:     #22c55e;
  --red:       #ef4444;
  --text:      #f4f5fa;
  --dim:       #8a8ca0;
  --faint:     #565a6e;
  --radius:    16px;
  --max:       1480px;
  --ease:      cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.cy { color: var(--brand); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 780px; }

/* ───────────────── animated background ───────────────── */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(45,212,212,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,212,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(90px); opacity: .5; pointer-events: none;
}
.bg-glow-1 {
  width: 600px; height: 600px; top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(45,212,212,.22), transparent 70%);
  animation: float1 18s ease-in-out infinite;
}
.bg-glow-2 {
  width: 500px; height: 500px; top: 40%; right: -150px;
  background: radial-gradient(circle, rgba(20,168,168,.18), transparent 70%);
  animation: float2 22s ease-in-out infinite;
}
@keyframes float1 { 50% { transform: translate(80px, 60px); } }
@keyframes float2 { 50% { transform: translate(-60px, -40px); } }

/* ───────────────── buttons ───────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 11px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(180deg, #45e3e3 0%, var(--brand) 55%, var(--brand-dk) 100%);
  color: #04161a; border: none; font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4), inset 0 -1px 0 rgba(0,0,0,.12),
    0 8px 24px -8px rgba(45,212,212,.6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.12),
    0 14px 38px -8px rgba(45,212,212,.85), 0 0 0 4px rgba(45,212,212,.14);
}
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-buy {
  position: relative;
  padding: 16px 34px;
  font-size: 15.5px; font-weight: 700; letter-spacing: .3px;
  background: linear-gradient(180deg, #ffffff 0%, #eafbfb 100%);
  color: #04161a;
  border: 1.5px solid rgba(45,212,212,.85);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(45,212,212,.25),
    0 0 0 0 rgba(45,212,212,.4),
    0 8px 24px -6px rgba(45,212,212,.55),
    0 0 30px -6px rgba(45,212,212,.35);
  overflow: hidden;
  isolation: isolate;
  animation: buyPulse 2.6s ease-in-out infinite;
  transition: transform .25s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease);
}
.btn-buy::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(45,212,212,.18) 48%,
    rgba(255,255,255,.55) 50%,
    rgba(45,212,212,.18) 52%,
    transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.btn-buy:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(45,212,212,.35),
    0 0 0 5px rgba(45,212,212,.18),
    0 14px 36px -8px rgba(45,212,212,.7),
    0 0 50px -8px rgba(45,212,212,.55);
  animation: none;
}
.btn-buy:hover::before { transform: translateX(120%); }
.btn-buy:active { transform: translateY(0) scale(.98); }
@keyframes buyPulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.9),
      inset 0 -1px 0 rgba(45,212,212,.25),
      0 0 0 0 rgba(45,212,212,.4),
      0 8px 24px -6px rgba(45,212,212,.55),
      0 0 30px -6px rgba(45,212,212,.35);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.95),
      inset 0 -1px 0 rgba(45,212,212,.3),
      0 0 0 6px rgba(45,212,212,.08),
      0 10px 28px -6px rgba(45,212,212,.65),
      0 0 44px -6px rgba(45,212,212,.5);
  }
}
.btn-outline {
  background: rgba(45,212,212,.05); color: var(--brand); border-color: rgba(45,212,212,.4);
}
.btn-outline:hover {
  background: rgba(45,212,212,.12); border-color: var(--brand); transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(45,212,212,.08); color: var(--brand);
  border-color: rgba(45,212,212,.3); padding: 9px 18px; font-size: 14px;
}
.btn-ghost:hover { background: var(--brand); color: #04161a; }

/* ───────────────── nav ───────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
  animation: navDrop .7s var(--ease) both;
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
.nav-link:active { transform: scale(.95); }
.nav.scrolled {
  background: transparent; backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: center;
}

/* unified pill — wraps brand + nav-links + discord */
.nav-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(10,11,16,.55); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 5px 6px 5px 14px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
}
.nav-divider { width: 1px; height: 24px; background: var(--border); flex-shrink: 0; }

.brand { display: flex; align-items: center; padding: 0 12px 0 6px; }
.brand-logo { height: 64px; width: auto; display: block; }
.brand-mark { color: #fff; }
.brand-text { font-size: 13px; font-weight: 700; color: var(--dim); letter-spacing: 1px; }

/* nav links container — relative for sliding blob */
.nav-links {
  position: relative;
  display: flex; align-items: center; gap: 2px;
  padding: 0;
}
/* the sliding blue blob */
.nav-blob {
  position: absolute; top: 0; left: 0; height: 100%;
  width: 0; transform: translate3d(0,0,0);
  background: linear-gradient(180deg, var(--brand), var(--brand-dk));
  border-radius: 999px;
  box-shadow: 0 4px 16px -4px rgba(45,212,212,.6);
  transition: transform .42s var(--ease), width .42s var(--ease), opacity .25s var(--ease);
  z-index: 0; pointer-events: none; opacity: 0;
}
.nav-blob.ready { opacity: 1; }
.nav-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  color: var(--dim); transition: color .25s var(--ease);
}
.nav-link svg { width: 16px; height: 16px; }
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }
.nav-link-mobile { display: none; }

/* Discord button — now sits inside the pill, neutral styling */
.nav-discord {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  color: var(--dim); background: transparent;
  transition: color .22s var(--ease), background .22s var(--ease);
}
.nav-discord svg { width: 16px; height: 16px; }
.nav-discord .arrow { transition: transform .22s var(--ease); }
.nav-discord:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-discord:hover .arrow { transform: translateX(3px); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: rgba(10,11,16,.55); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 12px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav-burger:hover { background: rgba(45,212,212,.08); border-color: rgba(45,212,212,.4); }
.nav-burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ───────────────── hero ───────────────── */
.hero { padding: 110px 0 110px; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 0.95fr 1.25fr; gap: 40px; align-items: stretch;
  perspective: 2200px; perspective-origin: 50% 40%;
}
.hero-left {
  text-align: left; padding-top: 24px; display: flex; flex-direction: column;
  transform: rotateY(7deg) rotateX(4deg); transform-origin: 25% 50%;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.hero-left:hover { transform: rotateY(5deg) rotateX(3deg) translateY(-4px); }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(45,212,212,.08); border: 1px solid rgba(45,212,212,.25);
  color: var(--brand); margin-bottom: 24px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero-title { font-size: clamp(38px, 5vw, 60px); font-weight: 900; line-height: 1.04; letter-spacing: -1.5px; }
.grad {
  background: linear-gradient(120deg, var(--brand), #7af5f5 60%, var(--brand-dk));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { max-width: 480px; color: var(--dim); font-size: 17px; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* hero instant-buy plans — 3 side-by-side cards that fill the column down to the stats */
.hero-plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 28px; align-items: stretch; align-content: stretch;
  flex: 1 1 auto;
}
.hplan {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 16px 20px; border-radius: 16px; min-height: 220px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border); text-align: left;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.hplan:hover { transform: translateY(-3px); border-color: var(--border-hi); box-shadow: 0 14px 34px -16px rgba(0,0,0,.7); }
.hplan-pop {
  border-color: rgba(45,212,212,.5);
  background: linear-gradient(180deg, rgba(45,212,212,.1), var(--card));
  box-shadow: 0 0 0 1px rgba(45,212,212,.14), 0 16px 44px -18px rgba(45,212,212,.55);
}
.hplan-pop:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 0 0 1px rgba(45,212,212,.28), 0 18px 50px -16px rgba(45,212,212,.65); }
.hplan-flag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #04161a; font-size: 9px; font-weight: 800; letter-spacing: .8px;
  padding: 3px 10px; border-radius: 999px; box-shadow: 0 4px 12px -4px rgba(45,212,212,.7); white-space: nowrap;
}
/* compact "free key for a friend" banner for the hero card */
.hplan-perk {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin: 3px 0 10px; padding: 6px 8px; border-radius: 8px; line-height: 1.15;
  font-size: 11px; font-weight: 800; color: #04161a; text-align: center;
  background: linear-gradient(180deg, #45e3e3, var(--brand));
  box-shadow: 0 6px 16px -7px rgba(45,212,212,.65);
}
.hplan-name { font-size: 13px; font-weight: 700; color: var(--dim); letter-spacing: .3px; }
.hplan-price { font-size: 26px; font-weight: 900; letter-spacing: -.5px; line-height: 1.1; color: var(--text); margin-top: 4px; }
.hplan-price .cur { font-size: 15px; vertical-align: top; color: var(--dim); margin-right: 1px; }
.hplan-price .per { font-size: 12px; font-weight: 600; color: var(--dim); margin-left: 3px; }
.hplan-tag { font-size: 11px; color: var(--faint); margin-top: 6px; line-height: 1.4; }
.hplan-feats {
  list-style: none; width: 100%; flex: 1;
  display: flex; flex-direction: column; gap: 8px;
  margin: 13px 0 14px; padding-top: 13px; border-top: 1px solid var(--border);
}
.hplan-feats li { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; color: var(--dim); line-height: 1.3; text-align: left; }
.hplan-feats li::before { content: "✓"; color: var(--brand); font-weight: 800; font-size: 11px; line-height: 1.3; flex-shrink: 0; }
.hplan-pop .hplan-feats { border-top-color: rgba(45,212,212,.25); }
.hplan-btn {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; cursor: pointer;
  color: var(--brand); background: rgba(45,212,212,.08); border: 1px solid rgba(45,212,212,.4);
  transition: all .2s var(--ease); white-space: nowrap;
}
.hplan-btn:hover { background: var(--brand); color: #04161a; transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(45,212,212,.6); }
.hplan-btn:active { transform: scale(.95); }
.hplan-btn-pop {
  color: #04161a;
  background: linear-gradient(180deg, var(--brand), var(--brand-dk));
  border-color: var(--brand);
  box-shadow: 0 6px 18px -6px rgba(45,212,212,.6);
}
.hplan-btn-pop:hover { background: linear-gradient(180deg, #4ee6e6, var(--brand)); box-shadow: 0 10px 28px -6px rgba(45,212,212,.75); }

/* ── compact stat cards with animated rising-bar graph ── */
.hero-stats { display: flex; align-items: stretch; gap: 8px; margin-top: 22px; }
.stat {
  position: relative; flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 11px;
  background: linear-gradient(180deg, rgba(27,29,39,.9), rgba(20,21,29,.9));
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.stat::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 0% 100%, rgba(45,212,212,.08), transparent 60%);
}
.stat:hover { transform: translateY(-2px); border-color: rgba(45,212,212,.4); box-shadow: 0 12px 28px -16px rgba(45,212,212,.55); }

.stat-graph { flex-shrink: 0; }

/* ── FPS: rising equalizer bars (going up) ── */
.stat-graph.bars { display: flex; align-items: flex-end; gap: 2px; height: 26px; width: 26px; }
.stat-graph.bars span {
  width: 3px; border-radius: 2px; transform-origin: bottom;
  background: linear-gradient(180deg, #8df3f3, var(--brand) 55%, var(--brand-dk));
  box-shadow: 0 0 6px rgba(45,212,212,.5);
  animation: eqBar 1.5s var(--ease) infinite;
}
.stat-graph.bars span:nth-child(1) { height: 35%; animation-delay: 0s; }
.stat-graph.bars span:nth-child(2) { height: 55%; animation-delay: .12s; }
.stat-graph.bars span:nth-child(3) { height: 45%; animation-delay: .24s; }
.stat-graph.bars span:nth-child(4) { height: 78%; animation-delay: .36s; }
.stat-graph.bars span:nth-child(5) { height: 100%; animation-delay: .48s; }
@keyframes eqBar {
  0%, 100% { transform: scaleY(.32); opacity: .7; }
  50%      { transform: scaleY(1);   opacity: 1; }
}
.stat:hover .stat-graph.bars span { animation-duration: .9s; }

/* ── Tweaks: a grid of dots that fills up one by one, then resets ── */
.stat-graph.dots {
  display: grid; grid-template-columns: repeat(5, 3px); grid-auto-rows: 3px;
  gap: 3px; width: 27px; height: 27px; align-content: center; justify-content: center;
}
.stat-graph.dots span {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(45,212,212,.16);
  animation: dotFill 3.2s linear infinite;
}
.stat-graph.dots span:nth-child(1)  { animation-delay: 0s; }
.stat-graph.dots span:nth-child(2)  { animation-delay: .1s; }
.stat-graph.dots span:nth-child(3)  { animation-delay: .2s; }
.stat-graph.dots span:nth-child(4)  { animation-delay: .3s; }
.stat-graph.dots span:nth-child(5)  { animation-delay: .4s; }
.stat-graph.dots span:nth-child(6)  { animation-delay: .5s; }
.stat-graph.dots span:nth-child(7)  { animation-delay: .6s; }
.stat-graph.dots span:nth-child(8)  { animation-delay: .7s; }
.stat-graph.dots span:nth-child(9)  { animation-delay: .8s; }
.stat-graph.dots span:nth-child(10) { animation-delay: .9s; }
.stat-graph.dots span:nth-child(11) { animation-delay: 1.0s; }
.stat-graph.dots span:nth-child(12) { animation-delay: 1.1s; }
.stat-graph.dots span:nth-child(13) { animation-delay: 1.2s; }
.stat-graph.dots span:nth-child(14) { animation-delay: 1.3s; }
.stat-graph.dots span:nth-child(15) { animation-delay: 1.4s; }
@keyframes dotFill {
  0%        { background: rgba(45,212,212,.16); box-shadow: none; }
  8%, 90%   { background: var(--brand); box-shadow: 0 0 4px rgba(45,212,212,.8); }
  100%      { background: rgba(45,212,212,.16); box-shadow: none; }
}

/* ── Categories: names that pop up one after another ── */
.stat-graph.cats { position: relative; width: 56px; height: 26px; }
.stat-graph.cats span {
  position: absolute; left: 0; top: 50%;
  font-size: 8px; font-weight: 800; letter-spacing: .2px; color: var(--brand);
  white-space: nowrap; opacity: 0; transform: translateY(-50%);
  text-shadow: 0 0 8px rgba(45,212,212,.5);
  animation: catPop 6s ease-in-out infinite;
}
.stat-graph.cats span:nth-child(1) { animation-delay: 0s; }
.stat-graph.cats span:nth-child(2) { animation-delay: 1.2s; }
.stat-graph.cats span:nth-child(3) { animation-delay: 2.4s; }
.stat-graph.cats span:nth-child(4) { animation-delay: 3.6s; }
.stat-graph.cats span:nth-child(5) { animation-delay: 4.8s; }
@keyframes catPop {
  0%   { opacity: 0; transform: translateY(30%); }
  2%   { opacity: 1; transform: translateY(-50%); }
  20%  { opacity: 1; transform: translateY(-50%); }
  24%  { opacity: 0; transform: translateY(-120%); }
  100% { opacity: 0; transform: translateY(-120%); }
}

.stat-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; position: relative; }
.stat-num { display: flex; align-items: baseline; gap: 1px; line-height: 1; }
.stat b {
  font-size: 21px; font-weight: 900; letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #ffffff, #8df3f3 70%, var(--brand));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat i { font-style: normal; font-size: 13px; font-weight: 800; color: var(--brand); }
.stat-label { font-size: 8.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--faint); }

/* ───────────────── app recreation ───────────────── */
.hero-right { position: relative; perspective: 2200px; perspective-origin: 50% 40%; }
.app {
  position: relative;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #10131a 0%, #0a0b10 100%);
  border: 1px solid rgba(45,212,212,.18);
  transform: rotateY(-7deg) rotateX(4deg) translateZ(0);
  transform-origin: 65% 50%;
  transform-style: preserve-3d;
  box-shadow:
    /* top-edge highlight */
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 0 0 1px rgba(45,212,212,.05),
    /* outer rim glow */
    0 0 0 1px rgba(255,255,255,.03),
    /* layered depth shadows below */
    0 4px 8px rgba(0,0,0,.3),
    0 16px 32px -8px rgba(0,0,0,.55),
    0 50px 90px -20px rgba(0,0,0,.7),
    /* cyan ambient glow */
    0 30px 80px -10px rgba(45,212,212,.28),
    0 0 80px -20px rgba(45,212,212,.45);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  will-change: transform;
}
.app::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 50;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, transparent 18%, transparent 80%, rgba(0,0,0,.25) 100%);
  border-radius: 16px;
}
.app:hover {
  transform: rotateY(-5deg) rotateX(3deg) translateY(-6px) translateZ(0);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 0 0 1px rgba(45,212,212,.08),
    0 0 0 1px rgba(255,255,255,.04),
    0 4px 8px rgba(0,0,0,.3),
    0 24px 40px -8px rgba(0,0,0,.6),
    0 60px 110px -20px rgba(0,0,0,.75),
    0 36px 100px -10px rgba(45,212,212,.4),
    0 0 100px -20px rgba(45,212,212,.6);
}
/* quiet "live preview" caption under the app — tilted onto the app's 3D plane */
.app-caption {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: 13px; color: var(--faint); letter-spacing: .2px;
  transform: rotateY(-7deg) rotateX(4deg); transform-origin: 65% 50%;
  transition: transform .6s var(--ease); will-change: transform;
}
.app-caption-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite;
}

.app-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px; background: #0a0b10; border-bottom: 1px solid var(--border);
}
.app-title { font-size: 12px; font-weight: 700; color: var(--dim); letter-spacing: .5px; }
.app-winbtns { display: flex; gap: 14px; color: var(--faint); font-size: 12px; }
.app-body { display: flex; height: 588px; }

/* sidebar — glossy 3D */
.app-side {
  width: 152px; flex-shrink: 0;
  background: linear-gradient(180deg, #0d0f15 0%, #07080c 100%);
  border-right: 1px solid var(--border);
  box-shadow:
    inset -1px 0 0 rgba(255,255,255,.025),
    inset 1px 0 0 rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.04);
  padding: 14px 9px 9px; display: flex; flex-direction: column;
}
.app-logo { padding: 6px 6px 16px; }
.app-logo img { width: 100%; max-width: 116px; height: auto; display: block; filter: drop-shadow(0 1px 0 rgba(0,0,0,.5)); }
.app-sec { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--faint); padding: 10px 10px 6px; text-shadow: 0 1px 0 rgba(0,0,0,.5); }
.app-nav {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; margin-bottom: 2px; border: 1px solid transparent; background: none; cursor: pointer;
  border-radius: 8px; color: var(--dim); font-size: 13px; font-weight: 500; text-align: left;
  font-family: inherit; transition: all .2s var(--ease); position: relative;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
.app-nav:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-color: rgba(255,255,255,.05);
  color: var(--text);
  transform: translateX(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.3);
}
.app-nav:active { transform: translateX(2px) scale(.97); }
.app-nav.active {
  background: linear-gradient(180deg, rgba(45,212,212,.16) 0%, rgba(45,212,212,.06) 100%);
  color: var(--brand);
  border-color: rgba(45,212,212,.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(45,212,212,.15),
    0 2px 6px -1px rgba(45,212,212,.25),
    0 0 18px -4px rgba(45,212,212,.35);
}
.app-nav.active::before {
  content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 3px;
  border-radius: 2px; background: linear-gradient(180deg, var(--brand), var(--brand-dk));
  box-shadow: 0 0 8px rgba(45,212,212,.7);
}
.ni { width: 15px; height: 15px; flex-shrink: 0; opacity: .85; }
.app-user {
  margin-top: auto; display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; border-radius: 10px;
  background: linear-gradient(180deg, var(--card-hi), #121319);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 2px 6px -2px rgba(0,0,0,.4);
}
.app-av {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; background: #0e1a1e; border: 1px solid rgba(45,212,212,.45);
  box-shadow: 0 0 10px -2px rgba(45,212,212,.4);
}
.app-av img { width: 19px; height: auto; }
.app-uinfo { min-width: 0; line-height: 1.25; }
.app-uname { font-size: 11.5px; font-weight: 700; }
.app-ukey { font-size: 9px; color: var(--brand); letter-spacing: 1px; }

/* main panel */
.app-main { flex: 1; padding: 18px; overflow-y: auto; overflow-x: hidden; background: #0c0d12; display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: var(--border-hi) transparent; }
.app-main::-webkit-scrollbar { width: 6px; }
.app-main::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
.app-main::-webkit-scrollbar-track { background: transparent; }
.app-fade { animation: appFade .35s var(--ease); }
@keyframes appFade { from { opacity: 0; transform: translateY(8px); } }

/* ── entrance: the whole app drops in (preserves the 3D tilt) ── */
@keyframes appDrop {
  from { opacity: 0; transform: translateY(-48px) scale(.96) rotateY(-7deg) rotateX(4deg); }
  to   { opacity: 1; transform: rotateY(-7deg) rotateX(4deg) translateZ(0); }
}
/* `backwards` (not `both`): keep the pre-roll state for the entrance, but DON'T
   hold the end transform — otherwise the animation overrides the JS cursor-tilt.
   The resting tilt is supplied by the `.app { transform }` rule, which is identical. */
.hero-right .app { animation: appDrop .8s var(--ease) backwards; }

/* sidebar items cascade in from the left */
@keyframes slideL { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.app-side .app-logo,
.app-side .app-sec,
.app-side .app-nav,
.app-side .app-user { animation: slideL .55s var(--ease) both; }
.app-side .app-logo { animation-delay: .35s; }
.app-side .app-sec:nth-of-type(1) { animation-delay: .42s; }
.app-side .app-nav:nth-of-type(1) { animation-delay: .46s; }
.app-side .app-nav:nth-of-type(2) { animation-delay: .51s; }
.app-side .app-nav:nth-of-type(3) { animation-delay: .56s; }
.app-side .app-sec:nth-of-type(2) { animation-delay: .60s; }
.app-side .app-nav:nth-of-type(4) { animation-delay: .64s; }
.app-side .app-nav:nth-of-type(5) { animation-delay: .68s; }
.app-side .app-nav:nth-of-type(6) { animation-delay: .72s; }
.app-side .app-nav:nth-of-type(7) { animation-delay: .76s; }
.app-side .app-nav:nth-of-type(8) { animation-delay: .80s; }
.app-side .app-nav:nth-of-type(9) { animation-delay: .84s; }
.app-side .app-nav:nth-of-type(10){ animation-delay: .88s; }
.app-side .app-user { animation-delay: .94s; }

/* home content fades up in pieces */
@keyframes upFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.app-top    { animation: upFade .6s var(--ease) both; animation-delay: .5s; }
.app-home   { animation: upFade .6s var(--ease) both; animation-delay: .62s; }

/* tweak rows stagger in (delay set inline per row) */
@keyframes rowIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.app-row { animation: rowIn .45s var(--ease) both; }

/* recommended rows + patch cards subtle pop */
@keyframes popIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.rec-list .app-rec-row:nth-child(1) { animation: popIn .5s var(--ease) both; animation-delay: .9s; }
.rec-list .app-rec-row:nth-child(2) { animation: popIn .5s var(--ease) both; animation-delay: 1.0s; }
.rec-list .app-rec-row:nth-child(3) { animation: popIn .5s var(--ease) both; animation-delay: 1.1s; }

.app-h1 { font-size: 19px; font-weight: 800; }
.app-h1 .cy { color: var(--brand); }
.app-hsub { color: var(--dim); font-size: 12px; margin: 4px 0 16px; }
.app-count { display:inline-block; font-size:10px; font-weight:700; color: var(--brand);
  background: var(--card-hi); border:1px solid var(--border); padding:3px 8px; border-radius:8px; margin-left:8px; vertical-align: middle; }

/* tweak cards (2-col grid) — sizes to content, top-aligned, equal-height pairs */
.app-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; align-items: stretch; }
.app-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--border);
  transition: all .22s var(--ease); min-width: 0;
}
.app-row:hover {
  border-color: rgba(45,212,212,.4); transform: translateY(-2px);
  box-shadow: 0 8px 22px -12px rgba(45,212,212,.5);
}
.app-row .rico {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display:grid; place-items:center;
  background: rgba(45,212,212,.08); border: 1px solid rgba(45,212,212,.22); color: var(--brand);
}
.app-row .rico svg { width: 15px; height: 15px; }
.app-rtext { flex: 1; min-width: 0; width: 100%; }
.app-rtext b { display: block; font-size: 13px; margin-bottom: 3px; line-height: 1.3; }
.app-rtext small { display: block; color: var(--faint); font-size: 11px; line-height: 1.45; }
.app-apply {
  width: 100%; margin-top: auto;
  padding: 9px 16px; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer;
  background: rgba(45,212,212,.08); color: var(--brand); border: 1px solid rgba(45,212,212,.4);
  transition: all .18s var(--ease); flex-shrink: 0; font-family: inherit;
}
.app-apply:hover { background: var(--brand); color: #04161a; transform: translateY(-1px); box-shadow: 0 4px 14px -4px rgba(45,212,212,.6); }
.app-apply:active { transform: scale(.94); }
.app-apply.done { background: rgba(34,197,94,.15); color: var(--green); border-color: rgba(34,197,94,.5); transform: none; box-shadow: none; }

/* top: welcome heading (left) + tiny update cards tucked in the corner (right) */
.app-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.app-welcome { flex-shrink: 1; min-width: 0; }
.app-welcome .app-hsub { margin: 4px 0 0; }

/* patch / update cards — mini, top-right corner */
.app-patches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 222px; flex-shrink: 0; align-items: stretch; }
.app-patch {
  border-radius: 7px; padding: 6px 7px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #1c1f28, #111219); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px;
  transition: all .2s var(--ease);
}
.app-patch:hover { border-color: rgba(45,212,212,.4); transform: translateY(-1px); }
.app-patch .pt-top { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.app-patch .pt-tag {
  font-size: 5.5px; font-weight: 800; letter-spacing: .4px; color: var(--brand);
  background: rgba(45,212,212,.1); border: 1px solid rgba(45,212,212,.2);
  padding: 1px 3px; border-radius: 4px; white-space: nowrap;
}
.app-patch .pt-date { font-size: 6px; color: var(--faint); white-space: nowrap; flex-shrink: 0; }
.app-patch .pt-title { font-size: 10px; font-weight: 800; line-height: 1.1; margin-top: 2px; }
.app-patch .pt-sub { font-size: 7px; color: var(--dim); line-height: 1.25; margin-top: 1px; }

/* home page (chat + right rail) */
.app-home { display: flex; gap: 12px; flex: 1; min-height: 0; }
.app-chat {
  flex: 1; border-radius: 12px; background: var(--card); border: 1px solid var(--border);
  padding: 14px; display: flex; flex-direction: column; gap: 11px; min-height: 0; min-width: 0;
}

/* right rail */
.app-rail { width: 184px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.app-panel { border-radius: 11px; background: var(--card); border: 1px solid var(--border); padding: 12px; }
.app-panel .pk { font-size: 8.5px; font-weight: 700; letter-spacing: 1px; color: var(--faint); }
.app-health-top { display: flex; align-items: center; justify-content: space-between; }
.app-score { font-size: 26px; font-weight: 900; line-height: 1.1; }
.app-score small { font-size: 10px; color: var(--faint); font-weight: 600; }

/* clean health ring: arc + glowing tip dot + soft pulse */
.app-ring {
  --p: 77%; --deg: 277deg;
  width: 52px; height: 52px; border-radius: 50%; position: relative; flex-shrink: 0;
  background: conic-gradient(var(--brand) 0 var(--p), #191a24 var(--p) 100%);
  transition: background .8s var(--ease);
  animation: ringglow 3s ease-in-out infinite;
}
.app-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--card); }
.ring-dot { position: absolute; inset: 0; transform: rotate(var(--deg)); transition: transform .8s var(--ease); }
.ring-dot::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #eafffd;
  box-shadow: 0 0 7px var(--brand), 0 0 2px #fff;
}
@keyframes ringglow {
  50% { box-shadow: 0 0 0 0 rgba(45,212,212,0); filter: drop-shadow(0 0 6px rgba(45,212,212,.5)); }
}

.app-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 600; color: var(--green); background: rgba(34,197,94,.12); padding: 2px 8px; border-radius: 999px; margin-top: 7px; }
.app-pill .d { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse 2s infinite; }

/* heartbeat-monitor metric rows */
.app-metric { margin-top: 6px; }
.app-metric .m-top { display: flex; justify-content: space-between; font-size: 9.5px; margin-bottom: 1px; }
.app-metric .m-top span { color: var(--dim); font-weight: 500; }
.app-metric .m-top b { color: var(--text); font-variant-numeric: tabular-nums; }
.app-metric .m-spark { width: 100%; height: 20px; display: block; }
.app-rec { flex: 1; display: flex; flex-direction: column; }
.app-rec h5 { font-size: 12px; font-weight: 800; margin: 1px 0 7px; }
.rec-list { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 4px; min-width: 0; }
.app-rec-row { display: flex; align-items: center; gap: 9px; padding: 6px 4px; min-width: 0; }
.app-rec-row .ri { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--card-hi); flex-shrink: 0; color: var(--brand); }
.app-rec-row .ri svg { width: 12px; height: 12px; }
.app-rec-row > div:last-child { min-width: 0; flex: 1; overflow: hidden; }
.app-rec-row b { font-size: 11px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-rec-row small { font-size: 9px; color: var(--faint); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-chathead { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.app-chathead .av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display:grid; place-items:center; background:#0e1a1e; border:1px solid rgba(45,212,212,.4); }
.app-chathead .av img { width: 22px; height: auto; }
.app-chathead b { font-size: 13px; }
.app-chathead small { display: block; font-size: 10px; color: var(--faint); }
.app-chathead .online { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
/* scrollable message stream */
.app-msgs {
  flex: 1; min-height: 0; overflow-y: auto;
  display: flex; flex-direction: column; gap: 9px; padding-right: 4px;
  scrollbar-width: thin; scrollbar-color: var(--border-hi) transparent;
}
.app-msgs::-webkit-scrollbar { width: 6px; }
.app-msgs::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
.app-msgs::-webkit-scrollbar-track { background: transparent; }
.app-bubble { align-self: flex-start; max-width: 88%; background: var(--card-hi); border: 1px solid var(--border); border-radius: 12px; padding: 10px 13px; font-size: 12.5px; color: var(--dim); line-height: 1.4; animation: bubbleIn .25s var(--ease) both; }
.app-bubble b { color: var(--text); }
.app-bubble.me { align-self: flex-end; background: linear-gradient(180deg, #16585f, #124349); color: var(--text); border: 1px solid rgba(45,212,212,.3); }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px) scale(.98); } }
/* typing dots */
.app-typing { display: inline-flex; gap: 3px; align-items: center; padding: 1px 0; }
.app-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .5; animation: typeBlink 1s infinite; }
.app-typing i:nth-child(2) { animation-delay: .18s; }
.app-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typeBlink { 0%,100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
.app-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.app-chip {
  padding: 7px 13px; border-radius: 999px; font-size: 11px; cursor: pointer; font-family: inherit;
  background: #10181c; color: var(--dim); border: 1px solid var(--border); transition: all .18s var(--ease);
}
.app-chip:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); background: rgba(45,212,212,.06); }
.app-chip:active { transform: scale(.95); }
.app-rec-row { border-radius: 9px; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.app-rec-row:hover { background: rgba(45,212,212,.06); transform: translateX(3px); }
.app-send { transition: all .2s var(--ease); }
.app-send:active { transform: scale(.95); }
.app-input {
  display: flex; gap: 8px; margin-top: 4px;
}
.app-input .app-field {
  flex: 1; min-width: 0; padding: 10px 14px; border-radius: 10px;
  background: #10141a; border: 1px solid var(--border); color: var(--text);
  font-size: 12px; font-family: inherit; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.app-input .app-field::placeholder { color: var(--faint); }
.app-input .app-field:focus { border-color: rgba(45,212,212,.6); box-shadow: 0 0 0 3px rgba(45,212,212,.1); }
.app-send { padding: 10px 18px; border-radius: 10px; font-size: 12px; font-weight: 600; background: rgba(45,212,212,.08); color: var(--brand); border: 1px solid var(--brand); cursor: pointer; font-family: inherit; }
.app-send:hover { background: var(--brand); color: #04161a; }

/* ───────────────── before/after scroll prompt ───────────────── */
.ba-prompt {
  grid-column: 1 / -1;
  margin: 46px auto 0; display: flex; flex-direction: column; align-items: center; gap: 18px;
  width: fit-content; cursor: pointer; color: var(--dim);
  transition: color .25s var(--ease); position: relative; z-index: 2;
}
.ba-prompt:hover { color: var(--text); }
.ba-prompt-label {
  font-size: 19px; font-weight: 900; letter-spacing: 6px;
  background: linear-gradient(120deg, #ffffff, #7af5f5 55%, var(--brand));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(45,212,212,.35));
}
.ba-prompt-label .amp { -webkit-text-fill-color: var(--brand); color: var(--brand); }
.ba-prompt-arrow {
  position: relative;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  color: #04161a; border: none;
  background: linear-gradient(180deg, #4ee6e6, var(--brand) 55%, var(--brand-dk));
  box-shadow: 0 10px 28px -6px rgba(45,212,212,.6), 0 0 0 1px rgba(255,255,255,.15) inset;
  animation: baBounce 1.8s ease-in-out infinite;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
/* pulsing halo ring */
.ba-prompt-arrow::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--brand); animation: baRing 2s ease-out infinite;
}
.ba-prompt-arrow svg { width: 28px; height: 28px; }
.ba-prompt:hover .ba-prompt-arrow {
  transform: scale(1.08);
  box-shadow: 0 16px 40px -6px rgba(45,212,212,.8), 0 0 0 1px rgba(255,255,255,.2) inset;
}
@keyframes baBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes baRing {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ───────────────── before/after video slider ───────────────── */
.ba-slider {
  --pos: 62%;
  position: relative; width: 100%; max-width: 980px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border-hi);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03), 0 0 70px -30px rgba(45,212,212,.4);
  cursor: ew-resize; user-select: none; touch-action: pan-y;
  background: #000;
}
.ba-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* good fps revealed from the LEFT edge up to the divider */
.ba-vid-good { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.ba-vid-bad  { z-index: 1; }

/* corner labels */
.ba-tag {
  position: absolute; top: 14px; z-index: 4; pointer-events: none;
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 6px 12px; border-radius: 8px; backdrop-filter: blur(6px);
}
.ba-tag-good { left: 14px; color: #051a14; background: rgba(82,226,138,.92); box-shadow: 0 4px 14px -4px rgba(34,197,94,.6); }
.ba-tag-bad  { right: 14px; color: #fff; background: rgba(239,68,68,.85); box-shadow: 0 4px 14px -4px rgba(239,68,68,.6); }

/* the draggable divider */
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5;
  width: 3px; margin-left: -1.5px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), var(--brand));
  box-shadow: 0 0 16px rgba(45,212,212,.9), 0 0 4px #fff;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #04161a;
  background: linear-gradient(180deg, #ffffff, var(--brand));
  border: 2px solid #fff;
  box-shadow: 0 6px 20px -4px rgba(0,0,0,.6), 0 0 22px -2px rgba(45,212,212,.9);
  animation: baHandlePulse 2.4s ease-in-out infinite;
}
.ba-handle svg { width: 24px; height: 24px; }
@keyframes baHandlePulse {
  0%, 100% { box-shadow: 0 6px 20px -4px rgba(0,0,0,.6), 0 0 0 0 rgba(45,212,212,.5); }
  50%      { box-shadow: 0 6px 20px -4px rgba(0,0,0,.6), 0 0 0 10px rgba(45,212,212,0); }
}
.ba-slider.dragging .ba-handle { animation: none; cursor: grabbing; }
.ba-note { text-align: center; color: var(--faint); font-size: 13px; margin: 18px auto 0; }
.ba-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 26px; }
.ba-cta-arrow {
  display: grid; place-items: center; color: var(--brand); opacity: .85;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(45,212,212,.35); background: rgba(45,212,212,.06);
  animation: baBounce 1.7s ease-in-out infinite; transition: background .2s var(--ease), color .2s var(--ease);
}
.ba-cta-arrow svg { width: 18px; height: 18px; }
.ba-cta-arrow:hover { background: var(--brand); color: #04161a; opacity: 1; }
/* trim the dead space below the comparison before the marquee */
#before-after { padding-bottom: 44px; }

/* ── clean solid cyan pill (matches the nav button) ── */
.btn-future {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px; font-family: inherit; font-weight: 700; font-size: 15px;
  color: #fff; text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, var(--brand), var(--brand-dk));
  border: none; border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(45,212,212,.6);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease);
}
.btn-future:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(45,212,212,.75); filter: brightness(1.07); }
.btn-future:active { transform: translateY(0) scale(.97); }
.ba-cta-btn { font-size: 15.5px; padding: 15px 38px; }

@media (max-width: 560px) {
  .ba-slider { aspect-ratio: 4 / 3; border-radius: 14px; }
  .ba-handle { width: 40px; height: 40px; }
  .ba-tag { font-size: 9.5px; padding: 5px 9px; }
}

/* ───────────────── marquee (seamless infinite logo loop) ───────────────── */
.marquee {
  overflow: hidden; padding: 34px 0; margin-top: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: scroll var(--mq-dur, 34s) linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; flex-shrink: 0; }
.mq-item {
  display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0;
  padding: 0 34px; color: var(--faint);
  font-size: 23px; font-weight: 800; letter-spacing: 1px; white-space: nowrap;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.mq-item:hover { color: var(--text); }
/* text name = fallback until a logo file is present */
.mq-name { transition: color .3s var(--ease); }
/* official logo image */
.mq-logo-img {
  height: 34px; width: auto; max-width: 180px; display: block; flex-shrink: 0;
  object-fit: contain; opacity: .82; transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.mq-item:hover .mq-logo-img { opacity: 1; }
/* when a real logo loaded, hide the text name */
.mq-item.has-logo .mq-name { display: none; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--mq-shift, 50%))); } }

/* ───────────────── sections ───────────────── */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { text-align: center; margin-bottom: 64px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--brand); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.sec-sub { color: var(--dim); margin-top: 16px; font-size: 17px; }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: all .3s var(--ease);
}
.feat:hover { border-color: rgba(45,212,212,.4); transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(45,212,212,.25); }
.feat-ico {
  width: 54px; height: 54px; display: grid; place-items: center; color: var(--brand);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(45,212,212,.16), rgba(45,212,212,.04));
  border: 1px solid rgba(45,212,212,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 8px 22px -14px rgba(45,212,212,.7);
  margin-bottom: 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.feat-ico svg { width: 27px; height: 27px; }
.feat:hover .feat-ico {
  transform: translateY(-2px) scale(1.06);
  background: linear-gradient(180deg, rgba(45,212,212,.24), rgba(45,212,212,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 14px 28px -12px rgba(45,212,212,.8);
}
.feat h3 { font-size: 19px; margin-bottom: 10px; }
.feat p { color: var(--dim); font-size: 15px; }

/* ───────────────── features hub (logo center, lines out to each feature) ───────────────── */
.feat-hub {
  position: relative; max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(150px, 210px) 1fr;
  grid-template-rows: repeat(3, 1fr);
  column-gap: 80px; row-gap: 26px;
}
/* connector lines layer */
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.hub-line { fill: none; stroke: rgba(45,212,212,.4); stroke-width: 1.5; stroke-dasharray: 5 7; animation: hubFlow 1.1s linear infinite; filter: drop-shadow(0 0 3px rgba(45,212,212,.5)); }
.hub-dot  { fill: var(--brand); filter: drop-shadow(0 0 5px rgba(45,212,212,.9)); }
@keyframes hubFlow { to { stroke-dashoffset: -24; } }

/* node placement: 3 left, 3 right, core spanning the middle column */
.hub-node:nth-of-type(1) { grid-area: 1 / 1; }
.hub-node:nth-of-type(2) { grid-area: 2 / 1; }
.hub-node:nth-of-type(3) { grid-area: 3 / 1; }
.hub-node:nth-of-type(4) { grid-area: 1 / 3; }
.hub-node:nth-of-type(5) { grid-area: 2 / 3; }
.hub-node:nth-of-type(6) { grid-area: 3 / 3; }
.hub-core { grid-area: 1 / 2 / 4 / 3; }

/* feature node cards */
.hub-node {
  position: relative; z-index: 2; align-self: center;
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px -22px rgba(0,0,0,.8);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.hub-node:hover { transform: translateY(-3px); border-color: rgba(45,212,212,.45); box-shadow: 0 16px 38px -18px rgba(45,212,212,.5); }
.hub-node.left  { flex-direction: row-reverse; text-align: right; }
.hub-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--brand);
  background: linear-gradient(180deg, rgba(45,212,212,.16), rgba(45,212,212,.04));
  border: 1px solid rgba(45,212,212,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  transition: transform .28s var(--ease);
}
.hub-node:hover .hub-ico { transform: scale(1.08); }
.hub-ico svg { width: 21px; height: 21px; }
.hub-text { min-width: 0; }
.hub-node h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.hub-node p  { color: var(--dim); font-size: 12.5px; line-height: 1.45; }

/* center logo core */
.hub-core {
  position: relative; z-index: 3; justify-self: center; align-self: center;
  width: 168px; height: 168px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(45,212,212,.22), rgba(45,212,212,.05) 60%, transparent 72%);
}
.hub-core::after {
  content: ""; position: absolute; width: 104px; height: 104px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,11,16,.9), rgba(10,11,16,.55));
  border: 1px solid rgba(45,212,212,.4);
  box-shadow: inset 0 0 22px rgba(45,212,212,.25), 0 0 34px -6px rgba(45,212,212,.6);
}
.hub-logo { position: relative; z-index: 4; width: 92px; height: auto; filter: drop-shadow(0 0 14px rgba(45,212,212,.55)); }
/* radar pings */
.hub-ping {
  position: absolute; width: 104px; height: 104px; border-radius: 50%;
  border: 1.5px solid rgba(45,212,212,.5); z-index: 1; animation: hubPing 3s ease-out infinite;
}
.hub-ping:nth-child(2) { animation-delay: 1.5s; }
@keyframes hubPing {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.1); opacity: 0; }
}

@media (max-width: 820px) {
  /* vertical hub: 3 chips on top, logo in the middle, 3 chips on bottom — lines connect them */
  .feat-hub {
    position: relative; display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 8px; row-gap: 46px; max-width: 460px;
  }
  .hub-lines { display: block; }
  /* top row */
  .hub-node:nth-of-type(1) { grid-area: 1 / 1; }
  .hub-node:nth-of-type(2) { grid-area: 1 / 2; }
  .hub-node:nth-of-type(3) { grid-area: 1 / 3; }
  /* center logo */
  .hub-core { grid-area: 2 / 1 / 3 / 4; justify-self: center; align-self: center; width: 108px; height: 108px; margin: 0; }
  .hub-core::after { width: 76px; height: 76px; }
  .hub-logo { width: 62px; }
  .hub-ping { width: 76px; height: 76px; }
  /* bottom row */
  .hub-node:nth-of-type(4) { grid-area: 3 / 1; }
  .hub-node:nth-of-type(5) { grid-area: 3 / 2; }
  .hub-node:nth-of-type(6) { grid-area: 3 / 3; }

  /* compact chip cards — icon + title only */
  .hub-node, .hub-node.left {
    flex-direction: column; align-items: center; text-align: center; gap: 8px;
    padding: 13px 7px; align-self: stretch;
  }
  .hub-node p { display: none; }
  .hub-node h3 { font-size: 11.5px; line-height: 1.2; margin: 0; }
  .hub-ico { width: 38px; height: 38px; border-radius: 10px; }
  .hub-ico svg { width: 19px; height: 19px; }
}

/* tabs */
.tabs { max-width: 880px; margin: 0 auto; }
.tab-bar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tab {
  padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer;
  background: var(--card); border: 1px solid var(--border); color: var(--dim); transition: all .25s var(--ease);
}
.tab:hover { color: var(--text); border-color: var(--border-hi); }
.tab.active { background: var(--brand); color: #04161a; border-color: var(--brand); }
.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .4s var(--ease); }
.tab-panel ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tab-panel li {
  background: var(--card); border: 1px solid var(--border); border-radius: 13px; padding: 18px 20px;
  transition: all .25s var(--ease);
}
.tab-panel li:hover { border-color: rgba(45,212,212,.4); transform: translateY(-3px); }
.tab-panel li b { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 5px; }
.tab-panel li span { color: var(--dim); font-size: 13.5px; }
.risky { font-size: 10px; font-style: normal; font-weight: 700; color: var(--red); background: rgba(239,68,68,.12); padding: 2px 7px; border-radius: 5px; letter-spacing: .5px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.price {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; position: relative; transition: all .3s var(--ease);
}
.price:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.price-pop {
  border-color: rgba(45,212,212,.5); background: linear-gradient(180deg, rgba(45,212,212,.06), var(--card));
  box-shadow: 0 30px 80px -30px rgba(45,212,212,.4);
}
.price-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #04161a; font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 999px;
}
/* standout "free key for a friend" banner, right under the SAVE badge */
.price-perk {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 4px 0 18px; padding: 10px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 800; color: #04161a; text-align: center;
  background: linear-gradient(180deg, #45e3e3, var(--brand));
  box-shadow: 0 8px 22px -8px rgba(45,212,212,.65);
  animation: perkGlow 2.6s var(--ease) infinite;
}
@keyframes perkGlow { 50% { transform: translateY(-1.5px); box-shadow: 0 13px 30px -8px rgba(45,212,212,.95); } }
.price-name { font-size: 15px; font-weight: 700; color: var(--dim); }
.price-amt { font-size: 48px; font-weight: 900; letter-spacing: -2px; margin: 8px 0 4px; }
.price-amt .cur { font-size: 24px; vertical-align: top; color: var(--dim); }
.price-amt .per { font-size: 16px; font-weight: 600; color: var(--dim); margin-left: 4px; }
.price-tag { color: var(--faint); font-size: 14px; margin-bottom: 22px; }
.price-feats { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.price-feats li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--dim); }
.price-feats li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.price-feats li b { color: var(--text); }
.price-btn { width: 100%; justify-content: center; }

/* ───────────────── futuristic FAQ ───────────────── */
.faq-section { position: relative; overflow: hidden; }
/* tech grid + glow backdrop */
.faq-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(45,212,212,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,212,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 30%, transparent 75%);
}
.faq-glow {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  width: 620px; height: 360px; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(45,212,212,.16), transparent 70%);
  filter: blur(20px);
}
.faq-section .container { position: relative; z-index: 1; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(22,24,32,.85), rgba(13,14,20,.85));
  border: 1px solid var(--border); border-radius: 14px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
/* glowing left accent bar that lights up when open */
.faq-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2.5px; z-index: 3;
  background: linear-gradient(180deg, #7af5f5, var(--brand), var(--brand-dk));
  box-shadow: 0 0 14px rgba(45,212,212,.9);
  transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.faq-item:hover { border-color: var(--border-hi); transform: translateY(-1px); }
.faq-item.open {
  border-color: rgba(45,212,212,.45);
  background: linear-gradient(180deg, rgba(45,212,212,.07), rgba(13,14,20,.85));
  box-shadow: 0 0 0 1px rgba(45,212,212,.14), 0 22px 50px -28px rgba(45,212,212,.7);
}
.faq-item.open::before { transform: scaleY(1); }

.faq-q {
  width: 100%; text-align: left; padding: 18px 22px; background: none; border: none; cursor: pointer;
  font-family: inherit; display: flex; align-items: center; gap: 16px;
}
.faq-idx {
  flex-shrink: 0; font-family: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--brand); opacity: .55;
  transition: opacity .25s var(--ease), text-shadow .25s var(--ease);
}
.faq-item.open .faq-idx, .faq-q:hover .faq-idx { opacity: 1; text-shadow: 0 0 12px rgba(45,212,212,.9); }
.faq-qt { flex: 1; font-size: 16px; font-weight: 700; color: var(--text); transition: color .2s var(--ease); }
.faq-q:hover .faq-qt { color: var(--brand); }
.faq-item.open .faq-qt { color: var(--brand); }
.faq-ico {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: var(--brand);
  background: rgba(45,212,212,.08); border: 1px solid rgba(45,212,212,.3);
  transition: transform .4s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-ico svg { width: 15px; height: 15px; }
.faq-item.open .faq-ico {
  transform: rotate(180deg);
  background: var(--brand); color: #04161a; border-color: var(--brand);
  box-shadow: 0 0 16px -2px rgba(45,212,212,.8);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p {
  padding: 0 22px 22px 56px; color: var(--dim); font-size: 14.5px; line-height: 1.65;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .35s var(--ease) .06s, transform .35s var(--ease) .06s;
}
.faq-item.open .faq-a p { opacity: 1; transform: none; }
@media (max-width: 560px) { .faq-a p { padding-left: 22px; } }

/* cta */
.cta { padding: 72px 0; }
.cta-card {
  max-width: 720px; margin: 0 auto;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(45,212,212,.14), transparent 70%),
    linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid rgba(45,212,212,.28); border-radius: 20px; padding: 44px 36px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(45,212,212,.45), inset 0 1px 0 rgba(255,255,255,.05);
}
/* subtle top accent line */
.cta-card::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 56%; height: 1.5px; background: linear-gradient(90deg, transparent, var(--brand), transparent); opacity: .7;
}
.cta-card h2 { font-size: clamp(23px, 3.2vw, 33px); font-weight: 800; letter-spacing: -1px; }
.cta-card p { color: var(--dim); font-size: 16px; margin: 13px 0 26px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn { padding: 13px 26px; font-size: 14.5px; border-radius: 11px; }
.cta-btns .btn-outline {
  background: rgba(255,255,255,.03); border-color: rgba(45,212,212,.4); backdrop-filter: blur(6px);
}
.cta-btns .btn-outline:hover { background: rgba(45,212,212,.1); border-color: var(--brand); }

/* footer */
.footer {
  position: relative; border-top: 1px solid var(--border);
  padding: 72px 0 34px; background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
/* subtle cyan accent line along the top */
.footer::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 50%; max-width: 700px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,212,212,.5), transparent);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px 50px; align-items: start;
}
.footer-cols { display: contents; }            /* let the 3 columns sit in the grid */
.footer-brand { max-width: 340px; }
.footer-logo { height: 42px; width: auto; display: block; filter: drop-shadow(0 4px 14px rgba(45,212,212,.25)); }
.footer-brand p { color: var(--dim); font-size: 14.5px; margin-top: 18px; line-height: 1.65; }
.footer-discord {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  padding: 10px 18px; border-radius: 11px; font-size: 14px; font-weight: 700; color: var(--brand);
  background: rgba(45,212,212,.06); border: 1px solid rgba(45,212,212,.3);
  transition: all .22s var(--ease);
}
.footer-discord svg { width: 18px; height: 18px; }
.footer-discord:hover { background: var(--brand); color: #04161a; border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 8px 22px -8px rgba(45,212,212,.6); }
.footer-col h4 { font-size: 12px; letter-spacing: 1.5px; color: var(--faint); margin-bottom: 16px; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; color: var(--dim); font-size: 14.5px; margin-bottom: 12px; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-col a:hover { color: var(--brand); transform: translateX(3px); }
.footer-bottom {
  max-width: var(--max); margin: 52px auto 0; padding: 26px 40px 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px;
}

/* buy toast */
.buy-toast {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  background: var(--card-hi); border: 1px solid rgba(45,212,212,.5); border-left: 3px solid var(--brand);
  border-radius: 12px; padding: 16px 20px; max-width: 320px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6);
  transform: translateX(400px); transition: transform .4s var(--ease); font-size: 14px;
}
.buy-toast.show { transform: translateX(0); }
.buy-toast b { color: var(--brand); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }


/* ───────────────── legal pages (terms / privacy / refunds) ───────────────── */
.legal { padding: 150px 0 90px; position: relative; }
.legal .container-narrow { max-width: 820px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 7px; color: var(--dim); font-size: 14px; font-weight: 600;
  margin-bottom: 26px; transition: color .2s var(--ease);
}
.legal-back:hover { color: var(--brand); }
.legal-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--brand); margin-bottom: 12px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.legal-updated { color: var(--faint); font-size: 14px; margin-top: 12px; }
.legal-body { margin-top: 40px; }
.legal-body h2 {
  font-size: 20px; font-weight: 800; color: var(--text); margin: 34px 0 12px;
  padding-left: 14px; position: relative;
}
.legal-body h2::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dk)); box-shadow: 0 0 10px rgba(45,212,212,.6);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--dim); font-size: 15.5px; line-height: 1.7; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.legal-body li { position: relative; padding-left: 22px; margin-bottom: 9px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 7px rgba(45,212,212,.7); }
.legal-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--text); }
.legal-note {
  margin-top: 36px; padding: 16px 20px; border-radius: 12px; font-size: 13.5px; color: var(--faint);
  background: rgba(45,212,212,.05); border: 1px solid var(--border); border-left: 3px solid var(--brand);
}

/* ───────────────── responsive ───────────────── */
@media (max-width: 900px) {
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .tab-panel ul { grid-template-columns: 1fr; }
  .container { padding: 0 22px; }
  .nav-inner { justify-content: space-between; padding: 14px 18px; align-items: center; }
  /* drop the pill chrome on mobile — clean logo-left / burger-right bar */
  .nav-pill { padding: 0; gap: 0; background: none; border: none; box-shadow: none; backdrop-filter: none; }
  .nav-pill .nav-divider, .nav-pill .nav-discord, .nav-pill .nav-links { display: none; }
  .brand { padding: 0; }
  .brand-logo { height: 62px; }
  .nav-burger { display: flex; }

  /* slide-out mobile menu */
  .nav-pill .nav-links.open {
    display: flex;
    position: fixed; top: 80px; right: 18px; left: 18px; bottom: auto;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px;
    background: rgba(13,14,20,.92); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: 16px;
    box-shadow: 0 20px 60px -10px rgba(0,0,0,.6), 0 0 40px -10px rgba(45,212,212,.2);
    transform: none; opacity: 1;
    animation: menuDrop .25s var(--ease) both;
    z-index: 99;
  }
  @keyframes menuDrop { from { opacity: 0; transform: translateY(-8px); } }
  .nav-pill .nav-links:not(.open) {
    position: fixed; top: -100vh; left: 0; right: 0;
    pointer-events: none; opacity: 0;
  }
  .nav-blob { display: none; }
  .nav-link {
    width: 100%; padding: 12px 16px; border-radius: 10px;
    color: var(--dim); font-size: 15px;
  }
  .nav-link:hover { background: rgba(255,255,255,.05); }
  .nav-link.active {
    background: linear-gradient(180deg, var(--brand), var(--brand-dk));
    color: #fff;
  }
  .nav-link-mobile { display: inline-flex; margin-top: 4px; border-top: 1px solid var(--border); padding-top: 16px; }

  /* hero — single column, custom order: title → app → stats → prices */
  .hero { padding: 90px 0 60px; }
  .hero-grid { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
  .hero-left { display: contents; }            /* let children flow into the column */
  .hero-title { order: 1; text-align: center; }
  .hero-right { order: 2; }
  .hero-stats { order: 3; margin-top: 0; justify-content: center; max-width: 560px; margin-left: auto; margin-right: auto; width: 100%; }
  .hero-plans { order: 4; margin-top: 0; flex: 0 0 auto; max-width: 560px; margin-left: auto; margin-right: auto; }
  .ba-prompt { order: 5; margin-top: 6px; }
  .hplan { text-align: center; align-items: center; }
  .hplan-tag { min-height: 0; }

  /* app preview — scale the fixed-size app down to fit the viewport.
     fixed width + scale keeps every proportion identical to desktop. */
  .hero-right {
    display: flex; justify-content: center; align-items: flex-start; overflow: hidden;
    perspective: none; height: 482px; margin-top: 6px;
  }
  .hero-right .app {
    width: 685px; flex-shrink: 0;
    transform: scale(.74) !important; transform-origin: top center;
    animation: none;
    box-shadow: 0 20px 60px -20px rgba(0,0,0,.7), 0 0 70px -20px rgba(45,212,212,.4);
  }
  .hero-right .app:hover { transform: scale(.74) !important; }
  .hero-right .app::before { display: none; }
  /* the scaled mobile preview is a clipped container — pin the caption to its bottom */
  .app-caption { display: flex; position: absolute; left: 0; right: 0; bottom: 6px; margin: 0; z-index: 6; font-size: 12.5px; transform: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 84px 0 40px; }
  .hero-title { font-size: clamp(34px, 9vw, 44px); }
  /* stats — extra compact on phones */
  .hero-stats { gap: 5px; margin-top: 0; }
  .stat { flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 6px 4px; }
  .stat-meta { align-items: center; }
  .stat b { font-size: 13px; }
  .stat i { font-size: 8px; }
  .stat-label { font-size: 6px; letter-spacing: .5px; }
  .stat-graph.dots { width: 16px; height: 16px; gap: 1.5px; grid-template-columns: repeat(5, 2px); grid-auto-rows: 2px; }
  .stat-graph.bars { width: 16px; height: 15px; }
  .stat-graph.cats { width: 42px; height: 15px; }
  .stat-graph.cats span { font-size: 6px; }

  /* before/after prompt — much smaller */
  .ba-prompt { margin-top: 28px; gap: 9px; }
  .ba-prompt-label { font-size: 11px; letter-spacing: 2.5px; }
  .ba-prompt-arrow { width: 38px; height: 38px; }
  .ba-prompt-arrow svg { width: 17px; height: 17px; }

  /* prices — 3 side by side, taller cards with compact feature lists */
  .hero-plans { grid-template-columns: repeat(3, 1fr); max-width: 100%; margin-left: 0; margin-right: 0; gap: 7px; }
  .hplan { min-height: 0; padding: 15px 9px; border-radius: 13px; text-align: left; align-items: stretch; }
  .hplan-flag { font-size: 6.5px; padding: 2px 6px; top: -7px; letter-spacing: .4px; }
  .hplan-name { font-size: 10px; }
  .hplan-price { font-size: 17px; margin-top: 3px; letter-spacing: -.5px; }
  .hplan-price .cur { font-size: 10px; }
  .hplan-price .per { font-size: 8px; margin-left: 1px; }
  .hplan-tag { display: none; }
  .hplan-feats { display: flex; margin: 9px 0 11px; gap: 6px; padding-top: 9px; }
  .hplan-feats li { font-size: 8.5px; line-height: 1.25; gap: 5px; }
  .hplan-feats li::before { font-size: 8.5px; }
  .hplan-btn {
    width: 100%; padding: 10px 3px;
    font-size: 10.5px; font-weight: 800; border-radius: 8px; letter-spacing: .2px;
  }

  /* app preview — full content width; glow lives on the container (its own box-shadow
     isn't clipped by overflow:hidden) so it wraps the menu evenly instead of patchy */
  .hero-right {
    height: 366px; margin-top: 0; border-radius: 18px;
    box-shadow: 0 22px 55px -28px rgba(0,0,0,.75), 0 0 48px -16px rgba(45,212,212,.34);
  }
  .hero-right .app { transform: scale(.56) !important; box-shadow: none; }
  .hero-right .app:hover { transform: scale(.56) !important; box-shadow: none; }
  .hero-right .app::before { display: none; }

  .sec-head { margin-bottom: 36px; }
  .section { padding: 70px 0; }
  .feat { padding: 22px; }
  .price { padding: 26px 22px; }
  .marquee { padding: 26px 0; margin-top: 50px; }
  .marquee-track span { font-size: 18px; }
  .cta { padding: 46px 0; }
  .cta-card { padding: 30px 20px; border-radius: 16px; }
  .cta-card h2 { font-size: clamp(21px, 6vw, 26px); }
  .cta-card p { font-size: 14.5px; margin: 11px 0 22px; }
  .cta-btns .btn { padding: 12px 22px; font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
.ni-icons { display: none; }

/* ───────────────── PAYMENT MODAL (Stripe – card only) ───────────────── */
.pay-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(5, 6, 10, .72); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.pay-overlay.show { opacity: 1; visibility: visible; }
.pay-modal {
  position: relative; width: 100%; max-width: 420px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border-hi); border-radius: 20px;
  padding: 28px 26px 24px; color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(45,212,212,.08);
  transform: translateY(16px) scale(.97); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  max-height: calc(100vh - 40px); overflow-y: auto;
}
.pay-overlay.show .pay-modal { transform: translateY(0) scale(1); opacity: 1; }
.pay-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 9px; color: var(--dim); cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.pay-close:hover { color: var(--text); background: rgba(255,255,255,.08); border-color: var(--border-hi); }
.pay-close svg { width: 16px; height: 16px; }

.pay-head { margin-bottom: 22px; }
.pay-brandrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.pay-logo { width: 26px; height: 26px; border-radius: 7px; }
.pay-brandname { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--dim); }
.pay-planline { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.pay-plan-name { font-size: 19px; font-weight: 800; }
.pay-plan-tag { font-size: 12px; color: var(--dim); margin-top: 3px; }
.pay-amount { font-size: 26px; font-weight: 800; line-height: 1; white-space: nowrap; }
.pay-cur { font-size: 16px; vertical-align: top; color: var(--dim); margin-right: 1px; }
.pay-per { font-size: 12px; font-weight: 600; color: var(--dim); margin-left: 3px; }

.pay-form { display: flex; flex-direction: column; }
.pay-label { font-size: 12px; font-weight: 600; color: var(--dim); margin: 12px 0 6px; }
.pay-form .pay-label:first-child { margin-top: 0; }
.pay-input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 13px; color: var(--text);
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pay-input::placeholder { color: var(--faint); }
.pay-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-gl); }

/* combined card group (number + exp + cvc) à la Stripe */
.pay-card-group {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  background: var(--bg-2); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pay-card-group.focused { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-gl); }
.pay-card-group.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,.14); }
.pay-input-bare { background: transparent; border: 0; border-radius: 0; box-shadow: none !important; }
.pay-input-bare:focus { box-shadow: none; }
.pay-field-number { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.pay-field-number .pay-input-bare { padding-right: 56px; }
.pay-brand {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 10px; font-weight: 800; letter-spacing: .5px; color: var(--brand);
  padding: 3px 6px; border-radius: 5px; background: rgba(45,212,212,.1);
  opacity: 0; transition: opacity .2s var(--ease);
}
.pay-brand.show { opacity: 1; }
.pay-field-split { display: grid; grid-template-columns: 1fr 1fr; }
.pay-field-split .pay-input-bare:first-child { border-right: 1px solid var(--border); }

.pay-error {
  font-size: 12.5px; color: var(--red); margin-top: 10px; min-height: 0;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .25s var(--ease), opacity .25s var(--ease), margin .25s var(--ease);
}
.pay-error.show { max-height: 60px; opacity: 1; }

.pay-submit {
  position: relative; margin-top: 18px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px; border: none; border-radius: 11px; cursor: pointer;
  font-size: 15px; font-weight: 800; font-family: inherit; color: #04161a;
  background: linear-gradient(180deg, #45e3e3 0%, var(--brand) 55%, var(--brand-dk) 100%);
  box-shadow: 0 10px 26px -10px rgba(45,212,212,.7);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), opacity .2s var(--ease);
}
.pay-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px rgba(45,212,212,.8); }
.pay-submit:active { transform: translateY(0); }
.pay-submit:disabled { cursor: default; opacity: .75; transform: none; }
.pay-submit.loading .pay-submit-label { opacity: 0; }
.pay-spinner {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(4,22,26,.35); border-top-color: #04161a;
  opacity: 0; animation: paySpin .7s linear infinite;
}
.pay-submit.loading .pay-spinner { opacity: 1; }
@keyframes paySpin { to { transform: rotate(360deg); } }

.pay-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 15px; font-size: 11.5px; color: var(--faint);
}
.pay-secure svg { width: 13px; height: 13px; }

/* success */
.pay-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 14px 0 4px; }
.pay-success.show { display: flex; animation: payFade .4s var(--ease) both; }
@keyframes payFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.pay-success-ring {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; color: var(--green);
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4);
}
.pay-success-ring svg { width: 30px; height: 30px; }
.pay-success h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.pay-success p { font-size: 13.5px; color: var(--dim); max-width: 280px; line-height: 1.5; }
.pay-success-close { margin-top: 20px; max-width: 160px; }

@media (max-width: 480px) {
  .pay-modal { padding: 24px 18px 20px; }
  .pay-amount { font-size: 22px; }
}
