@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a26;
  --fg: #f0ece4;
  --fg-muted: #8a8690;
  --accent: #ff6b2b;
  --accent-glow: #ff8c4a;
  --streak-gold: #ffd700;
  --court-line: rgba(255, 107, 43, 0.15);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,107,43,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--court-line), var(--accent), var(--court-line), transparent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,107,43,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
  margin-bottom: 2rem;
  background: rgba(255,107,43,0.05);
}

.hero-badge .fire { font-style: normal; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--streak-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Streak counter showcase */
.streak-demo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--bg-surface);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: 16px;
  font-family: var(--font-display);
}

.streak-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.streak-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-align: left;
  line-height: 1.3;
}

.streak-label strong {
  color: var(--fg);
  display: block;
}

/* === HOW IT WORKS === */
.how-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  line-height: 1.15;
}

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

.step-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.3s;
}

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

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,107,43,0.1);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* === BADGES SECTION === */
.badges-section {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.badges-section::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,215,0,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.badges-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.badge-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.badge-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,215,0,0.3);
}

.badge-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.badge-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.badge-req {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* === SOCIAL PROOF SECTION === */
.social-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.profile-card {
  max-width: 380px;
  margin: 3rem auto 0;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
}

.profile-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255,107,43,0.2), transparent 50%, rgba(255,215,0,0.2));
  z-index: -1;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--streak-gold));
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.profile-streak {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.profile-badges {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.mini-badge {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* === CLOSING === */
.closing-section {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.closing-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(255,107,43,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.closing-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.closing-section p {
  color: var(--fg-muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-muted);
}

.footer-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  margin-top: 0.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .badges-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .badge-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .hero {
    min-height: 90vh;
    padding: 4rem 1.5rem 2rem;
  }
  .how-section, .social-section {
    padding: 4rem 1.5rem;
  }
  .badges-section {
    padding: 4rem 1.5rem;
  }
  .closing-section {
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .badge-showcase {
    grid-template-columns: 1fr;
  }
  .streak-demo {
    padding: 0.8rem 1.5rem;
  }
  .streak-number {
    font-size: 2rem;
  }
}