:root {
  --bg: #000000;
  --bg-card: rgba(255,255,255,0.03);
  --bg-card-hover: rgba(255,255,255,0.06);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.85);
  --text-body: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.4);
  --border: rgba(255,255,255,0.1);
  --border-card: rgba(255,255,255,0.12);
  --accent: #00d4ff;
  --accent-glow: rgba(0,212,255,0.15);
  --accent-dark: #0a8fb3;
  --accent-secondary: #00ff88;
  --danger: #ff4d4d;
  --warn: #ffb800;
  --success: #00ff88;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --max-w: 1200px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-size: 22px; font-weight: 800; color: var(--text-primary);
  letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px;
  text-decoration: none !important;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text-body); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }
/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative; z-index: 102;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 1px; transition: all 0.25s;
  pointer-events: none;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(2.5px, 2.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(2.5px, -2.5px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; border: none; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: #1a3a6e; color: #fff;
}
.btn-primary:hover { background: #244d8f; }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: var(--text-primary);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* ── AMBIENT GLOW DECORATIONS ── */
.page-wrapper {
  position: relative; overflow: hidden;
}
.glows-container {
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none; z-index: 0;
}
.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.glow-1 { /* Hero top-left: bright green */
  width: 1000px; height: 1000px; top: -100px; left: 0px;
  background: rgba(0, 180, 80, 0.45);
  filter: blur(200px);
}
.glow-2 { /* Hero top-right: deep blue */
  width: 800px; height: 800px; top: 50px; right: 0px;
  background: rgba(0, 50, 160, 0.45);
  filter: blur(180px);
}
.glow-3 { /* Problem section: teal-green left */
  width: 900px; height: 900px; top: 1300px; left: 0px;
  background: rgba(0, 140, 90, 0.35);
  filter: blur(200px);
}
.glow-4 { /* How it works: blue right */
  width: 1000px; height: 900px; top: 2400px; right: 0px;
  background: rgba(0, 40, 150, 0.4);
  filter: blur(220px);
}
.glow-5 { /* Features: green center */
  width: 1200px; height: 700px; top: 3600px; left: 50%; margin-left: -400px;
  background: rgba(0, 160, 80, 0.3);
  filter: blur(220px);
}
.glow-6 { /* Terminal: blue left */
  width: 800px; height: 800px; top: 4800px; left: 0px;
  background: rgba(0, 60, 160, 0.4);
  filter: blur(180px);
}
.glow-7 { /* Agents/CTA: green right */
  width: 1000px; height: 1000px; top: 6200px; right: 0px;
  background: rgba(0, 180, 80, 0.35);
  filter: blur(220px);
}
.glow-8 { /* Footer: blue left */
  width: 700px; height: 700px; top: 7400px; left: 50px;
  background: rgba(0, 40, 140, 0.4);
  filter: blur(180px);
}

/* ── SECTIONS ── */
section { padding: 120px 32px; position: relative; }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,212,255,0.25); border-radius: var(--radius-pill);
  padding: 6px 16px; margin-bottom: 24px;
}
.section-title {
  font-size: 44px; font-weight: 700; line-height: 1.15;
  color: var(--text-primary); letter-spacing: -1px;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 18px; color: var(--text-body); max-width: 700px;
  line-height: 1.7; margin-left: auto; margin-right: auto;
}

/* ── HERO ── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .section-title {
  font-size: 50px; line-height: 1.15; max-width: 900px; margin: 0 auto 16px;
}
.hero-tagline {
  font-size: 20px; color: var(--accent); font-weight: 500;
  margin-bottom: 24px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-sub {
  font-size: 17px; color: var(--text-body); max-width: 760px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 16px; }
.hero-cta .btn { padding: 14px 36px; font-size: 16px; }
.hero-note { font-size: 13px; color: var(--text-muted); }

/* ── HERO AGENTS (protected logos) ── */
.hero-agents {
  margin-top: 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-agent-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  transition: all 0.25s;
  text-decoration: none;
}
.hero-agent-chip:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.hero-agent-icon {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}
.hero-agent-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.hero-agent-status {
  font-size: 13px;
  margin-left: 2px;
}
.status-live {
  color: var(--success);
}
.status-pending {
  font-size: 12px;
  opacity: 0.7;
}
.hero-agent-live {
  border-color: rgba(0,255,136,0.2);
}
.hero-agent-pending {
  border-color: rgba(255,255,255,0.08);
  opacity: 0.75;
}

.hero-screenshot {
  margin-top: 64px; max-width: 1000px; margin-left: auto; margin-right: auto;
  border-radius: var(--radius-lg); border: 1px solid var(--border-card);
  overflow: hidden; background: var(--bg-card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 80px rgba(0,180,80,0.12), 0 0 120px rgba(0,50,130,0.08);
  color: var(--text-muted); font-size: 14px;
}
.hero-screenshot img { width: 100%; display: block; border-radius: var(--radius-lg); }

/* ── TRUST BAR ── */
.trust-bar {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.trust-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  font-size: 14px; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.trust-item strong { color: var(--text-secondary); }
.trust-divider { width: 1px; height: 20px; background: var(--border); }

.text-center { text-align: center; }
.text-danger { color: #ff4d4d; }
.code-danger {
  color: var(--danger); background: rgba(255,77,77,0.1);
  padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-mono); font-size: 13px; white-space: nowrap;
}
.t-denied { color: var(--danger); }

/* ── PROBLEM ── */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.25s;
  display: flex; flex-direction: column;
  position: relative;
}
.problem-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.problem-card .card-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.problem-card .icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.icon-danger { background: rgba(255,77,77,0.12); color: var(--danger); border: 1px solid rgba(255,77,77,0.15); }
.icon-warn { background: rgba(255,184,0,0.12); color: var(--warn); border: 1px solid rgba(255,184,0,0.15); }
.icon-info { background: rgba(0,212,255,0.12); color: var(--accent); border: 1px solid rgba(0,212,255,0.15); }
.problem-card h3 {
  font-size: 18px; font-weight: 700; color: var(--text-primary);
  line-height: 1.3; margin: 0;
}
.problem-card p { font-size: 15px; line-height: 1.7; flex: 1; }

/* ── HOW IT WORKS ── */
.how-it-works { text-align: center; }
.how-it-works .section-subtitle { margin: 0 auto 48px; }
.stack-diagram {
  max-width: 800px; margin: 0 auto 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stack-layer {
  display: flex; align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.stack-layer:hover { background: rgba(255,255,255,0.03); }
.stack-layer:last-child { border-bottom: none; }
.stack-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,212,255,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0; margin-right: 16px;
}
.stack-info { text-align: left; }
.stack-info h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.stack-info p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.stack-footer {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; max-width: 800px; margin: 24px auto 0;
}
.stack-footer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 20px 24px; text-align: left;
}
.stack-footer-card h4 {
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 6px; display: flex; align-items: center; gap: 8px;
}
.stack-footer-card p { font-size: 13px; line-height: 1.5; }

.callout {
  max-width: 800px; margin: 48px auto 0;
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.15);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px; text-align: left;
}
.callout h4 { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.callout p { font-size: 15px; line-height: 1.65; }

/* ── FEATURES / DIFFERENTIATORS ── */
.features-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 20px; margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); }
.feature-card:hover::before { opacity: 1; }
.feature-card .f-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,212,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 20px;
}
.feature-card h3 {
  font-size: 15px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 10px; line-height: 1.3;
}
.feature-card p { font-size: 13px; line-height: 1.55; }

/* ── TERMINAL OUTPUT ── */
.terminal-section { text-align: center; }
.terminal-section .section-subtitle { margin: 0 auto 48px; }
.terminal {
  max-width: 900px; margin: 0 auto;
  background: #0a0a0a;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden; text-align: left;
}
.terminal-header {
  background: rgba(255,255,255,0.05);
  padding: 12px 20px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.terminal-dot.r { background: #ff5f57; }
.terminal-dot.y { background: #febc2e; }
.terminal-dot.g { background: #28c840; }
.terminal-title {
  font-size: 12px; color: var(--text-muted); margin-left: 8px;
  font-family: var(--font-mono);
}
.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
}
.t-category {
  color: var(--text-muted); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 16px; margin-bottom: 4px;
}
.t-category:first-child { margin-top: 0; }
.t-block { color: var(--danger); }
.t-allow { color: var(--success); }
.t-hold { color: var(--warn); }
.t-warn { color: var(--warn); }
.t-path { color: var(--text-secondary); }
.t-reason { color: var(--text-muted); }
.t-approval { color: var(--accent); padding-left: 24px; }
.t-group { color: #c084fc; padding-left: 32px; font-size: 12px; }

/* ── AGENT SUPPORT ── */
.agents-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px; text-align: center;
}
.agent-card.active { border-color: rgba(0,212,255,0.3); }
.agent-card.muted { opacity: 0.6; }
.agent-card h3 {
  font-size: 18px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 8px;
}
.agent-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.badge-live { background: rgba(0,255,136,0.12); color: var(--success); }
.badge-soon { background: rgba(0,212,255,0.12); color: var(--accent); }
.badge-any { background: rgba(255,255,255,0.08); color: var(--text-body); }
.agent-card p { font-size: 14px; line-height: 1.6; }
.agents-note {
  margin-top: 32px; font-size: 14px; color: var(--text-muted);
  font-style: italic; max-width: 700px; margin-left: auto; margin-right: auto;
  text-align: center;
}

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section .section-subtitle { margin: 0 auto; }
.cta-form {
  max-width: 480px; margin: 40px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.cta-form .field { margin-bottom: 16px; text-align: left; }
.cta-form label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 6px;
}
.cta-form input, .cta-form select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font); font-size: 15px;
  transition: border-color 0.2s;
}
.cta-form input:focus, .cta-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0,212,255,0.03);
}
.cta-form select { cursor: pointer; }
.cta-form select option { background: #111; }
.cta-form .btn-primary { width: 100%; padding: 14px; font-size: 16px; margin-top: 8px; }
.cta-form .form-note {
  font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center;
}
.field-error {
  font-size: 13px; color: var(--danger); margin-top: 6px;
}
.input-error {
  border-color: var(--danger) !important;
  background: rgba(255,77,77,0.05) !important;
}

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after {
  content: '+'; font-size: 22px; color: var(--accent); font-weight: 400;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { content: '-'; }
.faq-a {
  font-size: 15px; line-height: 1.7; margin-top: 12px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ── NEWS PAGE ── */
.news-page {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  min-height: 60vh;
}
.news-page .section-title {
  margin-bottom: 48px;
}
.news-list {
  max-width: 760px;
  margin: 0 auto;
}
.news-item {
  border-left: 3px solid var(--accent);
  padding: 24px 0 24px 28px;
  margin-bottom: 48px;
}
.news-item:last-child { margin-bottom: 0; }
/* Shared accent date label */
.date-label {
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
}
.news-date {
  display: block;
  margin-bottom: 8px;
}
.news-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}
.news-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
}
.news-item .btn { font-size: 14px; }

/* ── FOOTER ── */
.footer {
  padding: 64px 32px 32px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand img { height: 80px; width: auto; opacity: 0.8; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.footer-col h4 {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-muted);
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w); margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted);
}

/* ── BLOG INDEX ── */
.blog-index {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  min-height: 60vh;
  position: relative; overflow: hidden;
}
.blog-index::before {
  content: '';
  position: absolute; top: -100px; left: 0;
  width: 1000px; height: 1000px;
  background: rgba(0, 180, 80, 0.18);
  filter: blur(200px);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.blog-index::after {
  content: '';
  position: absolute; top: 50px; right: 0;
  width: 800px; height: 800px;
  background: rgba(0, 50, 160, 0.18);
  filter: blur(180px);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.blog-index > .container { position: relative; z-index: 1; }
.blog-index .section-title { margin-bottom: 48px; }
.blog-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.blog-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s;
}
.blog-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  text-decoration: none;
}
.blog-card-date {
  margin-bottom: 12px;
}
.blog-card-title {
  font-size: 24px; font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3; margin-bottom: 12px;
}
.blog-card-desc {
  font-size: 15px; color: var(--text-body); line-height: 1.6;
}
.blog-card-read {
  display: inline-block; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.blog-empty {
  text-align: center; color: var(--text-muted);
  font-size: 16px; padding: 48px 0;
}

/* ── BLOG POST ── */
.blog-page {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  min-height: 60vh;
  position: relative; overflow: hidden;
}
.blog-page::before {
  content: '';
  position: absolute; top: -100px; left: 0;
  width: 1000px; height: 1000px;
  background: rgba(0, 180, 80, 0.18);
  filter: blur(200px);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.blog-page::after {
  content: '';
  position: absolute; top: 50px; right: 0;
  width: 800px; height: 800px;
  background: rgba(0, 50, 160, 0.18);
  filter: blur(180px);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.blog-page > .container { position: relative; z-index: 1; }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.blog-main { min-width: 0; overflow-x: hidden; }
.blog-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.blog-back {
  font-size: 14px; color: var(--accent); font-weight: 500;
  margin-right: auto;
}
.blog-author {
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
.blog-category {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,212,255,0.25); border-radius: var(--radius-pill);
  padding: 5px 14px; margin-bottom: 16px;
}
.blog-title {
  font-size: 40px; font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2; margin-bottom: 40px;
}
.blog-content {
  font-size: 17px; line-height: 1.8;
  color: var(--text-body);
}

/* ── BLOG SIDEBAR ── */
.blog-sidebar {
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.sidebar-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-heading {
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.sidebar-post {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: background 0.2s;
}
.sidebar-post:hover {
  background: rgba(255,255,255,0.05);
  text-decoration: none;
}
.sidebar-post.active {
  background: rgba(0,212,255,0.08);
  border-left: 2px solid var(--accent);
}
.sidebar-post-date {
  display: block;
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.sidebar-post-title {
  display: block;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
}
.sidebar-post.active .sidebar-post-title { color: var(--accent); }
.sidebar-post:hover .sidebar-post-title { color: var(--text-primary); }
.blog-content h2 {
  font-size: 28px; font-weight: 700;
  color: var(--text-primary);
  margin-top: 48px; margin-bottom: 16px; line-height: 1.3;
}
.blog-content h3 {
  font-size: 22px; font-weight: 600;
  color: var(--text-primary);
  margin-top: 36px; margin-bottom: 12px; line-height: 1.3;
}
.blog-content h4 {
  font-size: 18px; font-weight: 600;
  color: var(--text-secondary);
  margin-top: 28px; margin-bottom: 10px;
}
.blog-content p { margin-bottom: 20px; }
.blog-content a {
  color: var(--accent); text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-content a:hover { color: var(--text-primary); }
.blog-content img {
  max-width: 100%; height: auto;
  border-radius: var(--radius);
  margin: 24px 0;
  border: 1px solid var(--border-card);
}
.blog-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 24px; margin: 24px 0;
  background: rgba(0,212,255,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.blog-content blockquote p { margin-bottom: 0; color: var(--text-secondary); }
.blog-content code {
  font-family: var(--font-mono); font-size: 0.9em;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px; border-radius: 4px;
  color: var(--text-secondary);
}
.blog-content pre {
  background: #0a0a0a;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 20px 24px; margin: 24px 0;
  overflow-x: auto;
}
.blog-content pre code {
  background: none; padding: 0;
  font-size: 14px; line-height: 1.6;
}
.blog-content ul, .blog-content ol {
  padding-left: 24px; margin-bottom: 20px;
}
.blog-content li { margin-bottom: 8px; line-height: 1.7; }
.blog-content strong { color: var(--text-secondary); font-weight: 600; }
.blog-content table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 15px;
  display: block; overflow-x: auto;
}
.blog-content th, .blog-content td {
  padding: 10px 16px; text-align: left;
  border: 1px solid var(--border-card);
}
.blog-content th {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary); font-weight: 600;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
}
.blog-content td { color: var(--text-body); }
.blog-content tr:hover td { background: rgba(255,255,255,0.02); }
.blog-content hr {
  border: none; border-top: 1px solid var(--border); margin: 40px 0;
}

/* ── BLOG POST NAV (prev / next) ── */
.blog-post-nav {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 24px;
}
.blog-post-nav a {
  display: block; padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  max-width: 48%; transition: all 0.2s;
}
.blog-post-nav a:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.18);
  text-decoration: none;
}
.blog-nav-next { text-align: right; margin-left: auto; }
.blog-post-nav .nav-label {
  display: block;
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 4px;
}
.blog-post-nav .nav-title {
  font-size: 15px; font-weight: 600;
  color: var(--text-primary); line-height: 1.4;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .hero .section-title { font-size: 44px; }
  .section-title { font-size: 36px; }
}
@media (max-width: 768px) {
  section { padding: 72px 20px; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }
  .hero .section-title { font-size: 32px; line-height: 1.2; }
  .hero-tagline { font-size: 16px; }
  .hero-sub { font-size: 15px; }
  .hero-agents { gap: 8px; margin-top: 20px; margin-bottom: 20px; }
  .hero-agent-chip { padding: 6px 14px 6px 8px; gap: 8px; }
  .hero-agent-icon { height: 26px; width: 26px; }
  .hero-agent-name { font-size: 13px; }
  .hero-screenshot { margin-top: 40px; }
  .hero-screenshot img { border-radius: var(--radius); }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 24px; }
  .problem-card p { font-size: 14px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-card { padding: 20px; }
  .feature-card h3 { font-size: 14px; }
  .feature-card p { font-size: 12px; }
  .agents-grid { grid-template-columns: 1fr; }
  .stack-diagram { max-width: 100%; }
  .stack-footer { grid-template-columns: 1fr; }
  .terminal-body { font-size: 11px; padding: 16px; }
  .callout { padding: 20px; }
  .callout h4 { font-size: 15px; }
  .callout p { font-size: 14px; }
  .cta-form { padding: 24px; margin-top: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    z-index: 101;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 32px; font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn-primary {
    margin: 8px 24px 12px; border-radius: var(--radius-sm);
    justify-content: center;
  }
  .trust-inner { gap: 16px; flex-direction: column; text-align: center; }
  .trust-divider { display: none; }
  .trust-item { font-size: 13px; }
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 14px; }
  /* Blog responsive — hide glow pseudo-elements on mobile (iOS Safari perf) */
  .blog-page::before, .blog-page::after,
  .blog-index::before, .blog-index::after { display: none; }
  .blog-page, .blog-index {
    background:
      radial-gradient(circle 350px at 10% 80px, rgba(0,180,80,0.2), transparent),
      radial-gradient(circle 300px at 90% 200px, rgba(0,50,160,0.2), transparent);
  }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-page > .container { padding: 0 16px; }
  .blog-sidebar { display: none; }
  .blog-title { font-size: 28px; margin-bottom: 28px; }
  .blog-content { font-size: 16px; overflow-x: hidden; }
  .blog-content h2 { font-size: 24px; margin-top: 36px; }
  .blog-content h3 { font-size: 19px; margin-top: 28px; }
  .blog-card { padding: 24px; }
  .blog-card-title { font-size: 20px; }
  .blog-post-nav { flex-direction: column; }
  .blog-post-nav a { max-width: 100%; }
  .blog-nav-next { text-align: left; }
  /* Replace blurred divs with CSS gradients on mobile — iOS Safari culls large filter:blur */
  .glows-container { display: none; }
  body {
    background:
      radial-gradient(circle 400px at 10% 80px, rgba(0,180,80,0.6), transparent),
      radial-gradient(circle 350px at 90% 200px, rgba(0,50,160,0.6), transparent),
      radial-gradient(circle 350px at 10% 2400px, rgba(0,140,90,0.45), transparent),
      radial-gradient(circle 350px at 90% 4000px, rgba(0,40,150,0.5), transparent),
      radial-gradient(circle 350px at 30% 5500px, rgba(0,160,80,0.45), transparent),
      radial-gradient(circle 350px at 80% 7000px, rgba(0,180,80,0.45), transparent),
      var(--bg) !important;
  }
}
@media (max-width: 480px) {
  section { padding: 56px 16px; }
  .hero .section-title { font-size: 26px; }
  .hero-tagline { font-size: 14px; }
  .hero-sub { font-size: 14px; }
  .section-title { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .terminal-body { font-size: 10px; line-height: 1.6; padding: 12px; overflow-x: auto; }
  .stack-layer { padding: 12px 16px; }
  .stack-num { width: 28px; height: 28px; font-size: 12px; margin-right: 12px; }
  .stack-info h4 { font-size: 14px; }
  .stack-info p { font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 28px !important; }
  .hero-screenshot { margin-top: 32px; }
  .blog-title { font-size: 24px; }
  .blog-content h2 { font-size: 21px; }
  .blog-content pre { padding: 14px 16px; }
  .blog-content pre code { font-size: 12px; }
}
