/* ========== ADAM FUNNEL DESIGN TOKENS ========== */
:root{
  --bg: #0A1628;
  --surface: #101F35;
  --primary: #D4A537;
  --primary-dark: #88661E;
  --primary-50: rgba(212,165,55,0.08);
  --primary-100: rgba(212,165,55,0.15);
  --success: #10B981;
  --success-dark: #059669;
  --success-50: #ECFDF5;
  --alert: #EF4444;
  --alert-50: #FEF2F2;
  --navy: #0F172A;
  --gold: #D4A537;
  --gold-50: rgba(212,165,55,0.06);
  --text: #E8ECF1;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --border: #1A2A42;
  --border-strong: #2A3F5C;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --shadow: 0 4px 12px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 40px -12px rgba(15,23,42,.15), 0 8px 16px -8px rgba(15,23,42,.1);
  --shadow-gold: 0 10px 30px -8px rgba(212,165,55,.35);
  --shadow-green: 0 10px 30px -8px rgba(16,185,129,.4);

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --warning-bar-height: 44px;
  --footer-height: 92px;
}

*{ box-sizing: border-box; }
html, body{
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body{
  min-height: 100vh;
  padding-top: var(--warning-bar-height);
  padding-bottom: 0;
}
body.has-footer{
  padding-bottom: var(--footer-height);
}
img{ max-width: 100%; display: block; }
button{ font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a{ color: var(--primary); text-decoration: none; }

.tabular{ font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ========== SHELL ========== */
.warning-bar{
  position: fixed; top: 0; left: 0; right: 0; height: var(--warning-bar-height);
  background: var(--navy); color: white; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  padding: 0 16px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}
@media (max-width: 420px){
  .warning-bar{ font-size: 12px; padding: 0 12px; letter-spacing: -.015em; }
}
.warning-bar .dot{
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--alert); margin-right: 8px; vertical-align: middle;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.warning-bar i{ margin-right: 8px; font-size: 12px; opacity: .9; }
.warning-bar.tone-gold{ background: #1E1505; border-bottom-color: rgba(212,165,55,.2); }
.warning-bar.tone-gold .dot{ background: #D4A537; }
.warning-bar.tone-gold i{ color: #D4A537; }
.warning-bar.tone-alert{ background: #1C0A0A; border-bottom-color: rgba(239,68,68,.25); }
.warning-bar.tone-alert .dot{ background: #EF4444; }
.warning-bar.tone-alert i{ color: #FCA5A5; }
/* Adam: data-tick — holds at rest, then a crisp square-wave spike.
   Replaces the smooth sinusoidal pulse ARIA used. */
@keyframes pulse-dot{
  0%, 55%, 100%{ opacity: 1; transform: scale(1); }
  60%{ opacity: .55; transform: scale(1.5); }
  70%{ opacity: 1; transform: scale(.85); }
  80%{ opacity: 1; transform: scale(1); }
}

.page-wrap{
  max-width: 680px; margin: 0 auto; padding: 24px 20px 40px;
}
@media (min-width: 768px){
  .page-wrap{ padding: 40px 24px 80px; }
}

/* ========== TYPE ========== */
.eyebrow{
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted);
  margin-bottom: 12px;
}
h1, h2, h3{ letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; }
h1{ font-size: 32px; font-weight: 800; }
h2{ font-size: 26px; font-weight: 800; }
h3{ font-size: 20px; font-weight: 700; }
@media (min-width: 768px){
  h1{ font-size: 42px; }
  h2{ font-size: 32px; }
}
p{ margin: 0 0 16px; color: var(--text); text-wrap: pretty; }
p.muted{ color: var(--text-muted); }
strong{ font-weight: 700; }

/* ========== CARDS ========== */
.card{
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px){
  .card{ padding: 40px 36px; }
}
.card.gold{
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #D4A537, #E5BD4A, #D4A537) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-gold);
}
.card.premium-header{
  position: relative;
}
.card.premium-header::before{
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(212,165,55,.2), rgba(252,211,77,.1), rgba(212,165,55,.2));
  filter: blur(16px); opacity: .5; z-index: -1;
}

/* ========== TICK LIST ========== */
.tick-list{ list-style: none; padding: 0; margin: 0 0 20px; }
.tick-list li{
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-top: 1px solid var(--border);
  font-size: 15px;
}
.tick-list li:first-child{ border-top: none; }
.tick-list .tick{
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--success-50); color: var(--success-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.tick-list .x{ background: var(--alert-50); color: var(--alert); }

/* ========== BUTTONS ========== */
.btn{
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 56px; padding: 14px 20px;
  border-radius: var(--radius); font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center; gap: 8px;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn.primary{
  background: var(--primary); color: white;
  box-shadow: 0 8px 20px -6px rgba(212,165,55,.4);
}
.btn.primary:hover{ background: var(--primary-dark); }
.btn.success{
  background: linear-gradient(180deg, #10B981, #059669);
  color: white;
  box-shadow:
    0 10px 24px -6px rgba(16,185,129,.5),
    0 0 0 1px rgba(16,185,129,.25),
    inset 0 1px 0 rgba(255,255,255,.3);
  min-height: 68px; font-size: 18px; font-weight: 800;
  letter-spacing: .01em;
  position: relative; z-index: 1;
}
.btn.success:hover{
  background: linear-gradient(180deg, #059669, #047857);
}
.btn.pulse{
  animation: pulse-glow 2.2s ease-in-out infinite;
}
/* Adam: terminal data-pulse — two crisp ticks per cycle, like a status LED
   blinking confirmation. Replaces ARIA's single soft radial expansion. */
@keyframes pulse-glow{
  0%, 28%, 56%, 100%{
    box-shadow:
      0 10px 24px -6px rgba(16,185,129,.5),
      0 0 0 1px rgba(16,185,129,.25),
      0 0 0 0 rgba(16,185,129,.6),
      inset 0 1px 0 rgba(255,255,255,.3);
    filter: brightness(1);
  }
  14%{
    box-shadow:
      0 12px 28px -6px rgba(16,185,129,.7),
      0 0 0 1px rgba(0,255,148,.5),
      0 0 0 6px rgba(0,255,148,.18),
      inset 0 1px 0 rgba(255,255,255,.35);
    filter: brightness(1.1);
  }
  42%{
    box-shadow:
      0 12px 28px -6px rgba(16,185,129,.6),
      0 0 0 1px rgba(0,255,148,.4),
      0 0 0 10px rgba(0,255,148,0),
      inset 0 1px 0 rgba(255,255,255,.35);
    filter: brightness(1.05);
  }
}
.btn.ghost{
  background: var(--primary-50); color: var(--primary);
}
.btn.ghost:hover{ background: var(--primary-100); }
.btn.secondary{
  background: #101F35; color: var(--text); border: 1px solid var(--border-strong);
}
.btn.secondary:hover{ background: #1A2A42; }

.refuse-link{
  display: block; text-align: center; margin: 16px auto 0;
  background: none; color: var(--text-subtle); font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px; padding: 8px;
}
.refuse-link:hover{ color: var(--text-muted); }

/* ========== FOOTER CTA (sticky) ========== */
.footer-cta{
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
/* Sticky CTA only shows after BOTH conditions:
   1. Buyer has reached the price reveal step (.visible toggled by funnel.js)
   2. Animations on that step have finished (.armed toggled by per-OTO render code)
   This avoids the sticky appearing while the waterfall / counter is still
   running, which would feel impatient and hide the value reveal. */
.footer-cta.visible.armed{ transform: translateY(0); }
.footer-cta-inner{
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 6px;
}
.footer-cta .price-note{
  text-align: center; font-size: 12px; color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ========== STEP PROGRESS ========== */
.step-progress{
  display: flex; gap: 6px; margin-bottom: 24px; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.step-progress .bars{ display: flex; gap: 4px; flex: 1; }
.step-progress .bar{
  height: 3px; flex: 1; background: var(--border); border-radius: 2px;
  transition: background .3s ease;
}
.step-progress .bar.active{ background: var(--primary); }
.step-progress .bar.done{ background: var(--primary); opacity: .5; }

/* ========== ANIMATIONS ==========
   Adam terminal/Matrix aesthetic: sharper easing, brief blur/brightness on
   entry (decoded-from-static feel), no smooth radial fades. */
.fade-in{ animation: fade-in .45s cubic-bezier(.2,.85,.25,1) forwards; }
@keyframes fade-in{
  0%{ opacity: 0; transform: translateY(6px); filter: blur(2px) brightness(.6); }
  55%{ opacity: 1; filter: blur(.5px) brightness(1.1); }
  100%{ opacity: 1; transform: translateY(0); filter: blur(0) brightness(1); }
}
.slide-in{ animation: slide-in .55s cubic-bezier(.2,.85,.25,1) forwards; opacity: 0; }
@keyframes slide-in{
  0%{ opacity: 0; transform: translateY(14px) scaleY(.96); filter: brightness(.6); }
  60%{ opacity: 1; transform: translateY(-1px) scaleY(1.02); filter: brightness(1.15); }
  100%{ opacity: 1; transform: translateY(0) scaleY(1); filter: brightness(1); }
}

/* ========== TIMER ========== */
.timer-box{
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 16px;
  background: var(--alert-50); border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--radius); margin: 20px 0;
  font-size: 14px; color: var(--alert);
}
.timer-box .clock{ font-family: var(--font-mono); font-weight: 700; font-size: 18px; }
.timer-box.danger{ background: #FEE2E2; border-color: var(--alert); }

/* ========== PRICE DISPLAY ========== */
.price-reveal{
  text-align: center; padding: 32px 16px;
}
.price-reveal .strike{
  color: var(--text-subtle); font-size: 18px; text-decoration: line-through;
  margin-bottom: 8px; font-family: var(--font-mono);
}
.price-reveal .value{
  font-size: 84px; font-weight: 800; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; line-height: 1;
  background: linear-gradient(180deg, var(--text) 0%, var(--text) 60%, #475569 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.price-reveal .value.gold-flash{
  animation: gold-flash 1.4s cubic-bezier(.7,0,.3,1) forwards;
}
/* Adam: numerical decimation — digits "scramble" via blur/jitter/RGB-split
   before locking into final gold. Replaces ARIA's single scale-and-glow flash. */
@keyframes gold-flash{
  0%{
    transform: scale(1) translateX(0);
    filter: blur(0) drop-shadow(0 0 0 rgba(212,165,55,0));
  }
  10%{
    transform: scale(1.03) translateX(-2px);
    filter: blur(2px) drop-shadow(-1px 0 0 rgba(0,212,255,.7)) drop-shadow(1px 0 0 rgba(0,255,148,.5));
    opacity: .65;
  }
  20%{
    transform: scale(1.06) translateX(2px);
    filter: blur(1.5px) drop-shadow(2px 0 0 rgba(0,212,255,.6)) drop-shadow(-2px 0 0 rgba(239,68,68,.4));
    opacity: .85;
  }
  32%{
    transform: scale(1.1) translateX(-1px);
    filter: blur(.5px) drop-shadow(0 0 14px rgba(212,165,55,.4));
    opacity: 1;
  }
  44%{
    transform: scale(1.14) translateX(0);
    filter: blur(0) drop-shadow(0 0 22px rgba(212,165,55,.7));
  }
  100%{
    transform: scale(1);
    filter: blur(0) drop-shadow(0 4px 12px rgba(212,165,55,.28));
  }
}
.price-reveal .unit{
  font-family: var(--font-mono); color: var(--text-muted); font-size: 13px;
  margin-top: 8px; text-transform: uppercase; letter-spacing: .1em;
}

/* ========== SCARCITY DOTS ========== */
.dots-row{
  display: flex; gap: 8px; justify-content: center; margin: 20px 0 12px;
}
.dots-row .dot{
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--border); border: 2px solid var(--border-strong);
  transition: all .2s ease;
}
.dots-row .dot.taken{ background: var(--alert); border-color: var(--alert); }
.dots-row .dot.open{
  background: var(--success-50); border-color: var(--success);
  box-shadow: 0 0 0 0 rgba(16,185,129,.5);
  animation: open-pulse 1.8s ease-in-out infinite;
}
/* Adam: radar ping — two concentric rings expanding at offset rates with
   sharp linear ramp. Replaces ARIA's single soft ring pulse. */
@keyframes open-pulse{
  0%, 100%{
    box-shadow:
      0 0 0 0 rgba(16,185,129,.55),
      0 0 0 0 rgba(0,255,148,.0);
  }
  40%{
    box-shadow:
      0 0 0 5px rgba(16,185,129,.25),
      0 0 0 9px rgba(0,255,148,.18);
  }
  70%{
    box-shadow:
      0 0 0 9px rgba(16,185,129,0),
      0 0 0 13px rgba(0,255,148,0);
  }
}
.dots-caption{ text-align: center; font-family: var(--font-mono); font-size: 13px; color: var(--text); }

.scarcity-box{
  background: #FEF2F2; border: 1px solid #FECACA;
  border-radius: var(--radius); padding: 18px 16px;
  margin: 20px 0;
}
.scarcity-head{
  display: flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 14px; margin-bottom: 14px;
}
.scarcity-head .slots-remaining{
  font-size: 20px; font-weight: 800; color: var(--alert);
}
.scarcity-head .live-dot{
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--alert);
  animation: live-pulse 1.2s infinite;
  box-shadow: 0 0 0 0 rgba(239,68,68,.6);
}
/* Adam: heartbeat oscilloscope — sharp double-beat (lub-dub) instead of a
   single soft ring expansion. Reads as a live vital sign on screen. */
@keyframes live-pulse{
  0%{
    box-shadow: 0 0 0 0 rgba(239,68,68,.6);
    transform: scale(1);
  }
  10%{
    box-shadow: 0 0 0 3px rgba(239,68,68,.5);
    transform: scale(1.28);
  }
  20%{
    box-shadow: 0 0 0 7px rgba(239,68,68,0);
    transform: scale(1);
  }
  30%{
    box-shadow: 0 0 0 0 rgba(239,68,68,.4);
    transform: scale(1.18);
  }
  42%{
    box-shadow: 0 0 0 5px rgba(239,68,68,0);
    transform: scale(1);
  }
  100%{
    box-shadow: 0 0 0 0 rgba(239,68,68,0);
    transform: scale(1);
  }
}
.scarcity-box .dots-row .dot.just-claimed{
  animation: dot-claim .9s ease;
}
/* Adam: glitch + binary — horizontal jitter with RGB-split shadows simulating
   chromatic aberration as the dot flips from green to alert red. */
@keyframes dot-claim{
  0%{
    transform: scale(1) translateX(0);
    background: var(--success); border-color: var(--success);
    box-shadow: 0 0 0 0 rgba(239,68,68,0);
  }
  12%{
    transform: scale(1.35) translateX(-2px);
    background: var(--alert); border-color: var(--alert);
    box-shadow: -2px 0 0 0 rgba(0,212,255,.7), 2px 0 0 0 rgba(239,68,68,.7), 0 0 0 4px rgba(239,68,68,.2);
  }
  24%{
    transform: scale(1.6) translateX(2px);
    box-shadow: 2px 0 0 0 rgba(0,212,255,.55), -2px 0 0 0 rgba(239,68,68,.55), 0 0 0 8px rgba(239,68,68,.22);
  }
  38%{
    transform: scale(1.35) translateX(-1px);
    box-shadow: -1px 0 0 0 rgba(0,212,255,.4), 1px 0 0 0 rgba(239,68,68,.4), 0 0 0 6px rgba(239,68,68,.12);
  }
  60%{
    transform: scale(1.08) translateX(0);
    box-shadow: 0 0 0 3px rgba(239,68,68,.08);
  }
  100%{
    transform: scale(1) translateX(0);
    background: var(--alert); border-color: var(--alert);
    box-shadow: 0 0 0 0 rgba(239,68,68,0);
  }
}
.claim-ticker{
  display: flex; align-items: center; gap: 10px;
  background: #101F35; border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
  margin-top: 12px;
  font-size: 13px; color: var(--text-muted);
  font-family: var(--font-mono);
  min-height: 38px;
}
.claim-ticker .tick-ico{ color: var(--alert); font-size: 14px; }
.claim-ticker .tick-txt strong{ color: var(--text); font-weight: 600; }
.scarcity-alarm{
  display: flex; align-items: center; gap: 10px;
  background: var(--alert); color: white;
  padding: 12px 14px; border-radius: 10px;
  margin-top: 12px; font-size: 14px;
  animation: alarm-in .4s ease;
}
.scarcity-alarm.hidden{ display: none; }
.scarcity-alarm.critical{
  animation: alarm-critical 1s infinite;
}
@keyframes alarm-in{ from{ opacity: 0; transform: translateY(-4px); } to{ opacity: 1; transform: translateY(0); } }
@keyframes alarm-critical{
  0%, 100%{ background: var(--alert); }
  50%{ background: #DC2626; box-shadow: 0 0 20px rgba(239,68,68,.4); }
}

/* ========== GUARANTEE BADGE ========== */
.guarantee{
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; background: #101F35; border: 1px solid #1A2A42;
  border-radius: var(--radius); margin: 20px 0;
}
.guarantee .shield{
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: #101F35; border: 2px solid var(--success);
  display: flex; align-items: center; justify-content: center;
  color: var(--success-dark); font-size: 20px;
}
.guarantee-text{ font-size: 14px; color: var(--text); }
.guarantee-text strong{ color: var(--text); display: block; margin-bottom: 2px; }

/* ========== TRUST ROW ========== */
.trust-row{
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin-top: 20px; font-size: 12px; color: var(--text-muted);
  font-family: var(--font-mono);
}
.trust-row span{ display: inline-flex; align-items: center; gap: 6px; }

/* ========== LOGO ========== */
.brand{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: -0.02em; font-size: 15px;
}
.brand .mark{
  width: 24px; height: 24px; border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
}
.brand .mark::after{
  content: ""; position: absolute; inset: 6px;
  border-radius: 2px; background: #101F35;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.brand-head{
  display: flex; justify-content: center; margin-bottom: 24px; color: var(--text-muted);
}

/* ========== UTIL ========== */
.center{ text-align: center; }
.mb-0{ margin-bottom: 0; }
.mb-8{ margin-bottom: 8px; }
.mb-16{ margin-bottom: 16px; }
.mb-24{ margin-bottom: 24px; }
.mt-16{ margin-top: 16px; }
.mt-24{ margin-top: 24px; }
.stack-lg > * + *{ margin-top: 24px; }
.stack > * + *{ margin-top: 16px; }
.stack-sm > * + *{ margin-top: 8px; }

/* ========== MODAL (exit-intent + no-click) ========== */
.modal-overlay{
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,23,42,.7); backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
@media (min-width: 768px){
  .modal-overlay{ align-items: center; padding: 24px; }
}
.modal-overlay.visible{ opacity: 1; pointer-events: auto; }
.modal{
  background: var(--surface); border-radius: var(--radius-lg);
  width: 100%; max-width: 460px; padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(40px); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  max-height: 90vh; overflow-y: auto;
}
@media (min-width: 768px){
  .modal{ padding: 36px 32px; }
}
.modal-overlay.visible .modal{ transform: translateY(0); }
.modal .modal-eyebrow{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--alert); margin-bottom: 10px;
  padding: 4px 10px; background: var(--alert-50); border-radius: 999px;
}
.modal h3{ font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.modal .modal-body{ font-size: 15px; color: var(--text); margin-bottom: 18px; }
.modal .mini-benefits{
  display: grid; gap: 10px; margin: 16px 0 20px;
  background: var(--bg); border-radius: var(--radius); padding: 14px 16px;
}
.modal .mini-benefits li{
  list-style: none; font-size: 14px; display: flex; gap: 10px; align-items: flex-start;
}
.modal .mini-benefits li::before{
  content: "✓"; color: var(--success-dark); font-weight: 700; flex-shrink: 0;
}
.modal .mini-timer{
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; color: var(--alert);
  padding: 10px; background: var(--alert-50); border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.modal .modal-refuse{
  display: block; text-align: center; margin: 14px auto 0;
  background: none; color: var(--text-subtle); font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px; padding: 6px;
}
.modal .close{
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
}
.modal{ position: relative; }

/* Final-offer modal (stage 2) accent */
.modal.final .modal-eyebrow{
  color: var(--gold); background: var(--gold-50);
}
.modal.final .big-number{
  font-size: 54px; font-weight: 800; letter-spacing: -0.03em;
  text-align: center; margin: 8px 0 4px; font-variant-numeric: tabular-nums;
}
.modal.final .big-number .was{
  font-size: 20px; color: var(--text-subtle); text-decoration: line-through;
  font-weight: 500; display: block; margin-bottom: 4px;
}
.modal.final .arrow{
  text-align: center; color: var(--text-subtle); font-family: var(--font-mono);
  font-size: 12px; margin-bottom: 8px;
}

/* ========== BRAND AVATAR (VSL) ========== */
.adam-orb{
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #DAAF3E, #D4A537 60%, #88661E);
  position: relative;
  box-shadow: 0 0 40px rgba(212,165,55,.5), inset 0 -8px 20px rgba(15,23,42,.3);
}
.adam-orb::before, .adam-orb::after{
  content: ""; position: absolute; border-radius: 50%;
  border: 1px solid rgba(218,175,62,.55);
  animation: orb-ring 2.2s linear infinite;
}
.adam-orb::before{ inset: -6px; }
.adam-orb::after{ inset: -12px; animation-delay: 1.1s; }
/* Adam: concentric radar ping — linear ramp, scales further, opacity drives
   the fade so each ring reads as a discrete sweep rather than a soft breath. */
@keyframes orb-ring{
  0%{ opacity: .85; transform: scale(1); }
  100%{ opacity: 0; transform: scale(1.55); }
}

/* ========== SECTION HEADER ========== */
.section-head{
  text-align: center; margin-bottom: 28px;
}
.section-head .kicker{
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px;
}

/* ========== READINESS METER (top-right) ========== */
.adam-meter{
  position: fixed; top: 14px; right: 14px; z-index: 80;
  background: #101F35;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(15,23,42,.08);
  width: 220px;
  animation: meter-in .5s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
/* Adam: boot sequence rise — terminal window opening. Drops in from top with
   a brief brightness flicker on settle, like a hot-loaded UI element. */
@keyframes meter-in{
  0%{ opacity: 0; transform: translateY(-10px) scaleY(.2); transform-origin: top center; filter: brightness(.4); }
  45%{ opacity: 1; transform: translateY(0) scaleY(1); filter: brightness(1.7); }
  60%{ filter: brightness(.75); }
  75%{ filter: brightness(1.25); }
  100%{ opacity: 1; transform: translateY(0) scaleY(1); filter: brightness(1); }
}
.adam-meter .meter-head{
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.adam-meter .meter-label{
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted);
}
.adam-meter .meter-pct{
  font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--primary);
}
.adam-meter .meter-track{
  height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden;
}
.adam-meter .meter-bar{
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #8B5CF6 100%);
  width: 0%;
  transition: width .7s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 0 6px rgba(212,165,55,.4);
}
.adam-meter .meter-bar.pulse{ animation: meter-pulse .7s steps(8, end); }
/* Adam: stepped data-scan — discrete brightness ticks across the bar rather
   than a single smooth swell. Reads as a value-update on a terminal readout. */
@keyframes meter-pulse{
  0%, 100%{ filter: brightness(1) saturate(1); }
  12%{ filter: brightness(1.6) saturate(1.3); }
  25%{ filter: brightness(1) saturate(1); }
  37%{ filter: brightness(1.5) saturate(1.25); }
  50%{ filter: brightness(1) saturate(1); }
  62%{ filter: brightness(1.3) saturate(1.15); }
  75%{ filter: brightness(1) saturate(1); }
}
.adam-meter .meter-status{
  font-family: var(--font-mono); font-size: 11px; color: var(--text-subtle);
  margin-top: 6px;
}
.adam-meter.complete .meter-bar{ background: linear-gradient(90deg, var(--success), #34D399); }
.adam-meter.complete .meter-pct{ color: var(--success-dark); }
.adam-meter.complete .meter-status{ color: var(--success-dark); font-weight: 600; }

@media (max-width: 720px){
  .adam-meter{ top: 8px; right: 8px; width: 180px; padding: 8px 10px; border-radius: 10px; }
}

/* ========== BUILD STACK (left sidebar, desktop) ========== */
.adam-stack{
  position: fixed; left: 14px; top: 120px; z-index: 70;
  width: 240px;
  background: #101F35; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px;
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
  animation: meter-in .5s cubic-bezier(.34,1.56,.64,1) .2s both;
}
.adam-stack .stack-head{
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.adam-stack .stack-label{
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.adam-stack .stack-label i{ color: var(--primary); }
.adam-stack .stack-list{ display: flex; flex-direction: column; gap: 8px; }
.adam-stack .stack-empty{
  font-size: 12px; color: var(--text-subtle); font-style: italic;
  padding: 8px 0;
}
.adam-stack .stack-card{
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--success-50);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 10px;
  animation: stack-card-in .45s cubic-bezier(.34,1.56,.64,1) both;
  transition: box-shadow .3s, transform .2s;
}
/* Adam: card boot-in — slides from left with a brief overshoot + brightness
   spike on landing, like a module registering itself into the buildout list. */
@keyframes stack-card-in{
  0%{ opacity: 0; transform: translateX(-16px) scale(.94); filter: brightness(.5); }
  60%{ opacity: 1; transform: translateX(3px) scale(1.015); filter: brightness(1.4); }
  100%{ opacity: 1; transform: translateX(0) scale(1); filter: brightness(1); }
}
.adam-stack .stack-card.just-unlocked{
  animation: stack-card-flash 1.6s ease;
  box-shadow: 0 0 0 3px rgba(16,185,129,.2);
}
/* Adam: data-sync flash — inset terminal-green border that ticks on/off twice
   plus an outer halo, simulating a "module synced" handshake. */
@keyframes stack-card-flash{
  0%{
    transform: scale(1);
    box-shadow: inset 0 0 0 0 rgba(0,255,148,0), 0 0 0 0 rgba(16,185,129,0);
  }
  14%{
    transform: scale(1.05);
    box-shadow: inset 0 0 0 2px rgba(0,255,148,.6), 0 0 0 6px rgba(16,185,129,.3);
  }
  28%{
    transform: scale(1.07);
    box-shadow: inset 0 0 0 1px rgba(0,255,148,.3), 0 0 0 10px rgba(16,185,129,0);
  }
  46%{
    transform: scale(1.03);
    box-shadow: inset 0 0 0 2px rgba(0,255,148,.5), 0 0 0 4px rgba(16,185,129,.25);
  }
  62%{
    transform: scale(1.01);
    box-shadow: inset 0 0 0 1px rgba(0,255,148,.2), 0 0 0 2px rgba(16,185,129,.1);
  }
  100%{
    transform: scale(1);
    box-shadow: inset 0 0 0 0 rgba(0,255,148,0), 0 0 0 0 rgba(16,185,129,0);
  }
}
.adam-stack .stack-ico{
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--success); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.adam-stack .stack-title{
  font-size: 13px; font-weight: 600; color: var(--text);
  line-height: 1.3;
}
.adam-stack .stack-sub{
  font-size: 11px; color: var(--text-muted); margin-top: 2px;
  font-family: var(--font-mono);
}

@media (max-width: 1200px){ .adam-stack{ display: none; } }

/* ========== UNLOCK TOAST ========== */
.unlock-toast{
  position: fixed; top: 80px; left: 50%;
  transform: translate(-50%, -40px);
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white; z-index: 95;
  padding: 12px 20px; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16,185,129,.35);
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transition: all .45s cubic-bezier(.34,1.56,.64,1);
  min-width: 260px;
}
.unlock-toast.show{ transform: translate(-50%, 0); opacity: 1; }
.unlock-toast .unlock-ico{
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  animation: unlock-ico-spin 1s cubic-bezier(.34,1.56,.64,1);
}
/* Adam: snap-boot — full 360° spin from invisible, brief overshoot wobble,
   brightness flash on landing. Reads as a hot-mounted token, not a soft puff. */
@keyframes unlock-ico-spin{
  0%{ transform: rotate(-360deg) scale(.2); filter: brightness(2.2); opacity: 0; }
  55%{ transform: rotate(24deg) scale(1.18); filter: brightness(1.5); opacity: 1; }
  72%{ transform: rotate(-12deg) scale(.94); filter: brightness(1.1); }
  88%{ transform: rotate(4deg) scale(1.02); filter: brightness(1); }
  100%{ transform: rotate(0) scale(1); filter: brightness(1); opacity: 1; }
}
.unlock-toast .unlock-eyebrow{
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .2em; opacity: .9; margin-bottom: 2px;
}
.unlock-toast .unlock-title{ font-size: 14px; font-weight: 700; }

/* ========== GAMIFY : DATA STREAM BURST ==========
   Adam: confetti reimagined as falling data tokens — narrow vertical streaks
   with neon glow, linear timing, minimal rotation. Replaces ARIA confetti. */
.confetti-holder{
  position: fixed; inset: 0; z-index: 85; pointer-events: none;
  overflow: hidden;
}
.confetti-piece{
  position: absolute;
  width: 3px; height: 16px;
  border-radius: 0;
  animation: confetti-fly 1.6s cubic-bezier(.4,0,.7,1) forwards;
  opacity: 1;
  box-shadow: 0 0 6px currentColor, 0 0 12px currentColor;
}
.confetti-piece::after{
  content: ""; position: absolute; left: 0; right: 0; top: -6px;
  height: 6px; background: inherit;
  filter: blur(2px); opacity: .7;
}
@keyframes confetti-fly{
  0%{
    transform: translate(-50%,-50%) translate3d(0,0,0) rotate(0);
    opacity: 1;
  }
  20%{
    opacity: 1;
  }
  100%{
    transform: translate(-50%,-50%) translate3d(calc(var(--dx) * .4), calc(var(--dy) * .25 + 380px), 0) rotate(calc(var(--rot) * .25));
    opacity: 0;
  }
}

/* ========== GAMIFY : PAGE INTRO ========== */
.page-intro{
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(135deg, #0F172A 0%, #101F35 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  opacity: 1; transition: opacity .5s ease;
}
.page-intro.exit{ opacity: 0; pointer-events: none; }
.page-intro-mark{
  width: 80px; height: 80px; border-radius: 20px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transform: scale(.5); opacity: 0;
  transition: transform .6s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  position: relative;
}
.page-intro-mark::before{
  content: ""; position: absolute; inset: -8px; border-radius: 24px;
  border: 1px solid rgba(218,175,62,.55);
  animation: orb-ring 1.8s linear infinite;
}
.page-intro-mark .brand-mark{
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #E5BD4A 0%, #D4A537 60%, #604812 100%);
  box-shadow: 0 0 30px rgba(212,165,55,.8), inset -4px -4px 10px rgba(0,0,0,.3);
}
.page-intro-title{
  color: white; font-size: 16px; font-weight: 600;
  letter-spacing: .05em; font-family: var(--font-mono);
  opacity: 0; transform: translateY(8px);
  transition: all .5s ease .2s;
}
.page-intro.show .page-intro-mark{ transform: scale(1); opacity: 1; }
.page-intro.show .page-intro-title{ opacity: .85; transform: translateY(0); }

/* ========== ENHANCED STEP TRANSITIONS ========== */
[data-step]{
  animation: none;
}
[data-step].fade-in{
  animation: step-enter .55s cubic-bezier(.34,1.56,.64,1) both;
}
/* Adam: terminal load — content decodes in from a tinted blur, with a brief
   green/gold cast as if rendering from a scan buffer. */
@keyframes step-enter{
  0%{ opacity: 0; transform: translateY(22px) scale(.985); filter: blur(5px) brightness(.6) hue-rotate(40deg); }
  35%{ opacity: .8; filter: blur(2px) brightness(1.2) hue-rotate(15deg); }
  65%{ opacity: 1; transform: translateY(2px) scale(1.004); filter: blur(0) brightness(1.1) hue-rotate(0); }
  100%{ opacity: 1; transform: none; filter: blur(0) brightness(1); }
}
/* Stagger children inside a step */
[data-step].fade-in > .card > *{
  animation: stagger-in .5s cubic-bezier(.34,1.56,.64,1) both;
}
[data-step].fade-in > .card > *:nth-child(1){ animation-delay: .08s; }
[data-step].fade-in > .card > *:nth-child(2){ animation-delay: .16s; }
[data-step].fade-in > .card > *:nth-child(3){ animation-delay: .24s; }
[data-step].fade-in > .card > *:nth-child(4){ animation-delay: .32s; }
[data-step].fade-in > .card > *:nth-child(5){ animation-delay: .4s; }
[data-step].fade-in > .card > *:nth-child(6){ animation-delay: .48s; }
[data-step].fade-in > .card > *:nth-child(n+7){ animation-delay: .55s; }
/* Adam: line-by-line reveal — small vertical lift with a brightness dip so
   each child reads as freshly written rather than smoothly faded. */
@keyframes stagger-in{
  0%{ opacity: 0; transform: translateY(10px); filter: brightness(.65); }
  60%{ opacity: 1; filter: brightness(1.15); }
  100%{ opacity: 1; transform: translateY(0); filter: brightness(1); }
}

/* Bars animate in from left on step change */
.step-progress .bar{ transition: all .45s cubic-bezier(.34,1.56,.64,1); }
.step-progress .bar.done{ animation: bar-done .5s ease; }
/* Adam: scan-fill wipe — moving gradient sweep across the bar (L→R) with a
   brief brightness spike. Replaces ARIA's scaleX punch-through. */
@keyframes bar-done{
  0%{
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary) 50%, #00FF94 50%, #00FF94 100%);
    background-size: 220% 100%;
    background-position: 100% 0;
    filter: brightness(1);
  }
  30%{
    transform: scaleX(1.04);
    background-position: 50% 0;
    filter: brightness(1.6);
  }
  70%{
    transform: scaleX(1.02);
    background-position: -20% 0;
    filter: brightness(1.3);
  }
  100%{
    transform: scaleX(1);
    background: var(--primary);
    filter: brightness(1);
  }
}

/* Button hover micro-interactions */
.btn.primary{ transition: transform .15s ease, box-shadow .2s ease, filter .2s; }
.btn.primary:hover{ transform: translateY(-2px); filter: brightness(1.05); }
.btn.primary:active{ transform: translateY(0) scale(.98); }
.btn.success{ transition: transform .15s ease, box-shadow .2s, filter .2s; }
.btn.success:hover{ transform: translateY(-2px) scale(1.01); filter: brightness(1.05); box-shadow: 0 14px 32px rgba(16,185,129,.35); }
.btn.success:active{ transform: translateY(0) scale(.98); }

/* Stacked CTA — main label + price/persuasion subtitle */
.btn.success.stacked{
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px 14px;
  line-height: 1.2;
}
.btn.success.stacked .cta-main{
  display: block;
  font-size: 17px; font-weight: 800;
  letter-spacing: .02em;
}
.btn.success.stacked .cta-sub{
  display: block;
  font-size: 12px; font-weight: 500;
  opacity: .92;
  letter-spacing: .01em;
  font-family: var(--font-mono);
  text-transform: none;
}
.btn.success.stacked .cta-sub .tabular{
  font-weight: 700;
}
.btn.success.stacked .cta-sub .sep{
  opacity: .55; margin: 0 6px;
}
@media (max-width: 520px){
  .btn.success.stacked{ padding: 14px 18px 12px; }
  .btn.success.stacked .cta-main{ font-size: 15px; }
  .btn.success.stacked .cta-sub{ font-size: 11px; }
}
