/* ============================================================
   STC Demo — Lion Travel Business Style
   Palette:
   - Primary blue: #0066CC
   - Deep blue:    #003D7A
   - Accent:       #FF6B35 (Lion orange)
   - BG:           #F5F7FA
   - Card:         #FFFFFF
   - Text:         #1A1A2E
   - Muted:        #6B7280
   ============================================================ */

:root {
  --primary: #0066CC;
  --primary-dark: #003D7A;
  --primary-soft: #E6F0FB;
  --accent: #FF6B35;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --border: #E5E7EB;
  --success: #10B981;

  --json-key: #0066CC;
  --json-string: #2E7D32;
  --json-number: #C62828;
  --json-bracket: #4B5563;
  --json-null: #9333EA;

  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 61, 122, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 18px 40px rgba(0, 61, 122, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}


code, pre, .mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 6px;
}
.brand-title { font-size: 18px; font-weight: 700; }
.brand-sub   { font-size: 12px; opacity: 0.8; margin-top: 2px; }
.chip {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.topbar-right { display: flex; gap: 6px; align-items: center; }
.chip-link {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.chip-link:hover { background: rgba(255,255,255,0.22); }
/* 多頁導覽：當前頁高亮 / 未完成頁 disabled / 報告簡介分隔 */
.chip-current {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid #fff;
  font-weight: 700;
}
.chip-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.chip-brief {
  margin-left: 8px;
}

/* ---------- Stage ---------- */
.stage {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px 60px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
  color: var(--text);
}
.hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}
.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 4px;
}

/* Hero - row 版（圖示 + 標題 + 副標 橫向，類似 section header） */
.hero.hero-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 18px;
  margin-bottom: 24px;
}
.hero.hero-row .hero-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFE4D3 0%, #FFFFFF 100%);
  border: 1px solid #FFD4B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.hero.hero-row .hero-text { min-width: 0; }
.hero.hero-row h1 {
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 4px;
  letter-spacing: -0.6px;
  color: var(--text);
  line-height: 1.2;
}
.hero.hero-row h1::after { display: none; }
.hero.hero-row .subtitle {
  margin: 0;
  font-size: 14px;
}
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 102, 204, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.play-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 102, 204, 0.4);
}
.play-btn:active { transform: translateY(0); }
.play-btn.playing { background: var(--muted); cursor: not-allowed; }
.play-icon { font-size: 14px; }

/* ---------- Performance strip ---------- */
.perf-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}
.perf-item {
  text-align: center;
  padding: 4px 16px;
  min-width: 0;
}
.perf-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.perf-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -1px;
}
.perf-value.primary { color: var(--primary); }
.perf-value.accent  { color: var(--accent); }
.perf-value.live    { color: var(--primary-dark); }
.perf-unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
  letter-spacing: 0;
}
.perf-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.perf-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}
@media (max-width: 900px) {
  .perf-strip {
    grid-template-columns: 1fr 1fr;
    gap: 16px 0;
  }
  .perf-divider { display: none; }
  .perf-value   { font-size: 24px; }
}

/* card timer badge */
.card-timer {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  padding: 2px 8px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.card-timer.show    { opacity: 1; }
.llm-card.thinking .card-timer { color: var(--primary);   background: var(--primary-soft); }
.llm-card.done     .card-timer { color: #047857;          background: #D1FAE5; }

/* ---------- Step labels ---------- */
.step { margin-bottom: 8px; }
.step-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ---------- Input box ---------- */
.input-step { max-width: 760px; margin: 0 auto 12px; }
.input-box {
  background: var(--card);
  border: 2px solid var(--primary-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.input-box.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.12), var(--shadow-md);
}
.input-icon { font-size: 24px; }
.input-text { white-space: pre-wrap; }
.cursor {
  color: var(--primary);
  font-weight: 700;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
  opacity: 0;
}
.cursor.show { opacity: 1; }
@keyframes blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ---------- Split flow lines ---------- */
.split-wrap {
  height: 90px;
  max-width: 980px;
  margin: 4px auto -4px;
  position: relative;
}
.split-svg {
  width: 100%;
  height: 100%;
}
.flow-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.flow-line.active { stroke-dashoffset: 0; }

/* ---------- LLM cards ---------- */
.llm-step { margin-bottom: 28px; }
.llm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.llm-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.llm-card.thinking {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1), var(--shadow-md);
}
.llm-card.done {
  border-color: var(--success);
  box-shadow: var(--shadow-md);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #FAFBFD 0%, #FFFFFF 100%);
}
.card-title { display: flex; align-items: center; gap: 10px; }
.card-emoji { font-size: 20px; }
.card-name  { font-size: 16px; font-weight: 700; }
.card-tag {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
}
.card-tag.success { background: #D1FAE5; color: #047857; }

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: #FAFBFD;
  min-height: 38px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.llm-card.thinking .status-dot {
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.6);
  animation: pulse 1.2s ease-out infinite;
}
.llm-card.done .status-dot { background: var(--success); }
.llm-card.thinking .status-text { color: var(--primary); font-weight: 600; }
.llm-card.done .status-text    { color: var(--success); font-weight: 600; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(0, 102, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0); }
}

.json-box {
  margin: 0;
  padding: 18px 20px;
  background: #0F172A;
  color: #E2E8F0;
  font-size: 13px;
  line-height: 1.7;
  min-height: 240px;
  max-height: 360px;
  overflow: auto;
  white-space: pre;
  font-family: "JetBrains Mono", monospace;
}
.json-box code { display: block; font-family: inherit; }
.card-foot {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--muted);
  background: #FAFBFD;
  border-top: 1px solid var(--border);
}

/* JSON syntax highlight */
.tok-key     { color: #60A5FA; }
.tok-string  { color: #86EFAC; }
.tok-number  { color: #FCA5A5; }
.tok-bool    { color: #C4B5FD; }
.tok-null    { color: #C4B5FD; }
.tok-bracket { color: #94A3B8; }
.tok-comma   { color: #94A3B8; }

/* ---------- Merged section ---------- */
.merged-step {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.merged-step.show {
  opacity: 1;
  transform: translateY(0);
}
.merged-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.12), var(--shadow-md);
  overflow: hidden;
}
.merged-card .card-header {
  background: linear-gradient(120deg, #FFF5F0 0%, #FFFFFF 100%);
}

/* ---------- Insight callout ---------- */
.insight-step {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.insight-step.show {
  opacity: 1;
  transform: translateY(0);
}
.insight-card {
  background: linear-gradient(120deg, #FFF8F0 0%, #FFFFFF 60%);
  border: 1px solid #FFE0CC;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}
.insight-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.insight-body { flex: 1; }
.insight-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.insight-title .hl {
  color: var(--accent);
  font-weight: 900;
  font-size: 20px;
}
.insight-text {
  font-size: 14px;
  line-height: 1.75;
  color: #374151;
}
.insight-text code {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.insight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.insight-tag {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================================
   Page 1 — Pipeline 全貌
   ============================================================ */

.pipeline-section {
  margin: 24px 0 36px;
  position: relative;
}

.pipeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pipeline-head-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pipeline-head-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, #FFFFFF 100%);
  border: 1px solid var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.pipeline-head-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.pipeline-head-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 18px;
  box-shadow: 0 10px 30px rgba(0, 61, 122, 0.08), var(--shadow-md);
  border-top: 4px solid var(--primary);
}

.pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 10px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid transparent;
  opacity: 0.35;
  transition: opacity 0.4s ease, border-color 0.4s ease,
              background 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  min-width: 0;
  position: relative;
}
.pipe-step.lit {
  opacity: 1;
  background: var(--card);
  border-color: var(--primary-soft);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.1);
}
.pipe-step.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 102, 204, 0.22);
}
.pipe-step.highlight.lit {
  border-color: var(--accent);
  background: linear-gradient(180deg, #FFF8F0 0%, #FFFFFF 100%);
}
.pipe-step.end.lit {
  border-color: var(--success);
  background: #F0FDF6;
}
.pipe-step.lf-step {
  text-decoration: none;
  cursor: pointer;
}
.pipe-step.lf-step.lit {
  border-color: #6D28D9;
  background: linear-gradient(160deg, #2D1B69 0%, #4C1D95 70%, #5B21B6 100%);
  box-shadow: 0 6px 20px rgba(76, 29, 149, 0.32);
}
.pipe-step.lf-step.lit .pipe-num   { color: #C4B5FD; }
.pipe-step.lf-step.lit .pipe-title { color: #FFFFFF; }
.pipe-step.lf-step.lit .pipe-desc  { color: #E9D5FF; }
.pipe-step.lf-step.lit .pipe-meta  {
  color: #FFFFFF;
  background: rgba(255, 107, 53, 0.9);
  font-weight: 800;
  letter-spacing: 0.6px;
}
.pipe-step.lf-step.lit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(76, 29, 149, 0.45);
}
.pipe-arrow.dashed {
  color: #C4B5FD;
  font-style: italic;
  position: relative;
}
.pipe-arrow.dashed::before {
  content: "觀測";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #6D28D9;
  background: #F5F0FF;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.pipe-icon { font-size: 28px; margin-bottom: 6px; line-height: 1; }
.pipe-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.pipe-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}
.pipe-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
  flex: 1;
}
.pipe-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin-top: auto;
}
.pipe-step.highlight .pipe-meta { color: var(--accent); background: #FFE4D3; }
.pipe-step.end .pipe-meta { color: #047857; background: #D1FAE5; }
.pipe-link {
  font-size: 10px;
  color: var(--primary);
  text-decoration: none;
  margin-top: 5px;
  font-weight: 600;
  line-height: 1.3;
}
.pipe-link:hover { text-decoration: underline; }
.pipe-link.disabled { color: var(--muted); pointer-events: none; }
.pipe-step.highlight .pipe-link { color: var(--accent); }

.pipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--border);
  font-weight: 900;
  padding: 0 4px;
  transition: color 0.4s ease, transform 0.4s ease;
}
.pipe-arrow.lit {
  color: var(--primary);
  transform: scale(1.15);
}

.pipeline-overlay {
  margin-top: 14px;
  padding: 0 24px;
}
.langfuse-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: linear-gradient(90deg, #F5F0FF 0%, #FFFFFF 100%);
  border: 1px dashed #C4B5FD;
  border-radius: 999px;
  font-size: 13px;
  color: #4C1D95;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.langfuse-rail.show { opacity: 1; transform: translateY(0); }
.rail-icon { font-size: 18px; }
.rail-text { flex: 1; }
.rail-link {
  font-size: 12px;
  color: #6D28D9;
  font-weight: 700;
  text-decoration: none;
}
.rail-link.disabled { color: #9CA3AF; pointer-events: none; }

/* 端到端摘要 */
.pipeline-summary {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.summary-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 36px;
  box-shadow: var(--shadow-sm);
  min-width: 360px;
}
.summary-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.summary-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.summary-unit {
  font-size: 18px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 4px;
}
.summary-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* ============================================================
   Demo 區塊 — 輸入查詢 → 產品卡片
   ============================================================ */
.demo-section { margin-bottom: 32px; }
.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.demo-header .step-label { margin-bottom: 0; }
.play-btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}
.demo-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.demo-input-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.demo-input-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.demo-input-box {
  background: #F9FAFC;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.demo-input-box.active {
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.18);
}
.demo-input-icon { font-size: 22px; }
.demo-input-text { white-space: pre-wrap; }
.demo-cursor {
  color: var(--primary);
  font-weight: 700;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
  opacity: 0;
}
.demo-cursor.show { opacity: 1; }

.demo-arrow-flow {
  align-self: center;
  font-size: 26px;
  color: var(--border);
  font-weight: 900;
  margin: 12px 0;
  line-height: 1;
  transition: color 0.4s ease, transform 0.4s ease;
}
.demo-arrow-flow.lit {
  color: var(--primary);
  transform: scale(1.1);
}
.demo-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.demo-meta.lit { opacity: 1; }
.demo-meta-pill {
  background: var(--muted);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease;
}
.demo-meta-pill.processing { background: var(--primary); }
.demo-meta-pill.processing::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: dotPulse 1s ease-in-out infinite;
}
.demo-meta-pill.done { background: var(--success); }
.demo-meta-pill.done::before { content: "✓"; font-size: 13px; }
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}
.demo-meta-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.demo-meta-time .demo-meta-unit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 3px;
}
.demo-meta-source {
  font-size: 10.5px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.2px;
}

.demo-output-side { min-width: 0; }
.demo-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.demo-cards.demo-cards-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 900px) {
  .demo-cards.demo-cards-2x2 { grid-template-columns: 1fr; }
}
.demo-source {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  margin-top: 4px;
}

/* 產品卡 (PingFang TC + 雄獅前端風格 · 美化版) */
.pc {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  opacity: 0;
  transform: translateY(10px);
}
.pc.shown {
  opacity: 1;
  transform: translateY(0);
}
.pc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-soft);
}
.pc:hover .pc-img { transform: scale(1.06); }
.pc:hover .pc-cta { background: var(--primary-dark); }

/* 排名徽章（左上） */
.pc-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* 圖片區（含右下角類型 tag） */
.pc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F3F4F6;
}
.pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pc-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.pc-tag-htl { background: #DBEAFE; color: #1E40AF; }
.pc-tag-vac { background: #FEF3C7; color: #92400E; }
.pc-tag-grp { background: #FCE7F3; color: #BE185D; }
.pc-tag-flt { background: #D1FAE5; color: #047857; }
.pc-chip-theme { background: #FEF3C7 !important; color: #92400E !important; font-weight: 700; }
.pc-chip-route { background: #D1FAE5 !important; color: #047857 !important; font-weight: 700; font-family: "JetBrains Mono", monospace; }

/* 內文區 */
.pc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 14px;
}
.pc-title {
  color: #1A1A2E;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px;
}
.pc-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pc-stars {
  color: #FF8400;
  font-size: 14px;
  letter-spacing: -1px;
}
.pc-stars .pc-half {
  background: linear-gradient(90deg, #FF8400 50%, #E0E0E0 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pc-rating-badge {
  background: #3EA5D9;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px 3px 10px 3px;
}
.pc-rating-count {
  color: #999;
  font-size: 11px;
}
.pc-meta-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pc-chip {
  background: #F3F4F6;
  color: #4B5563;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #F3F4F6;
}
.pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.pc-currency, .pc-amount {
  color: #F03742;
  font-weight: 700;
}
.pc-currency { font-size: 12px; }
.pc-amount   { font-size: 22px; letter-spacing: -0.5px; }
.pc-unit {
  color: #888;
  font-size: 11px;
  font-weight: 500;
}
.pc-cta {
  font-family: inherit;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.22);
}
.pc-cta:active { transform: scale(0.96); }

@media (max-width: 900px) {
  .demo-wrap { grid-template-columns: 1fr; }
  .demo-arrow-flow { transform: rotate(0); }
}

/* ============================================================
   實際前端 UI 截圖區
   ============================================================ */
.ui-shot-section { margin-bottom: 20px; margin-top: 4px; }
.ui-shot-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px 24px;
  box-shadow: var(--shadow-md);
}
.ui-shot-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  text-align: center;
}
.ui-shot-anno-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.45;
  margin-bottom: 20px;
  text-align: center;
}
.ui-shot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
}
.ui-shot-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}
.ui-shot-bullet {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
}
.ui-shot-link {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}
.ui-shot-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px dotted var(--primary);
  padding-bottom: 2px;
}
.ui-shot-link a:hover { color: var(--primary-dark); }

.ui-shot-handoff {
  margin-top: 18px;
  padding: 10px 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 0.3px;
}

.ui-shot-frame {
  background: linear-gradient(160deg, #FFE4D3 0%, #FAFBFD 70%);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.ui-shot-frame img {
  width: 100%;
  max-width: 330px;
  height: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: block;
}

@media (max-width: 900px) {
  .ui-shot-wrap { grid-template-columns: 1fr; }
}

/* Langfuse 實機入口（大卡片） */
.langfuse-feature {
  margin-bottom: 28px;
}
.langfuse-card {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(120deg, #2D1B69 0%, #4C1D95 50%, #5B21B6 100%);
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: 0 10px 28px rgba(76, 29, 149, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.langfuse-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.langfuse-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(76, 29, 149, 0.35);
}
.lf-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  z-index: 1;
}
.lf-badge {
  background: #FF6B35;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  padding: 3px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(255, 107, 53, 0.4);
}
.lf-emoji { font-size: 40px; line-height: 1; }
.lf-body { flex: 1; z-index: 1; }
.lf-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.lf-text {
  font-size: 13.5px;
  color: #E9D5FF;
  line-height: 1.6;
  margin-bottom: 10px;
}
.lf-url {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  color: #C4B5FD;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}
.lf-arrow {
  font-size: 28px;
  color: #C4B5FD;
  font-weight: 300;
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.2s ease;
}
.langfuse-card:hover .lf-arrow { transform: translate(2px, -2px); }
@media (max-width: 700px) {
  .langfuse-card { flex-direction: column; text-align: center; }
  .lf-arrow { display: none; }
}

/* 三條優化主軸卡片 */
.theme-section { margin-bottom: 32px; }
.theme-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.theme-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
}
.theme-card.show { opacity: 1; transform: translateY(0); }
.theme-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.theme-card.disabled { cursor: default; opacity: 0.6; }
.theme-card.disabled.show { opacity: 0.6; }
.theme-card.disabled:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.theme-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.theme-card.disabled .theme-tag { background: #F3F4F6; color: var(--muted); }
.theme-emoji {
  font-size: 28px;
  margin-bottom: 8px;
  line-height: 1;
}
.theme-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.theme-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pipe-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .pipe-arrow.lit { transform: rotate(90deg) scale(1.15); }
  .theme-grid { grid-template-columns: 1fr; }
}

/* ---------- Prompts reference section ---------- */
.prompts-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
}
.prompts-intro {
  font-size: 13px;
  color: var(--muted);
  margin: -4px 0 16px;
  line-height: 1.7;
}
.prompts-intro code {
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.prompt-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--border);
}
.prompt-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}
.prompt-tab:hover { color: var(--primary); }
.prompt-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.prompt-meta {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
}
.prompt-tab:not(.active) .prompt-meta {
  background: #F3F4F6;
  color: var(--muted);
}
.prompt-stage {
  background: #0F172A;
  border-radius: 0 0 var(--radius) var(--radius);
  border: 1px solid #1E293B;
  border-top: none;
  position: relative;
  overflow: hidden;
}
.prompt-pre {
  display: none;
  margin: 0;
  padding: 22px 26px;
  background: transparent;
  color: #E2E8F0;
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 480px;
  overflow: auto;
}
.prompt-pre.active { display: block; }
.prompt-pre code { font-family: inherit; }
.prompt-pre::-webkit-scrollbar      { width: 8px; }
.prompt-pre::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
.prompt-source-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  text-align: right;
}
.prompt-source-note code {
  background: #F3F4F6;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* ============================================================
   Page 4 — Langfuse 觀測（feature inventory）
   ============================================================ */
.lf-strip .perf-value.lf-color { color: #6D28D9; }

.lf-section { margin-bottom: 40px; }
.lf-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.lf-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.lf-section-icon.ok   { background: #D1FAE5; }
.lf-section-icon.plan { background: #FEF3C7; }
.lf-section-icon.adv  { background: #E0E7FF; }
.lf-section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}
.lf-section-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Section 1: cards */
.lf-grid {
  display: grid;
  gap: 16px;
}
.lf-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.lf-grid-2 { grid-template-columns: 1fr 1fr; gap: 20px; }

.lf-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.lf-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.lf-card.highlight {
  border-color: #C4B5FD;
  background: linear-gradient(160deg, #FAF5FF 0%, #FFFFFF 60%);
}
.lf-card-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}
.lf-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.lf-card-desc {
  font-size: 14px;
  color: #4B5563;
  line-height: 1.7;
}
.lf-card-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: #FAFBFD;
  border-radius: 8px;
  margin-top: 4px;
}
.lf-card.highlight .lf-card-stat { background: rgba(196, 181, 253, 0.12); }
.lf-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.lf-stat-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
}
.lf-card.highlight .lf-stat-value { color: #6D28D9; }
.lf-card-note {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}
.lf-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.lf-mini-tag {
  font-size: 10.5px;
  background: #F3F4F6;
  color: #4B5563;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
}
.lf-mini-tag.label {
  background: #E0E7FF;
  color: #4338CA;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

/* 全鏈路 Trace - 7 種類型 prominent tags */
.lf-trace-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.lf-trace-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
  border: 1px solid #C7D2FE;
  color: #312E81;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lf-trace-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(76, 29, 149, 0.18);
}

/* Section 2: plan list */
.lf-plan-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lf-plan-item {
  display: grid;
  grid-template-columns: 50px 50px 1fr;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid #F59E0B;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lf-plan-item:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-md);
}
.lf-plan-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 900;
  color: #F59E0B;
  letter-spacing: -1px;
  line-height: 1;
  padding-top: 4px;
}
.lf-plan-icon {
  font-size: 26px;
  line-height: 1;
}
.lf-plan-body { min-width: 0; }
.lf-plan-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.lf-plan-current,
.lf-plan-future {
  font-size: 12.5px;
  line-height: 1.65;
  color: #4B5563;
  margin-bottom: 2px;
}
.lf-plan-current strong { color: var(--muted); }
.lf-plan-future strong  { color: #047857; }

/* Section 3: advanced chips */
.lf-adv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lf-adv-chip {
  font-size: 13px;
  font-weight: 600;
  color: #4338CA;
  background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
  border: 1px solid #C7D2FE;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .lf-grid-3 { grid-template-columns: 1fr; }
  .lf-plan-item { grid-template-columns: 40px 1fr; }
  .lf-plan-icon { display: none; }
}

/* ---------- Footer ---------- */
.footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px 40px;
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.footer-dot { opacity: 0.5; }

/* ---------- Responsive (just in case) ---------- */
@media (max-width: 900px) {
  .llm-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .stage   { padding: 24px 18px; }
  .topbar-right { display: none; }
}
