:root {
  --bg-primary: #0a0f1a;
  --bg-secondary: #111827;
  --bg-card: #1a2235;
  --bg-accent: rgba(34, 197, 94, 0.08);
  --fg-primary: #f1f5f9;
  --fg-secondary: #94a3b8;
  --fg-muted: #64748b;
  --accent: #22c55e;
  --accent-dim: rgba(34, 197, 94, 0.3);
  --accent-glow: rgba(34, 197, 94, 0.15);
  --border: rgba(148, 163, 184, 0.1);
  --border-accent: rgba(34, 197, 94, 0.2);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

/* Grid overlay texture */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 80px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-accent);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

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

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg-primary);
  max-width: 800px;
  margin-bottom: 24px;
}

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

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

/* Stats bar */
.hero-stats {
  display: flex;
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 680px;
}

.hero-stat {
  flex: 1;
  background: var(--bg-secondary);
  padding: 20px 24px;
}

.hero-stat:first-child { border-radius: 12px 0 0 12px; }
.hero-stat:last-child { border-radius: 0 12px 12px 0; }

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

.hero-stat .label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 80px 0;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 500px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.process-step {
  background: var(--bg-secondary);
  padding: 36px 28px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
}

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

.process-step p {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ===== DATA SCHEMA ===== */
.schema-section {
  padding: 80px 0;
}

.schema-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.schema-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.schema-text p {
  color: var(--fg-secondary);
  font-size: 16px;
  margin-bottom: 24px;
}

.schema-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schema-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--fg-secondary);
}

.schema-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.schema-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.schema-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.schema-card-header .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.schema-card-header span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
}

.schema-card-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg-secondary);
}

.schema-card-body .field {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

.schema-card-body .field:last-child { border-bottom: none; }

.schema-card-body .field-name { color: var(--accent); }
.schema-card-body .field-type { color: var(--fg-muted); }

/* ===== COVERAGE ===== */
.coverage-section {
  padding: 80px 0;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.coverage-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}

.coverage-card:hover {
  border-color: var(--border-accent);
}

.coverage-card .state-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.coverage-card .state-type {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.coverage-card .state-detail {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.5;
}

/* ===== CLOSING ===== */
.closing-section {
  padding: 100px 0 60px;
  text-align: center;
}

.closing-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.footer a {
  color: var(--fg-secondary);
  text-decoration: none;
}

/* ===== CTA BUTTON ===== */
.hero-cta-row {
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #0a0f1a;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}
.cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .hero-stats { flex-direction: column; }
  .hero-stat:first-child { border-radius: 12px 12px 0 0; }
  .hero-stat:last-child { border-radius: 0 0 12px 12px; }
  .process-grid { grid-template-columns: 1fr; }
  .schema-layout { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}