/* ─────────────────────────────────────────────────────────────────
   Kellerbridge — Marketing Site
   Mobile-first · Dark theme · Brand: #4f8cff → #7b6dff
   ───────────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0e14;
  --bg-2: #11161f;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8eef4;
  --text-2: rgba(232, 238, 244, 0.72);
  --text-3: rgba(232, 238, 244, 0.5);
  --accent: #4f8cff;
  --accent-2: #7b6dff;
  --warm: #f59e0b;
  --warm-2: #ec4899;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.5);

  --container: 1200px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }

/* ── Layout primitives ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.4rem 0.85rem;
  background: rgba(79, 140, 255, 0.1);
  border: 1px solid rgba(79, 140, 255, 0.25);
  border-radius: 999px;
}

.section__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}
.section__lede {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-2);
  max-width: 60ch;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-warm {
  background: linear-gradient(135deg, var(--warm-2), var(--warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.strike {
  position: relative;
  white-space: nowrap;
}
.strike::after {
  content: "";
  position: absolute;
  inset-inline: -4%;
  top: 52%;
  height: 5px;
  background: linear-gradient(90deg, var(--warm-2), var(--warm));
  border-radius: 999px;
  transform: rotate(-2deg);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  min-height: 44px;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn--xl { padding: 1.05rem 2rem; font-size: 1.05rem; min-height: 56px; }
.btn--full { width: 100%; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover {
  box-shadow: 0 12px 32px rgba(79, 140, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255, 255, 255, 0.22); }
.btn__arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── Brand ─────────────────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand__icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
  box-shadow: 0 4px 16px rgba(79, 140, 255, 0.4);
}
.brand__icon::before {
  content: "K";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 14, 20, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav--scrolled { border-bottom-color: var(--border); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1rem;
}
.nav__links {
  display: none;
  gap: 0.25rem;
  flex: 1;
  margin-left: 1rem;
}
.nav__links a {
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__cta { display: none; gap: 0.5rem; margin-left: auto; }
.nav__cta .btn { padding: 0.6rem 1.1rem; min-height: 38px; font-size: 0.85rem; }

.nav__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav__menu-btn span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.15s;
}
.nav__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__cta { display: flex; }
  .nav__menu-btn { display: none; }
}

/* Mobile open: stack everything in natural flow so the CTA never overlaps
   the links or the page below. The header row keeps the logo + close button
   pinned to the top; the links and CTA wrap onto their own full-width rows
   beneath it. */
.nav--mobile-open .nav__inner {
  flex-wrap: wrap;
  row-gap: 0;
  align-items: flex-start;
  padding-bottom: 0;
}
.nav--mobile-open .nav__links {
  display: flex;
  order: 3;
  flex: 0 0 100%;
  flex-direction: column;
  background: rgba(10, 14, 20, 0.98);
  border-top: 1px solid var(--border);
  padding: 1rem 0 0.5rem;
  margin: 1rem 0 0;
  gap: 0.25rem;
}
.nav--mobile-open .nav__links a { padding: 1rem 1.25rem; font-size: 1rem; }
.nav--mobile-open .nav__cta {
  display: flex;
  order: 4;
  flex: 0 0 100%;
  flex-direction: column;
  background: rgba(10, 14, 20, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0 1rem;
  margin: 0;
  gap: 0.5rem;
}
.nav--mobile-open .nav__cta .btn { width: 100%; padding: 0.9rem; min-height: 48px; font-size: 0.95rem; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}
.orb--1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -100px; left: -100px;
}
.orb--2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  top: 100px; right: -200px;
  animation-delay: -7s;
}
.orb--3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #ec4899, transparent 70%);
  bottom: -100px; left: 30%;
  opacity: 0.25;
  animation-delay: -14s;
}
.orb--cta {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent), transparent 65%);
  inset: -50% -20% auto auto;
  filter: blur(80px);
  opacity: 0.4;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) both;
}
.hero__pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(2.25rem, 7.5vw, 5.25rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
  animation: fadeInUp 0.9s var(--ease-out) 0.1s both;
}
.hero__lede {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
  animation: fadeInUp 1s var(--ease-out) 0.2s both;
}
.hero__lede strong { color: var(--text); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeInUp 1.1s var(--ease-out) 0.3s both;
}

.hero__trust {
  animation: fadeInUp 1.2s var(--ease-out) 0.4s both;
}
.hero__trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-3);
  margin-bottom: 0.75rem;
}
.hero__trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
}
.hero__trust-logos .dot { color: var(--text-3); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__preview {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}
.preview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: fadeInUp 1.4s var(--ease-out) 0.5s both;
}
.preview-card:nth-child(2) { animation-delay: 0.6s; }
.preview-card:nth-child(3) { animation-delay: 0.7s; }
.preview-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.preview-card__avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.preview-card__name { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.preview-card__role { font-size: 0.75rem; color: var(--text-3); line-height: 1.2; margin-top: 2px; }
.preview-card__status {
  margin-left: auto;
  font-size: 0.7rem;
  color: #34d399;
  font-weight: 600;
}
.preview-card__body {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ── Problem ──────────────────────────────────────────────────── */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.problem__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.problem__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.problem__icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.problem__card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.problem__card p { color: var(--text-2); font-size: 0.95rem; }

/* ── Agents ────────────────────────────────────────────────────── */
.agents__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.agent-card {
  position: relative;
  background: linear-gradient(180deg, color-mix(in oklab, var(--agent-color) 8%, transparent), var(--surface) 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--agent-color) 60%, transparent), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.agent-card:hover {
  transform: translateY(-6px);
}
.agent-card:hover::before { opacity: 1; }
.agent-card--lead {
  grid-column: 1 / -1;
}
@media (min-width: 880px) {
  .agent-card--lead {
    grid-column: span 2;
    background: linear-gradient(135deg, color-mix(in oklab, var(--agent-color) 16%, transparent), var(--surface));
  }
}
.agent-card__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--agent-color) 20%, transparent);
  color: var(--agent-color);
  border: 1px solid color-mix(in oklab, var(--agent-color) 30%, transparent);
}
.agent-card__avatar {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: color-mix(in oklab, var(--agent-color) 18%, var(--bg-2));
  border: 1px solid color-mix(in oklab, var(--agent-color) 30%, transparent);
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px color-mix(in oklab, var(--agent-color) 25%, transparent);
}
.agent-card__name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.agent-card__role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--agent-color);
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
.agent-card__bio {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.agent-card__skills { display: flex; flex-direction: column; gap: 0.5rem; }
.agent-card__skills li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-2);
}
.agent-card__skills li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--agent-color);
  font-weight: 700;
}

/* ── How it works ──────────────────────────────────────────────── */
.how__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  counter-reset: step;
}
.how__step {
  position: relative;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.how__step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.how__num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.how__step h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.how__step p { color: var(--text-2); font-size: 0.95rem; }

.how__sticker {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}
.how__sticker-icon { font-size: 1.75rem; }
.how__sticker-title {
  font-weight: 700;
  color: #6ee7b7;
  font-size: 1rem;
}
.how__sticker-sub { color: var(--text-2); font-size: 0.875rem; margin-top: 2px; }

/* ── Pricing ───────────────────────────────────────────────────── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.price-card {
  position: relative;
  padding: 2.25rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card--featured {
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.1), var(--surface) 50%);
  border-color: rgba(79, 140, 255, 0.4);
  box-shadow: 0 24px 60px rgba(79, 140, 255, 0.15);
  z-index: 2;
}
@media (min-width: 980px) {
  .price-card--featured { transform: scale(1.03); }
  .price-card--featured:hover { transform: scale(1.05) translateY(-4px); }
}
.price-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 20px rgba(79, 140, 255, 0.4);
}
.price-card__name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-bottom: 0.5rem;
}
.price-card__price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.price-card__amount {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card__per { color: var(--text-3); font-size: 0.95rem; }
.price-card__tagline {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.price-card__features li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-2);
}
.price-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(79, 140, 255, 0.18);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.pricing__note {
  text-align: center;
  color: var(--text-3);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ── Compare table ─────────────────────────────────────────────── */
.compare__table {
  margin-top: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare__row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.compare__row:last-child { border-bottom: none; }
.compare__row--head {
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.compare__row > div:first-child { font-weight: 600; color: var(--text); }
.compare__row > div:not(:first-child) { color: var(--text-2); text-align: center; }
.compare__brand {
  color: var(--accent) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}
.compare__hl {
  color: #fff !important;
  font-weight: 700 !important;
}
@media (max-width: 700px) {
  .compare__row { grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; padding: 1rem; font-size: 0.85rem; }
  .compare__row > div:first-child { grid-column: 1 / -1; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: -0.25rem; }
  .compare__row--head { display: none; }
  .compare__row > div:nth-child(2)::before { content: "Kellerbridge: "; color: var(--text-3); font-weight: 500; }
  .compare__row > div:nth-child(3)::before { content: "Bureau: "; color: var(--text-3); font-weight: 500; }
  .compare__row > div:nth-child(4)::before { content: "Zelf: "; color: var(--text-3); font-weight: 500; }
  .compare__row > div { text-align: left !important; }
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: background 0.2s;
}
.faq__item[open] { background: var(--surface); border-radius: var(--radius); border-bottom-color: transparent; }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq__item[open] summary { padding-left: 1.25rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-3);
  transition: transform 0.25s var(--ease), color 0.2s;
  flex-shrink: 0;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq__item summary:hover { color: var(--accent); }
.faq__item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq__item p a { color: var(--accent); text-decoration: underline; }

/* ── Final CTA ────────────────────────────────────────────────── */
.finalcta__box {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.08), var(--surface));
  border: 1px solid rgba(79, 140, 255, 0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.finalcta__bg { position: absolute; inset: 0; pointer-events: none; }
.finalcta__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  position: relative;
}
.finalcta__lede {
  color: var(--text-2);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 2rem;
  position: relative;
}
.finalcta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  position: relative;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 3rem;
  background: var(--bg-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 700px) {
  .footer__grid { grid-template-columns: 2fr repeat(3, 1fr); }
}
.footer__brand .brand { margin-bottom: 0.875rem; }
.footer__tagline {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 30ch;
}
.footer__legal {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.7;
}
.footer h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer ul a {
  color: var(--text-2);
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer ul a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ── Reveal animation on scroll ────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
}
.reveal.animate {
  opacity: 1;
  transform: translateY(30px);
  transition: transform 0.8s var(--ease-out);
}
.reveal.animate.is-visible {
  transform: translateY(0);
}

/* ── Floating preview cards ────────────────────────────────────── */
.preview-card {
  animation: cardFloat 6s ease-in-out infinite;
}
.preview-card:nth-child(2) {
  animation-delay: -2s;
}
.preview-card:nth-child(3) {
  animation-delay: -4s;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── CTA pulse glow ────────────────────────────────────────────── */
.btn--pulse {
  position: relative;
  animation: ctaPulse 2.5s ease-in-out infinite;
}
.btn--pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0;
  filter: blur(16px);
  z-index: -1;
  animation: ctaGlow 2.5s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
@keyframes ctaGlow {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.35; }
}

/* ── Sticky bottom CTA bar ─────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 0.875rem 0;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.sticky-cta.is-visible {
  transform: translateY(0);
}
.sticky-cta__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sticky-cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.sticky-cta__text strong {
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}
.sticky-cta__text span {
  color: var(--text-2);
  font-size: 0.82rem;
}
@media (max-width: 640px) {
  .sticky-cta__text span { display: none; }
  .sticky-cta__inner { justify-content: center; }
}

/* ── Section CTA inline ────────────────────────────────────────── */
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.section-cta .btn {
  font-size: 1.05rem;
  padding: 1rem 2rem;
}

/* ── Enhanced card hover ───────────────────────────────────────── */
.preview-card,
.problem__card,
.agent-card,
.pricing__card,
.how__step {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.preview-card:hover,
.problem__card:hover,
.agent-card:hover,
.how__step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-color: var(--border-strong);
}

/* ── Pricing card featured glow ────────────────────────────────── */
.price-card--featured {
  position: relative;
}
.price-card--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--success), var(--accent));
  background-size: 300% 300%;
  animation: gradientMove 5s ease infinite;
  z-index: -1;
  opacity: 0.5;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Live indicator pulse ──────────────────────────────────────── */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #34d399;
  font-weight: 600;
}
.live-indicator::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
