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

:root {
  --bg: #0a0e1a;
  --surface: #111827;
  --border: #1f2d45;
  --accent: #4f9cf9;
  --accent2: #a78bfa;
  --text: #e2e8f0;
  --muted: #64748b;
  --radius: 10px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav .logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-right: auto;
}

nav a { color: var(--text); font-size: 0.95rem; }
nav a:hover { color: var(--accent); text-decoration: none; }
nav a.active { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  background: radial-gradient(ellipse at 50% 0%, #1a2a4a 0%, var(--bg) 70%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.15s;
}

.btn:hover { opacity: 0.85; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--text); }

.btn-group { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Cards grid */
.section { padding: 3rem 2rem; max-width: 960px; margin: 0 auto; }
.section h2 { font-size: 1.6rem; margin-bottom: 1.5rem; color: var(--text); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.card:hover { border-color: var(--accent); }
.card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.9rem; }

/* Stat strip */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  justify-content: center;
}

.stat { text-align: center; padding: 0 1.5rem; }
.stat .num { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat .label { color: var(--muted); font-size: 0.85rem; }

/* Table */
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th { text-align: left; padding: 0.6rem 1rem; border-bottom: 2px solid var(--border); color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.05em; }
td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
tr:hover td { background: var(--surface); }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-blue { background: #1e3a5f; color: var(--accent); }
.badge-purple { background: #2e1e5f; color: var(--accent2); }
.badge-green { background: #1e3a2f; color: #4ade80; }
.badge-yellow { background: #3a321e; color: #fbbf24; }

/* Page header */
.page-header {
  padding: 3.5rem 2rem 2rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #1a2a4a 0%, var(--bg) 70%);
}

.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.page-header p { color: var(--muted); margin-top: 0.5rem; max-width: 500px; margin-inline: auto; }

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
