/* ─── Variables ─────────────────────────────────────────────────── */
:root {
  --bg: #080A0E;
  --bg-surface: #0E1117;
  --bg-card: #131720;
  --bg-card-hover: #181d28;
  --fg: #F4F1EC;
  --fg-muted: #7C7F8C;
  --fg-dim: #4A4D58;
  --accent: #E8A020;
  --accent-bright: #F5B53E;
  --accent-dim: rgba(232, 160, 32, 0.12);
  --accent-glow: rgba(232, 160, 32, 0.20);
  --border: rgba(244, 241, 236, 0.07);
  --border-hover: rgba(244, 241, 236, 0.14);
  --green: #3DD56D;
  --green-dim: rgba(61, 213, 109, 0.12);
  --font-display: 'Cabinet Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Typography base ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* ─── NAV ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 10, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-glow);
}
.nav-tagline {
  font-size: 12.5px;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 48px 88px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(232, 160, 32, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(61, 213, 109, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 241, 236, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 236, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, black 0%, transparent 80%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 12px 6px 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 160, 32, 0.2);
  border-radius: 100px;
}
.hero-eyebrow-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
}
.hero-stat-value span {
  color: var(--accent);
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.hero-stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 200px;
}

/* HERO CARD */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(232, 160, 32, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(232, 160, 32, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(232, 160, 32, 0.12),
    0 28px 72px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(232, 160, 32, 0.08);
}
.hero-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-card-label::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-card-question {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.hero-card-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-card-option {
  font-size: 13px;
  color: var(--fg-muted);
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  letter-spacing: 0;
  transition: all var(--transition);
}
.hero-card-option.correct {
  color: var(--green);
  border-color: rgba(61, 213, 109, 0.3);
  background: var(--green-dim);
}
.hero-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.xp-badge, .streak-badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}
.xp-badge {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(232, 160, 32, 0.2);
}
.streak-badge {
  background: rgba(61, 213, 109, 0.1);
  color: var(--green);
  border: 1px solid rgba(61, 213, 109, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}
.streak-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* ─── SECTION LABELS ──────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-headline {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 52px;
}

/* ─── PROBLEM ─────────────────────────────────────────────────────── */
.problem {
  background: var(--bg-surface);
  padding: 88px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.problem-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.problem-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.problem-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 160, 32, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.problem-text {
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.problem-text strong {
  color: var(--fg);
  font-weight: 600;
}

/* ─── LEARNING PATHS ─────────────────────────────────────────────── */
.paths {
  padding: 88px 48px;
}
.paths-inner {
  max-width: 1140px;
  margin: 0 auto;
}
.paths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.path-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.path-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.path-card:hover::before {
  opacity: 1;
}
.path-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: rgba(244, 241, 236, 0.04);
  line-height: 1;
  letter-spacing: -0.06em;
}
.path-icon {
  color: var(--accent);
  margin-bottom: 20px;
}
.path-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.path-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.path-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232, 160, 32, 0.18);
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 100px;
}

/* ─── WHY THIS MATTERS ───────────────────────────────────────────── */
.why-matters {
  background: var(--bg-surface);
  padding: 88px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-matters-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.why-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.why-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  transition: all var(--transition);
}
.why-tag:hover {
  border-color: var(--border-hover);
  color: var(--fg);
}
.quote-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.quote-block::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 28px;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.06em;
  opacity: 0.4;
}
.quote-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.45;
  letter-spacing: -0.025em;
  font-style: italic;
  margin-bottom: 20px;
}
.quote-attribution {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ─── MANIFESTO ───────────────────────────────────────────────────── */
.manifesto {
  padding: 96px 48px 112px;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(232, 160, 32, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 28px;
}
.manifesto-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.75;
}
.manifesto-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.manifesto-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: var(--fg-muted);
  line-height: 1.5;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.manifesto-pillar:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}
.pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  display: block;
}
.footer-desc {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 260px;
  line-height: 1.6;
}
.footer-copy {
  font-size: 12.5px;
  color: var(--fg-dim);
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero { animation: fadeUp 0.6s ease-out both; }
.problem { animation: fadeUp 0.6s 0.1s ease-out both; }
.paths { animation: fadeUp 0.6s 0.2s ease-out both; }
.why-matters { animation: fadeUp 0.6s 0.3s ease-out both; }
.manifesto { animation: fadeUp 0.6s 0.4s ease-out both; }

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner,
  .problem-grid,
  .paths-grid,
  .why-matters-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { padding: 64px 24px 72px; }
  .problem, .paths, .why-matters { padding: 64px 24px; }
  .manifesto { padding: 64px 24px 80px; }
  .nav { padding: 0 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-stat-divider { display: none; }
  .section-headline { font-size: 30px; }
  .manifesto-headline { font-size: 30px; }
  .manifesto-pillars { grid-template-columns: 1fr; }
  .quote-block { padding: 28px; }
  .quote-text { font-size: 18px; }
  .path-card { padding: 24px; }
  .problem-item { padding: 20px; }
}