:root {
  --bg: #0b1020;
  --bg-soft: #111827;
  --card: #0f172a;
  --card-light: #111f3a;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #2dd4bf;
  --accent-2: #38bdf8;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 30px 60px rgba(15, 23, 42, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #0b1020 0%, #05070f 55%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 15, 0.9);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex: 1;
  justify-content: center;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 0.8rem;
}

.primary,
.ghost {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #04101a;
}

.primary:hover {
  transform: translateY(-1px);
}

.ghost {
  border-color: var(--border);
  color: var(--text);
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  line-height: 1.1;
  margin: 1rem 0 1.2rem;
}

.hero-copy p {
  color: var(--muted);
  max-width: 520px;
}

.badge {
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 1.8rem 0;
  flex-wrap: wrap;
}

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

.meta-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.hero-panel {
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.08), rgba(45, 212, 191, 0.02));
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section {
  padding: 4rem 0;
}

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

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: var(--muted);
}

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

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card.wide {
  padding: 2rem;
}

.card h3 {
  margin-top: 0;
}

.card ul,
.card ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

.feature {
  background: var(--card-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.3rem;
}

.feature img {
  width: 36px;
  margin-bottom: 0.8rem;
}

.callout {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: var(--text);
}

pre {
  background: #0b1224;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow-x: auto;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-bar {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
