:root {
  --bg: #070b14;
  --bg-elev: #11192a;
  --text: #e9eefc;
  --muted: #b7c1da;
  --primary: #5d7cff;
  --primary-2: #7f5dff;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #122245 0%, var(--bg) 38%);
  min-height: 100vh;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

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

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav nav {
  display: flex;
  gap: 1.25rem;
}

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

.nav a.active {
  color: var(--text);
  font-weight: 600;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
}

h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

h2 {
  margin: 0 0 0.75rem;
}

p {
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.cta {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius);
  padding: 1.1rem;
  backdrop-filter: blur(8px);
}

.card.large {
  margin-top: 1rem;
}

.cta {
  margin: 1rem 0 3rem;
  text-align: center;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

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

code {
  color: #bfd2ff;
}

.bg-blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.18;
  z-index: -1;
}

.bg-blur-1 {
  width: 320px;
  height: 320px;
  background: #4f80ff;
  top: -120px;
  right: -70px;
}

.bg-blur-2 {
  width: 240px;
  height: 240px;
  background: #7d5cff;
  bottom: -90px;
  left: -40px;
}

@media (max-width: 840px) {
  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }
}
