/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08080e;
  --bg-card: #0f0f1a;
  --bg-card-hover: #151525;
  --fg: #f0ede8;
  --fg-muted: #9a9590;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --accent-border: rgba(245, 166, 35, 0.3);
  --red: #e5534b;
  --green: #4ade80;
  --purple: #a78bfa;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 8, 14, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 237, 232, 0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  background: var(--accent);
  color: #08080e;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.nav-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.nav-link {
  margin-left: auto;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--fg); }

/* === SECTION UTILITIES === */
.section-label {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-intro {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* === HERO === */
.hero {
  padding: 140px 32px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-inner { max-width: 760px; }
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 56px;
}

/* === FUNNEL STACK VISUAL === */
.hero-visual {
  margin-top: 8px;
}
.funnel-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
}
.funnel-stage {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  border-radius: 10px;
  border: 1px solid;
  position: relative;
  min-width: 480px;
}
.funnel-stage.stage-high {
  background: rgba(245, 166, 35, 0.08);
  border-color: rgba(245, 166, 35, 0.4);
  width: 540px;
}
.funnel-stage.stage-mid {
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.3);
  width: 460px;
  margin-left: 40px;
}
.funnel-stage.stage-low {
  background: rgba(74, 222, 128, 0.05);
  border-color: rgba(74, 222, 128, 0.2);
  width: 380px;
  margin-left: 80px;
}
.funnel-stage.stage-free {
  background: rgba(240, 237, 232, 0.04);
  border-color: rgba(240, 237, 232, 0.12);
  width: 300px;
  margin-left: 120px;
}
.stage-price {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  min-width: 140px;
}
.stage-high .stage-price { color: var(--accent); }
.stage-mid .stage-price { color: var(--purple); }
.stage-low .stage-price { color: var(--green); }
.stage-free .stage-price { color: var(--fg-muted); }

.stage-label {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.stage-desc {
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: auto;
}

/* === PROBLEM === */
.problem {
  padding: 80px 32px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 16px;
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.problem-icon {
  color: var(--red);
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 83, 75, 0.1);
  border-radius: 50%;
  margin-top: 2px;
}
.problem-reveal {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 640px;
  font-style: italic;
}

/* === FUNNEL SECTION === */
.funnel-section {
  padding: 80px 32px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}
.funnel-inner { max-width: 1100px; margin: 0 auto; }
.value-ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ladder-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.ladder-num {
  font-family: 'Sora', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 40px;
  padding-top: 4px;
  opacity: 0.6;
}
.ladder-body { padding-bottom: 40px; }
.ladder-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.ladder-body p {
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 12px;
}
.ladder-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: 100px;
}
.ladder-connector {
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(245,166,35,0.4), rgba(245,166,35,0.1));
  margin-left: 19px;
}

/* === GUARANTEE === */
.guarantee {
  padding: 80px 32px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(245,166,35,0.04) 100%);
}
.guarantee-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.guarantee-eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.guarantee-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 820px;
  margin: 0 auto 20px;
}
.guarantee-headline-accent {
  color: var(--accent);
}
.guarantee-proof {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 48px;
}
.guarantee-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  max-width: 820px;
  margin: 0 auto 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.guarantee-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.guarantee-step-num {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 32px;
  padding-top: 4px;
}
.guarantee-step-title {
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
  line-height: 1.35;
}
.guarantee-step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.guarantee-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.guarantee-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.guarantee-link:hover { text-decoration: underline; }

/* === HOW IT WORKS === */
.howitworks {
  padding: 80px 32px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}
.howitworks-inner { max-width: 1100px; margin: 0 auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-card {
  background: var(--bg-card);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
}
.process-step {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.process-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.process-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === OUTCOMES === */
.outcomes {
  padding: 80px 32px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}
.outcomes-inner { max-width: 1100px; margin: 0 auto; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.outcome-card {
  background: var(--bg-card);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
}
.outcome-metric {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.outcome-context {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.outcomes-cta {
  margin-top: 40px;
  text-align: center;
}
.outcomes-results-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  padding: 10px 24px;
  border-radius: 100px;
  transition: opacity 0.2s;
}
.outcomes-results-link:hover { opacity: 0.8; }

/* === MANIFESTO === */
.manifesto {
  padding: 100px 32px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}
.manifesto-inner { max-width: 1100px; margin: 0 auto; }
.manifesto-body {
  max-width: 640px;
}
.manifesto-body p {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 28px;
  font-weight: 400;
}
.manifesto-body em { color: var(--accent); font-style: normal; font-weight: 600; }

/* === CLOSING === */
.closing-section {
  padding: 100px 32px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}
.closing-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.closing-statement {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid rgba(240, 237, 232, 0.06);
  padding: 48px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 14px;
  background: var(--accent);
  color: #08080e;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  margin-bottom: 4px;
}
.footer-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 12px;
  color: rgba(240,237,232,0.3);
  margin-top: 16px;
}

/* === CTA BUTTONS === */
.cta-primary {
  display: inline-block;
  padding: 16px 36px;
  background: var(--accent);
  color: #08080e;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.cta-primary:hover { opacity: 0.85; }
.cta-sub {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 10px;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.closing-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 110px 20px 64px; }
  .hero-headline { font-size: 32px; }
  .problem-grid,
  .process-grid,
  .outcomes-grid { grid-template-columns: 1fr; }
  .funnel-stage { min-width: unset; width: 100% !important; margin-left: 0 !important; flex-wrap: wrap; }
  .stage-desc { display: none; }
  .section-intro { margin-bottom: 36px; }
  .manifesto-body p { font-size: 17px; }
  .closing-statement { font-size: 26px; }
  .guarantee-card { padding: 28px 22px; }
  .guarantee-cta { width: 100%; }
  .guarantee-cta .cta-primary { width: 100%; }
  .problem, .funnel-section, .howitworks, .outcomes, .manifesto, .closing-section, .guarantee { padding: 56px 20px; }
}

@media (max-width: 480px) {
  .process-grid, .outcomes-grid { grid-template-columns: 1fr; }
  .ladder-step { gap: 16px; }
  .funnel-stage { padding: 14px 18px; }
}

/* === FUNNEL DASHBOARD === */
.fd-chart-section {
  margin-top: 32px;
}

.fd-chart-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  text-align: center;
  margin-bottom: 20px;
}

.fd-chart-container {
  background: var(--bg-card);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
}

.fd-source-section {
  margin-top: 32px;
}

.fd-source-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.fd-source-th,
.fd-source-td {
  text-align: left;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--fg-muted);
}

.fd-source-th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(240, 237, 232, 0.04);
  color: var(--fg-muted);
}

.fd-source-td {
  color: var(--fg);
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}

.fd-source-table tbody tr:hover {
  background: var(--bg-card-hover);
}

/* === EXIT INTENT POPUP === */
.ei-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 8, 14, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: ei-fade-in 0.18s ease-out;
}
.ei-overlay[hidden] { display: none; }
@keyframes ei-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ei-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: ei-card-pop 0.22s ease-out;
}
@keyframes ei-card-pop {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0)   scale(1);    opacity: 1; }
}
.ei-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--fg-muted);
  font-size: 24px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.ei-close:hover { color: var(--fg); background: rgba(240, 237, 232, 0.06); }
.ei-eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.ei-title {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.ei-sub {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.ei-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ei-input {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(240, 237, 232, 0.15);
  background: rgba(240, 237, 232, 0.05);
  color: var(--fg);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.ei-input::placeholder { color: rgba(240, 237, 232, 0.35); }
.ei-input:focus { border-color: var(--accent); }
.ei-btn {
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #08080e;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}
.ei-btn:hover { opacity: 0.85; }
.ei-btn:disabled { opacity: 0.6; cursor: progress; }
.ei-error {
  background: rgba(229, 83, 75, 0.1);
  border: 1px solid rgba(229, 83, 75, 0.3);
  color: var(--red);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 12px;
  text-align: left;
}
.ei-error[hidden] { display: none; }
.ei-note {
  font-size: 12px;
  color: rgba(240, 237, 232, 0.35);
  margin-top: 14px;
}
@media (max-width: 480px) {
  .ei-card { padding: 32px 24px 28px; }
  .ei-title { font-size: 21px; }
}