/* ── Tokens ───────────────────────────────────────── */
:root {
  --bg-primary: #09090b;
  --bg-secondary: #0f0f12;
  --bg-tertiary: #16161a;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --text-primary: #fafafa;
  --text-secondary: #71717a;
  --text-muted: #52525b;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --gradient: linear-gradient(135deg, #a855f7 0%, #6366f1 35%, #3b82f6 65%, #06b6d4 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 80px rgba(99, 102, 241, 0.06);
}

/* ── Reset ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--text-primary); font-weight: 600; }

/* ── Background pattern ──────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── Container ────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Section spacing ──────────────────────────────── */
section { padding: 120px 0; }
.section-alt { background: var(--bg-secondary); }

/* ── Fade-in animation ────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Gradient text ────────────────────────────────── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Section header ───────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.nav-logo-icon {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-github {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.nav-github:hover { opacity: 1; }

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, rgba(168, 85, 247, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { z-index: 1; }
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-purple);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.stat-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Terminal mockup */
.terminal {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  max-width: 640px;
  margin: 0 auto 40px;
  box-shadow: var(--shadow-glow), 0 24px 48px rgba(0,0,0,0.4);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.terminal-body {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text-secondary);
  min-height: 180px;
  white-space: pre;
  overflow-x: auto;
}
.terminal-body .cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--accent-cyan);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* CTA buttons */
.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 30px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--text-primary); border-color: var(--border-hover); }

/* ════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent-purple), var(--accent-blue), var(--accent-cyan), var(--border));
  opacity: 0.4;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}
.step code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg-primary);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--accent-cyan);
  display: inline-block;
  margin-bottom: 8px;
}

/* Architecture diagram */
.arch-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 64px;
  padding: 32px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.arch-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 160px;
}
.arch-box-highlight {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 0 32px rgba(99, 102, 241, 0.08);
}
.arch-icon { font-size: 1.5rem; }
.arch-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════
   MODELS
   ════════════════════════════════════════════════════ */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.model-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.model-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.model-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.model-icon-gemini { background: linear-gradient(135deg, #4285f4, #34a853); }
.model-icon-openai { background: linear-gradient(135deg, #10a37f, #0d8a6a); }
.model-icon-llama { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.model-icon-deepseek { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.model-icon-mistral { background: linear-gradient(135deg, #f97316, #ef4444); }
.model-icon-ollama { background: linear-gradient(135deg, #52525b, #3f3f46); font-size: 1.3rem; }
.model-card h3 {
  font-size: 1rem;
  font-weight: 600;
}
.model-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.model-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.model-id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg-primary);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--accent-cyan);
  display: inline-block;
}

/* ════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.3s;
}
.feature-card:hover { border-color: var(--border-hover); }
.feature-icon {
  font-size: 1.4rem;
  margin-bottom: 14px;
  display: block;
  color: var(--accent-emerald);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}
.feature-card code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bg-primary);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent-cyan);
}

/* ════════════════════════════════════════════════════
   DOCS
   ════════════════════════════════════════════════════ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.3s;
}
.doc-card:hover { border-color: var(--border-hover); }
.doc-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.doc-content pre {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-secondary);
  overflow-x: auto;
  margin: 0;
}
.doc-content pre code { background: none; border: none; padding: 0; }
.hl-label { color: var(--accent-purple); font-weight: 600; }
.hl-method { color: var(--accent-emerald); font-weight: 600; }
.hl-comment { color: var(--text-muted); }
.hl-cmd { color: var(--accent-cyan); }

/* Doc table */
.doc-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.doc-row:last-child { border-bottom: none; }
.doc-row code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bg-primary);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent-cyan);
  white-space: nowrap;
}
.doc-row span {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: right;
}
.doc-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.doc-note code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg-primary);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent-cyan);
}

/* Doc flow */
.doc-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.doc-flow-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.doc-flow-item code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bg-primary);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent-cyan);
  white-space: nowrap;
}
.doc-flow-item span { color: var(--text-secondary); }

/* ════════════════════════════════════════════════════
   EXAMPLES
   ════════════════════════════════════════════════════ */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.example-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
  position: relative;
}
.example-card:hover { border-color: var(--border-hover); }
.example-header {
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.example-header h3 {
  font-size: 0.92rem;
  font-weight: 600;
}
.example-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  white-space: nowrap;
}
.example-card pre {
  padding: 16px 24px 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-secondary);
  overflow-x: auto;
  margin: 0;
}
.example-card pre code { background: none; border: none; padding: 0; }
.example-card .copy-btn {
  position: absolute;
  top: 18px;
  right: 18px;
}

/* ════════════════════════════════════════════════════
   INSTALL
   ════════════════════════════════════════════════════ */
#install {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.install-hero {
  text-align: center;
  margin-bottom: 48px;
}
.install-cmd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 32px;
  max-width: 420px;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}
.install-cmd .dollar {
  color: var(--text-muted);
  user-select: none;
}
.install-alt {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.install-cmd-small {
  font-size: 0.92rem;
  padding: 12px 20px;
  max-width: 300px;
  box-shadow: none;
}
.copy-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-weight: 500;
}
.copy-btn:hover { color: var(--text-primary); border-color: var(--border-hover); }
.copy-btn.copied { color: var(--accent-emerald); border-color: var(--accent-emerald); }

/* Quickstart */
.quickstart {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
}
.quickstart h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.quickstart-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qs-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.qs-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.qs-step p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}
.qs-step a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(6, 182, 212, 0.3);
  transition: text-decoration-color 0.2s;
}
.qs-step a:hover { text-decoration-color: var(--accent-cyan); }
.qs-step code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--bg-primary);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--accent-cyan);
  display: inline-block;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .nav-links a:not(.nav-github) { display: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .models-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }
  .arch-diagram { flex-direction: column; }
  .arch-arrow { transform: rotate(90deg); }
  .hero-stats { gap: 20px; }
  .hero-stats .stat-sep { height: 24px; }
  .install-alt { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .install-cmd { padding: 16px 20px; font-size: 1rem; }
  .terminal-body { font-size: 0.72rem; padding: 14px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stats .stat-sep { display: none; }
}
