:root {
  --bg: #060714;
  --panel: rgba(20, 23, 46, 0.72);
  --panel-strong: rgba(24, 28, 58, 0.94);
  --text: #eef1ff;
  --muted: #b7bee0;
  --primary: #7c8cff;
  --primary-2: #45d6ff;
  --border: rgba(255, 255, 255, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, #11183d 0, #060714 50%), var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
}

.bg-glow-1 {
  background: #5e6dff;
  top: -10rem;
  left: -10rem;
}

.bg-glow-2 {
  background: #26d7ff;
  bottom: -13rem;
  right: -9rem;
}

.container {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(6, 7, 20, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 20;
}

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

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #fff;
}

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

.eyebrow {
  color: #b8c6ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 0.9rem;
  max-width: 13ch;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
}

.hero-cta {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

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

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(68, 132, 255, 0.35);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 2.6rem 0;
}

.section h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  margin-bottom: 1rem;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.04rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
}

.stat {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.stat span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.stat strong {
  font-size: 1.3rem;
}

.section-highlight {
  margin-top: 1rem;
  background: linear-gradient(180deg, rgba(124, 140, 255, 0.14), rgba(69, 214, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
}

.section-highlight p,
.section-highlight li {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.6rem;
  padding: 1.2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-inner a {
  color: #d4dbff;
}


@media (max-width: 700px) {
  nav {
    gap: 0.65rem;
    font-size: 0.94rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .section-highlight {
    padding: 1.2rem;
  }
}

/* ── Install section ─────────────────────────────────────────────── */

.install-lead {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.install-lead a {
  color: var(--primary-2);
}

.install-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.install-tab {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  transition: 0.15s ease;
}

.install-tab:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

.install-tab.active {
  background: linear-gradient(135deg, rgba(124, 140, 255, 0.28), rgba(69, 214, 255, 0.14));
  border-color: var(--primary);
  color: #fff;
}

.install-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}

.install-panel.hidden {
  display: none;
}

.install-steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.install-group {
  margin-bottom: 1rem;
}

.install-group:last-of-type {
  margin-bottom: 0;
}

.step-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  display: block;
}

.codeblock {
  background: rgba(5, 6, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #d1f3ff;
  font-family: 'SF Mono', ui-monospace, Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  overflow-x: auto;
  padding: 0.8rem 1rem 0.8rem 1rem;
  position: relative;
  white-space: pre;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  float: right;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.8rem;
  padding: 0.18rem 0.55rem;
  transition: 0.15s ease;
  vertical-align: middle;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.install-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.install-req {
  background: rgba(124, 140, 255, 0.1);
  border: 1px solid rgba(124, 140, 255, 0.25);
  border-radius: 10px;
  color: #c5ccff;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  padding: 0.6rem 1rem;
}

.inline-code {
  background: rgba(69, 214, 255, 0.12);
  border-radius: 4px;
  color: var(--primary-2);
  font-family: 'SF Mono', ui-monospace, Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.85em;
  padding: 0.1em 0.4em;
}
