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

:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --border: #2e2e34;
  --text: #ebebf0;
  --text-2: #9e9eb0;
  --text-3: #62626e;
  --accent: #9eb8f2;
  --accent-hover: #c7cce0;
  --accent-dim: rgba(158, 184, 242, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.nav-brand { font-weight: 700; font-size: 1rem; color: var(--text); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-link { color: var(--text-3); font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.7rem; border-radius: 6px; transition: color 150ms; }
.nav-link:hover { color: var(--text-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 1rem; font-size: 0.85rem; font-weight: 600;
  border: none; border-radius: 6px; cursor: pointer;
  font-family: var(--font); transition: all 150ms;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #0e0e10; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-3); }
.btn-lg { padding: 0.65rem 1.5rem; font-size: 0.9rem; }

/* Hero */
.hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}
.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 0.65rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero { padding: 4rem 1.25rem 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
}

/* Features */
.features {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature {
  padding: 2rem;
  background: var(--surface);
  transition: background 150ms;
}
.feature:hover { background: #1c1c20; }
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.feature h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature p { font-size: 0.82rem; color: var(--text-2); line-height: 1.55; }

.features-grid-2 { grid-template-columns: repeat(2, 1fr); }
.features-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .features-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features-grid, .features-grid-2 { grid-template-columns: 1fr; }
}

/* CTA */
.cta {
  text-align: center;
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
}
.cta h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.cta p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.72rem;
  color: var(--text-3);
  border-top: 1px solid #1e1e21;
}
