:root {
  --bg: #f7f8fb;
  --bg-tint: #eef0f6;
  --ink: #0a0e27;
  --ink-soft: #2b3253;
  --muted: #5b6485;
  --border: #e3e6ef;
  --accent: #00e5d4;
  --accent-strong: #00b8a9;
  --warn: #ffb020;
  --danger: #ff5a6e;
  --good: #19c37d;
  --dark: #0a0e27;
  --dark-2: #0f1535;
  --dark-3: #161d44;
  --grid-line: rgba(0, 229, 212, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
code, pre { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
h1, h2, h3, h4, h5 { font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.18; }
p { color: var(--ink-soft); }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--ink); }
code {
  background: rgba(10, 14, 39, 0.06);
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.92em;
}

/* ====== Buttons ====== */
.btn-buren {
  background: var(--accent);
  color: var(--dark);
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: 0 4px 18px rgba(0, 229, 212, 0.28);
}
.btn-buren:hover {
  background: #1ff0e0;
  color: var(--dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0, 229, 212, 0.4);
}
.btn-buren-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.55rem 1.2rem;
}
.btn-buren-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255,255,255,0.5); }
.section .btn-ghost { color: var(--ink); border-color: rgba(10,14,39,0.2); }
.section .btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ====== Navbar ====== */
.buren-nav {
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.7rem 0;
  transition: background .2s ease;
}
.buren-nav.scrolled { background: rgba(10, 14, 39, 0.96); }
.buren-nav .navbar-brand { padding: 0; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark svg { display: block; }
.brand-word {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1rem;
  color: #fff;
}
.buren-nav .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.5rem 0.85rem !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.buren-nav .nav-link:hover, .buren-nav .nav-link.active { color: var(--accent); }
.buren-nav .navbar-toggler { border-color: rgba(255,255,255,0.2); }
.buren-nav .navbar-toggler:focus { box-shadow: none; }
.buren-nav .dropdown-toggle::after { display: none; }
.buren-nav .nav-caret { width: 10px; height: 10px; opacity: 0.6; }

/* Mega menu */
.buren-nav .dropdown-menu {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  margin-top: 8px !important;
  box-shadow: 0 20px 50px rgba(10, 14, 39, 0.15);
  min-width: 280px;
}
.buren-nav .mega {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  min-width: 520px;
}
.buren-nav .mega-item {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s ease;
}
.buren-nav .mega-item:hover { background: var(--bg-tint); color: var(--ink); }
.buren-nav .mega-item strong { display: block; font-size: 0.94rem; font-weight: 600; margin-bottom: 2px; }
.buren-nav .mega-item span { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.4; }

/* ====== Hero (home) ====== */
.buren-hero {
  position: relative;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(0, 229, 212, 0.18), transparent 50%),
    radial-gradient(ellipse at 0% 30%, rgba(0, 229, 212, 0.08), transparent 50%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 229, 212, 0.1);
  border: 1px solid rgba(0, 229, 212, 0.3);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 1.4rem;
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--accent) 0%, #7cfce4 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
  line-height: 1.65;
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 2.2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-meta > div { display: flex; flex-direction: column; }
.hero-meta strong { color: var(--accent); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.hero-meta span { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: 4px; }

.hero-card {
  background: rgba(15, 21, 53, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 229, 212, 0.06);
  backdrop-filter: blur(10px);
}
.hc-bar {
  display: flex; align-items: center; gap: 7px;
  background: rgba(10, 14, 39, 0.7);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hc-bar .dotr, .hc-bar .doty, .hc-bar .dotg { width: 11px; height: 11px; border-radius: 50%; }
.hc-bar .dotr { background: #ff5f57; }
.hc-bar .doty { background: #febc2e; }
.hc-bar .dotg { background: #28c840; }
.hc-bar .hc-title { margin-left: 12px; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.hc-code { margin: 0; padding: 18px 20px; font-size: 0.82rem; line-height: 1.65; color: #cdd6f4; overflow-x: auto; }
.hc-code .k { color: #f38ba8; }
.hc-code .s { color: #a6e3a1; }
.hc-code .v { color: #fab387; }
.hc-code .n { color: #89b4fa; }

/* ====== Inner page hero ====== */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background:
    radial-gradient(ellipse at 75% 0%, rgba(0, 229, 212, 0.16), transparent 55%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-grid { position: absolute; inset: 0; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.page-hero .lead { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 720px; }
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.55); text-decoration: none; }
.page-hero .breadcrumb-item a:hover { color: var(--accent); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ====== Trust strip ====== */
.trust-strip { background: var(--dark-2); padding: 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.trust-label { color: rgba(255,255,255,0.45); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.8rem; text-align: center; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem 2.4rem; }
.trust-list span { color: rgba(255,255,255,0.6); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; }

/* ====== Section base ====== */
.section { padding: 6rem 0; }
.section-tinted { background: var(--bg-tint); }
.section-dark { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); color: rgba(255,255,255,0.85); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-dark .kicker { color: var(--accent); }
.section-dark code { background: rgba(0, 229, 212, 0.12); color: #d8fffa; }
.section-head { max-width: 820px; margin-bottom: 3.5rem; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block;
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); margin-bottom: 1.1rem; }
.section .lead { font-size: 1.08rem; color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.section-dark .lead { color: rgba(255,255,255,0.7); }
.accent { color: var(--accent); }

/* ====== Pillar / feature cards ====== */
.pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10, 14, 39, 0.07);
  border-color: rgba(0, 229, 212, 0.4);
}
.pillar-icon {
  width: 52px; height: 52px;
  background: rgba(0, 229, 212, 0.12);
  color: var(--accent-strong);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.pillar-icon.alt { background: rgba(10, 14, 39, 0.08); color: var(--ink); }
.pillar-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.pillar-card p { margin: 0; font-size: 0.97rem; }

/* ====== Architecture ====== */
.arch { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 2.5rem; text-align: center; }
.arch-host { color: rgba(255,255,255,0.5); font-size: 0.78rem; letter-spacing: 0.2em; margin-bottom: 1rem; }
.arch-sdk { background: linear-gradient(180deg, rgba(0,229,212,0.06), rgba(0,229,212,0.02)); border: 1px solid rgba(0, 229, 212, 0.25); border-radius: 14px; padding: 1.6rem; position: relative; }
.arch-sdk-label { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--dark-2); color: var(--accent); font-size: 0.7rem; letter-spacing: 0.2em; padding: 2px 12px; border: 1px solid rgba(0, 229, 212, 0.3); border-radius: 999px; }
.arch-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.arch-box { background: rgba(15, 21, 53, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 1rem 1.4rem; min-width: 180px; text-align: left; }
.arch-box strong { display: block; color: #fff; font-weight: 600; }
.arch-box span { color: rgba(255,255,255,0.55); font-size: 0.84rem; }
.arch-arrow { color: var(--accent); font-size: 1.4rem; }
.arch-out { color: rgba(255,255,255,0.6); margin: 1.4rem 0 1rem; font-size: 0.95rem; }
.arch-banner { display: inline-block; background: rgba(255, 90, 110, 0.1); border: 1px solid rgba(255, 90, 110, 0.35); color: #ffabb6; padding: 8px 18px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; }
@media (max-width: 720px) { .arch-arrow { transform: rotate(90deg); } .arch-box { width: 100%; } }

/* ====== Signal chips ====== */
.signal-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.signal-chips span {
  background: rgba(10, 14, 39, 0.06);
  color: var(--ink-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}
.section-dark .signal-chips span { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.12); }

/* ====== Code cards ====== */
.code-card { background: var(--dark); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(10, 14, 39, 0.18); }
.cc-tab { background: var(--dark-3); color: rgba(255,255,255,0.7); padding: 10px 18px; font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.code-card pre { margin: 0; padding: 22px; overflow-x: auto; }
.code-card code { background: transparent; color: #cdd6f4; font-size: 0.86rem; line-height: 1.7; padding: 0; }
.cc-k { color: #cba6f7; }
.cc-s { color: #a6e3a1; }
.cc-v { color: #fab387; }
.cc-c { color: #6c7086; font-style: italic; }

/* ====== Agent cards (dark sections) ====== */
.agent-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 1.6rem; height: 100%; transition: border-color .18s ease, background .18s ease; }
.agent-card:hover { border-color: rgba(0, 229, 212, 0.4); background: rgba(0, 229, 212, 0.04); }
.agent-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; color: #fff; }
.agent-card p { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.7); }

/* ====== Compare table ====== */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; font-size: 0.95rem; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare-table thead th { background: var(--bg-tint); color: var(--ink); font-weight: 600; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.03em; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td { color: var(--ink-soft); }
.compare-table th.hl, .compare-table td.hl { background: rgba(0, 229, 212, 0.08); color: var(--ink); font-weight: 600; border-left: 1px solid rgba(0, 229, 212, 0.25); border-right: 1px solid rgba(0, 229, 212, 0.25); }
.compare-table thead th.hl { background: rgba(0, 229, 212, 0.15); }

/* ====== Industry / generic content cards ====== */
.ind-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.6rem; height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.ind-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10, 14, 39, 0.06); }
.ind-card h4 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.ind-card p { font-size: 0.95rem; margin: 0; }

/* ====== Pricing ====== */
.price-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; height: 100%; display: flex; flex-direction: column; position: relative; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.price-card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(10, 14, 39, 0.07); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 14px 40px rgba(0, 229, 212, 0.16); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--dark); padding: 4px 14px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.price-card h4 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.price-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.2rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem 0; flex: 1; }
.price-card ul li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; color: var(--ink-soft); font-size: 0.95rem; border-top: 1px solid var(--border); }
.price-card ul li:first-child { border-top: none; }
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: rgba(0, 229, 212, 0.15); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2300b8a9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ====== FAQ ====== */
.buren-acc .accordion-item { background: #fff; border: 1px solid var(--border); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.buren-acc .accordion-button { background: #fff; font-weight: 600; font-size: 1rem; padding: 1.1rem 1.3rem; color: var(--ink); border: none; box-shadow: none; }
.buren-acc .accordion-button:not(.collapsed) { background: rgba(0, 229, 212, 0.05); color: var(--ink); }
.buren-acc .accordion-button:focus { box-shadow: none; }
.buren-acc .accordion-body { padding: 0.5rem 1.3rem 1.3rem; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.7; }

/* ====== CTA ====== */
.cta-section { padding: 5rem 0; }
.cta-card { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #1a226b 100%); border-radius: 18px; padding: 4rem 2rem; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,229,212,0.18), transparent 60%); pointer-events: none; }
.cta-card h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.8rem; }
.cta-card p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ====== Stat row (used on inner pages) ====== */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.stat-row > div { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1.2rem 1.4rem; }
.stat-row strong { display: block; color: var(--accent); font-size: 1.6rem; font-weight: 700; }
.stat-row span { display: block; color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-top: 4px; }

/* ====== Inline list with check icons (light bg) ====== */
.check-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.check-list li {
  padding: 0.4rem 0 0.4rem 1.9rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 18px; height: 18px;
  background: rgba(0, 229, 212, 0.18); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2300b8a9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.section-dark .check-list li { color: rgba(255,255,255,0.82); }
.section-dark .check-list li::before { background-color: rgba(0,229,212,0.18); }

/* ====== Footer ====== */
.buren-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.buren-footer .brand-word { color: #fff; }
.footer-tag { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-top: 0.6rem; max-width: 320px; }
.buren-footer h5 { color: rgba(255,255,255,0.95); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; }
.buren-footer ul { list-style: none; padding: 0; margin: 0; }
.buren-footer ul li { margin-bottom: 0.5rem; }
.buren-footer a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.buren-footer a:hover { color: var(--accent); }
.buren-footer .text-muted { color: rgba(255,255,255,0.4) !important; }
.buren-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ====== Signals catalog page ====== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.cat-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem; }
.cat-card h4 { font-size: 1.05rem; margin-bottom: 0.4rem; display: flex; justify-content: space-between; align-items: center; }
.cat-card .cnt { background: rgba(0,229,212,0.12); color: var(--accent-strong); font-size: 0.78rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; }
.cat-card p { font-size: 0.88rem; margin: 0 0 0.8rem; color: var(--muted); }
.cat-card ul { list-style: none; padding: 0; margin: 0; font-size: 0.86rem; color: var(--ink-soft); }
.cat-card ul li { padding: 3px 0; padding-left: 14px; position: relative; }
.cat-card ul li::before { content: "›"; color: var(--accent); position: absolute; left: 0; top: 1px; font-weight: 700; }

/* ====== Threat table ====== */
.threat-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 0.93rem; }
.threat-table th, .threat-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.threat-table thead th { background: var(--bg-tint); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; color: var(--ink); }
.threat-table tbody tr:last-child td { border-bottom: none; }
.threat-table code { font-size: 0.82rem; }
.sev { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.sev-c { background: rgba(255, 90, 110, 0.16); color: #c8243a; }
.sev-h { background: rgba(255, 176, 32, 0.16); color: #a36500; }
.sev-m { background: rgba(0, 229, 212, 0.15); color: var(--accent-strong); }
.sev-l { background: rgba(91, 100, 133, 0.12); color: var(--muted); }

/* ====== Generic CTA banner inline ====== */
.banner {
  background: linear-gradient(135deg, rgba(0,229,212,0.08), rgba(0,229,212,0.02));
  border: 1px solid rgba(0,229,212,0.25);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2rem;
}
.banner p { margin: 0; color: var(--ink); font-weight: 500; }

/* ====== Responsive ====== */
@media (max-width: 1199.98px) {
  .buren-nav .mega { grid-template-columns: 1fr; min-width: 280px; }
}
@media (max-width: 991.98px) {
  .buren-nav .nav-link { padding: 0.6rem 0 !important; }
  .buren-nav .navbar-nav { padding: 0.8rem 0; gap: 0.2rem; }
  .buren-nav .dropdown-menu { border: none; padding: 0 0 0.5rem 0.5rem; box-shadow: none; min-width: auto; background: transparent; }
  .buren-nav .mega { display: block; min-width: auto; }
  .buren-nav .mega-item { padding: 0.5rem 0.6rem; }
  .buren-nav .mega-item strong { color: rgba(255,255,255,0.9); }
  .buren-nav .mega-item span { color: rgba(255,255,255,0.55); }
  .buren-nav .mega-item:hover { background: rgba(255,255,255,0.05); }
  .buren-hero, .page-hero { padding: 7rem 0 4rem; }
  .hero-card { margin-top: 2rem; }
  .section { padding: 4.5rem 0; }
  .hero-meta { gap: 1.6rem 1.8rem; }
}
@media (max-width: 576px) {
  .hero-meta strong { font-size: 1.4rem; }
  .arch { padding: 1.5rem; }
  .cta-card { padding: 3rem 1.5rem; }
  .price-card { padding: 1.5rem; }
}

/* ====== Live demo page ====== */
.demo-wrap { max-width: 980px; margin: 0 auto; }
.demo-frame {
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  border: 1px solid rgba(0, 229, 212, 0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(10, 14, 39, 0.45), 0 0 0 1px rgba(0, 229, 212, 0.05);
}
.demo-bar {
  display: flex; align-items: center; gap: 7px;
  background: rgba(10, 14, 39, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 11px 16px;
}
.demo-dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-dot.r { background: #ff5f57; }
.demo-dot.y { background: #febc2e; }
.demo-dot.g { background: #28c840; }
.demo-bar-title {
  margin-left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.5);
}
.demo-status {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.6);
}
.demo-status.is-busy { background: rgba(255, 176, 32, 0.16); color: #ffce7a; }
.demo-status.is-live { background: rgba(25, 195, 125, 0.16); color: #5ce0a8; }

.demo-scroll { padding: 1.4rem 1.5rem 0.7rem; }

/* summary strip */
.demo-summary {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.4rem;
}
.demo-chip {
  background: rgba(0, 229, 212, 0.06);
  border: 1px solid rgba(0, 229, 212, 0.16);
  border-radius: 10px;
  padding: 7px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.demo-chip-k {
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}
.demo-chip-v { font-size: 0.92rem; font-weight: 700; color: #fff; }
.demo-chip-v.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.84rem; color: var(--accent); }

/* signal groups */
.demo-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.4rem; }
.demo-group {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  opacity: 0; transform: translateY(8px);
  animation: demoIn 0.5s ease forwards;
}
.demo-group--live { border-color: rgba(0, 229, 212, 0.22); }
@keyframes demoIn { to { opacity: 1; transform: none; } }
.demo-group-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.6rem; padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.demo-group-name { font-size: 0.8rem; font-weight: 700; color: #fff; letter-spacing: 0.01em; }
.demo-group-cnt {
  font-family: 'JetBrains Mono', monospace; font-size: 0.66rem;
  color: var(--accent-strong); background: rgba(0, 229, 212, 0.1);
  padding: 2px 8px; border-radius: 999px;
}
.demo-live-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.66rem; font-family: 'JetBrains Mono', monospace; color: #5ce0a8;
}
.demo-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #19c37d;
  box-shadow: 0 0 8px #19c37d; animation: demoPulse 1.6s ease-in-out infinite;
}
@keyframes demoPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* signal rows */
.demo-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.demo-row:last-child { border-bottom: none; }
.demo-row--stack { flex-direction: column; gap: 2px; }
.demo-k { font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); white-space: nowrap; }
.demo-v {
  font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
  color: #d8ddf0; text-align: right; word-break: break-word;
}
.demo-row--stack .demo-v { text-align: left; color: #cdd6f4; }
.demo-v--mask { color: var(--accent); }

/* live meters */
.demo-meters { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 0.8rem; }
.demo-meter-top {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 4px;
}
.demo-meter-val { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-weight: 600; }
.demo-meter-track { height: 6px; background: rgba(255, 255, 255, 0.07); border-radius: 999px; overflow: hidden; }
.demo-meter-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  border-radius: 999px; transition: width 0.5s ease;
}

/* detections */
.demo-dets-wrap {
  margin-top: 1.4rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.demo-section-label { font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.demo-muted { color: rgba(255, 255, 255, 0.4); font-weight: 400; }
.demo-dets { display: flex; flex-direction: column; gap: 6px; }
.demo-det {
  display: flex; align-items: center; gap: 0.8rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px; padding: 8px 12px;
  opacity: 0; animation: demoIn 0.4s ease forwards;
}
.demo-det.is-hit { background: rgba(255, 90, 110, 0.08); border-color: rgba(255, 90, 110, 0.3); }
.demo-sev {
  flex-shrink: 0; width: 62px; text-align: center;
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 3px 0; border-radius: 5px;
}
.demo-sev--critical { background: rgba(255, 90, 110, 0.18); color: #ff8b99; }
.demo-sev--high { background: rgba(255, 176, 32, 0.18); color: #ffce7a; }
.demo-sev--medium { background: rgba(0, 229, 212, 0.16); color: #5fe6da; }
.demo-det-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.demo-det-id { font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: #fff; font-weight: 600; }
.demo-det-desc { font-size: 0.73rem; color: rgba(255, 255, 255, 0.5); }
.demo-verdict {
  flex-shrink: 0; font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; font-weight: 700; padding: 4px 9px; border-radius: 6px;
}
.demo-verdict.is-clear { background: rgba(25, 195, 125, 0.14); color: #5ce0a8; }
.demo-verdict.is-flag { background: rgba(255, 90, 110, 0.18); color: #ff8b99; }
.demo-verdict.is-idle { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.4); }

/* frame footer */
.demo-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 12px 16px;
  background: rgba(10, 14, 39, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
}
.demo-rerun {
  background: rgba(0, 229, 212, 0.12);
  border: 1px solid rgba(0, 229, 212, 0.3);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; font-weight: 600;
  padding: 5px 12px; border-radius: 8px; cursor: pointer;
  transition: background 0.15s ease;
}
.demo-rerun:hover { background: rgba(0, 229, 212, 0.22); }

@media (max-width: 700px) {
  .demo-groups { grid-template-columns: 1fr; }
  .demo-scroll { padding: 1.1rem 1rem 0.5rem; }
}
