/* ═══════════════════════════════════════════════════════════════
   NUDGEBEE — Component & Section Styles
   Imports the design system tokens and builds all page sections.
   ═══════════════════════════════════════════════════════════════ */

/* ═══ NAV ═══════════════════════════════════════════════════════ */
#main {
  overflow-x: clip;
}

#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px; display: flex; align-items: center;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 24px rgba(56,162,255,0.06);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
#nav.solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-color: var(--border);
  box-shadow: 0 1px 24px rgba(56,162,255,0.06);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--mid); transition: color var(--dur-fast); position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 50%; right: 50%; height: 2px; background: var(--yellow); border-radius: 2px; transition: left .25s ease, right .25s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { left: 0; right: 0; }
.nav-links a.active { color: var(--ink); font-weight: 700; }
.nav-links a.active::after { left: 0; right: 0; background: var(--ink); }
/* ── Case Studies nav dropdown ─────────────────────────────── */
.nav-has-dropdown { position: relative; }
.nav-has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-has-dropdown > a .nav-chevron {
  width: 12px; height: 12px; flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nav-has-dropdown:hover > a .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 620px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(27,45,74,0.12);
  padding: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
/* invisible bridge fills the gap between trigger and panel */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0; right: 0;
  height: 16px;
}
.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}
.nav-dropdown::before { display: none; }

/* suppress global nav underline inside dropdown */
.nav-dropdown a::after { display: none !important; }
.nav-dropdown a { padding-bottom: 0 !important; }

/* split layout */
.nd-split {
  display: flex; gap: 0;
}
.nd-left {
  flex: 0 0 40%; padding-right: 16px;
  display: flex; flex-direction: column;
}
.nd-left-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.nd-header-title {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--mid);
}
.nd-view-all {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 3px;
  text-decoration: none; transition: color 0.15s;
}
.nd-view-all:hover { color: var(--navy); }
.nd-view-all svg { width: 11px; height: 11px; }

/* list of case studies */
.nd-list { display: flex; flex-direction: column; gap: 2px; }
.nd-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 8px; border-radius: 8px;
  text-decoration: none; border-left: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.nd-list-item:hover,
.nd-list-item.nd-active {
  background: #f4f7fb;
  border-left-color: transparent;
}
.nd-list-body { flex: 1; min-width: 0; }
.nd-list-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 1px;
}
.nd-list-title {
  font-size: 0.8rem; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.nd-list-arr {
  width: 14px; height: 14px; flex-shrink: 0;
  color: var(--mid); opacity: 0;
  transition: opacity 0.15s;
}
.nd-list-item:hover .nd-list-arr,
.nd-list-item.nd-active .nd-list-arr { opacity: 1; }

/* right image + caption panel */
.nd-right {
  flex: 0 0 60%; position: relative; min-height: 220px;
}
.nd-panel {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
  display: flex; flex-direction: column;
}
.nd-panel-active {
  opacity: 1; pointer-events: auto;
}
.nd-panel-img {
  width: 100%; height: 160px;
  object-fit: cover; display: block;
  border-radius: 8px; flex-shrink: 0;
}
.nd-panel-caption {
  padding: 10px 2px 0;
}
.nd-panel-tag {
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 6px;
}
.nd-panel-sub {
  font-size: 0.82rem; font-weight: 500; color: var(--ink);
  line-height: 1.55; margin: 0;
}

/* ── end dropdown ───────────────────────────────────────────── */
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right::before {
  content: ''; display: block; width: 1px; height: 24px;
  background: var(--border); margin-right: 4px;
}
.ham { display: none; flex-direction: column; gap: 4px; background: none; border: none; }
.ham span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 1px; }
.mob-menu { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border); z-index: 199; }
.mob-menu.open { display: flex; }
.mob-menu a { padding: 13px 24px; font-size: 0.9rem; font-weight: 500; color: var(--mid); border-bottom: 1px solid var(--border); }
.mob-menu a.active { color: var(--ink); font-weight: 700; border-left: 3px solid var(--ink); padding-left: 21px; }

/* ═══ HERO (v3 split layout) ═══════════════════════════════════ */
#hero {
  min-height: 600px; max-height: 860px;
  padding: 96px 0 56px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--white);
}
.hero-ring {
  position: absolute; right: -140px; top: 50%; transform: translateY(-50%);
  width: 780px; height: 780px; border-radius: 50%;
  border: 1px solid rgba(56,162,255,.07); pointer-events: none;
}
.hero-ring::before { content:''; position:absolute; inset:70px; border-radius:50%; border:1px solid rgba(56,162,255,.05); }
.hero-ring::after  { content:''; position:absolute; inset:155px; border-radius:50%; border:1px solid rgba(56,162,255,.035); }
.hero-layout {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 520px;
  gap: 48px; align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple-pale); border: 1px solid var(--border-mid);
  padding: 5px 14px; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 600; color: var(--purple);
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #22C55E; flex-shrink: 0;
  animation: pulseAnim 2.4s ease-out infinite;
}
.hero-h1 {
  font-family: var(--fh);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800; color: var(--ink);
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 28px;
}
.hero-h1 .hl { color: var(--ink); background: var(--yellow); display: inline; padding: 4px 12px; border-radius: 4px; white-space: nowrap; }
.hero-desc {
  font-size: .95rem; color: #4B5563; line-height: 1.7;
  max-width: 460px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.hero-metrics { display: flex; gap: 0; border-top: 1px solid var(--border); padding-top: 28px; margin-top: 12px; }
.metric { flex: 1; padding-right: 24px; border-right: 1px solid var(--border); }
.metric:last-child { border-right: none; padding-right: 0; padding-left: 24px; }
.metric:not(:first-child):not(:last-child) { padding-left: 24px; }
.metric-num {
  font-family: var(--fh); font-size: 1.4rem; font-weight: 800;
  color: var(--ink); letter-spacing: -.04em; line-height: 1; margin-bottom: 4px;
}
.metric-label { font-size: .72rem; color: var(--muted); line-height: 1.4; }
.metric-label strong { display: block; color: var(--mid); font-weight: 600; font-size: .78rem; }

/* Hero right card */
.hero-card-wrap { position: relative; z-index: 1; overflow: visible; }
.hero-badge {
  position: relative; z-index: 10; margin: -6px auto 0; width: fit-content;
  background: var(--navy); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill); padding: 8px 20px;
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.9);
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 16px rgba(27,45,74,.25);
  white-space: nowrap;
}
.badge-live {
  width: 6px; height: 6px; border-radius: 50%; background: #22C55E;
  animation: pulseAnim 2.4s ease-out infinite; flex-shrink: 0;
}
.hero-card {
  background: white; border-radius: var(--r-lg);
  border: 1px solid rgba(56,162,255,.12); overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(56,162,255,.05),
    0 8px 16px rgba(56,162,255,.06),
    0 24px 48px rgba(56,162,255,.1),
    0 48px 96px rgba(27,45,74,.1);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) scale(1.08);
  transform-origin: center center;
  transition: transform .6s var(--ease-out-expo), box-shadow .6s;
}
.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.08);
  box-shadow:
    0 0 0 1px rgba(56,162,255,.09),
    0 12px 28px rgba(56,162,255,.1),
    0 40px 72px rgba(56,162,255,.13),
    0 72px 120px rgba(27,45,74,.14);
}
.hc-bar {
  background: #F4F3F8; border-bottom: 1px solid #EAEAF0;
  padding: 10px 14px; display: flex; align-items: center; gap: 6px;
}
.hcd { width: 9px; height: 9px; border-radius: 50%; }
.hcd.r { background: #FF5F57; } .hcd.y { background: #FFBD2E; } .hcd.g { background: #28CA42; }
.hc-label { font-size: .67rem; color: #888; margin-left: 6px; font-family: monospace; }
.hc-split { display: grid; grid-template-columns: 165px 1fr; min-height: 310px; }
.hc-sidebar { background: #FAFAF8; border-right: 1px solid #EAEAF0; padding: 12px 0; }
.hc-nav { padding: 7px 14px; font-size: .67rem; font-weight: 500; color: #888; display: flex; align-items: center; gap: 7px; cursor: pointer; }
.hc-nav.active { background: white; color: var(--purple); font-weight: 700; border-right: 2px solid var(--purple); }
.hc-nav-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.hc-nav-pill { margin-left: auto; font-size: .55rem; font-weight: 700; background: rgba(56,162,255,.08); color: var(--purple); padding: 1px 5px; border-radius: 3px; }
.hc-main { padding: 0; }
.hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.hc-title { font-size: .8rem; font-weight: 700; color: var(--ink); }
.hc-live { display: flex; align-items: center; gap: 4px; font-size: .6rem; font-weight: 700; color: #16A34A; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.18); padding: 2px 8px; border-radius: var(--r-pill); }
.hc-live-dot { width: 4px; height: 4px; border-radius: 50%; background: #16A34A; }
.hc-inc { border-radius: 9px; padding: 10px 12px; margin-bottom: 7px; border: 1px solid transparent; }
.hc-inc-crit { background: rgba(79,168,232,.04); border-color: rgba(79,168,232,.16); box-shadow: 0 1px 5px rgba(79,168,232,.06), inset 0 1px 0 rgba(255,255,255,.8); }
.hc-inc-ok { background: rgba(34,197,94,.03); border-color: rgba(34,197,94,.13); }
.hc-inc-head { display: flex; align-items: center; gap: 6px; justify-content: space-between; margin-bottom: 3px; }
.hc-inc-title { font-size: .71rem; font-weight: 700; color: var(--ink); font-family: 'Courier New', monospace; }
.hc-badge { font-size: .55rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: var(--r-pill); }
.hc-badge-crit { background: rgba(220,38,38,.07); color: #DC2626; }
.hc-badge-ok { background: rgba(22,163,74,.07); color: #16A34A; }
.hc-meta { font-size: .62rem; color: #999; margin-bottom: 5px; }
.hc-rca { background: rgba(56,162,255,.04); border-left: 2.5px solid var(--purple); border-radius: 0 6px 6px 0; padding: 6px 9px; font-size: .64rem; color: var(--mid); line-height: 1.5; }
.hc-rca-tag { font-size: .54rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); margin-bottom: 1px; }
.hc-costs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 8px; }
.hc-cost { background: #FFFDF0; border: 1px solid rgba(250,207,57,.18); border-radius: 7px; padding: 8px 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.hc-cost-lbl { font-size: .56rem; color: #888; margin-bottom: 2px; }
.hc-cost-val { font-family: var(--fh); font-size: .95rem; font-weight: 800; color: var(--ink); }
.hc-cost-sub { font-size: .55rem; color: #16A34A; margin-top: 1px; }

/* ═══ HERO ISO SCENE ════════════════════════════════════════════ */
.hero-visual { border-radius: 24px; overflow: visible; }

.hiso-scene {
  position: relative; width: 100%; height: 500px;
  background: #07111f;
  border-radius: 24px; overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(56,162,255,.1),
    0 32px 80px rgba(7,17,31,.7),
    0 8px 24px rgba(7,17,31,.4);
}
/* Bottom fade matching page background */
.hiso-scene::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(to bottom, transparent, #07111f);
  pointer-events: none; z-index: 8;
}

/* Ambient radial glow */
.hiso-bg-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(56,162,255,.13) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 80% 60%, rgba(139,92,246,.07) 0%, transparent 60%),
    radial-gradient(ellipse 25% 25% at 20% 75%, rgba(52,211,153,.06) 0%, transparent 60%);
}

/* Perspective grid floor */
.hiso-grid {
  position: absolute; width: 200%; height: 200%; top: 10%; left: -50%;
  background-image:
    linear-gradient(rgba(56,162,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,162,255,.09) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(520px) rotateX(52deg);
  transform-origin: 50% 0%;
  pointer-events: none;
}

/* SVG connection lines */
.hiso-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}
.hiso-line {
  stroke-dasharray: 7 5;
}
.hl-blue   { stroke: rgba(56,162,255,.65);  stroke-width: 1.5; }
.hl-cyan   { stroke: rgba(34,211,238,.55);  stroke-width: 1.5; }
.hl-slate  { stroke: rgba(148,163,184,.5);  stroke-width: 1.5; }
.hl-purple { stroke: rgba(139,92,246,.6);   stroke-width: 1.5; }
.hl-green  { stroke: rgba(52,211,153,.7);   stroke-width: 1.5; }
.hl-yellow { stroke: rgba(250,204,57,.65);  stroke-width: 1.5; }
.hl-orange { stroke: rgba(251,146,60,.65);  stroke-width: 1.5; }

/* ── Hub ── */
.hiso-hub {
  position: absolute; left: 50%; top: 48%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  z-index: 5;
}
.hiso-hub-glow {
  position: absolute;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,162,255,.32) 0%, transparent 65%);
  pointer-events: none;
}
.hiso-hub-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(56,162,255,.28);
  pointer-events: none;
}
.hiso-hub-ring.r1 { width: 92px;  height: 92px; }
.hiso-hub-ring.r2 { width: 124px; height: 124px; }
.hiso-hub-core {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(145deg, #1a3d70, #0b1e3d);
  border: 1.5px solid rgba(56,162,255,.45);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0 0 1px rgba(56,162,255,.12),
    0 0 28px rgba(56,162,255,.32),
    0 8px 24px rgba(0,0,0,.55);
  position: relative; z-index: 2;
}
.hiso-hub-core img {
  width: 42px; height: 42px; object-fit: contain;
  filter: brightness(1.15) saturate(1.1);
}
.hiso-hub-lbl {
  position: relative; z-index: 2; margin-top: 10px;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(56,162,255,.6);
}

/* ── Integration cards ── */
.hiso-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 9px;
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  font-family: var(--fb); font-size: .79rem; font-weight: 600;
  color: rgba(255,255,255,.88); white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.07);
}
.hiso-card-ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hiso-card-ico img { width: 18px; height: 18px; object-fit: contain; }
.hiso-c1 { top: 26px;  left: 14px; }
.hiso-c2 { top: 14px;  left: 254px; }
.hiso-c3 { top: 192px; left: 8px; }
.hiso-c4 { top: 356px; left: 14px; }

/* ── Capability pills ── */
.hiso-pill {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  font-family: var(--fb); font-size: .75rem; font-weight: 700;
  color: rgba(255,255,255,.88); white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
.hiso-pdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.hiso-p1 { top: 150px; right: 12px; }
.hiso-p2 { top: 252px; right: 16px; }
.hiso-p3 { top: 352px; right: 12px; }

/* ── Floating action badges ── */
.hiso-badge {
  position: absolute; z-index: 4;
  width: 44px; height: 44px; border-radius: 13px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.07);
}
.hiso-badge img { width: 26px; height: 26px; object-fit: contain; }
.hiso-b1 { top: 80px; right: 28px; }
.hiso-b2 { top: 46px; right: 82px; }

/* ═══ HERO SLIDESHOW ════════════════════════════════════════════ */
.hss-wrap {
  width: 100%; background: #fff;
  border-radius: 20px; border: 1px solid #E5E7EB;
  box-shadow: 0 8px 40px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden; user-select: none;
}
.hss-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 0; border-bottom: 1px solid #F3F4F6; background: #FAFAFA;
}
.hss-tabs { display: flex; gap: 2px; }
.hss-tab {
  background: none; border: none; cursor: pointer;
  font-family: var(--fb); font-size: .78rem; font-weight: 600;
  color: #9CA3AF; padding: 8px 13px 10px;
  border-radius: 8px 8px 0 0;
  transition: color .2s, background .2s;
}
.hss-tab:hover { color: #374151; background: rgba(0,0,0,.03); }
.hss-tab.active {
  color: #1a3d70; background: #fff;
  border: 1px solid #E5E7EB; border-bottom: 2px solid #fff;
  margin-bottom: -1px;
}
.hss-live {
  display: flex; align-items: center; gap: 5px;
  font-size: .65rem; font-weight: 700; color: #6B7280;
  text-transform: uppercase; letter-spacing: .06em;
}
.hss-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16A34A; box-shadow: 0 0 0 3px rgba(22,163,74,.2);
  animation: hss-pulse 2s ease-in-out infinite;
}
@keyframes hss-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
  50%       { box-shadow: 0 0 0 5px rgba(22,163,74,.06); }
}
.hss-progress-track { height: 2px; background: #F3F4F6; overflow: hidden; }
.hss-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #3B82F6, #6366F1);
  transition: width .1s linear;
}
.hss-slides { position: relative; padding: 16px 16px 14px; min-height: 380px; }
.hss-slide { display: none; animation: hss-in .32s ease; }
.hss-slide.active { display: block; }
@keyframes hss-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hss-screen-title {
  font-family: var(--fh); font-size: .86rem; font-weight: 700; color: #111827;
  margin-bottom: 11px; display: flex; align-items: center; gap: 8px;
}
.hss-sbadge {
  font-family: var(--fb); font-size: .58rem; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .04em;
}
.hss-sbadge-red    { background: #FEE2E2; color: #DC2626; }
.hss-sbadge-green  { background: #D1FAE5; color: #065F46; }
.hss-sbadge-blue   { background: #DBEAFE; color: #1D4ED8; }
.hss-sbadge-purple { background: #EDE9FE; color: #6D28D9; }
/* SRE alerts */
.hss-alert-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 11px; }
.hss-alert-row {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; background: #F9FAFB;
  border: 1px solid #F3F4F6; border-radius: 9px;
}
.hss-sev {
  font-family: var(--fb); font-size: .54rem; font-weight: 800;
  letter-spacing: .07em; padding: 2px 6px; border-radius: 5px; flex-shrink: 0;
}
.sev-crit { background: #FEE2E2; color: #DC2626; }
.sev-warn { background: #FEF3C7; color: #D97706; }
.sev-info { background: #DBEAFE; color: #2563EB; }
.hss-alert-body { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.hss-alert-name { font-size: .72rem; font-weight: 600; color: #111827; }
.hss-alert-time { font-size: .6rem; color: #9CA3AF; }
.hss-link { font-size: .65rem; font-weight: 600; color: #3B82F6; white-space: nowrap; }
/* Shared RCA panel */
.hss-rca-panel {
  background: #F0F7FF; border: 1px solid #BFDBFE;
  border-radius: 10px; padding: 10px 12px; margin-bottom: 10px;
}
.hss-rca-tag {
  font-size: .56rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .07em; color: #3B82F6; margin-bottom: 4px;
}
.hss-rca-body { font-size: .71rem; color: #374151; line-height: 1.5; margin: 0 0 8px; }
.hss-rca-body code {
  background: rgba(59,130,246,.1); padding: 1px 4px;
  border-radius: 4px; font-size: .68rem; color: #1D4ED8;
}
/* Shared button row */
.hss-row-btns { display: flex; gap: 8px; align-items: center; }
.hss-btn-outline {
  font-family: var(--fb); font-size: .68rem; font-weight: 600;
  padding: 5px 12px; border: 1px solid #D1D5DB; background: #fff;
  border-radius: 7px; cursor: pointer; color: #374151;
}
.hss-btn-fill {
  font-family: var(--fb); font-size: .68rem; font-weight: 700;
  padding: 5px 14px; background: #1a3d70; color: #fff;
  border: none; border-radius: 7px; cursor: pointer;
}
/* SRE metric strip */
.hss-metric-strip {
  display: flex; align-items: center; gap: 10px; margin-top: 8px;
  padding: 7px 12px; background: #ECFDF5; border-radius: 8px; font-size: .71rem;
}
.hss-mval { font-weight: 700; color: #111827; }
.hss-mup  { color: #16A34A; font-weight: 600; }
/* FinOps */
.hss-finops-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; background: #F9FAFB;
  border: 1px solid #E5E7EB; border-radius: 10px; margin-bottom: 11px;
}
.hss-finops-stat { display: flex; flex-direction: column; flex: 1; }
.hss-finops-val { font-family: var(--fh); font-size: 1.05rem; font-weight: 800; color: #111827; }
.hss-finops-lbl { font-size: .58rem; color: #9CA3AF; }
.hss-finops-arrow { font-size: 1.1rem; color: #D1D5DB; }
.hss-savings-list { display: flex; flex-direction: column; gap: 4px; }
.hss-savings-row {
  display: flex; align-items: center; gap: 8px; font-size: .71rem;
  padding: 6px 10px; border-radius: 7px;
  background: #F9FAFB; border: 1px solid #F3F4F6;
}
.hss-savings-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hss-savings-name { flex: 1; color: #374151; font-weight: 500; }
.hss-savings-amt  { font-weight: 700; color: #16A34A; white-space: nowrap; }
/* Cloud Ops / K8s */
.hss-cluster-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 9px; }
.hss-cluster-row {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 10px; background: #F9FAFB;
  border: 1px solid #F3F4F6; border-radius: 9px; font-size: .71rem;
}
.hss-cluster-warn { background: #FFFBEB; border-color: #FDE68A; }
.hss-cdot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cdot-green  { background: #16A34A; }
.cdot-yellow { background: #D97706; }
.hss-cname { font-weight: 700; color: #111827; flex: 1; }
.hss-cstat, .hss-ccpu { font-size: .66rem; color: #6B7280; }
.hss-cstatus {
  font-size: .6rem; font-weight: 700;
  padding: 1px 7px; border-radius: 100px;
}
.cstatus-healthy { background: #D1FAE5; color: #065F46; }
.cstatus-warning { background: #FEF3C7; color: #D97706; }
.hss-ns-wrap { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.hss-ns {
  font-size: .58rem; font-weight: 600; color: #4B5563;
  background: #F3F4F6; border: 1px solid #E5E7EB;
  padding: 2px 7px; border-radius: 5px; font-family: monospace;
}
/* Workflow */
.hss-wf-canvas { display: flex; justify-content: center; margin: 8px 0 10px; }
.hss-wf-col {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px; width: 100%;
}
.hss-wf-node {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: #fff;
  border: 1px solid #E5E7EB; border-radius: 10px;
  font-size: .72rem; font-weight: 600; color: #374151;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  width: 200px; justify-content: center; white-space: nowrap;
}
.hss-wf-trigger { border-color: #BFDBFE; background: #EFF6FF; }
.hss-wf-ai      { border-color: #C4B5FD; background: #F5F3FF; }
.hss-wf-action  { border-color: #A7F3D0; background: #ECFDF5; width: 150px; }
.hss-wf-notify  { border-color: #FDE68A; background: #FFFBEB; width: 150px; }
.hss-wf-nicon {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hss-wf-nicon svg { width: 12px; height: 12px; }
.hss-wf-arrow-down { font-size: .8rem; color: #D1D5DB; line-height: 1; }
.hss-wf-branches { display: flex; gap: 10px; justify-content: center; }
.hss-wf-footer {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; background: #F9FAFB;
  border: 1px solid #F3F4F6; border-radius: 9px;
}
.hss-wf-int-lbl { font-size: .63rem; color: #9CA3AF; font-weight: 600; white-space: nowrap; }
.hss-wf-logos { display: flex; gap: 8px; align-items: center; }
.hss-wf-logos img { width: 20px; height: 20px; object-fit: contain; filter: grayscale(.3); }

/* ═══ HERO CARD TAB ANIMATION ══════════════════════════════════ */
.hc-main { position: relative; }
.hc-panel {
  opacity: 0;
  transform: translateY(6px);
  position: absolute; inset: 0;
  padding: 14px 16px;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.hc-panel.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

/* Workflow canvas — n8n style */
.wf-canvas {
  position: relative; width: 100%; min-height: 180px;
  background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0,0,0,.03) 19px, rgba(0,0,0,.03) 20px),
              repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(0,0,0,.03) 19px, rgba(0,0,0,.03) 20px);
  border-radius: 8px; margin-top: 6px; overflow: visible;
}
.wf-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wf-node {
  position: absolute; display: flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 7px;
  padding: 3px 8px 3px 4px; font-size: .55rem; font-weight: 600; color: #374151;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); white-space: nowrap;
}
.wf-icon {
  width: 20px; height: 20px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wf-ai { border-color: rgba(139,92,246,.3); box-shadow: 0 0 8px rgba(139,92,246,.12); }
.hc-nav {
  transition: background .35s ease, color .35s ease, border-color .35s ease, font-weight .1s;
}
.hc-nav .hc-nav-dot {
  transition: opacity .35s ease;
}
.hc-nav.active .hc-nav-dot { opacity: 1 !important; }
.hc-nav .hc-nav-pill {
  transition: opacity .35s ease;
  opacity: 0;
}
.hc-nav.active .hc-nav-pill { opacity: 1; }

/* Tab progress indicator */
.hc-nav.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--purple);
  opacity: .25;
  animation: hcTabProgress 3s linear forwards;
}
@keyframes hcTabProgress {
  to { width: 100%; }
}
.hc-nav { position: relative; overflow: hidden; }

/* ═══ INTEGRATIONS HUB DIAGRAM ═════════════════════════════════ */
#integrations {
  padding: 72px var(--gutter) 0;
  background: var(--off);
}
.hub-cols { margin-bottom: 0; }
.hub-col { display: flex; flex-direction: column; }
.hub-wrap { max-width: var(--max-w-lg); margin: 0 auto; padding-bottom: 48px; }
.hub-head { text-align: center; margin-bottom: 24px; }
.hub-center {
  display: flex; flex-direction: column; align-items: center; margin-bottom: 0;
}
.hub-bee {
  width: 48px; height: 48px;
  background: var(--navy); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow:
    0 3px 8px rgba(27,45,74,.25),
    0 8px 20px rgba(27,45,74,.15);
  z-index: 1; position: relative;
}
.hub-bee-img {
  width: 28px; height: 28px;
  object-fit: contain;
}
.hub-legs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: 100%; height: 30px; position: relative; margin-top: -1px;
}
.hub-leg {
  display: flex; align-items: flex-start; justify-content: center; position: relative;
}
.hub-leg::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 0;
  border-left: 2px dashed rgba(56,162,255,.25);
}
.hub-legs::before {
  content: ''; position: absolute; top: 0;
  left: calc(16.66% + 1px); right: calc(16.66% + 1px);
  height: 0; border-top: 2px dashed rgba(56,162,255,.25);
}
.hub-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start;
}
.hub-pill {
  background: #FFF8DC; border: 1px solid rgba(250,200,53,.3);
  border-radius: var(--r-sm); padding: 8px 12px; text-align: center;
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  color: #7A5A00; line-height: 1.3; margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(250,200,53,.12);
}
.hub-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(56,162,255,.04), 0 3px 10px rgba(56,162,255,.05);
  transition: box-shadow .2s, border-color .2s;
}
.hub-card:hover {
  border-color: rgba(56,162,255,.2);
  box-shadow: 0 2px 6px rgba(56,162,255,.07), 0 8px 24px rgba(56,162,255,.08);
}
.hub-card:last-child { margin-bottom: 0; }
.hub-card-title {
  font-family: var(--fh); font-size: .95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em;
}
.hub-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.hub-tool {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 500; color: var(--mid); white-space: nowrap;
  height: 26px;
}
.hub-tool-dot {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; flex-shrink: 0; font-weight: 700;
}
.hub-tool-logo {
  width: 22px; height: 22px; object-fit: contain; flex-shrink: 0;
}

/* ═══ PROBLEM SECTION ══════════════════════════════════════════ */
#problem {
  padding: 72px 0 80px;
  background: var(--white);
  position: relative; overflow: hidden;
}
#problem::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
}
.problem-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--gutter);
}
.problem-head {
  text-align: left; margin-bottom: 48px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.problem-h {
  font-family: var(--fh);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--ink);
  letter-spacing: -.035em; line-height: 1.18;
  margin: 0 auto 14px;
}
.problem-h .acc { color: var(--yellow); }
.problem-h .acc-yellow { color: var(--yellow); }
.problem-h .acc-purple { color: var(--yellow); }
#problem .section-kicker { color: var(--yellow); }

/* ── cycling phrase slideshow ── */
.prob-cycle-wrap {
  display: inline-flex;
  justify-content: flex-start;
  overflow: hidden;
  height: 1.2em;
  position: relative;
  vertical-align: bottom;
  margin-left: 0.2em;
}
.prob-cycle {
  display: flex;
  flex-direction: column;
  animation: prob-slide 9s cubic-bezier(0.4,0,0.2,1) infinite;
}
.prob-cycle span {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
  white-space: nowrap;
}
@keyframes prob-slide {
  0%        { transform: translateY(0); }
  24%       { transform: translateY(0); }
  33.33%    { transform: translateY(-1.2em); }
  57%       { transform: translateY(-1.2em); }
  66.66%    { transform: translateY(-2.4em); }
  90%       { transform: translateY(-2.4em); }
  99%       { transform: translateY(-3.6em); }
  99.01%    { transform: translateY(0); }
  100%      { transform: translateY(0); }
}
.problem-sub {
  font-size: .96rem; color: var(--muted);
  line-height: 1.65;
}

/* ── Icon-grid layout ── */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ps-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #E8EEF6;
  border-radius: 16px;
  padding: 24px 20px 22px;
  transition: transform .22s ease, box-shadow .25s ease, border-color .22s;
}
.ps-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.07);
  border-color: #fac835;
}
.ps-item:hover .ps-icon-sq {
  background: #fef9e7;
  color: #c9960a;
}
.ps-item:hover .ps-item-cta {
  color: #c9960a;
}
.ps-icon-sq {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.ps-item-title {
  font-family: var(--fh); font-size: .95rem; font-weight: 700;
  color: var(--ink); line-height: 1.4; letter-spacing: -.01em;
  margin: 0 0 8px;
  min-height: 2.66rem;
}
.ps-item-text {
  font-size: .84rem; color: var(--muted); line-height: 1.65;
  flex: 1;
}
.ps-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: .8rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  letter-spacing: .01em;
  transition: gap .18s ease;
}
.ps-item-cta:hover {
  gap: 8px;
  color: #64748b;
  text-decoration: none;
}

/* ═══ PILLARS (dark showcase) ══════════════════════════════════ */
#pillars {
  background: var(--navy);
  padding: 80px 0 88px;
  position: relative; overflow: hidden;
}
/* Bee flight path — double dashed SVG trail on left side */
.pillars-flight {
  position: absolute; left: 4%; top: 0; bottom: 0;
  width: 80px; z-index: 0; pointer-events: none;
}
.pillars-flight svg { width: 100%; height: 100%; }
.pillars-flight .flight-path {
  fill: none; stroke: rgba(255,255,255,.10);
  stroke-width: 1.2; stroke-dasharray: 5 5;
}
.pillars-flight .flight-path-2 {
  stroke: rgba(255,255,255,.06);
  stroke-width: 1;
}

.pillars-head {
  text-align: center; padding: 0 var(--gutter);
  margin-bottom: 48px; position: relative; z-index: 1;
}
#pillars .section-kicker { color: var(--yellow); }
#pillars .section-h { color: white; }
#pillars .section-h .acc { color: var(--yellow); }
#pillars .section-lead { color: rgba(255,255,255,.55); max-width: 520px; margin: 0 auto; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 0 var(--gutter); align-items: stretch;
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 1;
}

/* Card — white card with colored top gradient band */
.pillar {
  border-radius: 14px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 12px 36px rgba(0,0,0,.08);
}
.pillar:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 20px 48px rgba(0,0,0,.14);
}

/* Top gradient band — gives each card a unique visual identity */
.pillar-accent {
  height: 4px; width: 100%; flex-shrink: 0;
}
.p-blue .pillar-accent   { background: linear-gradient(90deg, #1B6CB0, #38A2FF, #7BC4F5); }
.p-yellow .pillar-accent { background: linear-gradient(90deg, #C4940F, #FAC835, #FDDB6A); }
.p-purple .pillar-accent { background: linear-gradient(90deg, #1B6CB0, #38A2FF, #6BBFFF); }

/* Content area */
.pillar-content {
  padding: 28px 26px 26px;
  display: flex; flex-direction: column; flex: 1;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(56,162,255,.03) 0%, transparent 60%);
}
.p-yellow .pillar-content {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(250,200,53,.04) 0%, transparent 60%);
}

/* Header row: icon + label */
.pillar-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}

/* Icon — matches site-wide 44px pattern */
.pillar-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pillar-icon svg { width: 22px; height: 22px; }
.p-blue .pillar-icon   { background: rgba(56,162,255,.10); color: #2B8ED9; }
.p-yellow .pillar-icon { background: rgba(250,200,53,.10); color: #D4A017; }
.p-purple .pillar-icon { background: rgba(56,162,255,.08); color: #2B8ED9; }

/* Label */
.pillar-label {
  font-family: var(--fh); font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em;
}
.p-blue .pillar-label   { color: #2B8ED9; }
.p-yellow .pillar-label { color: #C4940F; }
.p-purple .pillar-label { color: #2B8ED9; }

/* Typography — consistent with .pc-title / .how-step across site */
.pillar h3 {
  font-family: var(--fh); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; line-height: 1.3;
  min-height: 1.3em;
}
.pillar p {
  font-size: .92rem; color: #1F2937; line-height: 1.7; margin-bottom: 0;
  min-height: 5em;
}

/* Divider */
.pillar-divider {
  height: 1px; background: #E5E7EB;
  margin: 16px 0 14px;
}

/* Feature list — checkmark style */
.pillar-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pillar-list li {
  font-size: .88rem; color: #374151;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.pillar-list li svg {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
}
.p-blue .pillar-list li svg   { color: #2B8ED9; }
.p-yellow .pillar-list li svg { color: #C4940F; }
.p-purple .pillar-list li svg { color: #2B8ED9; }
.pillar-list li::before { display: none; }

/* ═══ AI AGENTS SHOWCASE ═══════════════════════════════════════ */
#agents {
  padding: var(--sp-5xl) 0 var(--sp-4xl);
  background: white;
  overflow: hidden;
}

.agents-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.agents-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  animation: agents-scroll var(--marquee-duration, 35s) linear infinite;
}
.agents-marquee-reverse .agents-track {
  animation: agents-scroll-reverse var(--marquee-duration, 35s) linear infinite;
}


.agent-card {
  flex-shrink: 0;
  width: 210px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.agent-card:hover {
  border-color: var(--border-mid);
  box-shadow: 0 4px 16px rgba(56,162,255,.08);
}

.agent-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: #fac835 !important;
  background: rgba(250, 200, 53, 0.1) !important;
}
.agent-icon svg { width: 20px; height: 20px; }

.agent-name {
  font-family: var(--fh); font-size: .9rem; font-weight: 700;
  color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em;
}
.agent-name span {
  background: linear-gradient(135deg, #4a4a4a 0%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.agent-desc {
  font-size: .75rem; color: var(--ink-light); line-height: 1.55;
}

@keyframes agents-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--marquee-offset, -50%)); }
}
@keyframes agents-scroll-reverse {
  0%   { transform: translateX(var(--marquee-offset, -50%)); }
  100% { transform: translateX(0); }
}

/* ═══ STATS BAND (light) ═══════════════════════════════════════ */
#stats {
  background: var(--off);
  padding: 100px var(--gutter) var(--sp-6xl);
  position: relative; overflow: hidden;
}
.stats-head {
  text-align: center;
  margin-bottom: var(--sp-2xl);
  position: relative; z-index: 1;
}
#stats::before { display: none; }
#stats::after { display: none; }
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  position: relative; z-index: 1;
  background: white;
  box-shadow: 0 2px 12px rgba(56,162,255,.04), 0 8px 32px rgba(56,162,255,.06);
}
.stat-cell {
  padding: 44px 36px;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.stat-cell:last-child { border-right: none; }
.stat-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.stat-cell:nth-child(1)::before { background: var(--yellow); }
.stat-cell:nth-child(2)::before { background: var(--blue); }
.stat-cell:nth-child(3)::before { background: var(--purple-mid); }
.stat-cell:nth-child(4)::before { background: #22C55E; }
.stat-num {
  font-family: var(--fh); font-size: 3rem; font-weight: 800;
  color: var(--navy); letter-spacing: -.05em; line-height: 1; margin-bottom: 10px;
}
.stat-title { font-size: .875rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.stat-sub { font-size: .8rem; color: var(--ink-light); }

/* ═══ DIFFERENTIATORS ══════════════════════════════════════════ */
#diff { padding: 100px var(--gutter) var(--sp-6xl); }
.diff-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start;
}
.diff-sticky { position: sticky; top: 88px; }
.diff-sticky .section-lead { max-width: none; margin: 12px 0 28px; text-align: left; }
.diff-stack { display: flex; flex-direction: column; gap: 12px; }
.dc {
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 26px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .25s var(--ease-out-expo), box-shadow .25s, border-color .25s;
}
.dc:hover {
  transform: translateX(6px);
  border-color: var(--border-mid);
  box-shadow: -6px 0 0 0 var(--purple), 0 6px 24px rgba(56,162,255,.1);
}
.dc-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; background: var(--purple-pale); color: var(--purple);
  box-shadow: 0 1px 6px rgba(56,162,255,.1), inset 0 1px 0 rgba(255,255,255,.8);
}
.dc-icon svg { width: 20px; height: 20px; }
.dc h3 {
  font-family: var(--fh); font-size: .95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 5px; letter-spacing: -.01em;
}
.dc p { font-size: .92rem; color: #4B5563; line-height: 1.7; }
.dc-tag {
  display: inline-block; margin-top: 7px;
  font-size: .65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .07em; color: #1a6fbf;
  background: rgba(56,162,255,.1); padding: 3px 9px; border-radius: 4px;
  border: 1px solid rgba(56,162,255,.15);
}

/* ═══ HOW IT WORKS ═════════════════════════════════════════════ */
#how { padding: 100px var(--gutter) var(--sp-6xl); background: white; position: relative; overflow: hidden; }
.how-inner { max-width: var(--max-w); margin: 0 auto; }
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 56px;
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 2px 8px rgba(56,162,255,.04), 0 12px 36px rgba(56,162,255,.06);
}
.how-step {
  background: #FDFCFF; padding: 44px 36px;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background .22s, box-shadow .22s;
}
.how-step:last-child { border-right: none; }
.how-step:hover { background: #F8FAFF; }
.how-step-top {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out-expo);
}
.how-step:hover .how-step-top { transform: scaleX(1); }
.how-step:nth-child(1) .how-step-top { background: var(--blue); }
.how-step:nth-child(2) .how-step-top { background: var(--yellow); }
.how-step:nth-child(3) .how-step-top { background: #22C55E; }
.how-big-num {
  font-family: var(--fh); font-size: 3.5rem; font-weight: 800;
  color: var(--navy); line-height: 1; margin-bottom: 20px;
  letter-spacing: -.06em;
  transition: color .3s var(--ease-out-expo);
}
.how-step:hover:nth-child(1) .how-big-num { color: var(--blue); }
.how-step:hover:nth-child(2) .how-big-num { color: var(--yellow-deep); }
.how-step:hover:nth-child(3) .how-big-num { color: #22C55E; }
.how-tag { font-size: .63rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.how-step h3 {
  font-family: var(--fh); font-size: 1.1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -.012em;
}
.how-step p { font-size: .92rem; color: #4B5563; line-height: 1.7; }

/* ═══ K8S (dark card) ══════════════════════════════════════════ */
#k8s { padding: 100px var(--gutter) var(--sp-6xl); }
.k8s-wrap {
  max-width: var(--max-w); margin: 0 auto;
  border-radius: var(--r-xl); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr;
  box-shadow:
    0 4px 16px rgba(27,45,74,.15),
    0 24px 64px rgba(27,45,74,.25),
    0 64px 120px rgba(27,45,74,.15);
}
.k8s-left {
  background: var(--navy); padding: 48px 48px 40px;
  position: relative; overflow: hidden;
}
.k8s-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 50%, rgba(56,162,255,.55) 0%, transparent 65%);
}
.k8s-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(79,168,232,.1); border: 1px solid rgba(79,168,232,.2);
  color: var(--blue); padding: 4px 12px; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: 22px; position: relative;
}
.k8s-left h2 {
  font-family: var(--fh); font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700; color: white; letter-spacing: -.03em;
  line-height: 1.15; margin-bottom: 14px; position: relative;
}
.k8s-left > p { font-size: .9rem; color: rgba(255,255,255,.85); line-height: 1.6; margin-bottom: 20px; position: relative; }
.k8s-items {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 16px; position: relative;
}
.k8s-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85);
}
.k8s-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--blue);
  background: rgba(79,168,232,.12);
  box-shadow: 0 1px 6px rgba(79,168,232,.15), inset 0 1px 0 rgba(255,255,255,.08);
}
.k8s-icon svg { width: 20px; height: 20px; }
.k8s-right { background: #f5f6f8; padding: 0; display: flex; align-items: stretch; overflow: hidden; position: relative; }
.k8s-right img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.terminal {
  background: rgba(0,0,0,.28); border-left: 1px solid rgba(255,255,255,.06);
  flex: 1; overflow: hidden;
}
.term-bar {
  background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 10px 14px; display: flex; align-items: center; gap: 6px;
}
.td { width: 9px; height: 9px; border-radius: 50%; }
.td.r { background: #FF5F57; } .td.y { background: #FFBD2E; } .td.g { background: #28CA42; }
.term-label { font-size: .66rem; color: rgba(255,255,255,.28); margin-left: 5px; font-family: monospace; }
.term-body { padding: 18px 16px; font-family: 'Courier New', monospace; font-size: .7rem; line-height: 1.75; }
.tl-p { color: #63B6FF; } .tl-e { color: #F87171; } .tl-s { color: #4ADE80; }
.tl-a { color: var(--yellow); } .tl-n { color: rgba(255,255,255,.28); }
.tl-w { color: rgba(255,255,255,.6); }
.ai-box {
  background: rgba(56,162,255,.3); border: 1px solid rgba(56,162,255,.45);
  border-radius: var(--r-sm); padding: 10px 12px; margin-top: 10px;
  font-size: .67rem; color: rgba(255,255,255,.72); line-height: 1.55;
}
.ai-lbl { color: #C4A3E0; font-weight: 700; font-size: .57rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }

/* ═══ SECURITY TRUST BAR ══════════════════════════════════════ */
#security {
  padding: var(--sp-6xl) var(--gutter) var(--sp-2xl);
  background: var(--white);
}
.sec-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 36px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 28px;
}
/* Left 50%: logos centered */
.sec-bar-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.sec-bar-badge {
  width: 130px; height: 130px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.sec-bar-badge--iso {
  width: 200px; height: 200px;
}
.sec-bar-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border-mid);
  flex-shrink: 0;
}
/* Right 50%: 2-column vertical stack */
.sec-bar-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.sec-bar-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.sec-bar-pill svg {
  width: 18px; height: 18px;
  stroke: var(--purple);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .sec-bar { grid-template-columns: 1fr; gap: 16px; padding: 20px 24px; }
  .sec-bar-divider { width: 100%; height: 1px; align-self: auto; }
  .sec-bar-pills { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  #security { padding: 0 var(--gutter-sm); }
  .sec-bar { padding: 16px; gap: 12px; }
  .sec-bar-pills { grid-template-columns: 1fr; }
  .sec-bar-pill { font-size: .85rem; }
}

/* ═══ TESTIMONIALS ═════════════════════════════════════════════ */
#testimonials {
  padding: 100px var(--gutter) var(--sp-6xl);
  background: var(--navy);
  position: relative; overflow: hidden;
}
#testimonials::before { display: none; }
#testimonials::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
#testimonials .section-kicker { color: var(--yellow); position: relative; z-index: 1; }
#testimonials .section-h { color: white; position: relative; z-index: 1; }
#testimonials .section-h .acc { color: var(--yellow); }
.test-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.test-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.test-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 0;
  position: relative; overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out-expo), box-shadow var(--dur-med), border-color var(--dur-med);
  box-shadow: 0 4px 16px rgba(0,0,0,.12), 0 12px 40px rgba(0,0,0,.08);
}
.test-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 8px 24px rgba(0,0,0,.18), 0 24px 56px rgba(0,0,0,.12);
}

/* Gradient accent on top — removed */

/* Large quote mark */
.test-card::after {
  content: '\201C';
  position: absolute; top: 20px; right: 28px;
  font-family: Georgia, serif; font-size: 6rem;
  color: rgba(255,255,255,.06);
  line-height: 1; pointer-events: none;
}

.test-card-body { padding: 36px 36px 28px; }
.test-stars { color: var(--yellow); letter-spacing: 2px; font-size: .85rem; margin-bottom: 18px; }
.test-quote {
  font-size: .98rem; color: rgba(255,255,255,.85); line-height: 1.78; margin-bottom: 0;
  position: relative; z-index: 1;
}

/* Author bar at bottom */
.test-author-bar {
  padding: 18px 36px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  display: flex; align-items: center; gap: 14px;
}
.test-av {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: .85rem; font-weight: 700; color: white;
}
.test-card:nth-child(1) .test-av {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  box-shadow: 0 3px 12px rgba(56,162,255,.4);
}
.test-card:nth-child(2) .test-av {
  background: linear-gradient(135deg, var(--yellow-deep) 0%, #FF9F43 100%);
  box-shadow: 0 3px 12px rgba(250,200,53,.4);
}
.test-name { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.9); }
.test-role { font-size: .73rem; color: rgba(255,255,255,.4); }

/* Trusted by row */
.logos-row {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-top: 48px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.07);
}
.logos-lbl { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.3); }
.logo-chip {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm);
  padding: 8px 20px; font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.7);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.logo-chip:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.logo-chip-empty {
  background: transparent; border: 1px dashed rgba(255,255,255,.15); border-radius: var(--r-sm);
  padding: 8px 20px; font-size: .77rem; color: rgba(255,255,255,.3);
}

/* ═══ FAQ ═══════════════════════════════════════════════════════ */
#faq { padding: 100px var(--gutter) var(--sp-6xl); background: white; }
#faq .section-h .acc { color: var(--yellow); }
.faq-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.faq-sticky { position: sticky; top: 88px; }
.faq-sticky .section-lead { max-width: none; text-align: left; margin: 12px 0 24px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.faq-item {
  background: white; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 1px 3px rgba(56,162,255,.04); transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 3px 12px rgba(56,162,255,.07); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  text-align: left; font-family: var(--fb); font-size: .92rem; font-weight: 600; color: var(--ink);
  transition: background .15s;
}
.faq-q:hover { background: #FDFCFF; }
.faq-chev { flex-shrink: 0; color: var(--muted); transition: transform .3s var(--ease-out-expo); }
.faq-q[aria-expanded="true"] .faq-chev { transform: rotate(180deg); color: var(--purple); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease-out-expo); }
.faq-a.open { max-height: 260px; }
.faq-a-body { padding: 0 20px 17px; font-size: .92rem; color: #4B5563; line-height: 1.7; }

/* ═══ CTA ══════════════════════════════════════════════════════ */
#cta { padding: 100px var(--gutter) var(--sp-6xl); }
.cta-card {
  max-width: var(--max-w); margin: 0 auto;
  background: var(--navy); border-radius: 24px; padding: 88px 72px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 8px 32px rgba(27,45,74,.22),
    0 40px 100px rgba(27,45,74,.28);
}
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 10% 50%, rgba(56,162,255,.55) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 88% 30%, rgba(79,168,232,.06) 0%, transparent 55%);
  pointer-events: none;
}
.cta-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px;
  background: rgba(250,200,53,.1); border: 1px solid rgba(250,200,53,.22);
  color: var(--yellow); padding: 5px 14px; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.cta-tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }
.cta-h {
  font-family: var(--fh); font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; color: white; letter-spacing: -.04em;
  line-height: 1.05; margin-bottom: 16px;
}
.cta-h em { color: var(--yellow); font-style: normal; }
.cta-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.cta-free-note { font-size: .9rem; color: rgba(255,255,255,.75); text-align: center; margin: 0 0 28px; letter-spacing: .02em; font-weight: 500; }
.cta-trust { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cta-ti { font-size: .75rem; color: rgba(255,255,255,.38); display: flex; align-items: center; gap: 6px; }
.cta-ti-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* CTA product cards */
.cta-inner { max-width: 960px !important; }
.cta-product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 auto 40px;
  text-align: left;
}
.cta-pc {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 14px;
  padding: 20px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

/* Icon badge */
.cta-pc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2px;
  background: rgba(250,200,53,.14);
  color: #fac835;
}
.cta-pc-icon svg { width: 20px; height: 20px; }
.cta-pc-h {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
}
.cta-pc-p {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.cta-pc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-top: 2px;
  transition: gap .2s, color .2s;
}
.cta-pc-link:hover { gap: 8px; color: var(--blue); }
.cta-pc-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .cta-product-cards { grid-template-columns: repeat(2, 1fr); }
  .cta-pc-h { white-space: normal; }
}
@media (max-width: 520px) {
  .cta-product-cards { grid-template-columns: 1fr; }
}

/* ═══ FOOTER ═══════════════════════════════════════════════════ */
footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.05); padding: 56px var(--gutter) 28px; }
.foot-inner { max-width: var(--max-w); margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-brand { display: flex; align-items: center; margin-bottom: 10px; }
.foot-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.foot-tagline { font-size: .8rem; color: rgba(255,255,255,.35); line-height: 1.65; max-width: 260px; }
.foot-col h4 { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.25); margin-bottom: 14px; }
.foot-links { list-style: none; }
.foot-links li { margin-bottom: 9px; }
.foot-links a { font-size: .82rem; color: rgba(255,255,255,.45); transition: color var(--dur-fast); }
.foot-links a:hover { color: rgba(255,255,255,.82); }
.foot-bot {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.foot-copy { font-size: .72rem; color: rgba(255,255,255,.22); }
.foot-updated { font-size: .65rem; color: rgba(255,255,255,.16); margin-top: 2px; }
.foot-legal { display: flex; gap: 16px; }
.foot-legal a { font-size: .72rem; color: rgba(255,255,255,.28); transition: color var(--dur-fast); }
.foot-legal a:hover { color: rgba(255,255,255,.6); }

/* ═══ HERO ENTRY ANIMATIONS ════════════════════════════════════ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim-hidden {
  opacity: 0;
  transform: translateY(22px);
}
.hero-anim-run {
  animation: heroFadeUp .65s cubic-bezier(.22,1,.36,1) both;
}

/* ═══ RESPONSIVE ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 0 var(--gutter-sm); } .hero-card-wrap { display: none; } .hero-h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); text-align: center; } .hero-h1 .hl { white-space: nowrap; }
  .hero-visual { width: 100%; overflow: hidden; box-sizing: border-box; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-desc { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-metrics { justify-content: center; }
  .problem-cards { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-flight { display: none; }
  .diff-layout { grid-template-columns: 1fr; }
  .diff-sticky { position: relative; top: auto; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-sticky { position: relative; top: auto; }
  .k8s-wrap { grid-template-columns: 1fr; }
  .k8s-right { display: none; }
  .test-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .ss-body { grid-template-columns: 1fr; }
  .ss-sidebar { display: none; }
  /* Stats padding reduction */
  #stats { padding: 64px var(--gutter-sm); }
  .stat-cell { padding: 32px 24px; }
  /* Agents section */
  #agents { padding: 56px 0 40px; }
  /* hv-cards collapse */
  .hv-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #nav { padding: 0 var(--gutter-sm); }
  .nav-inner { padding: 0 var(--gutter-sm); }
  .nav-links, .btn-ghost-sm { display: none; }
  .nav-right::before { display: none; }
  .nav-right { gap: 10px; }
  .nav-logo-img { height: 30px; }
  .btn-nav { font-size: .78rem; padding: 4px 4px 4px 12px; }
  .nav-arr { width: 26px; height: 26px; margin-left: 8px; }
  .ham { display: flex; }
  #hero { padding-top: 96px; min-height: auto; max-height: none; overflow: hidden; }
  #hero, #problem, #integrations, #diff, #how, #k8s, #testimonials, #faq, #cta, footer { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
  .problem-inner { padding: 0 var(--gutter-sm); }
  .pillars-grid, .how-grid { padding: 0 var(--gutter-sm); }
  .wrap { padding: 0 var(--gutter-sm); }
  .how-grid { border-radius: 14px; grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid var(--border); }
  .how-step:last-child { border-bottom: none; }
  .stats-inner { border-radius: 14px; grid-template-columns: 1fr 1fr; }
  .k8s-left { padding: 40px 28px; }
  .cta-card { padding: 48px 28px; border-radius: var(--r-lg); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bot { flex-direction: column; align-items: center; text-align: center; }
  /* Section headings scale */
  .section-h { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  /* Padding for stats/agents */
  #stats { padding: 56px var(--gutter-sm); }
  #agents { padding: 48px 0 32px; }
  .stat-cell { padding: 28px 20px; }
  /* ps-grid 2-col on tablet */
  .ps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  /* hero section — center everything in single-column layout */
  .hero-layout { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 0 var(--gutter-sm); }
  .hero-visual { width: 100%; overflow: hidden; box-sizing: border-box; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-h1 { text-align: center; }
  .hero-desc { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-actions { flex-direction: column; align-items: center; gap: 10px; }
  .hero-free-note { margin-top: 6px; text-align: center; }
  .hero-trust { justify-content: center; }
  .hero-metrics { justify-content: center; }
  /* problem section centering */
  .problem-head { text-align: left; }
  .problem-h { text-align: left; }
  .problem-sub { text-align: left; }
}
@media (max-width: 540px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-cell:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; align-items: center; } .hub-cols { grid-template-columns: 1fr; } .hub-legs { display: none; }
  .hero-metrics { flex-direction: column; gap: 16px; align-items: center; }
  .metric, .metric:last-child, .metric:not(:first-child):not(:last-child) { padding: 0 0 16px 0; border-right: none; border-bottom: 1px solid var(--border); text-align: center; }
  .metric:last-child { padding-bottom: 0; border-bottom: none; }
  .cta-btns { flex-direction: column; align-items: center; }
  .ps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* Stats single col */
  #stats { padding: 40px var(--gutter-sm); }
  .stat-cell { padding: 24px 18px; text-align: center; }
  .stat-num { font-size: 2.2rem; }
  /* Section headings */
  .section-h { font-size: clamp(1.4rem, 6vw, 2rem); }
  /* Agents section mobile */
  #agents { padding: 40px 0 28px; }
  /* hero section full center on small screens */
  .hero-layout { text-align: center; justify-items: center; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-h1 { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .hero-h1 .hl { white-space: nowrap; font-size: clamp(1.3rem, 5.5vw, 1.65rem); }
  .hero-desc { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-trust { justify-content: center; }
}

/* ═══ BEE MASCOTS ════════════════════════════════════════════════ */
.bee-mascot {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}
.bee-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.10));
}

/* Hero bee */
.bee-hero {
  bottom: 10px; right: 2%;
  width: 120px; height: 120px;
  transform: rotate(-8deg);
}

/* Pillar section bee — top-right near heading */
.bee-pillars-tr { display: none; }
/* Bee next to pillars heading */
.bee-pillars-h {
  top: -10px; right: calc(50% - 560px);
  width: 80px; height: 80px;
  transform: rotate(6deg);
}
.bee-pillars-h img {
  image-rendering: -webkit-optimize-contrast;
}

/* How-it-works bee — top-right beside heading */
.bee-how {
  top: 80px; right: 10%;
  width: 100px; height: 100px;
  transform: rotate(8deg);
}

/* CTA bee — right side beside heading */
/* Problem section bee — sword bee near heading */
.bee-problem {
  top: 30px; right: calc(50% - 500px);
  width: 140px; height: 140px;
  transform: rotate(-8deg);
}
.bee-problem img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.bee-cta {
  top: 12%; right: 10%;
  width: 105px; height: 105px;
  transform: rotate(-5deg);
}
.bee-cta img {
  image-rendering: -webkit-optimize-contrast;
}

/* Hide bees on small screens to keep layout clean */
@media (max-width: 768px) {
  .bee-mascot { display: none; }
}

/* Slightly smaller on tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .bee-how { width: 70px; height: 70px; right: 4%; }
  .bee-cta { width: 120px; height: 120px; right: 3%; }
  .bee-problem { width: 100px; height: 100px; right: calc(50% - 340px); }
  .bee-pillars-h { width: 60px; height: 60px; right: calc(50% - 380px); }
}

/* ═══ HERO FREE NOTE ══════════════════════════════════════════ */
.hero-free-note {
  margin-top: 10px;
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #1a6b3c;
  letter-spacing: .01em;
}

/* ═══ HERO TRUST BADGES ═══════════════════════════════════════ */
.hero-trust {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 28px;
}
.hero-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; color: var(--mid);
}
.hero-trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--mid);
  letter-spacing: .01em;
}
.hero-trust-icon {
  width: 15px; height: 15px; flex-shrink: 0;
  color: #3b5bdb;
  stroke-width: 2.2;
}
.hero-trust-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--border-mid); display: inline-block;
}

/* ═══ HERO VISUAL (animated assistants + workflow) ════════════ */
.hero-visual { position: relative; z-index: 1; }
.hv-container {
  background: white; border-radius: var(--r-lg);
  border: 1px solid rgba(56,162,255,.12);
  padding: 24px 28px 20px;
  box-shadow: 0 8px 24px rgba(56,162,255,.08), 0 32px 64px rgba(27,45,74,.1);
  transform: perspective(800px) rotateY(-3deg) rotateX(1deg);
  transform-origin: center;
  transition: transform .6s var(--ease-out-expo);
}
.hv-container:hover { transform: perspective(800px) rotateY(0) rotateX(0); }
.hv-section-label {
  font-family: var(--fh); font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 10px;
}
.hv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.hv-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--off); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 10px 12px;
  transition: transform .3s var(--ease-out-expo), box-shadow .3s;
}
.hv-card:nth-child(1) { animation: hvFloat 5s ease-in-out infinite; }
.hv-card:nth-child(2) { animation: hvFloat 5s ease-in-out 1.2s infinite; }
.hv-card:nth-child(3) { animation: hvFloat 5s ease-in-out 2.4s infinite; }
.hv-card:nth-child(4) { animation: hvFloat 5s ease-in-out 3.6s infinite; }
@keyframes hvFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.hv-card-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hv-card-icon svg { width: 16px; height: 16px; }
.hv-icon-blue { background: rgba(56,162,255,.1); color: #2B8ED9; }
.hv-icon-yellow { background: rgba(250,200,53,.1); color: #C4940F; }
.hv-icon-green { background: rgba(34,197,94,.1); color: #16A34A; }
.hv-icon-purple { background: rgba(139,92,246,.1); color: #8B5CF6; }
.hv-card-name { font-family: var(--fh); font-size: .72rem; font-weight: 700; color: var(--ink); }
.hv-card-metric { font-size: .62rem; color: var(--muted); }
.hv-divider {
  display: flex; align-items: center; justify-content: center;
  position: relative; height: 28px; margin-bottom: 12px;
}
.hv-divider::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--border);
}
.hv-plus {
  position: relative; z-index: 1;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: var(--yellow);
  font-family: var(--fh); font-size: .85rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  animation: hvPulse 3s ease-in-out infinite;
}
@keyframes hvPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27,45,74,.3); }
  50% { box-shadow: 0 0 0 8px rgba(27,45,74,0); }
}
.hv-workflow {
  position: relative; min-height: 90px;
  background: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0,0,0,.025) 19px, rgba(0,0,0,.025) 20px),
              repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(0,0,0,.025) 19px, rgba(0,0,0,.025) 20px);
  border-radius: 8px;
}
.hv-wf-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hv-wf-line { animation: hvDash 2.5s linear infinite; }
@keyframes hvDash { to { stroke-dashoffset: -14; } }
.hv-wf-node {
  position: absolute; display: flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 7px;
  padding: 3px 8px 3px 4px; font-size: .58rem; font-weight: 600; color: #374151;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); white-space: nowrap;
}
.hv-wf-ico {
  width: 22px; height: 22px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ═══ ASSISTANT MOCKUP CARDS ══════════════════════════════════ */
.assist-grid-split { grid-template-columns: 40% 60% !important; align-items: stretch; gap: 0 !important; position: relative; overflow: visible; min-height: 460px; }

/* Dot grid background on text side only */
.assist-grid-split::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 40%;
  background-image: radial-gradient(circle, rgba(56,162,255,.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  border-radius: 20px 0 0 20px;
  pointer-events: none; z-index: 0;
}

/* Bee mascot on card */
.assist-card-bee {
  position: absolute;
  top: -36px; left: 36px;
  width: 72px; height: 72px;
  pointer-events: none; z-index: 1;
  transform: rotate(-12deg);
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.14));
}
.assist-card-bee img { width: 100%; height: 100%; object-fit: contain; }

#ap-finops .assist-card-bee {
  width: 90px; height: 90px;
  top: -45px;
}

#ap-k8s .assist-card-bee {
  width: 100px; height: 100px;
  top: -50px;
}

#ap-k8s .assist-text {
  justify-content: flex-start;
  padding-top: 20px;
}



/* ensure text sits above pseudo-elements */
.assist-grid-split .assist-text { position: relative; z-index: 1; }
.assist-mockup {
  background: #FAFAF8; border: 1px solid #DCDCE5;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.06), 0 16px 40px rgba(0,0,0,.08);
}
.am-bar {
  background: #F4F3F8; border-bottom: 1px solid #EAEAF0;
  padding: 12px 18px; display: flex; align-items: center; gap: 6px;
}
.am-bar .hcd { width: 10px; height: 10px; }
.am-title { font-size: .8rem; color: #666; margin-left: 8px; font-weight: 700; }
.am-body { padding: 20px 22px; }
.am-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.am-badge {
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap;
}
.am-badge-crit { background: rgba(220,38,38,.08); color: #DC2626; }
.am-badge-green { background: rgba(22,163,74,.08); color: #16A34A; }
.am-badge-warn { background: rgba(229,148,12,.1); color: #B97800; }
.am-badge-blue { background: rgba(56,162,255,.1); color: var(--purple); }
.am-label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.am-meta { font-size: .78rem; color: #999; margin-bottom: 12px; }
.am-rca {
  background: rgba(56,162,255,.04); border-left: 3px solid var(--purple);
  border-radius: 0 8px 8px 0; padding: 12px 16px; margin-bottom: 14px;
  font-size: .82rem; color: var(--mid); line-height: 1.6;
}
.am-rca code { color: #4FA8E8; font-size: inherit; }
.am-rca-tag { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); margin-bottom: 4px; }
.am-actions { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.am-pill {
  font-size: .75rem; font-weight: 700; padding: 5px 12px;
  border-radius: var(--r-pill); white-space: nowrap;
}
.am-pill-blue { background: rgba(56,162,255,.08); color: var(--purple); border: 1px solid rgba(56,162,255,.18); }
.am-pill-green { background: rgba(34,197,94,.08); color: #16A34A; border: 1px solid rgba(34,197,94,.18); }
.am-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.am-stat {
  background: #FFFDF0; border: 1px solid rgba(250,207,57,.22);
  border-radius: 10px; padding: 14px 16px; text-align: center;
}
.am-stat-num { font-family: var(--fh); font-size: 1.25rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.am-stat-lbl { font-size: .72rem; color: #888; margin-top: 2px; }

/* ═══ WORKFLOW BUILDER VISUAL ═════════════════════════════════ */
.wfb-visual { margin-bottom: 80px; }
.wfb-canvas {
  position: relative; min-height: 240px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  box-shadow: 0 2px 8px rgba(56,162,255,.04), 0 12px 32px rgba(56,162,255,.06);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(0,0,0,.025) 23px, rgba(0,0,0,.025) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(0,0,0,.025) 23px, rgba(0,0,0,.025) 24px);
}
.wfb-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wfb-node {
  position: absolute; display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
  padding: 5px 12px 5px 5px; font-size: .7rem; font-weight: 600; color: #374151;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); white-space: nowrap;
  transition: box-shadow .2s;
}
.wfb-node:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.wfb-node-ai { border-color: rgba(139,92,246,.3); box-shadow: 0 0 10px rgba(139,92,246,.12); }
.wfb-node-trigger { border-color: rgba(255,107,107,.3); }
.wfb-n-ico {
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wfb-visual-caption {
  text-align: center; font-size: .85rem; color: var(--muted);
  margin-top: 16px; line-height: 1.5;
}

/* ═══ WORKFLOW DEMO IFRAME ═════════════════════════════════════ */
.wfb-demo-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
  background: #0d1b2e;
  position: relative;
  /* fallback height before JS runs */
  min-height: 200px;
  /* prevent iframe from overflowing container before JS scales it */
  max-width: 100%;
}
.wfb-demo-frame iframe {
  width: 1280px;
  height: 740px;
  border: none;
  display: block;
  transform-origin: top left;
  /* prevent horizontal scroll bleed */
  max-width: none;
}

/* ═══ NB PRODUCT DEMO PLAYER ══════════════════════════════════ */
.nb-demo-player { width:100%; border-radius:14px; overflow:hidden; box-shadow:0 24px 64px rgba(0,0,0,.13),0 4px 16px rgba(0,0,0,.07); background:#e8eaed; user-select:none; }
.nb-demo-chrome { background:#e8eaed; padding:9px 16px; display:flex; align-items:center; gap:10px; border-bottom:1px solid #d1d5db; }
.nb-demo-dots { display:flex; gap:6px; }
.nb-dot { width:11px; height:11px; border-radius:50%; }
.nb-dot-r { background:#ff5f57; } .nb-dot-y { background:#febc2e; } .nb-dot-g { background:#28c840; }
.nb-demo-url { flex:1; background:#fff; border-radius:20px; padding:3px 14px; font-size:.72rem; color:#6b7280; font-family:monospace; text-align:center; max-width:340px; margin:0 auto; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nb-demo-screen-wrap { position:relative; width:100%; height:460px; overflow:hidden; background:#f8f9fc; }
/* Scenes */
.nb-scene { position:absolute; inset:0; opacity:0; transform:translateY(14px); transition:opacity .38s ease, transform .38s ease; pointer-events:none; z-index:1; display:flex; flex-direction:column; }
.nb-scene.nb-active { opacity:1; transform:translateY(0); z-index:2; pointer-events:auto; }
.nb-scene.nb-exit { opacity:0; transform:translateY(-10px); z-index:1; transition:opacity .28s ease, transform .28s ease; }
/* Cursor */
.nb-cursor { position:absolute; width:22px; height:22px; pointer-events:none; z-index:200; top:50%; left:50%; transition:left .65s cubic-bezier(.4,0,.2,1), top .65s cubic-bezier(.4,0,.2,1); filter:drop-shadow(0 2px 5px rgba(0,0,0,.35)); }
/* Ripple */
.nb-ripple { position:absolute; width:36px; height:36px; border-radius:50%; background:rgba(56,162,255,.35); pointer-events:none; z-index:199; transform:translate(-50%,-50%) scale(0); opacity:0; }
.nb-ripple.go { animation:nbRipple .5s ease-out forwards; }
@keyframes nbRipple { 0%{transform:translate(-50%,-50%) scale(0);opacity:.85} 100%{transform:translate(-50%,-50%) scale(2.8);opacity:0} }
/* Hover glow helper */
.nb-hover-glow { box-shadow:0 0 0 3px rgba(56,162,255,.28) !important; border-color:#38A2FF !important; }
.nb-hover-bg { background:rgba(56,162,255,.07) !important; }

/* ── Scene 1: Dashboard ── */
.nb-s1 { background:#fff; }
.nb-app-nav { display:flex; align-items:center; padding:9px 18px; border-bottom:1px solid #e5e7eb; gap:10px; flex-shrink:0; }
.nb-nav-icon { width:28px; height:28px; background:#1e293b; border-radius:7px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nb-nav-right { margin-left:auto; display:flex; align-items:center; gap:8px; }
.nb-env-badge { display:flex; align-items:center; gap:5px; font-size:.68rem; border:1px solid #e5e7eb; border-radius:6px; padding:4px 8px; color:#374151; }
.nb-env-dot { width:7px; height:7px; border-radius:50%; background:#22c55e; flex-shrink:0; }
.nb-detail-btn { font-size:.68rem; border:1px solid #e5e7eb; border-radius:6px; padding:4px 10px; color:#374151; }
.nb-app-tabs { display:flex; padding:0 18px; border-bottom:1px solid #e5e7eb; flex-shrink:0; }
.nb-tab { padding:9px 14px; font-size:.73rem; color:#6b7280; border-bottom:2.5px solid transparent; font-weight:500; }
.nb-tab-active { color:#111827; border-bottom-color:#111827; }
.nb-toolbar { display:flex; align-items:center; padding:10px 18px; gap:8px; flex-shrink:0; }
.nb-search-bar { display:flex; align-items:center; height:30px; border:1px solid #e5e7eb; border-radius:6px; padding:0 10px; font-size:.7rem; color:#9ca3af; background:#fff; gap:6px; }
.nb-toolbar-r { margin-left:auto; display:flex; align-items:center; gap:7px; }
.nb-configs-btn { font-size:.7rem; border:1px solid #e5e7eb; border-radius:6px; padding:5px 11px; color:#374151; display:flex; align-items:center; gap:5px; }
.nb-create-btn { font-size:.72rem; border-radius:6px; padding:6px 13px; background:#1d4ed8; color:#fff; font-weight:600; display:flex; align-items:center; gap:5px; transition:all .2s; }
.nb-table-head { display:flex; justify-content:space-between; padding:7px 18px; background:#f9fafb; border-bottom:1px solid #e5e7eb; flex-shrink:0; }
.nb-th { font-size:.65rem; font-weight:600; color:#9ca3af; text-transform:uppercase; letter-spacing:.05em; }
.nb-empty-state { flex:1; display:flex; align-items:center; justify-content:center; font-size:.78rem; color:#9ca3af; }
.nb-s1-footer { padding:7px 18px; border-top:1px solid #e5e7eb; display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }

/* ── Modal base ── */
.nb-modal-wrap { position:absolute; inset:0; background:rgba(17,24,39,.18); display:flex; align-items:center; justify-content:center; z-index:10; }
.nb-modal-box { background:#fff; border-radius:16px; padding:26px; box-shadow:0 28px 60px rgba(0,0,0,.2); position:relative; width:88%; max-width:660px; animation:nbModalIn .3s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes nbModalIn { from{transform:scale(.92) translateY(10px);opacity:0} to{transform:scale(1) translateY(0);opacity:1} }
.nb-modal-close { position:absolute; top:14px; right:16px; width:24px; height:24px; display:flex; align-items:center; justify-content:center; font-size:.9rem; color:#9ca3af; cursor:pointer; border-radius:50%; border:1px solid #e5e7eb; }
.nb-modal-title { font-size:.92rem; font-weight:700; color:#111827; margin-bottom:3px; }
.nb-modal-sub { font-size:.72rem; color:#9ca3af; margin-bottom:18px; }

/* ── Scene 2: Create modal ── */
.nb-create-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.nb-cc { border:1.5px solid #e5e7eb; border-radius:11px; padding:14px; cursor:pointer; transition:all .2s; }
.nb-cc-img { width:100%; height:72px; border-radius:8px; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.nb-cc h4 { font-size:.75rem; font-weight:700; color:#111827; margin-bottom:3px; }
.nb-cc p { font-size:.65rem; color:#6b7280; line-height:1.4; }
.nb-beta { display:inline-block; background:#ede9fe; color:#7c3aed; font-size:.58rem; font-weight:700; padding:2px 7px; border-radius:20px; margin-left:4px; vertical-align:middle; }

/* ── Scene 3: Templates ── */
.nb-modal-lg { max-width:760px; width:94%; }
.nb-cat-tabs { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.nb-cat { padding:4px 11px; border-radius:20px; font-size:.65rem; font-weight:500; background:#f3f4f6; color:#374151; border:1px solid transparent; cursor:pointer; }
.nb-cat-on { background:#111827; color:#fff; }
.nb-tpl-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; }
.nb-tpl { border:1.5px solid #e5e7eb; border-radius:10px; padding:12px; background:#fff; transition:all .2s; }
.nb-tpl-badge { display:inline-block; font-size:.58rem; font-weight:600; padding:2px 8px; border-radius:20px; margin-bottom:7px; }
.nb-tpl h4 { font-size:.7rem; font-weight:700; color:#111827; margin-bottom:4px; line-height:1.3; }
.nb-tpl p { font-size:.62rem; color:#6b7280; line-height:1.4; margin-bottom:10px; }
.nb-tpl-btn { display:block; width:100%; text-align:center; padding:5px 0; font-size:.66rem; font-weight:500; border:1.5px solid #e5e7eb; border-radius:6px; color:#374151; transition:all .2s; }

/* ── Scene 4: Canvas ── */
.nb-s4 { background:#f1f3f5; }
.nb-cvs-header { padding:11px 18px; display:flex; align-items:center; gap:8px; background:#fff; border-bottom:1px solid #e5e7eb; font-size:.8rem; font-weight:600; color:#111827; flex-shrink:0; }
.nb-cvs-body { flex:1; position:relative; overflow:hidden; }
.nb-cvs-svg { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.nb-wn { position:absolute; background:#fff; border:1.5px solid #e5e7eb; border-radius:10px; padding:9px 13px; display:flex; align-items:center; gap:9px; box-shadow:0 2px 8px rgba(0,0,0,.06); min-width:150px; }
.nb-wn-ico { width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nb-wn-info h5 { font-size:.7rem; font-weight:700; color:#111827; }
.nb-wn-info span { font-size:.58rem; color:#9ca3af; }
.nb-trigger-lbl { position:absolute; top:-20px; left:50%; transform:translateX(-50%); background:#f97316; color:#fff; font-size:.52rem; font-weight:700; letter-spacing:.07em; padding:2px 7px; border-radius:4px; white-space:nowrap; }
.nb-cvs-footer { padding:9px 16px; background:#fff; border-top:1px solid #e5e7eb; display:flex; align-items:center; justify-content:center; gap:9px; flex-shrink:0; }
.nb-cf { padding:6px 13px; font-size:.7rem; border:1.5px solid #e5e7eb; border-radius:7px; background:#fff; color:#374151; font-weight:500; display:flex; align-items:center; gap:5px; }
.nb-cf-pri { background:#1d4ed8; color:#fff; border-color:#1d4ed8; font-weight:600; }
.nb-cf-ico { width:30px; height:30px; padding:0; border-radius:50%; justify-content:center; }
.nb-add-act { border:1.5px dashed #d1d5db; background:transparent; color:#6b7280; cursor:pointer; transition:all .2s; }

/* ── Scene 5: Add Node ── */
.nb-modal-side { width:44%; max-width:340px; margin-left:auto; }
.nb-search-inp { width:100%; padding:7px 12px; border:1px solid #e5e7eb; border-radius:7px; font-size:.7rem; color:#9ca3af; background:#f9fafb; margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.nb-node-list { display:flex; flex-direction:column; gap:1px; }
.nb-nc { display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:8px; cursor:pointer; transition:background .18s; }
.nb-nc-ico { width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nb-nc-info h5 { font-size:.7rem; font-weight:600; color:#111827; }
.nb-nc-info p { font-size:.6rem; color:#6b7280; line-height:1.3; }
.nb-nc-chev { margin-left:auto; color:#d1d5db; font-size:.7rem; flex-shrink:0; }

@media (max-width:768px) {
  .nb-demo-screen-wrap { height:300px; }
  .nb-tpl-grid { grid-template-columns:repeat(2,1fr); }
  .nb-create-cards { grid-template-columns:1fr; }
  .nb-modal-side { width:80%; }
}
@media (max-width:480px) {
  .nb-demo-screen-wrap { height:260px; }
  .nb-tpl-grid { grid-template-columns:1fr 1fr; }
}
.wfb-uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero-trust-img {
  width: 24px; height: 24px; object-fit: contain;
  border-radius: 3px; mix-blend-mode: multiply;
}
.hero-trust-sep {
  color: var(--border-mid); font-size: .9rem;
}

/* (problem-cards and problem-insight styles moved to PROBLEM SECTION block above) */

/* ═══ THE NUDGEBEE ADVANTAGE ══════════════════════════════════ */
#solution {
  padding: 100px 0;
  background: linear-gradient(160deg, #1a2340 0%, #0f1928 60%, #1c2a1a 100%);
  position: relative; overflow-x: clip; overflow-y: visible;
  width: 100%;
}
/* Honeycomb bg overlay */
.sol-honeycomb {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.07; pointer-events: none;
}
/* Flying bee decorations */
.sol-bee-fly {
  position: absolute; z-index: 1; pointer-events: none;
}
.sol-bee-fly img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sol-bee-fly-2 {
  width: 90px; height: 90px;
  bottom: 18%; right: 6%;
  opacity: 0.5;
  animation: sol-bee-drift2 11s ease-in-out infinite alternate;
}
@keyframes sol-bee-drift2 {
  0%   { transform: translate(0,0) rotate(6deg); }
  50%  { transform: translate(-14px, 18px) rotate(-5deg); }
  100% { transform: translate(-6px, 8px) rotate(4deg); }
}
/* Bee inline at bottom-right of heading */
.sol-h2-wrap { position: relative; display: inline-block; }
.sol-heading-bee {
  display: inline-block;
  width: 68px; height: 68px;
  object-fit: contain;
  vertical-align: bottom;
  margin-left: 4px;
  margin-bottom: -10px;
  filter: drop-shadow(0 2px 10px rgba(245,166,35,0.4));
  animation: sol-bee-bob 3s ease-in-out infinite alternate;
}
@keyframes sol-bee-bob {
  0%   { transform: translateY(0) rotate(-4deg); }
  100% { transform: translateY(-8px) rotate(4deg); }
}
#solution .section-kicker { color: rgba(255,255,255,0.6); position: relative; z-index: 1; }
#solution .section-h { color: #fff; position: relative; z-index: 1; }
#solution .section-h .acc { color: var(--blue); }
#solution .section-h .acc-yellow { color: var(--yellow); }
#solution .section-lead { color: rgba(255,255,255,0.7); position: relative; z-index: 1; max-width: 560px; margin: 18px auto 0; }
.sol-inner { position: relative; z-index: 2; }
.sol-head { text-align: center; margin-bottom: 56px; }
.sol-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 32px;
  width: 100%;
  position: relative;
}
.sol-grid > .sol-card,
.sol-grid > .sol-card-alt { min-width: 0; flex: 1 1 0; }
.sol-grid > .sol-or {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  z-index: 2;
}
.sol-or {
  font-family: var(--fh); font-size: .88rem; font-weight: 800;
  color: var(--mid); background: #fff;
  border: 1.5px solid #E2E8F0;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: relative;
}
.sol-card {
  background: var(--navy);
  border: 2px solid #FAC835;
  outline: none;
  border-radius: 20px; padding: 40px 36px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  box-shadow: 0 24px 64px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
  transition: transform var(--dur-med) var(--ease-out-expo), box-shadow var(--dur-med);
}
/* Top-left yellow glow */
.sol-card::before {
  content: ''; position: absolute; top: -30px; left: -30px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,200,53,.22) 0%, transparent 65%);
  pointer-events: none;
}
/* Bottom-right blue accent */
.sol-card::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,162,255,.14) 0%, transparent 65%);
  pointer-events: none;
}
.sol-card-alt {
  background: #fff;
  border: 2px solid #FAC835;
  outline: none;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
}
.sol-card-alt::before {
  display: none;
}
.sol-card-alt-know-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}
.sol-card-alt-know-more:hover {
  color: var(--navy-deep);
  gap: 10px;
}
.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.sol-label {
  display: inline-block; font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--yellow); margin-bottom: 16px;
  background: rgba(250,200,53,.15); border: 1px solid rgba(250,200,53,.25);
  padding: 4px 12px; border-radius: var(--r-pill);
}
.sol-card-alt .sol-label {
  color: #fff; background: var(--ink);
  border-color: var(--ink);
}
.sol-card-h {
  font-family: var(--fh); font-size: 1.25rem; font-weight: 800;
  color: white; letter-spacing: -.02em; line-height: 1.2;
  margin-bottom: 12px;
  white-space: nowrap;
}
.sol-card-alt .sol-card-h { color: var(--ink); }
.sol-card-desc {
  font-size: .92rem; color: rgba(255,255,255,.55);
  line-height: 1.7; margin-bottom: 24px; width: 100%;
}
.sol-card-alt .sol-card-desc { color: var(--mid); }
.sol-card-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.sol-card-list li {
  font-size: .9rem; color: rgba(255,255,255,.85); font-weight: 600;
  padding-left: 24px; position: relative;
}
.sol-card-list li::before {
  content: '\2713'; position: absolute; left: 0;
  color: #34D399; font-weight: 800;
}
.sol-card-alt .sol-card-list li { color: var(--ink); }
.sol-card-alt .sol-card-list li::before { color: #34D399; }

.sol-card-cta {
  display: inline-block; font-size: .9rem; font-weight: 700; color: var(--yellow);
  margin-top: 16px; margin-bottom: 0;
  transition: color var(--dur-fast);
}
.sol-card-alt .sol-card-cta { color: var(--ink); }
.sol-card-cta:hover { color: #ffe066; }
.sol-card-alt .sol-card-cta:hover { color: var(--purple); }

/* ── Assistant Chip Grid ── */
.sol-tile-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  flex: 1;
}
.sol-tile-chip {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  font-family: var(--fb);
  color: var(--ink); text-decoration: none;
  position: relative; overflow: hidden;
  min-width: 0; box-sizing: border-box;
  width: 100%;
  transition: transform 0.22s cubic-bezier(.22,1,.36,1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.sol-chip-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; overflow: hidden; }
.sol-chip-name { font-size: .83rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.sol-chip-desc { font-size: .72rem; font-weight: 400; color: var(--muted); line-height: 1.3; }
/* Override text colours inside the dark navy card */
.sol-card .sol-chip-name { color: #fff; }
.sol-card .sol-chip-desc { color: rgba(255,255,255,.65); }
.sol-tile-chip::before { display: none; }
.sol-chip-know-more {
  display: inline-block;
  margin-top: 6px;
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.sol-chip-know-more:hover { opacity: 1; text-decoration: underline; }
.sol-tile-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(56,162,255,.35);
}
/* ── Chip icon — outline style matching feat-icon ── */
.sol-chip-icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.sol-chip-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.sol-chip-icon--blue   { background: rgba(56,162,255,.15);  color: #38A2FF; }
.sol-chip-icon--yellow { background: rgba(250,200,53,.15);  color: #FAC835; }
.sol-chip-icon--orange { background: rgba(251,146,60,.15);  color: #FB923C; }
.sol-chip-icon--navy   { background: rgba(148,163,184,.15); color: #94A3B8; }

/* ── Feature Box Grid (Build Your Own card) ── */
.sol-feat-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  flex: 1;
}
/* Shared box token — used by both cards */
.sol-feat-box {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
  background: #fff;
  border: 1px solid #E2EAF4;
  border-radius: 14px;
  font-size: .83rem; font-weight: 700; color: var(--ink);
  transition: transform 0.22s cubic-bezier(.22,1,.36,1), border-color 0.22s ease;
}
.sol-feat-box:hover {
  transform: translateY(-2px);
  border-color: rgba(56,162,255,.35);
}
.sol-feat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  margin-top: 1px;
}
.sol-feat-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.sol-feat-icon--blue   { background: #EDF5FF; color: #38A2FF; }
.sol-feat-icon--purple { background: rgba(139,92,246,.10); color: #7C3AED; }
.sol-feat-icon--orange { background: rgba(251,146,60,.12); color: #FB923C; }
.sol-feat-icon--green  { background: rgba(16,185,129,.10); color: #059669; }
.sol-feat-icon--yellow { background: rgba(250,200,53,.15);  color: #FAC835; }
.sol-feat-icon--navy   { background: rgba(148,163,184,.15); color: #94A3B8; }

/* Inside dark navy card: override box background and text colours */
.sol-card .sol-feat-box {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
}
.sol-card .sol-feat-icon--blue   { background: rgba(56,162,255,.15);  color: #38A2FF; }
.sol-card .sol-feat-icon--yellow { background: rgba(250,200,53,.15);  color: #FAC835; }
.sol-card .sol-feat-icon--orange { background: rgba(251,146,60,.15);  color: #FB923C; }
.sol-card .sol-feat-icon--navy   { background: rgba(148,163,184,.15); color: #94A3B8; }
.sol-card .sol-chip-name { color: #fff; }
.sol-card .sol-chip-desc { color: rgba(255,255,255,.65); }
.sol-card .sol-chip-know-more { color: #fff; }

/* ── Workflow Diagram ── */
.sol-workflow-diagram {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 20px 0 0;
}
.sol-wf-step {
  padding: 10px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--fb); font-size: .82rem; font-weight: 600;
  color: var(--ink); background: #fff;
}
.sol-wf-arrow {
  font-size: 1rem; color: var(--mid);
}

.sol-footer {
  text-align: center; font-size: .92rem;
  color: var(--mid); line-height: 1.7;
  position: relative; z-index: 1;
}
.sol-footer em { font-style: italic; }

/* ═══ PRE-BUILT ASSISTANTS (tabbed) ═══════════════════════════ */
#assistants {
  padding: 100px 0;
  background: var(--off);
  position: relative; overflow: hidden;
}
.assist-inner { max-width: var(--max-w); margin: 0 auto; width: 100%; }
.assist-head { text-align: center; margin-bottom: 40px; position: relative; z-index: 1; }
.assist-cta {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; gap: 20px;
  text-align: left; flex-wrap: wrap;
  margin-top: 56px; padding: 22px 36px;
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  border-top: 2px solid rgba(250,200,53,0.25);
  border-radius: 14px;
}
/* Subtle yellow-left glow only */
.assist-cta::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 55% 120% at 0% 50%, rgba(250,200,53,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.assist-cta-hc {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.05; pointer-events: none;
}
.assist-cta-left {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  position: relative; z-index: 1;
}
.assist-cta-headline {
  font-family: var(--fh); font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 0;
  line-height: 1.25;
}
.assist-cta-highlight {
  color: var(--yellow);
}
.assist-cta-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.assist-cta-pills li {
  font-family: var(--fb); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
}
.assist-cta-sub { display: none; }
.assist-cta-btn {
  position: relative; z-index: 1; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(250,200,53,.18), 0 6px 16px rgba(250,200,53,.12);
}
.assist-cta-btn:hover {
  box-shadow: 0 4px 12px rgba(250,200,53,.28), 0 12px 28px rgba(250,200,53,.16);
}
@media (max-width: 767px) {
  .assist-cta {
    flex-direction: column; align-items: center;
    justify-content: center; text-align: center;
  }
  .assist-cta-left { align-items: center; }
}
.bee-assist-head {
  position: absolute;
  top: -18px;
  right: -10px;
  width: 88px; height: 88px;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 2;
}
.assist-tabs {
  display: flex; gap: 4px; justify-content: center;
  margin-bottom: 32px; flex-wrap: wrap;
  position: relative; z-index: 10;
}
.assist-tab {
  font-family: var(--fb); font-size: .88rem; font-weight: 600;
  color: var(--mid); background: white;
  border: 1.5px solid var(--border); border-radius: var(--r-pill);
  padding: 10px 22px; cursor: pointer;
  transition: all var(--dur-fast);
}
.assist-tab:hover { border-color: var(--purple); color: var(--ink); }
.assist-tab.active {
  background: var(--navy); color: white;
  border-color: var(--navy);
}
.assist-panels { position: relative; min-height: 200px; }
.assist-panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}
.assist-panel.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.assist-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px;
  background: white; border: 1px solid var(--border);
  border-radius: 20px; padding: 44px 40px;
  box-shadow: 0 2px 12px rgba(56,162,255,.04), 0 8px 32px rgba(56,162,255,.06);
}
.assist-grid:has(.assist-visual) {
  grid-template-columns: 1fr 1fr;
}
.assist-text { display: flex; flex-direction: column; justify-content: center; padding-right: 32px; }
.assist-text h3 {
  font-family: var(--fh); font-size: 1.25rem; font-weight: 800;
  color: var(--ink); letter-spacing: -.02em; margin-bottom: 12px;
}
.assist-what {
  font-size: .95rem; color: #4B5563; line-height: 1.7; margin-bottom: 24px;
}
.assist-flow {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.assist-step {
  flex: 1; min-width: 140px;
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--off); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 16px;
}
.assist-step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: white;
  font-family: var(--fh); font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.assist-step span:last-child {
  font-size: .82rem; color: var(--mid); line-height: 1.4;
}
.assist-step-arrow {
  display: flex; align-items: center;
  font-size: 1.2rem; color: var(--purple); font-weight: 700;
  padding-top: 12px;
}
.assist-outcomes {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.assist-outcome {
  background: rgba(34,197,94,.06); border: 1px solid rgba(34,197,94,.15);
  border-radius: var(--r-sm); padding: 8px 16px;
  font-size: .82rem; color: #166534;
}
.assist-outcome strong { font-weight: 700; }
.assist-visual {
  display: flex; align-items: stretch; overflow: hidden;
  border-radius: 0 16px 16px 0; align-self: stretch;
  margin: -44px -40px -44px 0;
}
.assist-img {
  width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block;
  border-radius: 0 16px 16px 0;
}

/* ═══ WORKFLOW BUILDER (deep dive) ═════════════════════════════ */
#workflow-builder {
  padding: 100px 0;
  background: white;
  position: relative; overflow-x: clip; overflow-y: visible;
  width: 100%;
}
.wfb-inner { max-width: var(--max-w); width: 100%; margin: 0 auto; box-sizing: border-box; position: relative; }
.wfb-head { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.wfb-compare {
  margin-bottom: 40px; overflow-x: auto;
}
.wfb-table-wrap {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.wfb-table {
  width: 100%; border-collapse: collapse;
  font-size: .9rem; text-align: left;
}
.wfb-table th {
  font-family: var(--fh); font-weight: 800; font-size: .88rem;
  color: var(--ink); padding: 16px 24px;
  border-bottom: 2px solid var(--border);
  background: #f8fafc;
}
.wfb-table th:first-child { color: var(--muted); font-weight: 600; }
.wfb-table th:nth-child(2) { color: var(--purple); }
.wfb-th-badge {
  background: linear-gradient(135deg, var(--purple), #6366f1);
  color: #fff; padding: 4px 14px; border-radius: 20px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}
.wfb-table td {
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  color: var(--mid); line-height: 1.5;
}
.wfb-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.wfb-table td:nth-child(2) { color: var(--ink); font-weight: 600; background: rgba(139,92,246,.03); }
.wfb-table td:nth-child(3) { color: var(--muted); }
.wfb-table tr:last-child td { border-bottom: none; }
.wfb-table tr:hover td { background: rgba(139,92,246,.04); transition: background .2s; }
.wfb-table tr:hover td:nth-child(2) { background: rgba(139,92,246,.07); }
.wfb-check {
  width: 16px; height: 16px; fill: #22C55E;
  vertical-align: -2px; margin-right: 6px; flex-shrink: 0;
}
.wfb-x {
  width: 16px; height: 16px; fill: #cbd5e1;
  vertical-align: -2px; margin-right: 6px; flex-shrink: 0;
}
.wfb-sub {
  text-align: center; font-family: var(--fh);
  font-size: 1.6rem; font-weight: 800;
  color: var(--ink); margin-bottom: 12px;
  letter-spacing: -.025em; line-height: 1.2;
}
.wf-count-accent {
  font-style: normal;
  color: #38A2FF;
}
.wfb-sub-desc {
  text-align: center; font-size: .92rem;
  color: var(--muted); line-height: 1.6;
  margin: 0 auto 36px; max-width: 480px;
}
.wfb-usecases-section {
  padding-top: 16px;
  margin-bottom: 36px;
  text-align: center;
}

/* ── Workflow Template Directory ── */
.wf-directory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
  background: transparent;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.wf-cat-card {
  background: #fff;
  border: 1.5px solid #E8EEF6;
  border-radius: 18px;
  padding: 22px 22px 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color .2s, box-shadow .2s, transform .18s;
  cursor: default;
}
.wf-cat-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 6px 24px rgba(99,102,241,.11);
  transform: translateY(-3px);
}
.wf-cat-card::before { display: none; }
.wf-cat-card::after  { display: none; }
.wf-bg-icon { display: none; }

/* Hide SVG preview - replaced by icon row */
.wf-preview { display: none; }

.wf-cat-card-inner {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}
/* Brand logo icon row */
.wf-cat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  order: 3;
}
.wf-cat-icon { display: none; }

/* Brand logo icon circles */
.wf-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wf-logo svg { width: 19px; height: 19px; }
.wf-logo-more {
  font-size: .7rem;
  font-weight: 600;
  color: #9ca3af;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 5px 7px;
  height: 34px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.wf-cat-name {
  font-family: var(--fh);
  font-size: .9rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  order: 1;
}
.wf-cat-desc {
  font-size: .77rem;
  color: #6b7280;
  line-height: 1.5;
  flex-grow: 0;
  order: 2;
}
.wf-try-link {
  display: inline-block;
  margin-top: 12px;
  font-size: .75rem;
  font-weight: 600;
  color: #6366f1;
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .15s;
}
.wf-try-link:hover { color: #4338ca; }

/* Hide old chip list */
.wf-cat-chips { display: none; }
.wf-chip { display: none; }
/* wf-directory uses auto-fill minmax — no fixed-column overrides needed */

/* ─── AI Intelligence Section ─────────────────────────────── */
#ai-intelligence {
  padding: 80px 0 100px;
  background: #fff;
  position: relative; overflow: hidden;
}
#ai-intelligence .section-h .acc { color: var(--yellow); }
.intel-head {
  text-align: center;
  margin-bottom: 52px;
}
.intel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  align-items: stretch;
}

/* Card shell */
.intel-card {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.intel-card-graph {
  background: #fff;
  border: 2px solid #6ee7b7;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}
.intel-card-byom {
  background: #fff;
  border: 2px solid #93c5fd;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.intel-card-graph .intel-tag {
  color: #1B6EBF;
  background: rgba(56,162,255,.12);
  border: 1px solid rgba(56,162,255,.3);
}
.intel-card-byom .intel-tag {
  color: #6D28D9;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.3);
}

/* Accent glow blob — removed */
.intel-card-bg-accent { display: none; }

/* Top section: tag + headline + para */
.intel-card-top {
  padding: 36px 36px 0;
  position: relative;
  z-index: 1;
}
.intel-card-byom .intel-card-top {
  padding-bottom: 0;
}
.intel-tag {
  display: inline-block;
  font-size: .6rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 18px;
}
.intel-card-h {
  font-family: var(--fh);
  font-size: 1.55rem; font-weight: 800;
  color: var(--ink);
  letter-spacing: -.025em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.intel-card-p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* KG graph canvas */
.intel-kg-canvas {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  margin: 0;
}
.intel-kg-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* BYOM diagram */
.byom-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 12px 36px 6px;
}
.byom-col-models {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.byom-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 20px;
  border-radius: 12px;
  min-width: 100px;
}
.byom-block-llm {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
}
.byom-block-slm {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
}
.byom-block-tag {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--ink);
}
.byom-block-slm .byom-block-tag {
  color: var(--ink);
}
.byom-block-sub {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .02em;
  white-space: nowrap;
}
.byom-funnel-svg {
  width: 64px;
  height: 52px;
  flex-shrink: 0;
}
.byom-hub-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.byom-bee-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.byom-hub-label {
  font-size: 9px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* BYOM model grid */
.intel-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 20px 36px 36px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
  position: relative;
  z-index: 1;
}
.intel-model-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 20px 12px 16px;
  background: #fff;
}
.intel-model-item:hover { background: #fff; }
.intel-model-logo {
  width: 32px; height: 32px;
  object-fit: contain;
}
.intel-model-item span {
  font-size: .72rem; font-weight: 600;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

/* Bottom: feature checklist */
.intel-card-bottom {
  padding: 20px 36px 28px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.intel-card-graph .intel-card-bottom {
  border-top: none;
}
.intel-card-byom .intel-card-bottom {
  border-top: none;
  margin-top: 0;
  padding-bottom: 20px;
}
.intel-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.intel-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--ink);
  line-height: 1.55;
}
.intel-features li svg {
  margin-top: 2px;
}
.intel-features li svg {
  width: 14px; height: 14px;
  stroke: #0F172A;
  flex-shrink: 0;
}
.intel-card-byom .intel-features li svg { stroke: #0F172A; }

@media (max-width: 860px) {
  .intel-grid { grid-template-columns: 1fr; }
  .intel-model-grid { grid-template-columns: repeat(2, 1fr); }
}
.wfb-usecase {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out-expo), box-shadow var(--dur-med), border-color .3s;
}
.wfb-usecase::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--uc-accent, var(--purple));
  opacity: 0; transition: opacity .3s;
}
.wfb-usecase:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(56,162,255,.1);
  border-color: var(--uc-accent, var(--purple));
}
.wfb-usecase:hover::before { opacity: 1; }
.wfb-uc-num {
  font-family: var(--fh); font-size: .75rem; font-weight: 800;
  color: var(--uc-accent, var(--purple)); opacity: .5;
  margin-bottom: 16px; letter-spacing: .08em;
}
.wfb-uc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--purple-pale); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.wfb-uc-icon svg { width: 20px; height: 20px; }
.wfb-usecase h4 {
  font-family: var(--fh); font-size: .95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}
.wfb-usecase p { font-size: .85rem; color: #4B5563; line-height: 1.6; margin-bottom: 16px; }
.wfb-uc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wfb-uc-tag {
  font-size: .7rem; font-weight: 600; color: var(--uc-accent, var(--purple));
  background: var(--uc-accent-pale, var(--purple-pale));
  padding: 3px 10px; border-radius: 20px; letter-spacing: .02em;
}
.wfb-cta { text-align: center; }

/* ── View All Agents button ── */
.agents-cta {
  text-align: center;
  margin-top: 36px;
}
.btn-view-agents {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-size: .88rem; font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #D0DAE8;
  border-radius: var(--r-pill);
  padding: 11px 24px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.btn-view-agents:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(56,162,255,.15);
  transform: translateY(-1px);
}

/* ── All Agents Modal ── */
.amodal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity .25s ease;
}
.amodal-backdrop[hidden] { display: none; }
.amodal-backdrop.is-open { opacity: 1; }
.amodal-backdrop.is-open .amodal-box {
  transform: translateY(0); opacity: 1;
}
.amodal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%; max-width: 620px;
  max-height: 80vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.18);
  transform: translateY(20px); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.amodal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid #F0F4F9;
  flex-shrink: 0;
}
.amodal-title {
  font-family: var(--fh); font-size: 1.2rem;
  font-weight: 800; color: var(--ink); margin: 0;
}
.amodal-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #E2EAF4; background: #fff;
  font-size: 1.1rem; line-height: 1; cursor: pointer;
  color: var(--muted); display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.amodal-close:hover { background: #EDF5FF; color: var(--ink); }
.amodal-body {
  overflow-y: auto; padding: 24px 28px;
}
.amodal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.amodal-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; padding: 18px 12px;
  border: 1px solid #E8EEF6; border-radius: 14px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
  cursor: default;
}
.amodal-card:hover {
  border-color: #C5D8F0;
  box-shadow: 0 4px 14px rgba(56,162,255,.08);
}
.amodal-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.amodal-icon svg { width: 22px; height: 22px; }
.amodal-name {
  font-family: var(--fb); font-size: .8rem;
  font-weight: 700; color: var(--ink); line-height: 1.3;
}

@media (max-width: 640px) {
  .amodal-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .amodal-box {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    max-height: 85vh;
    width: 100%;
  }
  .amodal-header {
    padding: 20px 20px 14px;
  }
  .amodal-title {
    font-size: 1.05rem;
  }
  .amodal-body {
    padding: 16px 16px 32px;
  }
  .amodal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .amodal-card {
    padding: 14px 8px;
    gap: 8px;
    border-radius: 12px;
  }
  .amodal-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .amodal-icon svg {
    width: 18px;
    height: 18px;
  }
  .amodal-name {
    font-size: .72rem;
  }
}

/* ═══ OUTCOMES & PROOF ════════════════════════════════════════ */
#outcomes {
  padding: 100px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
#outcomes::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.outcomes-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.outcomes-head { text-align: center; margin-bottom: 56px; }
#agents .section-h .acc { color: var(--yellow); }

#outcomes .section-kicker { color: var(--yellow); }
#outcomes .section-h { color: white; }
#outcomes .section-h .acc { color: var(--yellow); }

/* Outcome metrics - horizontal stat row */
.outcome-marquee {
  margin-bottom: 56px;
}
.om-row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,.04);
}
.om-stat {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  flex: 1; min-width: 160px; justify-content: center;
}
.om-stat:last-child { border-right: none; }
.om-num {
  font-family: var(--fh); font-size: 1.8rem; font-weight: 800;
  color: var(--yellow); letter-spacing: -.04em; line-height: 1;
  white-space: nowrap;
}
.om-sep {
  width: 2px; height: 28px; background: rgba(255,255,255,.12);
  border-radius: 1px; flex-shrink: 0;
}
.om-label {
  font-size: .82rem; color: rgba(255,255,255,.6);
  line-height: 1.35; max-width: 120px;
}

/* Proof cards v2 - quote style */
.proof-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.proof-card-v2 {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color var(--dur-med), transform var(--dur-med) var(--ease-out-expo);
}
.proof-card-v2:hover {
  border-color: rgba(255,255,255,.16);
  transform: translateY(-4px);
}
.pv2-quote {
  font-size: .92rem; color: rgba(255,255,255,.85);
  line-height: 1.65; font-style: italic; margin-bottom: 24px;
  flex: 1;
}
.pv2-meta {
  display: flex; align-items: center; gap: 12px;
}
.pv2-bar {
  width: 3px; height: 20px; border-radius: 2px; flex-shrink: 0;
}
.pv2-source {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.5);
}

/* ═══ INTEGRATIONS (Tree) ══════════════════════════════════════ */
#integrations {
  padding: 80px 0 72px;
  background: var(--white);
  position: relative; overflow: hidden;
}
#integrations .section-h .acc { color: var(--yellow); }
.integ-head { text-align: center; margin-bottom: 36px; }

/* Hub bee node */
.integ-hub-wrap { display: flex; justify-content: center; }
.integ-hub-node {
  width: 70px; height: 70px;
  background: #0F1B2D; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(15,27,45,.25), 0 0 0 5px #fff, 0 0 0 6px #E2E8F0;
}
.integ-hub-node img { width: 44px; height: 44px; object-fit: contain; }

/* SVG tree connector */
.integ-tree-svg { display: block; }

/* 3-column tree grid */
.integ-tree-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start;
}
.integ-tree-col { display: flex; flex-direction: column; gap: 10px; }

/* Category banners */
.integ-cat-banner {
  border-radius: 10px; padding: 14px 16px;
  font-size: .82rem; font-weight: 500; color: var(--ink);
  text-align: center; line-height: 1.55;
}
.integ-cat-banner--green { background: #fff; border: 1.5px solid #93c5fd; }
.integ-cat-banner--blue  { background: #fff; border: 1.5px solid #93c5fd; }
.integ-cat-banner--pink  { background: #fff; border: 1.5px solid #93c5fd; }

/* Sub-category card */
.integ-sub-card {
  background: var(--white); border: 1.5px solid #E2E8F0;
  border-radius: 12px; padding: 14px 16px;
}
.integ-sub-title {
  font-family: var(--fb); font-size: .85rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}

/* Logo items inline */
.integ-logos-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
}
.itg-logo-item {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 500; color: var(--mid);
}
.itg-logo-icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }

/* Footer note */
.integ-footer {
  text-align: center; font-size: .83rem; color: var(--muted);
  margin-top: 36px;
}

.integ-cta {
  text-align: center;
  margin-top: 24px;
}

.btn-request-integ {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--brand, #f5a623);
  border-radius: 8px;
  color: var(--brand, #f5a623);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.btn-request-integ:hover {
  background: var(--brand, #f5a623);
  color: #fff;
}

/* ═══ ENTERPRISE PLATFORM ════════════════════════════════════ */
#platform {
  padding: 72px 0;
  background: var(--off);
  position: relative; overflow: hidden;
}
#platform .section-h .acc { color: var(--yellow); }
.plat-inner { max-width: var(--max-w); margin: 0 auto; }
.plat-head { text-align: center; margin-bottom: 36px; }

/* ── Bento Grid: 6-column, no row spanning, cards size to content ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  /* default align-items: stretch — cards in the same row share equal height */
}
.bc-2 { grid-column: span 2; }
.bc-3 { grid-column: span 3; }
.bc-4 { grid-column: span 4; }
.bc-6 { grid-column: span 6; }

/* Card base — flex-column so content fills the card height evenly */
.bento-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 2px 8px rgba(56,162,255,.04), 0 8px 24px rgba(56,162,255,.05);
  transition: transform .25s var(--ease-out-expo), box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(56,162,255,.1);
  border-color: var(--border-mid);
}
/* Guardrails (first) card */
.bento-card.bc-6.bc-split {
  border: 1px solid var(--border);
}
/* Zero Data Egress + Deployment Options cards */
.bento-card.bc-3 {
  border: 1px solid var(--border);
}

/* Guardrails card: 40% text | 60% cert logos */
.bc-split { flex-direction: row !important; align-items: center; gap: 0; }
.bc-split-text {
  width: 40%; flex-shrink: 0;
  display: flex; flex-direction: column;
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.bc-split-logos {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 40px;
  padding: 0 24px;
}
.bc-cert-img { width: 160px; height: 160px; object-fit: contain; mix-blend-mode: multiply; }
.bc-split-logos .bc-cert-img:nth-child(2) { width: 240px; height: 240px; }

/* Tag label — no border/pill effect */
.bento-tag {
  display: inline-block;
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--muted);
  margin-bottom: 9px;
}

/* Icon */
.ent-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.ent-icon svg { width: 20px; height: 20px; }

/* Typography */
.bento-card h3 {
  font-family: var(--fh); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
}
/* paragraph gets flex-grow so it fills remaining card height — keeps cards visually balanced */
.bento-card p { font-size: .84rem; color: #4B5563; line-height: 1.6; flex-grow: 1; }
.ent-note { font-size: .76rem; color: var(--muted); line-height: 1.5; margin-top: 6px; }

/* Cert badges inline */
.plat-badges { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.plat-badge-img { width: 40px; height: 40px; object-fit: contain; mix-blend-mode: multiply; }
.bento-cert-label { font-size: .76rem; color: var(--muted); }

/* Model logos */
.plat-logos { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 8px 0 4px; }
.plat-logo {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 500; color: var(--mid);
}

/* ═══ WHO IT'S FOR (personas) ═════════════════════════════════ */
#personas {
  padding: 100px 0;
  background: white;
}
.persona-inner { max-width: var(--max-w); margin: 0 auto; }
.persona-head { text-align: center; margin-bottom: 48px; }
.persona-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.persona-card {
  background: white; border: 1px solid var(--border);
  border-radius: 18px; padding: 32px 26px;
  transition: transform var(--dur-med) var(--ease-out-expo), box-shadow var(--dur-med), border-color var(--dur-med);
}
.persona-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-mid);
  box-shadow: 0 8px 24px rgba(56,162,255,.1);
}
.persona-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--purple-pale); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.persona-icon svg { width: 22px; height: 22px; }
.persona-card h3 {
  font-family: var(--fh); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}
.persona-card p { font-size: .88rem; color: #4B5563; line-height: 1.65; }

/* ═══ NEW SECTIONS — RESPONSIVE ═══════════════════════════════ */
@media (max-width: 1300px) {
  /* sol-grid stays horizontal — cards shrink naturally via flex */
}
@media (max-width: 1024px) {
  .hero-visual { display: block; width: 100%; margin-top: 32px; }
  /* sol-grid stays horizontal on tablet too */
  .ps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .om-row { flex-wrap: wrap; }
  .om-stat { flex: 0 0 calc(33.33% - 1px); }
  .om-stat:nth-child(3) { border-right: none; }
  .om-stat:nth-child(4), .om-stat:nth-child(5), .om-stat:nth-child(6) { border-top: 1px solid rgba(255,255,255,.08); }
  .proof-row { grid-template-columns: 1fr; }
  .integ-tree-grid { grid-template-columns: 1fr; }
  .integ-tree-svg { display: none; }
  /* Bento: collapse to 2-col */
  .bento-grid { grid-template-columns: repeat(4, 1fr); }
  .bc-4 { grid-column: span 4; }
  .bc-2 { grid-column: span 2; }
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .wfb-uc-grid { grid-template-columns: 1fr; }
  .assist-grid-split { grid-template-columns: 1fr !important; }
  .wfb-canvas { min-height: 200px; }
  .wfb-node { font-size: .6rem; padding: 3px 8px 3px 3px; }
  .wfb-n-ico { width: 22px; height: 22px; }
  /* intel model grid: 2-col on tablet */
  .intel-model-grid { grid-template-columns: repeat(2, 1fr); }
  /* sol-tile-grid: 2-col on tablet */
  .sol-tile-grid { grid-template-columns: 1fr 1fr; }
  /* padding for new sections */
  #solution, #assistants, #workflow-builder, #outcomes, #platform, #personas {
    padding-left: var(--gutter-sm); padding-right: var(--gutter-sm);
  }
  /* wfb-inner uses .wrap which has 48px padding — reduce it on tablet so inner + section padding don't compound */
  .wfb-inner.wrap {
    padding-left: 0; padding-right: 0;
  }
}
@media (max-width: 768px) {
  /* ── Hero visual: show on mobile ── */
  .hero-visual { display: block; width: 100%; margin-top: 28px; }
  .hs-wrap { height: auto; min-height: unset; position: relative; }
  .hs-slide { position: relative; inset: unset; }
  .hs-slide:not(.hs-slide-active) { display: none; }
  .hs-slide-active { opacity: 1; }

  #solution, #assistants, #workflow-builder, #outcomes, #integrations, #platform, #personas {
    padding-left: 0; padding-right: 0;
  }
  .sol-inner, .assist-inner, .wfb-inner, .om-inner, .integ-inner, .platform-inner, .persona-inner {
    padding-left: var(--gutter-sm); padding-right: var(--gutter-sm);
  }
  /* override .wrap's 48px horizontal padding so wfb-inner uses the 20px gutter-sm set above */
  .wfb-inner.wrap { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
  .integ-tree-grid { grid-template-columns: 1fr; }
  .assist-tabs { gap: 6px; flex-wrap: wrap; }
  .assist-tab { font-size: .78rem; padding: 8px 14px; }
  .assist-grid { padding: 28px 20px; }
  .assist-flow { flex-direction: column; gap: 8px; }
  .assist-step-arrow { display: none; }
  .wfb-canvas { min-height: 160px; overflow-x: auto; }
  .om-stat { flex: 0 0 calc(50% - 1px); }
  .om-stat:nth-child(2), .om-stat:nth-child(4), .om-stat:nth-child(6) { border-right: none; }
  /* intel model grid: 2-col */
  .intel-model-grid { grid-template-columns: repeat(2, 1fr); }
  /* persona grid: 1-col */
  .persona-grid { grid-template-columns: 1fr; }
  /* sol-tile-grid: keep 2-col on 768px */
  /* wfb-uc-grid: 1-col */
  .wfb-uc-grid { grid-template-columns: 1fr !important; }
  /* bento: 2-col */
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bc-2, .bc-3, .bc-4, .bc-6 { grid-column: 1 / -1; }
  /* proof row */
  .proof-row { grid-template-columns: 1fr; }
  /* section heading on tablet */
  .section-h { font-size: clamp(1.6rem, 5vw, 2.4rem); }
}
@media (max-width: 540px) {
  .ps-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .problem-h { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .om-stat { flex: 0 0 100%; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .om-stat:last-child { border-bottom: none; }
  .persona-grid { grid-template-columns: 1fr; }
  .sol-tile-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sol-workflow-diagram { flex-wrap: wrap; }
  /* Bento: single column on mobile */
  .bento-grid { grid-template-columns: 1fr; }
  .bc-2, .bc-3, .bc-4, .bc-6 { grid-column: 1 / -1; }
  .bento-card { padding: 20px 18px; }
  .bc-split { flex-direction: column !important; }
  .bc-split-text { width: 100%; padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
  .bc-cert-img { width: 72px !important; height: 72px !important; }
  .bc-split-logos .bc-cert-img:nth-child(2) { width: 108px !important; height: 108px !important; }
  /* intel model: 3-col 2-row on mobile */
  .intel-model-grid { grid-template-columns: repeat(3, 1fr); }
  /* assist tabs scroll */
  .assist-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  /* wfb-uc-grid: 1-col */
  .wfb-uc-grid { grid-template-columns: 1fr !important; }
  /* section heading mobile */
  .section-h { font-size: clamp(1.4rem, 6vw, 2rem); }
  /* outcomes stats */
  .om-row { gap: 0; }

  /* ── Problem boxes: clamp to 2 lines on mobile ── */
  .ps-item-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .82rem;
    line-height: 1.5;
  }

  /* ── Pre-built AI Assistants: hide tabs + demo images + bees on mobile ── */
  .assist-tabs { display: none !important; }
  .assist-panels { min-height: unset; }
  .assist-panel {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    display: block;
  }
  /* Hide demo images and bee mascots inside assistant panels */
  .assist-visual, .assist-mockup, .assist-card-bee { display: none !important; }
  /* Make assist-grid single column, compact */
  .assist-grid {
    padding: 20px 16px;
    gap: 16px;
    border-radius: 14px;
  }
  .assist-grid, .assist-grid:has(.assist-visual) { grid-template-columns: 1fr; }
  .assist-text { padding-right: 0; }
  /* Stack panels vertically */
  .assist-panels { display: flex; flex-direction: column; gap: 12px; }

  /* ── Full-width cards, stack vertically on mobile ── */
  .sol-bee-fly { display: none; }
  .sol-heading-bee { width: 36px; height: 36px; }
  .sol-grid { flex-direction: column; padding-left: 0; padding-right: 0; gap: 20px; }
  /* Reset flex-basis:0 so cards size to their content when stacked */
  .sol-grid > .sol-card, .sol-grid > .sol-card-alt { flex: 0 0 auto; width: 100%; }
  .sol-grid > .sol-or {
    align-self: center;
    width: 52px; height: 52px;
    font-size: .78rem; font-weight: 900; letter-spacing: .04em;
  }
  /* Hide the + SVG on mobile, show "OR" text via pseudo-element */
  .sol-or svg { display: none; }
  .sol-or::after { content: 'OR'; font-family: var(--fh); font-size: .72rem; font-weight: 900; color: var(--mid); letter-spacing: .06em; }
  .sol-card, .sol-card-alt { width: 100%; box-sizing: border-box; padding: 28px 20px; }
  .sol-card-h { white-space: normal; font-size: 1.1rem; line-height: 1.3; }
  /* Feature grid: single column on mobile so boxes aren't cramped */
  .sol-feat-grid { grid-template-columns: 1fr; gap: 10px; }
  /* Feature boxes: horizontal layout with compact icon */
  .sol-feat-box {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
  }
  .sol-feat-icon { flex-shrink: 0; width: 34px; height: 34px; margin-top: 0; }
  .sol-chip-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .sol-chip-name { font-size: .84rem; }
  .sol-chip-desc { font-size: .76rem; }
  .sol-chip-know-more { display: inline-block; font-size: .7rem; }
  .sol-tile-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }

  /* ── Hero visual: show on mobile, full-width vertical stack ── */
  .hero-visual { display: block; width: 100%; margin-top: 28px; }
  .hs-wrap { height: auto; min-height: unset; position: relative; }
  .hs-slide { position: relative; inset: unset; }
  .hs-slide:not(.hs-slide-active) { display: none; }
  .hs-slide-active { opacity: 1; }
  .hs-cards-wrap { padding: 12px; }
  .hs-cards-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .hs-acard { padding: 12px 10px 8px 10px; }
  .hs-acard-title { font-size: .78rem; }
  .hs-acard-desc { font-size: .7rem; }
  .hs-tab-nav { position: relative; bottom: unset; left: unset; transform: none; margin: 12px auto 0; }

}

/* ═══ PERFORMANCE — pause GPU animations when tab is hidden ═════ */
.agents-track,
.hero-ring,
.hero-card-inner,
.hv-float,
.hss-live-dot {
  animation-play-state: running;
}
:root.page-hidden .agents-track,
:root.page-hidden .hero-ring,
:root.page-hidden .hero-card-inner,
:root.page-hidden .hv-float,
:root.page-hidden .hss-live-dot {
  animation-play-state: paused;
}

/* ═══ HERO ORBITAL ANIMATION ═══════════════════════════════════ */
.orb-wrap {
  width: 100%; height: 480px;
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  position: relative; overflow: visible;
}

/* Left zone: fixed width so orbit ring stays fully contained */
.orb-orbit-zone {
  position: relative;
  height: 100%;
  width: 320px;
}

/* Right zone: card panel — starts after the orbit zone with a clear gap */
.orb-card-zone {
  position: relative;
  height: 100%;
  padding-left: 8px;
}

/* Central hub */
.orb-center {
  position: absolute; z-index: 30;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #2A5298 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(56,162,255,.08), 0 0 0 16px rgba(56,162,255,.04),
              0 8px 32px rgba(27,45,74,.4);
}
.orb-center-logo { width: 44px; height: 44px; object-fit: contain; filter: brightness(0) saturate(100%) invert(82%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(105%); }

/* Orbit ring — diameter = 2 × JS RADIUS (130px) = 260px; node centres sit exactly on ring */
.orb-ring {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(56,162,255,.18);
  pointer-events: none;
}
.orb-ring-inner {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 140px; height: 140px; border-radius: 50%;
  border: 1px dashed rgba(56,162,255,.09);
  pointer-events: none;
}

/* Node dots on orbit */
.orb-node {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(56,162,255,.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(27,45,74,.12);
  transition: border-color .3s, box-shadow .3s, background .3s;
  z-index: 5;
}
.orb-node.active {
  background: var(--navy);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(56,162,255,.15), 0 4px 20px rgba(27,45,74,.3);
}
.orb-node svg { width: 18px; height: 18px; transition: stroke .3s; }
.orb-node:not(.active) svg { stroke: var(--navy); }
.orb-node.active svg { stroke: var(--yellow); }

/* Node label */
.orb-node-label {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--fh); font-size: .63rem; font-weight: 700;
  color: var(--muted); letter-spacing: .02em;
  text-align: center; line-height: 1.3;
  transition: color .3s;
  pointer-events: none;
}
.orb-node.active .orb-node-label { color: var(--navy); }

/* Info cards — all stacked at same position in card zone, only active one fades in */
.orb-card {
  position: absolute;
  top: 50%; left: 8px;
  transform: translateY(-50%) scale(.94) translateX(8px);
  width: 180px; z-index: 15;
  background: #fff;
  border: 1px solid rgba(56,162,255,.16);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(56,162,255,.1), 0 24px 56px rgba(27,45,74,.12);
  overflow: hidden;
  opacity: 0; pointer-events: none;
  transition: opacity .38s var(--ease-out-expo), transform .38s var(--ease-out-expo);
}
.orb-card.visible {
  opacity: 1; pointer-events: auto;
  transform: translateY(-50%) scale(1) translateX(0);
}

.orb-card-header {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(56,162,255,.08);
  background: #FAFCFF;
}
.orb-card-tag {
  display: inline-block;
  font-family: var(--fb); font-size: .55rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 9px; border-radius: 100px; margin-bottom: 8px;
}
.orb-tag-assistant { background: rgba(56,162,255,.1); color: #1a6fba; }
.orb-tag-workflow  { background: rgba(250,200,53,.15); color: #7a5c00; }

.orb-card-title {
  font-family: var(--fh); font-size: .88rem; font-weight: 800;
  color: var(--ink); line-height: 1.2;
}
.orb-card-body { padding: 10px 16px 14px; }
.orb-card-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.orb-card-points li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fh); font-size: .75rem; font-weight: 700;
  color: var(--ink); line-height: 1.2;
  background: var(--purple-pale); border: 1px solid rgba(56,162,255,.15);
  border-radius: var(--r-sm); padding: 8px 10px;
}
.orb-point-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  margin-top: 4px; background: var(--purple);
}
.orb-card-points li:has(.orb-point-dot-yellow) { background: rgba(250,200,53,.08); border-color: rgba(250,200,53,.25); }
.orb-point-dot-yellow {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--yellow-deep);
}

/* Navigator dots — bottom of the orbit zone */
.orb-progress {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; z-index: 20;
}
.orb-dot {
  width: 20px; height: 3px; border-radius: 2px;
  background: rgba(56,162,255,.18);
  transition: background .35s, width .35s, transform .35s;
}
.orb-dot.active {
  width: 32px;
  background: var(--purple);
  box-shadow: 0 0 8px rgba(56,162,255,0.5);
}

/* Connector line from center to active node */
.orb-connector {
  position: absolute; top: 50%; left: 50%;
  height: 1px; background: linear-gradient(90deg, rgba(56,162,255,.5), rgba(56,162,255,.1));
  transform-origin: left center;
  pointer-events: none; z-index: 4;
  transition: width .5s var(--ease-out-expo), transform .5s var(--ease-out-expo);
}

@media (max-width: 1024px) {
  .orb-wrap { display: none; }
}

/* ═══ HERO SLIDESHOW ══════════════════════════════════════════════ */

/* Outer container — no visible border/shadow, just a sizing shell */
.hs-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  background: transparent;
}

/* Each slide sits absolutely, full size, crossfades */
.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
  display: flex; flex-direction: column;
}
.hs-slide-active {
  opacity: 1;
  pointer-events: auto;
}

.hs-slide-inner {
  display: flex; flex-direction: column;
  height: 100%;
}


/* ── Top bar ── */
.hs-topbar {
  display: flex; align-items: center; gap: 10px;
  background: #F7F7FA;
  border-bottom: 1px solid rgba(56,162,255,.1);
  padding: 8px 14px;
  flex-shrink: 0;
}
.hs-topbar-dots { display: flex; gap: 5px; margin-right: 4px; }
.hs-dot { display: block; width: 8px; height: 8px; border-radius: 50%; }
.hs-dot-r { background: #FF5F57; }
.hs-dot-y { background: #FFBD2E; }
.hs-dot-g { background: #28CA42; }
.hs-topbar-label {
  flex: 1;
  font-family: var(--fh); font-size: .72rem; font-weight: 700;
  color: var(--mid); letter-spacing: .04em; text-transform: uppercase;
}
.hs-topbar-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: .62rem; font-weight: 700;
  color: #16A34A;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  padding: 3px 10px; border-radius: 100px;
}
.hs-badge-yellow { color: #7a5c00; background: rgba(250,200,53,.12); border-color: rgba(250,200,53,.3); }
.hs-live-dot {
  width: 5px; height: 5px; border-radius: 50%; background: #16A34A;
  animation: pulseAnim 2s ease-out infinite;
}
.hs-live-yellow { background: #d4a000; }

/* ── Slide 1: Three cards — horizontal row, vertical content inside ── */
.hs-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: stretch;
  gap: 12px;
  padding: 0;
  flex: 1;
  width: 100%;
}

/* Wrap: nav arrows + grid, centered vertically in slide */
.hs-cards-wrap {
  display: flex;
  align-items: stretch;
  gap: 6px;
  flex: 1;
  padding: 16px 16px;
}

/* Slide tab nav buttons */
.hs-tab-nav {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 20;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(27,45,74,.1);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(27,45,74,.1);
}
.hs-tab-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 12px; font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s;
  line-height: 1.4;
}
.hs-tab-btn:hover { color: #1b2d4a; }
.hs-tab-active {
  background: #1b2d4a;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(27,45,74,.25);
}

.hs-acard {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 16px 14px 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(56,162,255,.16);
  background: #fff;
  box-shadow: 0 2px 8px rgba(56,162,255,.07), 0 1px 3px rgba(27,45,74,.05);
  opacity: 0;
  transform: translateY(10px);
  animation: hsCardIn .4s var(--ease-out-expo) forwards;
  animation-delay: var(--delay, 0s);
  overflow: hidden;
  position: relative;
  min-height: 150px;
}
.hs-acard--finops { border-color: rgba(110,205,140,.22); }
.hs-acard--k8s   { border-color: rgba(110,205,140,.22); }
.hs-acard--cloud { border-color: rgba(100,190,230,.22); }

@keyframes hsCardIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Icon */
.hs-acard-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-bottom: 2px;
}
.hs-acard--sre .hs-acard-icon     { background: rgba(100,190,230,.14); }
.hs-acard--sre .hs-acard-icon svg { stroke: #2e86c1; width: 20px; height: 20px; }
.hs-acard--finops .hs-acard-icon     { background: rgba(110,205,140,.14); }
.hs-acard--finops .hs-acard-icon svg { stroke: #27ae60; width: 20px; height: 20px; }
.hs-acard--k8s .hs-acard-icon     { background: rgba(110,205,140,.14); }
.hs-acard--k8s .hs-acard-icon svg { stroke: #27ae60; width: 20px; height: 20px; }
.hs-acard--cloud .hs-acard-icon     { background: rgba(100,190,230,.14); }
.hs-acard--cloud .hs-acard-icon svg { stroke: #2e86c1; width: 20px; height: 20px; }

/* Title */
.hs-acard-title {
  font-family: var(--fh); font-size: .85rem; font-weight: 800;
  color: var(--ink); line-height: 1.2;
  position: relative; z-index: 1;
}

/* Short description replacing bullet list */
.hs-acard-desc {
  font-size: .72rem; color: #374151; line-height: 1.55; font-weight: 450;
  position: relative; z-index: 1;
  padding-bottom: 0;
  padding-right: 44px;
}

/* Know more link */
.hs-acard-know-more {
  font-size: .68rem; font-weight: 700; text-decoration: none;
  color: #2e86c1; position: relative; z-index: 1;
  display: inline-block; margin-bottom: 42px;
  transition: opacity .2s;
}
.hs-acard--finops .hs-acard-know-more,
.hs-acard--k8s   .hs-acard-know-more { color: #27ae60; }
.hs-acard-know-more:hover { opacity: .75; }

/* Decorative SVG — anchored to bottom-right corner */
.hs-acard-gfx {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 50px; height: 50px;
  pointer-events: none;
  z-index: 0;
}

/* ── Slide 2: Workflow Builder — vertical chain ── */
.hs-wf-canvas {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px 0;
  background: #fff;
  background-image: radial-gradient(circle, rgba(99,102,241,.12) 1px, transparent 1px);
  background-size: 18px 18px;
  overflow: hidden;
  border-radius: 12px;
}

/* ── Vertical node ── */
.hs-vn {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  width: 220px;
  align-self: center;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.04);
  opacity: 0;
  transform: translateY(8px);
  animation: hsVnIn .45s var(--ease-out-expo) forwards;
  animation-delay: var(--vn-delay, 0s);
  z-index: 1;
}
@keyframes hsVnIn { to { opacity: 1; transform: translateY(0); } }

.hs-vn-trigger  { border-color: rgba(249,115,22,.4); }
.hs-vn-action   { border-color: rgba(99,102,241,.35); }
.hs-vn-condition{ border-color: rgba(234,179,8,.5); }
.hs-vn-success  { border-color: rgba(34,197,94,.35); }

/* Trigger badge */
.hs-vn-badge {
  position: absolute; top: -9px; left: 12px;
  font-size: .48rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 1px 7px; border-radius: 4px;
  background: #f97316; color: #fff;
}

/* Solid icon circle matching demo style */
.hs-vn-ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hs-vn-ico svg { width: 13px; height: 13px; }
.hs-vnico-orange { background: #f97316; }
.hs-vnico-purple { background: #6366f1; }
.hs-vnico-yellow { background: #eab308; }
.hs-vnico-green  { background: #16A34A; }

.hs-vn-body { flex: 1; min-width: 0; }
.hs-vn-label {
  font-family: var(--fh); font-size: .72rem; font-weight: 800;
  color: #111827; line-height: 1.1;
}
.hs-vn-sub {
  font-size: .58rem; color: #6b7280; margin-top: 1px; line-height: 1.3;
}

/* ── Vertical connector between nodes ── */
.hs-vconn {
  display: flex; flex-direction: column; align-items: center;
  align-self: center;
  z-index: 0;
  opacity: 0;
  animation: hsFadeIn .35s ease forwards;
  animation-delay: var(--vn-delay, 0s);
}
.hs-vconn-line {
  width: 1.5px; height: 12px;
  background: linear-gradient(180deg, rgba(99,102,241,.35) 0%, rgba(99,102,241,.18) 100%);
}
.hs-vconn-arrow svg { width: 10px; height: 6px; display: block; }

/* ── Add action dashed button ── */
.hs-vn-add {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px dashed #c7d2fe; border-radius: 20px;
  padding: 5px 14px; font-size: .63rem; font-weight: 600; color: #9ca3af;
  background: rgba(255,255,255,.8); margin-top: 2px;
  opacity: 0;
  animation: hsFadeIn .4s ease forwards;
  animation-delay: var(--vn-delay, 0s);
  cursor: default;
}
.hs-vn-add svg { width: 10px; height: 10px; stroke: #a5b4fc; }

@keyframes hsFadeIn { to { opacity: 1; } }

/* ── Animated cursor ── */
.hs-cursor {
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
}
.hs-cursor svg { width: 18px; height: 18px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }

/* Add Action highlight — JS adds/removes .hs-add-active */
#hsAddAction { transition: border-color .2s, background .2s, color .2s; }
#hsAddAction.hs-add-active {
  border-color: #6366f1;
  background: rgba(99,102,241,.1);
  color: #6366f1;
}

/* Kubernetes row highlight — JS adds/removes .hs-row-active */
.hs-anp-row:nth-child(3) { transition: background .2s; border-radius: 8px; }
.hs-anp-row:nth-child(3).hs-row-active { background: rgba(59,130,246,.1); }

/* ── Kubernetes node that drops in after click — JS adds .hs-node-visible ── */
.hs-vnico-blue { background: #3b82f6; }

.hs-vn-added,
.hs-vconn-added {
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hs-vn-added.hs-node-visible,
.hs-vconn-added.hs-node-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* ── Dashed connector variant ── */
.hs-vconn-dashed {
  width: 1.5px; height: 14px;
  background: none !important;
  border-left: 1.5px dashed rgba(99,102,241,.35);
}

/* ── Warning icon inside node ── */
.hs-vn-warn {
  width: 14px; height: 14px; flex-shrink: 0;
}

/* ── Split layout: canvas left + panel right ── */
.hs-wf-split {
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 12px;
  overflow: hidden;
}

.hs-wf-left {
  flex: 0 0 42%;
  display: flex; flex-direction: column;
  background: #fff;
  background-image: radial-gradient(circle, rgba(99,102,241,.12) 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 14px 12px 10px;
  gap: 8px;
}

.hs-wf-title {
  font-family: var(--fh); font-size: .68rem; font-weight: 700;
  color: #374151; display: flex; align-items: center; gap: 6px;
}
.hs-wf-title::after {
  content: ''; display: inline-block;
  width: 10px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236b7280' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M7 1v12M1 7h12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hs-wf-dotbg {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
}

/* In the split layout the node is narrower */
.hs-wf-split .hs-vn {
  width: 180px;
}

/* ── Add Node to Automation panel ── */
.hs-anp {
  flex: 1;
  display: flex; flex-direction: column;
  background: #fff;
  border-left: 1px solid #e5e7eb;
  opacity: 0;
  animation: hsFadeIn .45s ease forwards;
  animation-delay: var(--vn-delay, 0s);
}

.hs-anp-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 8px;
  border-bottom: 1px solid #f3f4f6;
}
.hs-anp-title {
  font-family: var(--fh); font-size: .72rem; font-weight: 700; color: #111827;
}
.hs-anp-close { width: 10px; height: 10px; flex-shrink: 0; opacity: .6; }

.hs-anp-search {
  display: flex; align-items: center; gap: 7px;
  margin: 8px 12px;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 7px;
  padding: 5px 10px;
  font-size: .6rem; color: #9ca3af;
}
.hs-anp-search svg { width: 10px; height: 10px; flex-shrink: 0; }

.hs-anp-list {
  flex: 1; overflow: hidden; display: flex; flex-direction: column;
}

.hs-anp-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-bottom: 1px solid #f3f4f6;
  cursor: default;
}
.hs-anp-row:last-child { border-bottom: none; }

.hs-anp-row-ico {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hs-anp-row-ico svg { width: 12px; height: 12px; }

.hs-anp-row-body { flex: 1; min-width: 0; }
.hs-anp-row-label {
  font-family: var(--fh); font-size: .63rem; font-weight: 700; color: #111827;
  line-height: 1.1;
}
.hs-anp-row-sub {
  font-size: .53rem; color: #6b7280; line-height: 1.3; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hs-anp-chevron { width: 8px; height: 5px; flex-shrink: 0; }

/* ── Reset animations when slide is inactive so they replay each cycle ── */
.hs-slide:not(.hs-slide-active) .hs-acard {
  animation: none; opacity: 0; transform: translateY(10px);
}
.hs-slide:not(.hs-slide-active) .hs-vn {
  animation: none; opacity: 0; transform: translateY(8px);
}
.hs-slide:not(.hs-slide-active) .hs-vconn,
.hs-slide:not(.hs-slide-active) .hs-vn-add {
  animation: none; opacity: 0;
}
.hs-slide:not(.hs-slide-active) .hs-vn-added,
.hs-slide:not(.hs-slide-active) .hs-vconn-added {
  opacity: 0; transform: translateY(-6px);
}
.hs-slide:not(.hs-slide-active) .hs-anp {
  animation: none; opacity: 0;
}

/* Progress dots removed — replaced by .hs-tab-nav */

@media (max-width: 1024px) {
  /* ── Hero slideshow: show only slide 1 (cards), hide slide 2 + tab nav ── */
  .hs-wrap {
    display: block;
    height: auto;
    min-height: unset;
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  /* All slides: relative so they take natural height */
  .hs-slide {
    position: relative;
    inset: unset;
    width: 100%;
  }
  /* Always show slide 1, always hide slide 2 and tab nav on mobile */
  #hsSlide1 { display: block !important; opacity: 1 !important; pointer-events: auto !important; }
  #hsSlide2 { display: none !important; }
  .hs-tab-nav { display: none !important; }

  /* Slide 1 cards grid */
  .hs-cards-wrap { width: 100%; box-sizing: border-box; padding: 12px; overflow: hidden; }
  .hs-cards-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hs-acard { box-sizing: border-box; min-width: 0; overflow: hidden; padding: 12px 10px 8px; }
  .hs-acard-title { font-size: .78rem; }
  .hs-acard-desc { font-size: .7rem; word-break: break-word; }
}

/* ═══ CLIENT LOGO STRIP ═══════════════════════════════════════════ */
#clients {
  background: var(--navy-deep, #0D1B2E);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Honeycomb mesh texture — 1.5% opacity */
#clients::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 0 L56 16 L56 50 L28 66 L0 50 L0 16 Z' fill='none' stroke='rgba(255,255,255,0.015)' stroke-width='1'/%3E%3Cpath d='M28 66 L56 82 L56 116 L28 132 L0 116 L0 82 Z' fill='none' stroke='rgba(255,255,255,0.015)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
  z-index: 0;
}

.clients-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.clients-label {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
  margin-right: 32px;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.clients-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 36px;
  border-right: 1px solid rgba(255,255,255,0.07);
  opacity: .65;
  transition: opacity .25s;
}
.clients-logo-item:last-child {
  border-right: none;
}

.clients-logo-item:hover {
  opacity: 1;
}

.clients-logo-item img {
  height: 100%;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(1.1);
  transition: filter .25s;
}

.clients-logo-item:hover img {
  filter: grayscale(0) brightness(1);
}

.clients-logo-placeholder {
  opacity: .2;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.clients-placeholder-text {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--fh);
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 4px 14px;
}

@media (max-width: 768px) {
  .clients-strip { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .clients-label { display: none; }
  .clients-logo-item { height: 28px; padding: 0 20px; }
}

@media (max-width: 520px) {
  .clients-logos { flex-direction: column; gap: 32px; }
  .clients-logo-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    width: 100%;
  }
  .clients-logo-item:last-child { border-bottom: none; }
}

