/* === TOKENS === */
:root {
  --bg: #FAFAF8;
  --bg-alt: #F0EFE8;
  --bg-dark: #1A1A2E;
  --bg-dark-deep: #12122A;
  --card: #FFFFFF;
  --text: #2D2D2D;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;
  --primary: #1A1A2E;
  --accent: #E8580C;
  --accent-light: rgba(232, 88, 12, 0.08);
  --accent-border: rgba(232, 88, 12, 0.25);
  --border: rgba(45, 45, 45, 0.1);
  --border-strong: rgba(45, 45, 45, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
}

/* === SHARED LAYOUT === */
.section-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--primary);
  margin-bottom: 1.75rem;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(232, 88, 12, 0.22);
  white-space: nowrap;
}

.btn-primary:hover {
  background: #cf4e0a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 88, 12, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-large {
  font-size: 1.1rem;
  padding: 1.05rem 2.4rem;
}

.btn-micro {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === HERO === */
.hero {
  background: linear-gradient(170deg, var(--bg-dark) 0%, #0e0e20 100%);
  padding: 4.5rem 1.25rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 88, 12, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: #F5C178;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 auto 1.1rem;
  line-height: 1.7;
}

.hero-trust {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* === DEFINITION === */
.definition {
  background: var(--bg-alt);
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.definition-inner {
  max-width: 680px;
  margin: 0 auto;
}

.definition-label {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.definition-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

/* === PROBLEM === */
.problem {
  padding: 4rem 1.25rem;
  background: var(--bg);
  text-align: center;
}

.problem .section-inner {
  text-align: center;
}

.problem-body {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.problem-body:last-of-type {
  margin-bottom: 2rem;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 4.5rem 1.25rem;
  background: var(--bg-dark);
}

.how-it-works .section-inner {
  max-width: 760px;
}

.how-it-works .section-heading {
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 2.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(232, 88, 12, 0.35);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
}

.step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* === FREE SCORE === */
.free-score {
  padding: 4.5rem 1.25rem;
  background: var(--bg-alt);
  text-align: center;
}

.free-score .section-inner {
  text-align: center;
}

.score-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.score-list li {
  font-size: 1rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}

.score-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.score-disclaimer {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* === SPRINT TYPES === */
.sprint-types {
  padding: 4.5rem 1.25rem;
  background: var(--bg);
}

.sprint-types .section-inner {
  max-width: 800px;
}

.sprint-types .section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.type-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.type-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 4px 18px rgba(232, 88, 12, 0.08);
}

.type-name {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.type-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === ANTI-HYPE === */
.anti-hype {
  padding: 4rem 1.25rem;
  background: var(--bg-dark-deep);
}

.anti-hype .section-inner {
  text-align: center;
}

.anti-hype .section-heading {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.not-list {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  text-align: left;
}

.not-list li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  padding-left: 1.5rem;
  position: relative;
}

.not-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: rgba(232, 88, 12, 0.6);
}

.anti-hype-positive {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === WHY DIFFERENT === */
.why-different {
  padding: 4.5rem 1.25rem;
  background: var(--bg-alt);
  text-align: center;
}

.why-different .section-inner {
  text-align: center;
}

.why-body {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.why-body:last-of-type {
  margin-bottom: 2rem;
}

/* === AFTER SCORE === */
.after-score {
  padding: 4.5rem 1.25rem;
  background: var(--bg);
}

.after-body {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 580px;
}

.after-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  max-width: 380px;
}

.after-list li {
  font-size: 1rem;
  color: var(--text);
  padding-left: 1.5rem;
  position: relative;
}

.after-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* === FAQ === */
.faq {
  padding: 4.5rem 1.25rem;
  background: var(--bg-alt);
}

.faq .section-heading {
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: rgba(232, 88, 12, 0.03);
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === FINAL CTA === */
.final-cta {
  padding: 5rem 1.25rem;
  background: var(--bg-dark);
}

.final-cta-inner {
  text-align: center;
}

.final-cta-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.25rem;
}

.final-cta .btn-micro {
  color: rgba(255,255,255,0.4);
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-dark-deep);
  padding: 2.5rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* === STICKY CTA (mobile only) === */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

.sticky-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  transition: background 0.2s ease;
  box-shadow: 0 3px 12px rgba(232, 88, 12, 0.3);
}

.sticky-cta-btn:hover {
  background: #cf4e0a;
}

.sticky-cta-label {
  font-size: 0.92rem;
}

.sticky-cta-micro {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
}

/* === EXIT INTENT POPUP === */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 20, 0.75);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.exit-popup.visible {
  display: flex;
}

.exit-popup-inner {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: fadeUp 0.25s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.exit-popup-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.exit-popup-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.exit-dismiss {
  display: block;
  margin: 0.85rem auto 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: underline;
  transition: color 0.15s ease;
}

.exit-dismiss:hover {
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
  /* Show sticky CTA on mobile */
  .sticky-cta {
    display: block;
  }

  /* Add bottom padding so sticky bar doesn't cover content */
  body {
    padding-bottom: 72px;
  }

  /* Steps: stack on mobile */
  .steps {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Types: single column on small screens */
  .types-grid {
    grid-template-columns: 1fr;
  }

  /* Hero padding adjustment */
  .hero {
    padding: 3.5rem 1.25rem 4rem;
  }

  /* Section padding reduction */
  .problem,
  .how-it-works,
  .free-score,
  .sprint-types,
  .anti-hype,
  .why-different,
  .after-score,
  .faq,
  .final-cta {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 768px) {
  /* Hide sticky CTA on desktop */
  .sticky-cta {
    display: none !important;
  }

  /* 3-column types on wide screens */
  .types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-inner,
  .definition-inner {
    max-width: 720px;
  }

  .problem .section-inner,
  .free-score .section-inner,
  .why-different .section-inner,
  .after-score .section-inner,
  .faq .section-inner,
  .final-cta-inner {
    max-width: 680px;
  }
}
