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

/* ═══ NAV ═══════════════════════════════════════════════════════ */
#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: 38px;
  width: auto;
  object-fit: contain;
}
.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); }
.nav-links a:hover { color: var(--ink); }
.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); }

/* ═══ HERO (v3 split layout) ═══════════════════════════════════ */
#hero {
  min-height: 600px; max-height: 860px;
  padding: 120px 0 64px;
  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 480px;
  gap: 56px; 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(--purple); display: inline-block; position: relative; }
.hero-h1 .hl::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 4px;
  background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: drawLine .7s 1s var(--ease-out-expo) forwards;
}
.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 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: var(--sp-5xl) var(--gutter) var(--sp-6xl);
  background: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
#problem::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='194'%3E%3Cpath d='M56 66L0 33L0 -33L56 -66L112 -33L112 33Z' fill='none' stroke='%23d4a017' stroke-width='0.5' transform='translate(0,66)'/%3E%3Cpath d='M56 163L0 130L0 64L56 31L112 64L112 130Z' fill='none' stroke='%23d4a017' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 112px 194px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
/* Warm glow — top-right */
#problem::after {
  content: '';
  position: absolute; top: -80px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(250,200,53,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
/* Accent dot cluster — bottom-left */
.problem-dots-bl {
  position: absolute; bottom: 60px; left: 40px;
  display: grid; grid-template-columns: repeat(5, 6px); gap: 12px;
  z-index: 0; pointer-events: none;
}
.problem-dots-bl span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow); opacity: 0.22;
}
/* Accent dot cluster — top-right */
.problem-dots-tr {
  position: absolute; top: 60px; right: 50px;
  display: grid; grid-template-columns: repeat(4, 6px); gap: 12px;
  z-index: 0; pointer-events: none;
}
.problem-dots-tr span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple); opacity: 0.15;
}
/* Decorative ring — left side */
.problem-ring {
  position: absolute; top: 50%; left: -60px;
  transform: translateY(-50%);
  width: 180px; height: 180px;
  border: 1.5px solid rgba(250,200,53,.15);
  border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.problem-ring::before {
  content: ''; position: absolute; inset: 20px;
  border: 1px solid rgba(56,162,255,.1);
  border-radius: 50%;
}
.problem-kicker {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); margin-bottom: 24px; display: block;
}
.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.1; max-width: 960px;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
}
.problem-sub {
  font-size: 1.1rem; color: #4B5563; max-width: 600px;
  margin: 0 auto; line-height: 1.7;
  position: relative; z-index: 1;
}
.problem-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px; max-width: 960px; margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.pc {
  background: white; padding: 36px 32px; text-align: left;
  border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 2px 8px rgba(56,162,255,.04), 0 8px 28px rgba(56,162,255,.06);
  transition: transform var(--dur-med) var(--ease-out-expo), box-shadow var(--dur-med), border-color var(--dur-med);
}
.pc:hover {
  transform: translateY(-6px);
  border-color: var(--border-mid);
  box-shadow: 0 8px 20px rgba(56,162,255,.1), 0 24px 48px rgba(56,162,255,.1);
}
.pc-icon {
  font-size: 1.6rem; margin-bottom: 16px;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--purple-pale); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
}
.pc-icon svg { width: 24px; height: 24px; }
.pc-title { font-family: var(--fh); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.pc-text { font-size: .92rem; color: #4B5563; line-height: 1.7; }

/* ═══ 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;
}
.agents-track:hover {
  animation-play-state: paused;
}

.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;
}
.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 {
  color: var(--purple); 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-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 320px 1fr; gap: 80px; 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; }
.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; }

/* ═══ 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); }

/* ═══ RESPONSIVE ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; } .hero-card-wrap { display: none; } .hero-h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .problem-cards, .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; }
}
@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: 200px; min-height: auto; }
  #hero, #problem, #integrations, #diff, #how, #k8s, #testimonials, #faq, #cta, footer { padding-left: var(--gutter-sm); padding-right: var(--gutter-sm); }
  .problem-dots-bl, .problem-dots-tr, .problem-ring { display: none; }
  .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; }
  .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: flex-start; }
}
@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: flex-start; } .hub-cols { grid-template-columns: 1fr; } .hub-legs { display: none; }
  .hero-metrics { flex-direction: column; gap: 16px; }
  .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); }
  .metric:last-child { padding-bottom: 0; border-bottom: none; }
  .cta-btns { flex-direction: column; align-items: center; }
  .problem-h { font-size: clamp(1.8rem, 7vw, 2.8rem); }
}

/* ═══ 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: 60px; right: 14%;
  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: 160px; height: 160px;
  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); }
}
