/* TUICommander Marketing Website */

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

/* === Fonts === */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Custom Properties === */
:root {
  --bg-primary: #111111;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #222222;
  --bg-card: #1e1e1e;
  --bg-highlight: #2a2a2e;
  --fg-primary: #e0e0e0;
  --fg-secondary: #a0a0a0;
  --fg-muted: #666666;
  --accent: #59a8dd;
  --accent-hover: #7abde5;
  --accent-glow: rgba(89, 168, 221, 0.15);
  --border: #2e2e32;
  --success: #4ec9b0;
  --warning: #dcdcaa;
  --error: #f48771;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
  --max-width: 1200px;
  --section-gap: 120px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* === Global === */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--fg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-gap) 0;
}

/* === sal.js animation defaults === */
[data-sal] {
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-primary);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-mono);
}
.nav-logo:hover {
  color: var(--fg-primary);
}
.nav-logo img {
  border-radius: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--fg-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--fg-primary);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}
.nav .btn-primary {
  background: #2a7ab5;
  font-weight: 600;
}
.nav .btn-primary:hover {
  background: #3590d0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 80px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  border-radius: 20px;
}
.hero h1 {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero-tagline {
  font-size: 1.2rem;
  color: var(--fg-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

/* Hero pillars */
.hero-pillars {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}
.pillar svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--fg-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-highlight);
  color: #fff;
}
.hero-screenshot {
  display: block;
  width: 100%;
}
.hero-video {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
  border: 1px solid var(--border);
}
.hero-video .hero-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
.hero-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.hero-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}
.hero-video:hover .hero-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}
.hero-video-fallback {
  text-align: center;
  margin-top: 8px;
  font-size: 0.85rem;
}
.hero-video-fallback a {
  color: var(--fg-muted);
  text-decoration: none;
}
.hero-video-fallback a:hover {
  color: var(--accent);
}
.hero-platforms {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  color: var(--fg-muted);
  font-size: 0.85rem;
}
.hero-platforms span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   INSTALL SECTION
   ============================================ */
.install-section {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: left;
}
.install-heading {
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-weight: 500;
}
.install-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  justify-content: center;
}
.install-tab {
  padding: 8px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--fg-muted);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}
.install-tab:hover {
  color: var(--fg-secondary);
}
.install-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.install-panel {
  display: none;
}
.install-panel.active {
  display: block;
}
.install-block {
  margin-bottom: 8px;
}
.install-label {
  display: block;
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.install-code {
  display: flex;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  gap: 10px;
}
.install-code code {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-primary);
  white-space: pre;
  overflow-x: auto;
  line-height: 1.5;
  -webkit-user-select: all;
  user-select: all;
}
.copy-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}
.copy-btn:hover {
  color: var(--fg-primary);
  background: var(--bg-highlight);
}
.install-divider {
  display: block;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.75rem;
  margin: 8px 0;
}
.all-downloads-link {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.all-downloads-link a {
  color: var(--fg-muted);
  transition: color 0.2s;
}
.all-downloads-link a:hover {
  color: var(--accent);
}
.version-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

/* ============================================
   AGENT BAR
   ============================================ */
.agent-bar {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.agent-bar h2 {
  text-align: center;
  font-size: 1.2rem;
  color: var(--fg-primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.agent-bar-sub {
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.agent-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.agent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s;
  min-width: 80px;
}
.agent-card:hover {
  border-color: var(--agent-color, var(--border));
  box-shadow: 0 0 20px color-mix(in srgb, var(--agent-color, transparent) 20%, transparent);
  transform: translateY(-2px);
}
.agent-card svg,
.agent-card .agent-letter {
  width: 28px;
  height: 28px;
  color: var(--agent-color);
}
.agent-card .agent-letter {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  font-family: var(--font-mono);
}
.agent-card span:last-child {
  font-size: 0.75rem;
  color: var(--fg-secondary);
}

/* ============================================
   THE PROBLEM
   ============================================ */
.the-problem {
  padding: 80px 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.the-problem h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--fg-primary);
}
.problem-quote {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  font-style: italic;
}
.problem-hook {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

/* ============================================
   VISUAL ARCHITECTURE
   ============================================ */
.architecture {
  padding: var(--section-gap) 0;
  text-align: center;
}
.architecture h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
}
.architecture-diagram {
  max-width: 600px;
  margin: 0 auto;
}
.architecture-diagram .diagram {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--fg-secondary);
  white-space: pre;
  overflow-x: auto;
}

/* ============================================
   WORKFLOW (How it works)
   ============================================ */
.workflow {
  padding: var(--section-gap) 0;
  background: var(--bg-secondary);
}
.workflow h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 48px;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.workflow-step {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.workflow-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.workflow-step p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ============================================
   FEATURE PAIR (side-by-side cards)
   ============================================ */
.feature-pair {
  padding: var(--section-gap) 0;
}
.feature-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ============================================
   FEATURE SECTIONS
   ============================================ */
.feature {
  padding: var(--section-gap) 0;
}
.feature:nth-child(even) {
  background: var(--bg-secondary);
}
.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature:nth-child(odd) .feature-inner {
  direction: ltr;
}
.feature:nth-child(even) .feature-inner {
  direction: rtl;
}
.feature:nth-child(even) .feature-content,
.feature:nth-child(even) .feature-visual {
  direction: ltr;
}
.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-problem {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding: 12px 16px;
  background: var(--bg-primary);
  border-left: 3px solid var(--error);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
  line-height: 1.5;
}
.feature-solution {
  color: var(--fg-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}
.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--fg-secondary);
  font-size: 0.9rem;
}
.feature-points li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}
.feature-highlight {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--accent-glow);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--fg-primary);
  line-height: 1.6;
}
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.feature-visual .code-block {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--fg-secondary);
  white-space: pre;
  overflow-x: auto;
}
.code-block .kw {
  color: #c586c0;
}
.code-block .fn {
  color: #dcdcaa;
}
.code-block .str {
  color: #ce9178;
}
.code-block .cmt {
  color: #6a9955;
}
.code-block .var {
  color: #9cdcfe;
}

/* Diagram block (ASCII-like flow) */
.feature-visual .diagram {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 2;
  color: var(--fg-secondary);
  white-space: pre;
  overflow-x: auto;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
  padding: var(--section-gap) 0;
}
.comparison h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.comparison-note {
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  color: var(--fg-muted);
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison-table th:first-child {
  color: var(--fg-primary);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}
.comparison-table td:first-child {
  font-weight: 500;
}
.comparison-table .highlight-col {
  background: rgba(89, 168, 221, 0.06);
}
.comparison-table th.highlight-col {
  color: var(--accent);
  font-weight: 600;
}
.check {
  color: var(--success);
}
.cross {
  color: var(--error);
  opacity: 0.6;
}
.partial {
  color: var(--warning);
}
.badge-beta {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  background: var(--warning);
  color: var(--bg);
  vertical-align: middle;
  margin-left: 0.3em;
}

/* ============================================
   TERMINAL FEATURES
   ============================================ */
.terminal-features {
  padding: 80px 0;
  background: var(--bg-secondary);
}
.terminal-features h2 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.terminal-features .subtitle {
  text-align: center;
  color: var(--fg-muted);
  margin-bottom: 32px;
  font-size: 0.9rem;
}
.terminal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.terminal-item {
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--fg-secondary);
}
.terminal-item strong {
  color: var(--fg-primary);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: var(--section-gap) 0;
}
.faq h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 48px;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-list details {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-list summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 500;
  color: var(--fg-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-list summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  content: "\2212";
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-answer {
  padding: 0 20px 16px;
  color: var(--fg-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ============================================
   BOTTOM CTA
   ============================================ */
.bottom-cta {
  padding: var(--section-gap) 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.bottom-cta h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.bottom-cta p {
  color: var(--fg-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-tech {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  opacity: 0.7;
}

/* ============================================
   BLOG INDEX
   ============================================ */
.blog-index {
  padding: 80px 0 var(--section-gap);
}
.blog-index h1 {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-index-subtitle {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-card {
  display: block;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  color: var(--fg-primary);
}
.blog-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  color: var(--fg-primary);
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.blog-card-meta time {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}
.blog-card-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--warning);
  color: var(--bg-primary);
}
.blog-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.5;
}
.blog-empty {
  color: var(--fg-muted);
  font-size: 0.9rem;
  padding: 48px 0;
  text-align: center;
}
.blog-empty code {
  font-family: var(--font-mono);
  background: var(--bg-tertiary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* ============================================
   BLOG POST
   ============================================ */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px var(--section-gap);
}
.blog-back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
  transition: color 0.2s;
}
.blog-back:hover {
  color: var(--accent);
}
.blog-post-header {
  margin-bottom: 48px;
}
.blog-post-header time {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 12px;
}
.blog-post-header h1 {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.blog-post-summary {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  line-height: 1.5;
}
.blog-section {
  margin-bottom: 40px;
}
.blog-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--fg-primary);
}
.blog-section p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}
.blog-section p:last-child {
  margin-bottom: 0;
}
.blog-figure {
  margin: 40px 0;
}
.blog-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.blog-figure figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: center;
  font-style: italic;
}
.nav-active {
  color: var(--fg-primary) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }
  .hero {
    padding: 60px 0 40px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-tagline {
    font-size: 1.05rem;
  }
  .hero-video {
    margin: 0 -12px;
    border-radius: 8px;
  }
  .hero-pillars {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .feature-pair-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-card {
    padding: 28px;
  }
  .feature-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature:nth-child(even) .feature-inner {
    direction: ltr;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .comparison-table {
    font-size: 0.8rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
  .agent-grid {
    gap: 10px;
  }
  .agent-card {
    padding: 12px 14px;
    min-width: 65px;
  }
  .install-section {
    margin: 0 auto 32px;
  }
  .install-code code {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  .install-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}
