:root {
  color-scheme: dark;
  --bg: #050814;
  --bg-soft: #0b1220;
  --bg-card: #0f172a;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --border-strong: #1d4ed8;
  --accent: #1d4ed8;
  --accent-soft: #3b82f6;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --muted-soft: #6b7280;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent 55%), var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding-bottom: 4rem;
}

/* NAVBAR */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  background: rgba(5, 8, 20, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  z-index: 50;
}

.navbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-badge {
  height: 32px;
  width: 32px;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.brand-text-main {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.nav-links a {
  color: #cbd5f5;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--text);
}

.btn-outline {
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-soft);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent-soft);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-soft);
}

/* HERO */

.hero {
  padding-top: 120px;
  padding-bottom: 72px;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.7rem;
  color: #bfdbfe;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 0.9rem;
}

.hero-slogan {
  margin-top: 0.4rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-body {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-secondary {
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-subtle);
  color: var(--muted);
}

.hero-secondary:hover {
  border-color: var(--accent-soft);
  color: var(--text);
}

/* CARDS & GRID */

.card {
  background: var(--bg-card);
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  padding: 1.25rem 1.4rem;
}

.card:hover {
  border-color: var(--accent-soft);
}

.grid {
  display: grid;
  gap: 1.4rem;
}

.grid-2 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* SECTION HEADERS */

.section-block {
  padding-top: 2.5rem;
}

.section-header {
  margin-bottom: 1.4rem;
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #60a5fa;
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.section-desc {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 640px;
}

/* STATS */

.stats-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.stats-value {
  margin-top: 0.25rem;
  font-size: 1.2rem;
  font-weight: 600;
}

/* FOOTER */

footer {
  margin-top: 3rem;
  padding: 1.8rem 0;
  background: #020617;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}