:root {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(960px, 90%);
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e293b;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

nav { display: flex; gap: 1.2rem; align-items: center; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.12), transparent 60%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

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

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

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.2s;
}

.btn:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-sm { padding: 0.4rem 1rem; font-size: 0.9rem; }

.btn-primary { background: var(--accent); color: #0f172a; }

.btn-ghost { border: 1px solid #334155; color: var(--text); }

/* Sections */
.section { padding: 4rem 0; }

.section.alt { background: var(--bg-alt); }

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section p { color: var(--muted); max-width: 640px; margin: 0 auto; text-align: center; }

.section a { color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  background: var(--bg-alt);
  border: 1px solid #334155;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
}

.card h3 { margin-bottom: 0.5rem; }

.card p { text-align: left; margin: 0; }

/* Footer */
.footer {
  border-top: 1px solid #1e293b;
  padding: 1.5rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
