:root {
  --bg: #0a0e13;
  --bg-elevated: #111820;
  --bg-card: #151c27;
  --fg: #e8ecf1;
  --fg-muted: #8693a4;
  --fg-dim: #4a5568;
  --accent: #22c55e;
  --accent-glow: rgba(34, 197, 94, 0.15);
  --accent-dim: #166534;
  --warm: #f59e0b;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1120px;
  --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: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pitch-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--accent-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-dim) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.06;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  opacity: 0.07;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--warm);
  opacity: 0.04;
  bottom: -100px;
  right: 10%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--fg) 0%, var(--fg-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

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

.stat-label {
  font-size: 13px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--fg-dim);
  opacity: 0.3;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 120px 0;
  background: var(--bg);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  line-height: 1.1;
}

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

.step {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
}

.step:hover {
  border-color: rgba(34, 197, 94, 0.2);
  transform: translateY(-4px);
}

.step-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--fg-dim);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
  background: var(--bg-elevated);
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
  line-height: 1.1;
}

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

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

.feature-card:hover {
  border-color: rgba(34, 197, 94, 0.15);
}

.feature-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

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

/* Mock schedule inside feature card */
.feature-visual {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.05);
}

.mock-schedule {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-match {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}

.mock-match.active {
  border-color: var(--accent);
  background: rgba(34, 197, 94, 0.06);
}

.mock-team {
  font-weight: 600;
  min-width: 36px;
}

.mock-vs {
  color: var(--fg-dim);
  font-size: 12px;
}

.mock-time {
  margin-left: auto;
  color: var(--fg-dim);
  font-size: 13px;
}

.mock-match.active .mock-time {
  color: var(--accent);
}

/* ===== CLOSING ===== */
.closing {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--accent);
  opacity: 0.04;
  border-radius: 50%;
  filter: blur(150px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.closing-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.closing-accent {
  color: var(--accent) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px !important;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

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

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

  .feature-card-large {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    flex-direction: column;
    gap: 8px;
  }

  .how-it-works,
  .features {
    padding: 80px 0;
  }

  .closing {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 40px;
  }

  .step {
    padding: 28px 24px;
  }

  .feature-card {
    padding: 28px 24px;
  }
}