/* ─────────────────────────────────────────────
   claudedash landing page — dark developer theme
   ──────────────────────────────────────────── */

:root {
  --bg: #0f0f12;
  --bg-alt: #111114;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --border: rgba(255, 255, 255, 0.08);
  --border-muted: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(0, 245, 255, 0.3);

  --text: #e2e2e6;
  --text-muted: #5a5a70;
  --text-dim: #38383f;

  --cyan: #00f5ff;
  --cyan-dim: #00d4ff;
  --cyan-glow: rgba(0, 245, 255, 0.12);
  --cyan-glow-strong: rgba(0, 245, 255, 0.25);
  --orange: #ff6b35;
  --orange-glow: rgba(255, 107, 53, 0.15);
  --purple: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.15);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.15);
  --red: #ef4444;
  --yellow: #eab308;

  --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--cyan-dim);
}

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

/* ── SHARED SECTION STYLES ── */
.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 56px;
}

/* ── NAV ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(15, 15, 18, 0.85);
  border-bottom: 1px solid var(--border-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
}

.logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-bracket {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost-sm:hover { color: var(--text); border-color: rgba(255,255,255,0.18); }

/* ── GitHub Star button ────────────────────────────── */
.btn-star {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.07);
  padding: 7px 15px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-star:hover {
  background: rgba(251, 191, 36, 0.13);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.2);
}
.star-svg {
  fill: #fbbf24;
  flex-shrink: 0;
  transform-origin: center;
}
.star-spark {
  position: fixed;
  pointer-events: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fbbf24;
  z-index: 9999;
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #000;
  background: var(--cyan);
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 0 16px var(--cyan-glow-strong);
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-primary-sm:hover {
  box-shadow: 0 0 24px var(--cyan-glow-strong), 0 0 40px var(--cyan-glow);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.bg-glow-1 {
  top: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.07) 0%, transparent 65%);
}

.bg-glow-2 {
  bottom: -10%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.07) 0%, transparent 65%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero copy */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.hero-headline {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero-line {
  display: block;
}

.hero-line-accent {
  background: linear-gradient(130deg, var(--cyan) 0%, var(--cyan-dim) 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* command copy button */
.btn-cmd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  background: var(--cyan);
  border: none;
  border-radius: var(--radius);
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--cyan-glow-strong), 0 0 50px var(--cyan-glow);
  transition: box-shadow 0.25s, transform 0.15s;
}
.btn-cmd:hover {
  box-shadow: 0 0 30px var(--cyan-glow-strong), 0 0 70px var(--cyan-glow);
  transform: translateY(-1px);
}

.btn-cmd-lg {
  font-size: 1rem;
  padding: 14px 24px;
}

.cmd-dollar {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

.cmd-copy-icon {
  opacity: 0.6;
  display: flex;
  align-items: center;
}

.btn-ghost-hero {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-ghost-hero:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.terminal-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.th-prompt { color: var(--green); }
.th-cmd { color: var(--text-muted); }
.th-arrow { color: var(--text-dim); }
.th-url { color: var(--cyan-dim); }
.th-cursor { color: var(--cyan); animation: blink 1s step-end infinite; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── HERO DEMO / KANBAN CHROME ── */
.hero-demo {
  position: relative;
}

.demo-chrome {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-muted);
}

.chrome-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-muted);
}

.chrome-dots {
  display: flex;
  gap: 6px;
}
.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #ffbd2e; }
.chrome-dots span:nth-child(3) { background: #28c840; }

.chrome-url {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-muted);
  border-radius: 6px;
  padding: 4px 10px;
  text-align: center;
}

.chrome-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--green);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

/* Kanban inside chrome */
.kanban-wrap {
  padding: 12px;
}

.kb-mode-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.kb-tab {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: default;
}

.kb-tab-active {
  color: var(--cyan);
  background: var(--cyan-glow);
  border-color: rgba(0, 245, 255, 0.2);
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 8px;
}

.kb-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.kb-badge {
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 999px;
  color: var(--text-muted);
}
.kb-badge-active { background: rgba(0, 245, 255, 0.15); color: var(--cyan); }
.kb-badge-done { background: rgba(34, 197, 94, 0.12); color: var(--green); }

.kb-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 7px 8px;
  margin-bottom: 5px;
  font-family: var(--mono);
}

.kb-card-active {
  border-color: rgba(0, 245, 255, 0.25);
  background: rgba(0, 245, 255, 0.04);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.06);
}

.kb-card-done {
  opacity: 0.55;
}

.kc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.kc-id {
  font-size: 0.58rem;
  color: var(--text-muted);
  font-weight: 600;
}

.kc-live-dot {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 245, 255, 0.8);
}

.kc-check {
  font-size: 0.6rem;
  color: var(--green);
}

.kc-title {
  font-size: 0.65rem;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 5px;
}

.kc-tag {
  display: inline-block;
  font-size: 0.55rem;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 2px;
}
.kc-tag-refactor { background: rgba(124, 58, 237, 0.2); color: #a78bfa; }
.kc-tag-docs { background: rgba(255, 107, 53, 0.2); color: #fb923c; }

.kc-prog-wrap {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 5px;
}

.kc-prog-bar {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-dim));
  border-radius: 999px;
  box-shadow: 0 0 6px var(--cyan-glow-strong);
}

.kc-quality {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.qg {
  font-family: var(--mono);
  font-size: 0.53rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}
.qg-pass { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.qg-pending { background: rgba(234, 179, 8, 0.15); color: var(--yellow); }
.qg-fail { background: rgba(239, 68, 68, 0.15); color: var(--red); }

/* Context health footer bar */
.kb-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
  border-top: 1px solid var(--border-muted);
}

.ctx-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.ctx-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.ctx-fill {
  height: 100%;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #4ade80);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  transition: background 0.3s;
}

.ctx-pct {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  min-width: 28px;
}

.ctx-badge {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}
.ctx-safe { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.ctx-warn { background: rgba(234, 179, 8, 0.15); color: var(--yellow); }
.ctx-critical { background: rgba(239, 68, 68, 0.15); color: var(--red); }

/* ── FEATURES ── */
.features {
  padding: 100px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  cursor: default;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 245, 255, 0.15);
  box-shadow: 0 0 40px rgba(0, 245, 255, 0.05);
}

.fc-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.fc-cyan { background: var(--cyan-glow); border-color: rgba(0, 245, 255, 0.2); color: var(--cyan); }
.fc-purple { background: var(--purple-glow); border-color: rgba(124, 58, 237, 0.2); color: #a78bfa; }
.fc-orange { background: var(--orange-glow); border-color: rgba(255, 107, 53, 0.2); color: var(--orange); }
.fc-green { background: var(--green-glow); border-color: rgba(34, 197, 94, 0.2); color: var(--green); }

.feature-card h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fc-tags span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
}

/* ── SCREENSHOT DEMO ── */
.demo-section {
  padding: 80px 0 100px;
}

.screenshot-wrap {
  position: relative;
}

.screenshot-chrome {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-muted);
}

.sc-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-muted);
}

.sc-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.sc-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.sc-dots span:nth-child(1) { background: #ff5f57; }
.sc-dots span:nth-child(2) { background: #ffbd2e; }
.sc-dots span:nth-child(3) { background: #28c840; }

.sc-url {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 5px 14px;
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
}

.sc-lock { font-style: normal; margin-right: 4px; }
.sc-spacer { flex: 1; }

/* Screenshot tab switcher */
.sc-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sc-tab {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}

.sc-tab:hover {
  border-color: var(--border-accent);
  color: var(--text);
}

.sc-tab.sc-tab-active {
  background: rgba(0, 245, 255, 0.08);
  border-color: var(--border-accent);
  color: var(--cyan);
}

/* Slides container */
.sc-slides {
  position: relative;
}

.sc-slide {
  display: none;
  width: 100%;
  border-radius: 0;
}

.sc-slide.sc-slide-active {
  display: block;
}

.sc-img {
  width: 100%;
  border-radius: 0;
  /* display managed by .sc-slide / .sc-slide-active rules */
}

.sc-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sc-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  flex-shrink: 0;
}

/* ── QUICK START ── */
.quickstart {
  padding: 80px 0 100px;
  position: relative;
}

.quickstart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 245, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.qs-header {
  margin-bottom: 48px;
}

.qs-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
  position: relative;
}

/* Terminal card */
.terminal-card {
  background: #0a0a0e;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.term-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-muted);
}

.term-dots {
  display: flex;
  gap: 5px;
}
.term-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.term-dots span:nth-child(1) { background: #ff5f57; }
.term-dots span:nth-child(2) { background: #ffbd2e; }
.term-dots span:nth-child(3) { background: #28c840; }

.term-title {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.term-copy-btn {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.term-copy-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.18); }

.term-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.9;
  overflow-x: auto;
}

.term-body code { background: none; border: none; padding: 0; font-size: inherit; color: inherit; }

/* Terminal syntax colors */
.t-comment { color: #444450; font-style: italic; }
.t-prompt { color: var(--green); }
.t-cmd { color: var(--cyan-dim); }
.t-pkg { color: #cb3837; }
.t-flag { color: #a78bfa; }
.t-arg { color: var(--orange); }
.t-out { color: var(--text-muted); }
.t-info { color: var(--text-muted); }
.t-ok { color: var(--green); }
.t-success { color: var(--green); }

/* Quick start steps */
.qs-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.qs-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.qs-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  background: var(--cyan-glow);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  flex-shrink: 0;
  min-width: 38px;
  text-align: center;
}

.qs-step h3 {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.qs-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── WORKTREES ── */
.worktrees-section {
  padding: 80px 0 100px;
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
}

.wt-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.wt-copy h2 {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.wt-copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.wt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wt-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--purple);
  background: var(--purple-glow);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 8px;
  padding: 5px 11px;
}

.wt-media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* ── MCP SERVER ── */
.mcp-section {
  padding: 80px 0 100px;
  border-top: 1px solid var(--border-muted);
}

.mcp-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.mcp-terminal {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.mcp-term-bar {
  height: 40px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}

.mcp-term-title {
  font-size: 0.72rem;
  color: #8b949e;
  font-family: var(--mono);
}

.mcp-term-body {
  padding: 20px 22px;
  font-family: var(--mono);
}

.mcp-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.6;
  flex-wrap: wrap;
}

.mcp-prompt { color: var(--cyan); }
.mcp-cmd { color: #e6edf3; }
.mcp-ok { color: #3fb950; padding-left: 4px; }
.mcp-comment { color: #8b949e; padding-left: 4px; }
.mcp-spacer { height: 6px; }

.mcp-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #8b949e;
  min-width: 62px;
  flex-shrink: 0;
}

.mcp-tool-call {
  color: var(--cyan);
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 4px;
  padding: 1px 8px;
  min-width: auto;
}

.mcp-result {
  color: #a78bfa;
  padding-left: 4px;
  font-size: 0.8rem;
}

.mcp-user { color: #e6edf3; }
.mcp-assistant { color: #e6edf3; max-width: 380px; }

.mcp-copy h2 {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.25;
}

.mcp-copy p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.mcp-tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mcp-tool {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.mcp-tool code {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--cyan);
  background: rgba(0, 245, 255, 0.06);
  border: 1px solid rgba(0, 245, 255, 0.18);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  min-width: 140px;
  text-align: center;
}

.mcp-tool span {
  color: var(--text-muted);
  font-size: 0.83rem;
}

/* ── FINAL CTA ── */
.final-cta {
  padding: 80px 0 100px;
}

.cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 40%, rgba(0, 245, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline-lg:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border-muted);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex: 1;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ── DATA-ANIMATE (scroll reveal base state) ── */
[data-animate] {
  opacity: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-demo {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .qs-layout {
    grid-template-columns: 1fr;
  }

  .wt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wt-media { order: -1; }

  .mcp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost-sm { display: none; }
  .nav-actions .btn-star { display: none; }

  .hero { padding: 100px 0 60px; }

  .hero-headline {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .cta-card { padding: 40px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }

  .kanban-board {
    grid-template-columns: repeat(4, 90px);
    overflow-x: auto;
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
