@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --funnel-red: #ef4444;
  --funnel-purple: #a855f7;
  --funnel-emerald: #10b981;
  --funnel-gold: #f59e0b;
}

body.funnel-page {
  font-family: 'Inter', system-ui, sans-serif;
  background: #09090b;
  color: #fafafa;
}

.funnel-display { font-family: 'Space Grotesk', 'Inter', sans-serif; }
.funnel-gradient {
  background: linear-gradient(135deg, var(--funnel-red), var(--funnel-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.funnel-glass {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
}
.funnel-hero-glow {
  background: radial-gradient(ellipse 80% 55% at 50% -5%, rgba(239,68,68,.16), transparent 55%),
              radial-gradient(ellipse 50% 35% at 85% 15%, rgba(168,85,247,.1), transparent 50%);
}
.funnel-hero-img {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
}
.funnel-hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.funnel-hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,9,11,.85) 0%, transparent 50%);
  pointer-events: none;
}
.funnel-cta {
  background: linear-gradient(135deg, #dc2626, #9333ea);
  transition: opacity .2s, transform .2s;
}
.funnel-cta:hover { opacity: .95; transform: translateY(-1px); }
.funnel-cta-pulse { animation: funnelCtaPulse 2.5s ease infinite; }
@keyframes funnelCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.45); }
  50% { box-shadow: 0 0 0 14px rgba(239,68,68,0); }
}
.funnel-strike { text-decoration: line-through; opacity: .5; }
.funnel-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .35rem .75rem; border-radius: 9999px;
}
.funnel-badge-red { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.funnel-badge-emerald { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.funnel-badge-amber { background: rgba(245,158,11,.15); color: #fcd34d; border: 1px solid rgba(245,158,11,.3); }
.funnel-badge-purple { background: rgba(168,85,247,.15); color: #d8b4fe; border: 1px solid rgba(168,85,247,.3); }

/* Sticky funnel shell */
.funnel-shell {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.funnel-shell-inner {
  max-width: 72rem; margin: 0 auto;
  padding: .65rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.funnel-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: .9rem;
  white-space: nowrap;
}
.funnel-progress {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex: 1; max-width: 32rem; margin: 0 auto;
}
.funnel-progress .step {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  flex: 1; min-width: 0; position: relative;
}
.funnel-progress .step-label {
  font-size: .58rem; text-transform: uppercase; letter-spacing: .1em;
  color: #52525b; font-weight: 600; text-align: center;
  transition: color .2s;
}
.funnel-progress .step.active .step-label { color: #fafafa; }
.funnel-progress .step.done .step-label { color: #6ee7b7; }
.funnel-progress .dot {
  width: 2rem; height: 2rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
  background: #18181b; color: #71717a;
  border: 2px solid #3f3f46;
  transition: all .25s ease;
  position: relative; z-index: 1;
}
.funnel-progress .step.active .dot {
  background: linear-gradient(135deg, #ef4444, #a855f7);
  color: #fff; border-color: transparent;
  box-shadow: 0 0 20px rgba(239,68,68,.35);
  transform: scale(1.08);
}
.funnel-progress .step.done .dot {
  background: #10b981; color: #fff; border-color: #10b981;
}
.funnel-progress .connector {
  position: absolute; top: 1rem; left: 50%; width: 100%; height: 2px;
  background: #3f3f46; z-index: 0; transform: translateY(-50%);
}
.funnel-progress .step.done .connector { background: linear-gradient(90deg, #10b981, #3f3f46); }
.funnel-progress .step:last-child .connector { display: none; }

.funnel-step-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .4rem .9rem; border-radius: 9999px;
}
.funnel-urgency-bar {
  background: linear-gradient(90deg, rgba(245,158,11,.9), rgba(234,88,12,.85));
  color: #18181b; text-align: center;
  padding: .55rem 1rem; font-size: .78rem; font-weight: 700;
}
.funnel-oto-card {
  position: relative;
  border: 2px solid rgba(16,185,129,.45);
  border-radius: 1.5rem;
  background: linear-gradient(160deg, rgba(16,185,129,.08) 0%, rgba(9,9,11,.6) 40%, rgba(168,85,247,.06) 100%);
  box-shadow: 0 0 60px rgba(16,185,129,.12), inset 0 1px 0 rgba(255,255,255,.06);
}
.funnel-oto-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px; background: linear-gradient(135deg, rgba(16,185,129,.5), rgba(168,85,247,.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.funnel-social-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  padding: 1rem; border-radius: 1rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.funnel-social-strip .stat { text-align: center; }
.funnel-social-strip .stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem; font-weight: 700; color: #fafafa;
}
.funnel-social-strip .stat-label { font-size: .65rem; color: #71717a; text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 640px) {
  .funnel-shell-inner { flex-direction: column; padding: .5rem .75rem .65rem; }
  .funnel-brand { font-size: .75rem; }
  .funnel-progress .step-label { font-size: .5rem; }
  .funnel-progress .dot { width: 1.65rem; height: 1.65rem; font-size: .6rem; }
}

.funnel-value-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; border-radius: .75rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.funnel-timer {
  font-variant-numeric: tabular-nums;
  font-family: 'Space Grotesk', monospace;
  letter-spacing: .05em;
}
.funnel-decline {
  color: #71717a; font-size: .8rem; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
  background: none; border: none;
}
.funnel-decline:hover { color: #a1a1aa; }

.funnel-comparison {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 640px) { .funnel-comparison { grid-template-columns: 1fr; } }

.funnel-roi-card {
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(168,85,247,.06));
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 1rem; padding: 1.25rem;
}
.funnel-guarantee {
  border: 1px solid rgba(16,185,129,.3);
  background: rgba(16,185,129,.06);
  border-radius: 1rem; padding: 1.5rem; text-align: center;
}

/* 3-Day Challenge */
.challenge-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(9, 9, 11, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: .75rem 1rem;
  display: none;
}
@media (max-width: 768px) {
  .challenge-sticky-cta { display: block; }
  body.challenge-page { padding-bottom: 4.5rem; }
}
.challenge-day-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  transition: border-color .2s;
}
.challenge-day-card.is-open { border-color: rgba(239,68,68,.35); }
.challenge-day-toggle {
  width: 100%; text-align: left; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; color: inherit; cursor: pointer;
}
.challenge-day-toggle:hover { background: rgba(255,255,255,.02); }
.challenge-day-parts {
  display: none; padding: 0 1.5rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.challenge-day-card.is-open .challenge-day-parts { display: block; }
.challenge-part-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: .75rem 1rem; align-items: start;
  padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
}
.challenge-part-row:last-child { border-bottom: none; }
.challenge-part-badge {
  font-size: .65rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .25rem .55rem; border-radius: 9999px;
  white-space: nowrap;
}
.challenge-part-badge.watch { background: rgba(59,130,246,.15); color: #93c5fd; }
.challenge-part-badge.do { background: rgba(245,158,11,.15); color: #fcd34d; }
.challenge-part-badge.ship { background: rgba(16,185,129,.15); color: #6ee7b7; }
.challenge-compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.challenge-compare-table th,
.challenge-compare-table td {
  padding: .85rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
}
.challenge-compare-table th { color: #a1a1aa; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.challenge-countdown {
  display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap;
}
.challenge-countdown .unit {
  min-width: 4.5rem; text-align: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: .75rem; padding: .65rem .5rem;
}
.challenge-countdown .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.challenge-countdown .lbl { font-size: .6rem; color: #71717a; text-transform: uppercase; letter-spacing: .08em; }