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

:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #111318;
  --bg-card: #161920;
  --fg-primary: #e8eaed;
  --fg-secondary: #9aa0ab;
  --fg-muted: #5c6370;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.15);
  --accent-glow: rgba(0, 212, 170, 0.3);
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --red: #e54d42;
  --red-dim: rgba(229, 77, 66, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

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

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

/* === GRID BACKGROUND === */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.content-wrap {
  position: relative;
  z-index: 1;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-secondary);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* === STATS BAR === */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.2;
}

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

/* === SECTION === */
section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(0, 212, 170, 0.2);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.feature-icon.green { background: var(--accent-dim); }
.feature-icon.amber { background: var(--amber-dim); }
.feature-icon.red { background: var(--red-dim); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* === EVIDENCE SECTION === */
.evidence-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}

.evidence-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.evidence-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.evidence-text p {
  color: var(--fg-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.evidence-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.evidence-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--fg-secondary);
}

.evidence-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.terminal-block {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.r { background: #e54d42; }
.terminal-dot.y { background: #f5a623; }
.terminal-dot.g { background: #00d4aa; }

.terminal-body {
  padding: 1.25rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--fg-muted);
}

.terminal-body .cmd { color: var(--accent); }
.terminal-body .val { color: var(--amber); }
.terminal-body .err { color: var(--red); }

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

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

.closing h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.15;
}

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

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

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

.footer-brand {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--fg-muted);
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .evidence-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-bar {
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .closing {
    padding: 5rem 2rem;
  }
}