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

:root {
  --bg: #181818;
  --panel: #212121;
  --panel2: #2a2a2a;
  --border: #2e2e2e;
  --text: #e6e8ec;
  --muted: #8a93a0;
  --accent: #7c5cff;
  --accent2: #22d3ee;
  --good: #22c55e;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 16, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 800;
  letter-spacing: .3px;
  font-size: 18px;
}

.brand span {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--panel);
  transition: .2s;
  cursor: pointer;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0b0d10;
  border: none;
}

/* Hero section used in index.html, but kept for compatibility */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.hero h1 .g {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 40px 0 60px;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.stat .n {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent2);
}

.stat .l {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin: 20px 0 6px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: .2s;
}

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

.card .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0b0d10;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .3px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 14px;
}

.card .count {
  color: var(--accent2);
  font-size: 13px;
  font-weight: 600;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 60px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-grid h4 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-grid a {
  display: block;
  margin-bottom: 6px;
}

.footer-grid a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 44px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
