/* ================================================================
   Sandbox Landing Page — Dark Theme
   base.css + stat-cards.css + custom sections
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1a1a1a;
  --border: #2a2a2a;
  --text: #e8e8e8;
  --text2: #8a8a8a;
  --accent: #50EACE;
  --accent-bg: rgba(80,234,206,0.10);
  --accent-rgb: 80,234,206;
  --tag-blue: #60a5fa;
  --tag-blue-bg: rgba(59,130,246,0.12);
  --tag-red: #f87171;
  --tag-red-bg: rgba(239,68,68,0.12);
  --tag-yellow: #fbbf24;
  --tag-yellow-bg: rgba(234,179,8,0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Stat Cards (from template) ──────────────────────────────── */

.stat-grid {
  display: grid;
  gap: 14px;
}

.stat-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 18px;
  text-align: center;
}

.stat-val {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  color: var(--text2);
  margin-top: 8px;
  line-height: 1.5;
}

.stat-sub {
  font-size: 11px;
  color: var(--text2);
  opacity: 0.6;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .stat-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .stat-grid-4 { grid-template-columns: 1fr; }
  .stat-val { font-size: 28px; }
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero h1 { font-size: 28px !important; }
  .hero .sub { font-size: 16px !important; }
  .quote-text { font-size: 22px !important; }
  .voice-quote { font-size: 20px !important; }
  .transition-text { font-size: 24px !important; }
  .sandbox-features { grid-template-columns: 1fr !important; }
}

@media (max-width: 1024px) {
  .sandbox-features { grid-template-columns: 1fr !important; }
}

/* ── Reduced motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
