/* ========================================
   LEADLOOP — Custom Theme
   ======================================== */

:root {
  --bg-primary: #0f1923;
  --bg-secondary: #162233;
  --bg-card: #1a2b3d;
  --accent: #a8ff00;
  --accent-dim: rgba(168, 255, 0, 0.08);
  --text-primary: #f0f4f8;
  --text-secondary: #8899aa;
  --text-muted: #556677;
  --border: rgba(240, 244, 248, 0.06);
  --border-accent: rgba(168, 255, 0, 0.2);
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   NAV
   ======================================== */
.navbar {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.nav-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
}

.hero-stat-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stat-item {
  padding: 20px 0;
}
.stat-item:first-child { padding-top: 0; }
.stat-number {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 42px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.stat-divider {
  height: 1px;
  background: var(--border);
}

/* ========================================
   SHARED
   ======================================== */
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ========================================
   PAIN
   ======================================== */
.pain {
  padding: 96px 0;
  background: var(--bg-secondary);
}
.pain-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.pain-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 16px;
}
.pain-attribution {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-style: italic;
}
.pain-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}
.pain-body:last-child { margin-bottom: 0; }

/* ========================================
   SOLUTION / FLOW
   ======================================== */
.solution {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.solution-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.solution-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}
.solution-flow {
  display: flex;
  align-items: center;
  gap: 24px;
}
.flow-step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.flow-icon {
  margin-bottom: 16px;
}
.flow-step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.flow-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.flow-arrow {
  flex-shrink: 0;
  opacity: 0.5;
}

/* ========================================
   FEATURES
   ======================================== */
.features {
  padding: 96px 0;
  background: var(--bg-secondary);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.feature-card--wide {
  grid-column: span 1;
}
.feature-icon {
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   HOW
   ======================================== */
.how {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.how-step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.how-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 48px;
  color: var(--border-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}
.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 600px;
}

/* ========================================
   PRICING
   ======================================== */
.pricing {
  padding: 96px 0;
  background: var(--bg-secondary);
}
.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.pricing-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 560px;
}
.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.pricing-tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
}
.pricing-tier--featured {
  border-color: var(--accent);
  border-width: 1px;
  box-shadow: 0 0 40px rgba(168, 255, 0, 0.05);
}
.tier-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.tier-price {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 52px;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 32px;
}
.tier-period {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: var(--text-muted);
  font-style: normal;
}
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier-features li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ========================================
   CLOSING
   ======================================== */
.closing {
  padding: 120px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.closing-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text-primary);
}
.closing-body {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.closing-body:last-child { margin-bottom: 0; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 56px 0;
  background: var(--bg-secondary);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-stat-block {
    padding: 24px 20px;
  }
  .solution-flow {
    flex-direction: column;
    gap: 16px;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .pricing-tiers {
    grid-template-columns: 1fr;
  }
  .how-step {
    gap: 20px;
  }
  .step-num {
    font-size: 36px;
    width: 52px;
  }
  .nav-tagline { display: none; }
  .section-headline, .closing-headline, .hero-headline {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .nav-inner, .hero-inner, .features-inner, .solution-inner,
  .how-inner, .pricing-inner, .closing-inner, .footer-inner {
    padding: 0 20px;
  }
  .hero { padding: 56px 0 48px; }
  .pain, .solution, .features, .how, .pricing, .closing {
    padding: 64px 0;
  }
}