/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate-50: #f8fafc;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --bg: #0F1118;
  --accent: #3DD68C;
  --accent-dim: rgba(61, 214, 140, 0.15);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--slate-400);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { opacity: 0.85; }
img, svg { display: block; max-width: 100%; }

/* ── Background ── */
.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(61, 214, 140, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 214, 140, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.bg-glow {
  position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(ellipse at 50% 30%, rgba(61, 214, 140, 0.06) 0%, transparent 60%), var(--bg);
}

/* ── Layout ── */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 24px 0 32px;
}

.hero-icon { width: 72px; height: 72px; margin: 0 auto 20px; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--slate-50);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

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

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--slate-400);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ── Download button ── */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(61, 214, 140, 0.25);
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(61, 214, 140, 0.35);
  opacity: 1;
}

.download-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.download-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--slate-800);
  border: 1px solid var(--slate-800);
  border-radius: 12px;
  overflow: hidden;
  margin: 32px 0;
}

.stat {
  background: rgba(15, 17, 24, 0.9);
  padding: 20px 16px;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--slate-500);
  margin-top: 2px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Features row ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.feature {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid var(--slate-800);
  border-radius: 12px;
  padding: 20px;
}

.feature h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-50);
  margin-bottom: 4px;
}

.feature p {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid rgba(51, 65, 85, 0.4);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--slate-600);
}

.footer a { color: var(--slate-500); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .page { justify-content: flex-start; padding-top: 60px; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .download-meta { flex-wrap: wrap; justify-content: center; }
}
