:root {
  --bg: #0C0F12;
  --bg-alt: #141920;
  --fg: #E8ECF1;
  --fg-muted: #8B95A5;
  --accent: #FF6B35;
  --accent-glow: rgba(255, 107, 53, 0.15);
  --accent-bright: #FF8C5A;
  --green: #34D399;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === SITE HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 24px;
  background: rgba(12, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 24px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 8px 18px;
  background: var(--accent-glow);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--fg);
  max-width: 780px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-cta-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.hero-cta-primary:hover { background: var(--accent-bright); }

.hero-cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 15px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.hero-cta-secondary:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--fg);
}

.hero-trust {
  font-size: 0.85rem;
  color: var(--fg-muted);
  opacity: 0.65;
}

/* === PROBLEM === */
.problem {
  background: var(--bg-alt);
  padding: 100px 24px;
}

.problem-inner {
  max-width: 900px;
  margin: 0 auto;
}

.problem-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 700px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.problem-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
}

.problem-icon {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--accent-glow);
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* === KIT === */
.kit {
  padding: 100px 24px;
}

.kit-inner {
  max-width: 900px;
  margin: 0 auto;
}

.kit-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.kit h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 600px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.kit-item {
  padding: 32px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  transition: border-color 0.2s;
}

.kit-item:hover {
  border-color: rgba(255, 107, 53, 0.25);
}

.kit-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 107, 53, 0.4);
  margin-bottom: 16px;
}

.kit-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.kit-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* === MATH === */
.math {
  background: var(--bg-alt);
  padding: 100px 24px;
}

.math-inner {
  max-width: 640px;
  margin: 0 auto;
}

.math-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.math h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.math-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.math-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.math-row.total {
  border-bottom: none;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 2px solid var(--accent);
}

.math-left {
  font-size: 1rem;
  color: var(--fg-muted);
}

.math-right {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
}

.math-right.accent {
  color: var(--accent);
}

.math-row.total .math-left {
  color: var(--fg);
  font-weight: 600;
}

.math-row.total .math-right {
  color: var(--green);
  font-size: 1.6rem;
}

.math-note {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-muted);
  padding-top: 8px;
}

/* === CLOSING === */
.closing {
  padding: 100px 24px;
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 56px;
}

.closing-tiers {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.tier {
  padding: 32px 28px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 180px;
  transition: border-color 0.2s;
}

.tier:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.tier.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.08) 0%, var(--bg-alt) 100%);
  position: relative;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.tier.featured .tier-name {
  color: var(--accent);
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === TIER BUTTONS === */
.tier {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tier-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 6px;
}

.tier-btn {
  display: block;
  margin-top: 24px;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.tier-btn:hover {
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.06);
}

.featured-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.featured-btn:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}

.closing-guarantee {
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* === FOOTER === */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* === MATH ANCHOR (social proof callouts) === */
.math-anchor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.anchor-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--green);
  font-weight: 500;
}

.anchor-line svg {
  flex-shrink: 0;
  color: var(--green);
}

/* === HERO SECONDARY SUB === */
.hero-sub-secondary {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin-top: -40px;
  margin-bottom: 40px;
}

/* === COMPETITOR === */
.competitor {
  padding: 100px 24px;
}

.competitor-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.competitor-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.competitor h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.competitor-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 48px;
  max-width: 560px;
}

.comp-table-wrapper {
  overflow-x: auto;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comp-table thead th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 16px 16px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
}

.comp-header-left {
  text-align: left !important;
}

.comp-rescue {
  color: var(--accent) !important;
  background: rgba(255, 107, 53, 0.06);
}

.comp-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: center;
  color: var(--fg-muted);
}

.comp-feature-label {
  text-align: left !important;
  color: var(--fg) !important;
  font-weight: 500;
  font-size: 0.9rem;
}

.comp-rescue-cell {
  background: rgba(255, 107, 53, 0.06);
}

.comp-price-row td {
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.comp-price-main {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
}

.comp-price-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.comp-yes {
  color: var(--green);
}

.comp-yes svg {
  display: inline-block;
}

.comp-no {
  color: rgba(139, 149, 165, 0.3);
}

.comp-no::before {
  content: '—';
}

.comp-savings-callout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 12px;
}

.comp-savings-icon {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

.comp-savings-text {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.comp-savings-text strong {
  color: var(--fg);
}

.comp-save {
  color: var(--green);
  font-weight: 700;
}

/* === FAQ === */
.faq {
  background: var(--bg-alt);
  padding: 100px 24px;
}

.faq-inner {
  max-width: 740px;
  margin: 0 auto;
}

.faq-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.faq h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--fg-muted);
  transition: transform 0.3s ease;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 20px 40px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .kit-grid {
    grid-template-columns: 1fr;
  }

  .closing-tiers {
    flex-direction: column;
    align-items: center;
  }

  .tier {
    width: 100%;
    max-width: 300px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .problem,
  .kit,
  .math,
  .closing,
  .competitor,
  .faq {
    padding: 60px 20px;
  }

  .comp-savings-callout {
    flex-direction: column;
    gap: 12px;
  }

  .comp-table-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .problem h2,
  .kit h2,
  .math h2,
  .competitor h2,
  .faq h2 {
    font-size: 1.6rem;
  }

  .closing h2 {
    font-size: 1.8rem;
  }
}

/* === STICKY MOBILE PURCHASE BAR === */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(12, 15, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  gap: 12px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.sticky-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

.sticky-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.sticky-btn:hover {
  background: var(--accent-bright);
}

@media (min-width: 769px) {
  .sticky-bar { display: none !important; }
}

/* === HERO EMAIL CAPTURE === */
.hero-email-capture {
  margin-top: 32px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 520px;
}

.hero-email-label {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-email-input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.hero-email-input::placeholder {
  color: var(--fg-muted);
  opacity: 0.5;
}

.hero-email-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.04);
}

.hero-email-btn {
  padding: 13px 24px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: white;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.hero-email-btn:hover:not(:disabled) { background: var(--accent-bright); }
.hero-email-btn:active:not(:disabled) { transform: scale(0.98); }
.hero-email-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.hero-email-spinner {
  display: inline-block;
  margin-left: 6px;
}

.hero-email-error {
  margin-top: 10px;
  padding: 8px 14px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.85rem;
}

.hero-email-success {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 8px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-email-disclaimer {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

.hero-email-success-state .hero-email-label,
.hero-email-success-state .hero-email-disclaimer {
  display: none;
}

@media (max-width: 479px) {
  .hero-email-form { flex-direction: column; }
  .hero-email-input { min-width: 0; }
  .hero-email-btn { width: 100%; }
}