:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6e3;
  --fg-muted: #8a8892;
  --fg-dim: #5a586e;
  --accent: #c5f536;
  --accent-dim: rgba(197, 245, 54, 0.15);
  --accent-glow: rgba(197, 245, 54, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --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);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px clamp(24px, 6vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(42px, 5.5vw, 80px);
  color: #fff;
  margin-bottom: 24px;
}

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

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

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

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

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

.court-viz {
  width: 340px;
  height: 440px;
  position: relative;
  border: 2px solid rgba(197, 245, 54, 0.2);
  border-radius: 12px;
}

.court-line {
  position: absolute;
  background: rgba(197, 245, 54, 0.12);
}

.court-line-1 {
  width: 100%;
  height: 2px;
  top: 50%;
}

.court-line-2 {
  width: 2px;
  height: 100%;
  left: 50%;
}

.court-line-3 {
  width: 60%;
  height: 2px;
  top: 25%;
  left: 20%;
}

.court-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 3s ease-in-out infinite;
}

.dot-1 { top: 20%; left: 25%; animation-delay: 0s; }
.dot-2 { top: 20%; right: 25%; animation-delay: 0.5s; }
.dot-3 { bottom: 20%; left: 25%; animation-delay: 1s; }
.dot-4 { bottom: 20%; right: 25%; animation-delay: 1.5s; }

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 2px solid rgba(197, 245, 54, 0.3);
  border-radius: 50%;
  animation: pulse-expand 4s ease-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes pulse-expand {
  0% { width: 40px; height: 40px; opacity: 0.6; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

/* ── Problem ── */
.problem {
  padding: 120px clamp(24px, 6vw, 120px);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.problem h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  color: #fff;
  margin-bottom: 64px;
  max-width: 700px;
}

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

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
}

.problem-icon {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

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

/* ── Features ── */
.features {
  padding: 120px clamp(24px, 6vw, 120px);
}

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

.features-header {
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.features-header h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  color: #fff;
}

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

.feature-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  transition: border-color 0.3s;
}

.feature-block:hover {
  border-color: rgba(197, 245, 54, 0.25);
}

.feature-block-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 32px;
}

.feature-block-large .feature-num {
  grid-row: 1 / 3;
  align-self: start;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.feature-block h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}

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

/* ── How ── */
.how {
  padding: 120px clamp(24px, 6vw, 120px);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.how h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  color: #fff;
  margin-bottom: 64px;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.how-step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
}

.step-marker {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.how-step p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
}

.how-arrow {
  font-size: 24px;
  color: var(--fg-dim);
  align-self: center;
  flex-shrink: 0;
}

/* ── Closing ── */
.closing {
  padding: 160px clamp(24px, 6vw, 120px);
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.closing h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  color: #fff;
  margin-bottom: 24px;
}

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

/* ── Footer ── */
.site-footer {
  padding: 48px clamp(24px, 6vw, 120px);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

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

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

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

  .hero-visual { order: -1; }

  .court-viz {
    width: 240px;
    height: 300px;
  }

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

  .stat-divider { display: none; }

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

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

  .feature-block-large {
    grid-column: span 1;
    display: block;
  }

  .how-steps {
    flex-direction: column;
  }

  .how-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
}