:root {
  --bg: #0a0f1a;
  --bg-surface: #111827;
  --bg-card: #1a2332;
  --bg-card-hover: #1f2b3d;
  --fg: #f1f5f9;
  --fg-muted: #94a3b8;
  --fg-dim: #64748b;
  --accent: #22d3ee;
  --accent-warm: #f97316;
  --accent-green: #34d399;
  --accent-gold: #fbbf24;
  --gradient-hero: linear-gradient(165deg, #0a0f1a 0%, #0f172a 40%, #1e1b4b 100%);
  --gradient-accent: linear-gradient(135deg, #22d3ee, #818cf8);
  --radius: 12px;
  --radius-lg: 20px;
  --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);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(20px);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}

.nav-icon {
  color: var(--accent);
  font-size: 18px;
}

.nav-tagline {
  font-size: 14px;
  color: var(--fg-dim);
  font-style: italic;
}

/* HERO */
.hero {
  background: var(--gradient-hero);
  padding: 100px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  min-height: 85vh;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 28px;
  font-family: var(--font-display);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--fg-dim);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* PHONE MOCKUP */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  background: var(--bg-card);
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.08);
  padding: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(34,211,238,0.1);
  transform: rotate(2deg);
}

.phone-screen {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.screen-greeting {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
}

.screen-level {
  background: var(--gradient-accent);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
}

.screen-streak {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent-warm);
  font-weight: 600;
}

.streak-fire { font-size: 20px; }

.screen-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  border-left: 3px solid var(--accent-green);
}

.card-sport {
  display: block;
  font-size: 11px;
  color: var(--accent-green);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.card-detail {
  display: block;
  font-size: 13px;
  color: var(--fg-dim);
}

.screen-xp {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xp-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

.xp-fill {
  width: 68%;
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 100px;
}

.xp-text {
  font-size: 12px;
  color: var(--fg-dim);
  text-align: right;
}

/* PROBLEM */
.problem {
  padding: 100px 40px;
  background: var(--bg-surface);
}

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

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 40px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.problem-statement h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.problem-statement p {
  color: var(--fg-muted);
  margin-bottom: 16px;
  font-size: 17px;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--fg-muted);
  border: 1px solid rgba(255,255,255,0.04);
}

.problem-x {
  color: #f87171;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* FEATURES */
.features {
  padding: 100px 40px;
}

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

.features-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 56px;
  line-height: 1.2;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(34,211,238,0.2);
  transform: translateY(-2px);
}

.feature-card-lg {
  grid-column: span 1;
}

.feature-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.feature-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(34,211,238,0.1);
  color: var(--accent);
  font-family: var(--font-display);
}

/* PROGRESSION */
.progression {
  padding: 100px 40px;
  background: var(--bg-surface);
}

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

.progression-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.text-accent {
  color: var(--accent-warm);
}

.progression-lede {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 56px;
  max-width: 650px;
}

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

.prog-item {
  padding: 32px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.prog-item:hover {
  border-color: rgba(249,115,22,0.2);
  transform: translateY(-2px);
}

.prog-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.prog-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.prog-item p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* CLOSING */
.closing {
  padding: 120px 40px;
  text-align: center;
  background: var(--gradient-hero);
}

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

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing-text {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.closing-promise {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.promise-mark {
  font-size: 14px;
}

/* FOOTER */
.footer {
  padding: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.footer-note {
  font-size: 14px;
  color: var(--fg-dim);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 40px;
    min-height: auto;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    transform: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .nav {
    padding: 16px 20px;
  }

  .nav-tagline {
    display: none;
  }

  .problem {
    padding: 60px 24px;
  }

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

  .features {
    padding: 60px 24px;
  }

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

  .feature-card-lg {
    grid-column: span 1;
  }

  .progression {
    padding: 60px 24px;
  }

  .progression-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .closing {
    padding: 60px 24px;
  }

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

@media (max-width: 480px) {
  .progression-grid {
    grid-template-columns: 1fr;
  }

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