:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --fg: #e8e8e8;
  --fg-muted: #777777;
  --fg-dim: #444444;
  --accent: #b4ff39;
  --accent-glow: rgba(180, 255, 57, 0.15);
  --accent-dim: #6b9922;
  --border: #222222;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(1.5rem, 5vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
}

.wave-bar {
  width: 3px;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0.6;
  animation: pulse 2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(odd) {
  animation-delay: 0.3s;
}

.wave-bar:nth-child(3n) {
  animation-delay: 0.7s;
}

@keyframes pulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.8; }
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
}

.lede {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-dim);
  letter-spacing: 0.15em;
  margin-top: 4rem;
}

/* === FEATURES === */
.features {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
}

.features-header {
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.features-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 600px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-elevated);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-dim);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

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

/* === STATS === */
.stats {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.stat-block {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

/* === CLOSING === */
.closing {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 680px;
}

.closing h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.closing-accent {
  color: var(--accent) !important;
  font-weight: 500;
  font-size: 1.1rem !important;
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}

/* === FOOTER === */
.site-footer {
  padding: 2.5rem clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
}

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

.footer-meta a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-meta a:hover {
  color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

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

  .stats-inner {
    flex-direction: column;
    gap: 2rem;
  }

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

  .hero-waveform {
    display: none;
  }
}

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

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