/* ─────────────────────────────────────────────────────────────────────────
   Vibo presentation site — style.css
   ───────────────────────────────────────────────────────────────────────── */

/* ── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0:        #09090e;
  --bg-1:        #0f0f18;
  --bg-2:        #141421;
  --bg-card:     #18182a;
  --bg-card-2:   #1e1e30;
  --border:      #252538;
  --border-2:    #2e2e48;

  --accent:      #7c3aed;
  --accent-mid:  #8b5cf6;
  --accent-glow: rgba(124, 58, 237, 0.25);
  --accent-glow-strong: rgba(124, 58, 237, 0.45);

  --amber:       #f59e0b;
  --amber-dim:   rgba(245, 158, 11, 0.15);
  --green:       #10b981;
  --green-dim:   rgba(16, 185, 129, 0.15);
  --red:         #ef4444;
  --red-dim:     rgba(239, 68, 68, 0.15);
  --blue:        #3b82f6;
  --blue-dim:    rgba(59, 130, 246, 0.15);

  --text-0:      #f4f3ff;
  --text-1:      #c4c2e0;
  --text-2:      #8a87b0;
  --text-3:      #5a5780;
  --text-code:   #a78bfa;

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

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   20px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.4);
  --shadow:      0 4px 16px rgba(0,0,0,.5);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.6);
  --shadow-glow: 0 0 0 1px var(--border), 0 8px 32px rgba(0,0,0,.7);

  --nav-h:       60px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
code {
  font-family: var(--font-mono);
  font-size: .875em;
  color: var(--text-code);
  background: rgba(124,58,237,.12);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: all .18s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(124,58,237,.4), 0 4px 20px rgba(124,58,237,.35);
}
.btn-primary:hover {
  background: #6d28d9;
  box-shadow: 0 0 0 1px rgba(124,58,237,.6), 0 6px 24px rgba(124,58,237,.5);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-0);
  border: 1px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--accent-mid);
  color: var(--text-0);
  background: rgba(139,92,246,.08);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  color: var(--text-0);
}

/* ── Section common ──────────────────────────────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-0);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.section-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(16px) saturate(180%);
  background: rgba(9,9,14,.85);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: border-color .3s;
}
.nav.scrolled { border-color: var(--border); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-0);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo-mark {
  color: var(--accent-mid);
  font-style: italic;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-2);
  transition: all .15s;
}
.nav-links a:hover {
  color: var(--text-0);
  background: rgba(255,255,255,.06);
}

/* ══════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 72px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -200px; left: -200px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
  bottom: 0; right: 10%;
  opacity: .12;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 20% 20%, black 20%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-code);
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-mid);
  box-shadow: 0 0 8px var(--accent-mid);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.wordmark {
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 40%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(124,58,237,.5));
}

.hero-subtitle-line {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  color: var(--text-0);
  line-height: 1.3;
  letter-spacing: -.02em;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.meta-sep { color: var(--border-2); }

/* ── App Window Mockup ────────────────────────────────────────────── */
.hero-window-wrap {
  position: relative;
  z-index: 1;
  margin-top: 64px;
}

.app-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124,58,237,.1),
              0 40px 80px rgba(0,0,0,.7);
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red   { background: #ff5f57; }
.dot.amber { background: #febc2e; }
.dot.green { background: #28c840; }

.window-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.window-body {
  display: flex;
  height: 360px;
}

/* Sidebar mock */
.mock-sidebar {
  width: 180px;
  flex-shrink: 0;
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
}
.mock-project-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-0);
  padding: 8px 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.mock-nav { display: flex; flex-direction: column; gap: 2px; }
.mock-nav-item {
  font-size: 12px;
  color: var(--text-2);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: default;
}
.mock-nav-item.active {
  background: rgba(124,58,237,.15);
  color: var(--text-code);
  font-weight: 500;
}

/* Kanban mock */
.mock-kanban {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  overflow: hidden;
}
.mock-column {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.mock-count {
  font-size: 10px;
  background: var(--border);
  color: var(--text-3);
  padding: 1px 6px;
  border-radius: 100px;
}
.mock-count.running { background: var(--amber-dim); color: var(--amber); }
.mock-count.review  { background: rgba(251,146,60,.15); color: #fb923c; }
.mock-count.done    { background: var(--blue-dim); color: var(--blue); }

.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
}
.mock-card.running { border-color: rgba(245,158,11,.3); }
.mock-card.review  { border-color: rgba(251,146,60,.3); }
.mock-card.done    { opacity: .5; }

.mock-card-title { font-size: 11px; color: var(--text-0); margin-bottom: 6px; line-height: 1.4; }
.mock-card-meta  { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.mock-badge {
  font-size: 9px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.mock-badge.purple { background: rgba(124,58,237,.2); color: #a78bfa; border: 1px solid rgba(124,58,237,.3); }
.mock-badge.blue   { background: rgba(59,130,246,.2); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }

.mock-session {
  font-size: 9px;
  color: var(--amber);
  font-family: var(--font-mono);
}
.mock-pr {
  font-size: 9px;
  color: var(--green);
  font-family: var(--font-mono);
  background: var(--green-dim);
  padding: 2px 5px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════════════════
   WORKFLOW
══════════════════════════════════════════════════════════════════════ */
.workflow {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

/* ── Vertical stepper track ──────────────────────────────────────── */
.wf-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
}

/* The continuous vertical line */
.wf-track::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--accent) 0%,
    rgba(124,58,237,.4) 50%,
    var(--green) 100%);
}

/* Each step row */
.wf-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
}
.wf-row--last { padding-bottom: 0; }

/* Number badge (sits on the line) */
.wf-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: 0;
}
.wf-badge--ai   { border-color: rgba(124,58,237,.5); color: var(--accent-mid); background: rgba(124,58,237,.08); }
.wf-badge--done { border-color: rgba(16,185,129,.5);  color: var(--green);       background: rgba(16,185,129,.08); }

/* Card */
.wf-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 0;
}
.wf-card--ai   { border-color: rgba(124,58,237,.2); background: linear-gradient(135deg, rgba(124,58,237,.05) 0%, var(--bg-card) 60%); }
.wf-card--done { border-color: rgba(16,185,129,.2); background: linear-gradient(135deg, rgba(16,185,129,.04) 0%, var(--bg-card) 60%); }

.wf-phase {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 8px;
}
.wf-card--done .wf-phase { color: var(--green); }

.wf-card-text h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-0);
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.wf-card-text p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── Step visuals ────────────────────────────────────────────────── */
.wf-card-visual {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Step 1 — goal input */
.wfv-input-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
}
.wfv-textarea {
  background: var(--bg-0);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-1);
  line-height: 1.6;
  min-height: 60px;
}
.wfv-caret {
  display: inline-block;
  width: 2px; height: 14px;
  background: var(--accent-mid);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}
.wfv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.wfv-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--text-1);
  cursor: default;
  white-space: nowrap;
}
.wfv-btn--primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

/* Step 2 — streaming plan */
.wfv-stream-wrap { padding: 0; background: none; border: none; }
.wfv-stream {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wfv-s-line { color: var(--text-1); }
.wfv-s-h1   { color: var(--text-code); font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.wfv-s-h2   { color: rgba(139,92,246,.8); font-weight: 600; margin-top: 6px; }
.wfv-s-dim  { color: var(--text-3); }
.wfv-cursor {
  display: inline-block;
  color: var(--accent-mid);
  animation: blink 1s step-end infinite;
}

/* Step 3 — task list */
.wfv-tasklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wfv-task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.wfv-task-n {
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-3);
  width: 16px;
  flex-shrink: 0;
}
.wfv-task-title {
  font-size: 12px;
  color: var(--text-1);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wfv-task-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

/* Step 4 — execution */
.wfv-exec { gap: 12px; }
.wfv-branches {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wfv-branch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.wfv-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wfv-dot--run  { background: var(--amber); box-shadow: 0 0 5px var(--amber); animation: pulse 2s infinite; }
.wfv-dot--rev  { background: #fb923c; }
.wfv-dot--done { background: var(--green); }
.wfv-branch-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  flex: 1;
}
.wfv-branch-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
}
.wfv-bs-run  { background: var(--amber-dim);       color: var(--amber); }
.wfv-bs-rev  { background: rgba(251,146,60,.12);   color: #fb923c; }
.wfv-bs-done { background: var(--green-dim);        color: var(--green); }

.wfv-term-mini {
  background: #000;
  border-radius: var(--radius);
  border: 1px solid #1e1e1e;
  overflow: hidden;
}
.wfv-term-mini-bar {
  background: #111;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #1a1a1a;
}
.wfv-term-mini-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  margin-left: 6px;
}
.wfv-term-mini-body {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  color: #888;
}

/* Responsive */
@media (max-width: 820px) {
  .wf-card { grid-template-columns: 1fr; gap: 20px; }
  .wf-card-text h3 { font-size: 18px; }
  .wf-track::before { left: 19px; }
}
@media (max-width: 500px) {
  .wf-row { grid-template-columns: 36px 1fr; gap: 16px; }
  .wf-badge { width: 36px; height: 36px; font-size: 11px; }
  .wf-card { padding: 20px; }
}

/* ══════════════════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════════════════ */
.features {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

/* ── Bento Grid ───────────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

/* Card base */
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.bento-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

/* Sizes */
.bento-wide { grid-column: span 2; flex-direction: row; align-items: flex-start; gap: 32px; }
.bento-tall { grid-row: span 2; }

/* Tag label */
.bento-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 2px;
}

.bento-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-0);
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.bento-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

.bento-text { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.bento-visual { flex-shrink: 0; }

/* ── Planning visual (streaming text bars) ────────────────────────── */
.bento-visual-stream {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-self: center;
}
.bv-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--border-2);
  animation: shimmer 2.5s ease-in-out infinite;
}
.bv-bar--title   { height: 11px; width: 70%; background: rgba(139,92,246,.35); }
.bv-bar--heading { height: 9px; width: 55%; background: rgba(139,92,246,.2); }
.bv-bar--line    { width: 95%; }
.bv-bar--med     { width: 75%; }
.bv-bar--short   { width: 50%; }
.bv-spacer       { height: 4px; }
.bv-cursor {
  width: 8px; height: 14px;
  background: var(--accent-mid);
  border-radius: 2px;
  animation: blink 1s step-end infinite;
  margin-top: 2px;
}
@keyframes shimmer {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

/* ── Git branch visual ───────────────────────────────────────────── */
.bento-visual-git {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.git-branch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
}
.git-branch--main  { border-color: rgba(16,185,129,.25); background: rgba(16,185,129,.05); }
.git-branch--task  { padding-left: 24px; }
.git-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.git-dot--done    { background: var(--green); box-shadow: 0 0 6px var(--green); }
.git-dot--running { background: var(--amber); box-shadow: 0 0 6px var(--amber); animation: pulse 2s infinite; }
.git-dot--review  { background: #fb923c; box-shadow: 0 0 6px #fb923c; }
.git-label { color: var(--text-1); }
.git-branch--main .git-label { color: var(--green); font-weight: 600; }

/* ── Model pills ─────────────────────────────────────────────────── */
.bento-model-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.bm-pill {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
  white-space: nowrap;
}
.bm-claude { background: rgba(124,58,237,.15); color: #a78bfa; border: 1px solid rgba(124,58,237,.25); }
.bm-openai { background: rgba(59,130,246,.12); color: #93c5fd; border: 1px solid rgba(59,130,246,.2); }

/* ── Kanban + terminal visual ────────────────────────────────────── */
.bento-visual-kanban {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 280px;
  align-self: center;
}
.bvk-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.bvk-col { display: flex; flex-direction: column; gap: 5px; }
.bvk-header {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
  padding-bottom: 4px;
}
.bvk-running { color: var(--amber); }
.bvk-review  { color: #fb923c; }
.bvk-done    { color: var(--blue); }

.bvk-card {
  height: 24px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.bvk-card--running {
  border-color: rgba(245,158,11,.4);
  background: rgba(245,158,11,.06);
  position: relative;
  overflow: hidden;
}
.bvk-card--review { border-color: rgba(251,146,60,.35); }
.bvk-card--done   { opacity: .4; }

.bvk-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,.15), transparent);
  animation: sweep 1.8s ease-in-out infinite;
}
@keyframes sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.bvk-terminal {
  background: #000;
  border-radius: var(--radius);
  border: 1px solid #1a1a1a;
  overflow: hidden;
}
.bvk-term-bar {
  background: #111;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #1a1a1a;
}
.bvk-term-body {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.8;
}
.bvk-term-line { color: #888; }
.bvk-term-line.t-green { color: #4ade80; }

/* ── Code health indicators ──────────────────────────────────────── */
.bento-health {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 4px;
}
.bh-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-2);
  font-family: var(--font-mono);
}
.bh-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bh-red   { background: var(--red); }
.bh-amber { background: var(--amber); }
.bh-gray  { background: var(--text-3); }

/* Specific card accent colours */
.bento-planning { border-color: rgba(124,58,237,.25); background: linear-gradient(135deg, rgba(124,58,237,.06) 0%, var(--bg-card) 50%); }
.bento-git      { border-color: rgba(16,185,129,.15); }
.bento-kanban   { border-color: rgba(245,158,11,.15); }
.bento-analysis { border-color: rgba(239,68,68,.1); }

/* Responsive */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-tall { grid-row: span 1; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; flex-direction: column; }
  .bento-visual-stream { width: 100%; }
  .bento-visual-kanban { width: 100%; }
  .bento-card h3 { font-size: 17px; }
}

/* ══════════════════════════════════════════════════════════════════════
   KNOWLEDGE
══════════════════════════════════════════════════════════════════════ */
.knowledge {
  padding: 96px 0;
  background: var(--bg-0);
}

.knowledge-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin: 56px 0 64px;
}

/* Points */
.knowledge-points {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.kp {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.kp-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.kp h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 6px;
}
.kp p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.65;
}
.kp code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text-1);
}

/* File tree */
.knowledge-tree {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tree-window {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tree-chrome {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tree-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  margin-left: 8px;
}
.tree-body {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 2;
}
.tree-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.tree-line.indent  { padding-left: 16px; }
.tree-line.indent2 { padding-left: 32px; }
.tree-dir  { color: var(--accent); font-weight: 600; }
.tree-file { color: var(--text-1); }
.tree-comment { color: var(--text-3); font-size: 11px; }
.tree-caption {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}

/* Built-with-Vibo banner */
.built-with-vibo {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(124,58,237,.08) 0%, var(--bg-1) 100%);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}
.bwv-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.bwv-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
}
.bwv-content p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 680px;
}

@media (max-width: 860px) {
  .knowledge-layout { grid-template-columns: 1fr; gap: 40px; }
  .built-with-vibo  { flex-direction: column; gap: 16px; }
}

/* ══════════════════════════════════════════════════════════════════════
   PRIVACY
══════════════════════════════════════════════════════════════════════ */
.privacy {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .2s, transform .2s;
}
.privacy-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.privacy-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 16px;
}

.privacy-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
}
.privacy-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Flow diagram */
.privacy-flow {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
}

.flow-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 28px;
}

.flow-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  flex-wrap: wrap;
  gap: 24px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 140px;
}

.flow-node-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-node--you .flow-node-icon {
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
  color: var(--accent-mid);
}
.flow-node--ai .flow-node-icon {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  color: var(--green);
}

.flow-node-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-0);
}
.flow-node-sub {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.5;
  font-family: var(--font-mono);
}

.flow-path {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.flow-arrow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border-2) 0%, var(--border-2) 40%, transparent 60%);
  position: relative;
}
.flow-arrow-line::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 16px;
  line-height: 1;
}
.flow-arrow-label {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.5;
}

.flow-blocker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: rgba(239,68,68,.06);
  border: 1px dashed rgba(239,68,68,.25);
  border-radius: var(--radius);
}
.flow-blocker-icon { color: var(--red); }
.flow-blocker-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .privacy-grid { grid-template-columns: 1fr; }
  .flow-diagram { flex-direction: column; align-items: flex-start; }
  .flow-path { flex-direction: row; min-width: unset; width: 100%; }
  .privacy-flow { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════════════════════════════
   SHOWCASE
══════════════════════════════════════════════════════════════════════ */
.showcase {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
  width: fit-content;
}

.tab {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: none;
  border: none;
  cursor: pointer;
  transition: all .15s;
}
.tab:hover { color: var(--text-0); background: rgba(255,255,255,.04); }
.tab.active {
  background: var(--bg-card);
  color: var(--text-0);
  border: 1px solid var(--border);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.showcase-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase-body {
  height: 440px;
  overflow: hidden;
}

.showcase-body.two-panel {
  display: flex;
}

/* Panels */
.panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.panel-left {
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: var(--bg-1);
}
.panel-right { flex: 1; }
.panel-header {
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.panel-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Plan list */
.plan-list { padding: 8px; flex: 1; overflow-y: auto; }
.plan-item {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: default;
  margin-bottom: 4px;
}
.plan-item.active {
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.2);
}
.plan-item-title { font-size: 12px; color: var(--text-0); font-weight: 500; margin-bottom: 6px; }
.plan-item-meta { display: flex; gap: 6px; }
.status-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 100px;
}
.status-badge.approved  { background: var(--green-dim); color: var(--green); }
.status-badge.draft     { background: var(--border); color: var(--text-3); }
.status-badge.inprogress { background: var(--amber-dim); color: var(--amber); }

/* Plan content / streaming */
.plan-content {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}
.stream-line { color: var(--text-1); }
.stream-line.blank { height: 12px; }
.c-heading { color: var(--text-code); font-weight: 600; }
.c-bullet  { color: var(--accent-mid); }
.stream-cursor {
  color: var(--accent-mid);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Mock buttons */
.mock-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  cursor: default;
  font-family: var(--font-sans);
}
.mock-btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

/* Kanban full */
.mock-kanban-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  height: 100%;
}
.mock-column-full {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.mock-card-full {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.mock-card-full .mock-card-title {
  font-size: 12px;
  color: var(--text-0);
  font-weight: 500;
  margin-bottom: 4px;
}
.mock-card-full .mock-card-desc {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.mock-card-full .mock-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.running-card { border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.03); }
.review-card  { border-color: rgba(251,146,60,.3); }
.done-card    { opacity: .45; }

.mock-session-indicator {
  font-size: 10px;
  color: var(--amber);
  font-family: var(--font-mono);
}

.mock-terminal-snippet {
  margin-top: 8px;
  padding: 8px 10px;
  background: #000;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #aaa;
  line-height: 1.8;
}
.t-dim   { color: #555; }
.t-green { color: var(--green); }
.t-cursor { color: var(--accent-mid); animation: blink 1s step-end infinite; }

/* Analysis */
.analysis-nav {
  padding: 8px;
}
.analysis-nav-item {
  padding: 7px 12px;
  font-size: 12px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  cursor: default;
}
.analysis-nav-item.active {
  background: rgba(124,58,237,.12);
  color: var(--text-code);
  font-weight: 500;
}
.analysis-health {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.health-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-2);
}
.health-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.health-dot.red    { background: var(--red); }
.health-dot.amber  { background: var(--amber); }
.health-dot.gray   { background: var(--text-3); }

.feature-graph {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}
.feat-node {
  padding: 7px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--text-1);
  white-space: nowrap;
}
.feat-node-center {
  background: rgba(124,58,237,.15);
  border-color: rgba(124,58,237,.4);
  color: var(--text-code);
  font-weight: 600;
}
.feat-connections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 400px;
}
.feat-summary {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}
.feat-stat { font-size: 12px; color: var(--text-2); }
.feat-stat span { font-weight: 700; color: var(--text-0); }

/* DAG */
.dag-body { padding: 24px; background: var(--bg-0); }
.dag-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  height: 100%;
  justify-content: center;
  position: relative;
}
.dag-row {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.dag-node {
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  min-width: 140px;
  text-align: center;
}
.dag-node.done-node    { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.05); }
.dag-node.running-node { border-color: rgba(245,158,11,.4); background: rgba(245,158,11,.05); }
.dag-node.blocked      { opacity: .5; }

.dag-node-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-0);
  margin-bottom: 5px;
}
.dag-node-status {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.dag-node-status.done    { color: var(--green); }
.dag-node-status.running { color: var(--amber); }
.dag-node-status.review  { color: #fb923c; }
.dag-node-status.backlog { color: var(--text-3); }

.dag-legend {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.dag-legend span {
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.legend-dot.done    { background: var(--green); }
.legend-dot.running { background: var(--amber); }
.legend-dot.review  { background: #fb923c; }
.legend-dot.blocked { background: var(--text-3); }

/* Git / diff */
.branch-list { padding: 8px; flex: 1; overflow-y: auto; }
.branch-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  cursor: default;
}
.branch-item.current { background: rgba(124,58,237,.1); }
.branch-item.task-branch:hover { background: rgba(255,255,255,.03); }
.branch-icon { font-size: 14px; color: var(--text-3); margin-top: 1px; }
.branch-name { font-size: 12px; color: var(--text-0); font-family: var(--font-mono); font-weight: 500; }
.branch-meta { font-size: 11px; color: var(--text-3); margin-top: 2px; font-family: var(--font-mono); }

.diff-view { padding: 16px; flex: 1; overflow-y: auto; font-family: var(--font-mono); font-size: 12px; }
.diff-file { color: var(--accent-mid); font-weight: 600; margin: 12px 0 6px; }
.diff-file:first-child { margin-top: 0; }
.diff-lines { border-left: 2px solid var(--border); padding-left: 12px; }
.diff-line { padding: 2px 4px; line-height: 1.7; border-radius: 2px; }
.diff-line.added   { color: #86efac; background: rgba(16,185,129,.08); }
.diff-line.removed { color: #fca5a5; background: rgba(239,68,68,.08); }
.diff-line.context { color: var(--text-3); }

/* Showcase caption */
.showcase-caption {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.showcase-caption strong { color: var(--text-0); }

/* ══════════════════════════════════════════════════════════════════════
   MODELS
══════════════════════════════════════════════════════════════════════ */
.models {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.provider-card.provider-claude { border-color: rgba(124,58,237,.3); }
.provider-card.provider-anthropic { border-color: rgba(16,185,129,.15); }
.provider-card.provider-openai { border-color: rgba(59,130,246,.15); }

.provider-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.provider-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.claude-logo     { background: rgba(124,58,237,.2); color: var(--accent-mid); }
.anthropic-logo  { background: rgba(16,185,129,.15); color: var(--green); }
.openai-logo     { background: rgba(59,130,246,.15); color: var(--blue); font-size: 22px; }

.provider-name { font-size: 15px; font-weight: 700; color: var(--text-0); }
.provider-note { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.provider-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(124,58,237,.15);
  color: var(--accent-mid);
  border: 1px solid rgba(124,58,237,.25);
}

.provider-desc { font-size: 13px; color: var(--text-2); margin-bottom: 20px; line-height: 1.6; }

.model-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.model-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.model-name { font-family: var(--font-mono); color: var(--text-1); flex: 1; }
.model-tier {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
}
.tier-high { background: rgba(239,68,68,.15); color: #f87171; }
.tier-mid  { background: rgba(245,158,11,.15); color: var(--amber); }
.tier-low  { background: var(--green-dim); color: var(--green); }
.model-ctx { color: var(--text-3); font-family: var(--font-mono); font-size: 11px; margin-left: auto; }

/* ══════════════════════════════════════════════════════════════════════
   DOWNLOAD
══════════════════════════════════════════════════════════════════════ */
.download {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.download-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.download-version {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-0);
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
}
.download-badge-beta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #f59e0b;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: 6px;
  padding: 3px 8px;
}
.download-note {
  font-size: 13px;
  color: var(--text-3);
}
.download-note a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.download-note a:hover { color: var(--text-0); }

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .2s;
}
.download-card:hover { border-color: var(--border-2); }
.download-primary {
  border-color: rgba(124,58,237,.35);
  background: linear-gradient(135deg, rgba(124,58,237,.07) 0%, var(--bg-card) 60%);
}
.download-primary:hover { border-color: rgba(124,58,237,.55); }

.download-icon { color: var(--text-0); }
.download-icon-source { color: var(--text-2); }

.download-info { flex: 1; }
.download-info h3 { font-size: 15px; font-weight: 700; color: var(--text-0); margin-bottom: 4px; }
.download-info p  { font-size: 13px; color: var(--text-3); }

/* Requirements */
.requirements {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.requirements h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 20px;
}
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.req-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.req-label { font-size: 11px; font-weight: 600; color: var(--accent-mid); text-transform: uppercase; letter-spacing: .06em; }
.req-value { font-size: 13px; color: var(--text-1); }

.req-ai-options {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.req-ai-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.req-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.req-ai-item {
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.req-ai-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-0);
}
.req-ai-desc {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 6px;
}
.req-ai-item code {
  font-size: 10px;
  word-break: break-all;
}

.install-tip {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.tip-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.inline-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-1);
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  white-space: pre;
  line-height: 1.8;
}
.inline-code::selection { background: rgba(124,58,237,.3); }

/* ══════════════════════════════════════════════════════════════════════
   OPEN SOURCE
══════════════════════════════════════════════════════════════════════ */
.opensource {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.oss-card {
  background: linear-gradient(135deg, rgba(124,58,237,.1) 0%, var(--bg-card) 50%);
  border: 1px solid rgba(124,58,237,.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.oss-icon {
  color: var(--accent-mid);
  flex-shrink: 0;
  padding: 12px;
  background: rgba(124,58,237,.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124,58,237,.2);
}
.oss-content h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text-0);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.oss-content p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.oss-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}
.footer-inner {
  display: flex;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 60px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 1;
  min-width: 200px;
}
.footer-brand .nav-logo {
  display: block;
  font-size: 22px;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.footer-license { margin-top: 6px; }

.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-0);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-3);
  transition: color .15s;
}
.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--text-0); }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wf-arrow { transform: rotate(90deg); margin: -4px 0; }

  .window-body { flex-direction: column; height: auto; }
  .mock-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 8px 16px; }
  .mock-nav { flex-direction: row; flex-wrap: wrap; }
  .mock-kanban { grid-template-columns: repeat(2, 1fr); height: 260px; overflow-y: auto; }

  .oss-card { flex-direction: column; padding: 32px 24px; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .models-grid { grid-template-columns: 1fr; }
  .download-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 24px; }
  .tabs { flex-wrap: wrap; width: 100%; }
  .showcase-body { height: auto; min-height: 360px; }
  .showcase-body.two-panel { flex-direction: column; }
  .panel-left { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .mock-kanban-full { grid-template-columns: repeat(2, 1fr); }
  .dag-row { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .section-title { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .mock-kanban { grid-template-columns: 1fr; }
}


/* ── Scroll animation ─────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
