/* ===========================================================================
   CallCheckPro — Marketing homepage
   Ported from the high-fidelity design handoff (React prototype) to the
   Hugo stack: server-rendered markup + vanilla JS. Pixel-perfect recreate.
   =========================================================================== */

/* --- Design tokens ------------------------------------------------------- */
:root {
  /* Brand */
  --green-50:  #ECFDF5;
  --green-100: #D1FAE5;
  --green-200: #A7F3D0;
  --green-300: #6EE7B7;
  --green-400: #34D399;
  --green-500: #27AE60;
  --green-600: #1E9B54;
  --green-700: #1A8A4A;
  --green-800: #166535;
  --green-900: #0F4D28;

  /* Surfaces */
  --surface-dark:    #060A08;
  --surface-darker:  #030504;
  --surface-mid:     #0D1410;
  --surface-light:   #F5F8F6;
  --surface-lighter: #FAFBFA;
  --surface-white:   #FFFFFF;

  /* Text */
  --text-primary:   #121714;
  --text-secondary: #4A5248;
  --text-muted:     #7C847A;
  --text-light:     #DEE2DF;
  --text-lighter:   #A0A8A2;

  /* Accent */
  --red-500: #E74C3C;
  --red-100: #FDEDEC;
  --red-bg:  rgba(231, 76, 60, 0.08);

  /* Typography */
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'Fira Code', ui-monospace, 'Cascadia Code', monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Container */
  --container: 1200px;
  --container-narrow: 800px;
  --container-wide: 1320px;

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:    0.5s;

  /* Gradient — brand signature */
  --gradient-brand: linear-gradient(135deg, #27AE60 0%, #1E9B54 60%, #166535 100%);
  --gradient-brand-light: linear-gradient(135deg, #34D399 0%, #27AE60 100%);
  --gradient-mesh: radial-gradient(at 20% 10%, #D1FAE5 0%, transparent 50%),
                   radial-gradient(at 80% 20%, #ECFDF5 0%, transparent 55%),
                   radial-gradient(at 50% 80%, #A7F3D0 0%, transparent 50%);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11, 61, 33, 0.04), 0 1px 1px rgba(11, 61, 33, 0.03);
  --shadow-md: 0 4px 12px rgba(11, 61, 33, 0.06), 0 2px 4px rgba(11, 61, 33, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11, 61, 33, 0.12), 0 8px 16px -8px rgba(11, 61, 33, 0.08);
  --shadow-xl: 0 40px 80px -20px rgba(11, 61, 33, 0.18), 0 16px 32px -16px rgba(11, 61, 33, 0.10);
  --shadow-glow: 0 0 0 1px rgba(39, 174, 96, 0.10), 0 8px 24px -6px rgba(39, 174, 96, 0.20);

  --animation-speed: 1;
}

/* --- Base ---------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
/* Stroke-based inline icons (sprite <use>); fill/stroke must live on the host
   svg because presentation attributes on the sprite's <g> do not cross <use>. */
svg:has(> use) { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Layout helpers */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.container.wide { max-width: var(--container-wide); }
.container.narrow { max-width: var(--container-narrow); }

.section { padding: var(--space-3xl) 0; position: relative; }
.section.tight { padding: var(--space-2xl) 0; }
:target, section[id], [id="contact"], [id="features"], [id="pricing"], [id="security"], [id="faq"], [id="tour"], [id="usecases"], [id="platform"], [id="poort"] { scroll-margin-top: 88px; }

/* Typography scale */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.05; color: var(--text-primary); }
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }
h4 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-secondary); line-height: 1.55; }
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker::before { content: ''; width: 18px; height: 1px; background: var(--green-500); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--green-500);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 6px 14px -4px rgba(39, 174, 96, 0.45);
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 10px 22px -6px rgba(39, 174, 96, 0.55); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(18, 23, 20, 0.10);
}
.btn-ghost:hover { background: var(--surface-light); border-color: rgba(18, 23, 20, 0.18); }
.btn-dark { background: var(--surface-dark); color: white; }
.btn-dark:hover { background: var(--surface-mid); transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* Pulse dot — live indicator */
.live-dot { display: inline-block; position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--green-500); }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 999px; background: var(--green-500); opacity: 0.4; animation: pulse calc(2s / var(--animation-speed, 1)) ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.4; } 100% { transform: scale(1.8); opacity: 0; } }

/* Mono utilities */
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }
.text-green { color: var(--green-600); }
.text-red { color: var(--red-500); }

/* Shared keyframes used across widgets */
@keyframes turnIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Audio waveform (Hero / Tour / CTA) */
.wf { display: flex; align-items: center; gap: 3px; height: 32px; }
.wf-bar { display: inline-block; width: 3px; background: var(--green-500); border-radius: 2px; animation: wfp 0.9s ease-in-out infinite alternate; height: 12px; }
.wf-bar:nth-child(3n) { background: var(--green-400); }
.wf-bar:nth-child(5n) { background: var(--green-600); }
@keyframes wfp { 0% { height: 4px; } 25% { height: 22px; } 50% { height: 8px; } 75% { height: 28px; } 100% { height: 14px; } }

/* ===========================================================================
   HEADER
   =========================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.78); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-bottom-color: rgba(18,23,20,0.06); background: rgba(255,255,255,0.92); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark-svg svg { display: block; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.primary-nav { display: flex; align-items: center; gap: 4px; flex: 1; margin-left: 12px; }
.nav-item { background: none; border: 0; cursor: pointer; padding: 8px 12px; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--text-primary); border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.nav-item:hover, .nav-item.active { background: var(--green-50); color: var(--green-700); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: 13px; font-family: var(--font-mono); }
.lang { background: none; border: 0; cursor: pointer; padding: 4px 6px; color: var(--text-muted); font-family: var(--font-mono); font-size: 13px; text-decoration: none; }
.lang.on { color: var(--text-primary); font-weight: 600; }
.mobile-menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text-primary); }
.mobile-menu { position: fixed; inset: 0; background: var(--surface-white); z-index: 100; padding: 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text-primary); }
.mobile-links { display: flex; flex-direction: column; gap: 16px; margin-top: 80px; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.mobile-lang { display: flex; align-items: center; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(18,23,20,0.08); font-family: var(--font-mono); font-size: 16px; color: var(--text-muted); }
.mobile-lang .lang { padding: 6px 12px; border: 1px solid rgba(18,23,20,0.12); border-radius: 8px; color: var(--text-secondary); text-decoration: none; }
.mobile-lang .lang.on { color: var(--text-primary); font-weight: 600; border-color: var(--green-400); background: var(--green-50); }

/* Mega-menu */
.has-mega { position: static; }
.mega-panel { position: absolute; top: 100%; left: 0; right: 0; padding-top: 8px; display: none; }
.mega-panel.open { display: block; }
.mega-inner { background: var(--surface-white); border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding: 32px; animation: dropdown 0.22s var(--ease-out); }
@keyframes dropdown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-intro h3 { font-size: 24px; margin: 8px 0 8px; }
.mega-intro p { color: var(--text-secondary); margin-bottom: 16px; font-size: 14px; }
.mega-link { color: var(--green-700); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.mega-col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.mega-items { display: flex; flex-direction: column; gap: 4px; }
.mega-item { display: flex; gap: 12px; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--text-primary); transition: background 0.15s; }
.mega-item:hover { background: var(--green-50); }
.mega-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--green-50); color: var(--green-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mega-item:hover .mega-icon { background: var(--green-500); color: white; }
.mega-label { font-size: 14px; font-weight: 600; line-height: 1.3; }
.mega-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; margin-top: 2px; }

@media (max-width: 980px) {
  .primary-nav { display: none; }
  .lang-switch, .hide-md { display: none; }
  .header-row { gap: 12px; }
  .header-actions { margin-left: auto; gap: 8px; }
  /* Visible, fixed-size tap target — flex:none so it can't be squeezed to a
     sliver by the Demo CTA (which is what hid the menu on phones). */
  .mobile-menu-btn { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(18,23,20,0.14); border-radius: 10px; }
  .mobile-menu-btn svg { width: 24px; height: 24px; }
  .mega-inner { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .header-actions .btn-primary.btn-sm { padding: 9px 12px; }
}

/* ===========================================================================
   HERO (variant A)
   =========================================================================== */
.hero { position: relative; padding: 96px 0 64px; overflow: hidden; background: linear-gradient(180deg, var(--green-50) 0%, rgba(236,253,245,0.45) 38%, rgba(255,255,255,0) 70%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 999px; filter: blur(80px); opacity: 0.5; }
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle at 30% 30%, var(--green-200), transparent 70%); top: -120px; right: -120px; }
.orb-2 { width: 380px; height: 380px; background: radial-gradient(circle at 70% 70%, var(--green-100), transparent 70%); bottom: -100px; left: -100px; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.hero-copy { padding-top: 8px; }
.hero-copy h1 { margin: 14px 0 20px; }
.hl { background: linear-gradient(135deg, var(--green-500), var(--green-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ctas { display: flex; gap: 12px; margin: 28px 0 24px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(18,23,20,0.06); }
.hero-trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.hero-visual { position: relative; }
.hero-floater { position: absolute; background: white; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; border: 1px solid rgba(18,23,20,0.04); animation: floatA 6s ease-in-out infinite; }
.hf-1 { top: -18px; left: -24px; animation-delay: 0.3s; }
.hf-2 { bottom: -22px; right: -12px; padding: 14px 18px; animation-delay: 1.2s; }
.hf-title { font-weight: 600; }
.hf-sub { color: var(--text-muted); font-size: 11px; line-height: 1.3; }
.hf-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--green-700); }
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Live compliance widget */
.lcw { width: 100%; background: var(--surface-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: 1px solid rgba(18,23,20,0.06); overflow: hidden; transform: perspective(1800px) rotateY(-2deg) rotateX(2deg); }
.lcw-chrome { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid rgba(18,23,20,0.06); background: linear-gradient(180deg, rgba(245,248,246,0.6), transparent); }
.lcw-tab { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.lcw-time { color: var(--text-muted); font-size: 12px; margin-left: 6px; }
.lcw-chip { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); padding: 4px 10px; background: var(--surface-light); border-radius: 999px; }
.lcw-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; height: 540px; }
.lcw-left { padding: 18px; border-right: 1px solid rgba(18,23,20,0.06); display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.lcw-right { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: var(--surface-lighter); min-height: 0; overflow: hidden; }
.lcw-meta { display: flex; gap: 10px; align-items: center; }
.lcw-avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--gradient-brand); color: white; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.lcw-name { font-size: 14px; font-weight: 600; }
.lcw-id { color: var(--text-muted); font-weight: 400; font-size: 11px; }
.lcw-sub { color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.lcw-transcript { display: flex; flex-direction: column; gap: 10px; flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(180deg, transparent 0, black 24px, black 100%); mask-image: linear-gradient(180deg, transparent 0, black 24px, black 100%); }
.turn { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--surface-light); border-left: 3px solid var(--green-300); animation: turnIn 0.4s var(--ease-out); }
.turn-a { background: var(--green-50); border-left-color: var(--green-500); }
.turn-k { background: var(--surface-light); border-left-color: var(--text-light); }
.turn-who { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.turn-txt { font-size: 13px; line-height: 1.5; color: var(--text-primary); }
.turn-pass { font-size: 11px; color: var(--green-700); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.turn.typing { padding: 14px; background: transparent; border: 0; }
.dots i { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--green-400); margin-right: 4px; animation: bounce 1s infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.30s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); opacity: 0.3; } 50% { transform: translateY(-3px); opacity: 1; } }
.lcw-wave { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--surface-darker); border-radius: 10px; color: var(--text-light); }
.lcw-rec { color: var(--red-500); font-size: 11px; }
.lcw-card { padding: 14px; background: white; border-radius: 12px; box-shadow: var(--shadow-sm); border: 1px solid rgba(18,23,20,0.04); }
.lcw-card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lcw-status { padding: 3px 8px; font-size: 11px; font-weight: 700; background: var(--green-100); color: var(--green-800); border-radius: 999px; }
.score-ring { position: relative; display: flex; align-items: center; justify-content: center; margin: 6px 0; }
.score-val { position: absolute; text-align: center; }
.score-num { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.04em; }
.score-sub { font-size: 14px; color: var(--text-muted); margin-left: 2px; }
.score-lbl { font-size: 9px; letter-spacing: 0.16em; color: var(--text-muted); }
.lcw-cstats { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-secondary); margin-top: 8px; }
.lcw-checks { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow: hidden; }
.cpt { display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-size: 11.5px; border-radius: 6px; color: var(--text-muted); }
.cpt-dot { width: 16px; height: 16px; border-radius: 4px; background: var(--text-light); color: white; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
.cpt-pass { color: var(--text-primary); }
.cpt-pass .cpt-dot { background: var(--green-500); }
.cpt-now { color: var(--text-primary); }
.cpt-now .cpt-dot { background: var(--green-100); color: var(--green-700); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 48px; }
  .hf-1, .hf-2 { display: none; }
}
@media (max-width: 720px) {
  .lcw-body { grid-template-columns: 1fr; height: auto; }
  .lcw-left { border-right: 0; border-bottom: 1px solid rgba(18,23,20,0.06); min-height: 0; }
  /* Reserve a fixed transcript area so the widget never grows/shrinks as lines
     stream in (which made the whole page jump). flex-end keeps the newest turns
     pinned to the bottom; older ones scroll up under the existing top fade. */
  .lcw-transcript { height: 210px; flex: none; justify-content: flex-end; }
}

/* ===========================================================================
   LOGO WALL
   =========================================================================== */
.logowall { padding: 56px 0 40px; }
.lw-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.lw-head p { color: var(--text-muted); margin-top: 10px; font-size: 14px; }
.lw-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; padding: 36px 0; border-top: 1px solid rgba(18,23,20,0.06); border-bottom: 1px solid rgba(18,23,20,0.06); }
.cw { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: var(--text-secondary); filter: grayscale(1); opacity: 0.55; transition: all 0.25s var(--ease-out); padding: 0 6px; }
.cw:hover { filter: none; opacity: 1; color: var(--text-primary); transform: translateY(-2px); }
.cw-dot { width: 10px; height: 10px; border-radius: 999px; flex: none; }
.cw-txt { display: inline-flex; flex-direction: column; line-height: 1.1; }
.cw-role { font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 720px) {
  .lw-grid { gap: 20px 28px; }
  .hide-mobile { display: none; }
}

/* ===========================================================================
   STATS
   =========================================================================== */
.stats-section { padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 28px 24px; border-radius: var(--radius-md); background: var(--surface-white); border: 1px solid rgba(18,23,20,0.06); transition: all 0.2s var(--ease-out); }
.stat:hover { border-color: var(--green-300); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1; color: var(--green-700); }
.stat-lbl { font-size: 14px; font-weight: 600; margin-top: 8px; color: var(--text-primary); }
.stat-sub { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } .stat { text-align: center; } }

/* ===========================================================================
   PILLARS — anatomy of a call
   =========================================================================== */
.anatomy-section { background: var(--surface-lighter); position: relative; overflow: hidden; }
.anatomy-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(at 50% 0%, rgba(39,174,96,0.06), transparent 50%); pointer-events: none; }
.anatomy-head { text-align: center; max-width: 720px; margin: 0 auto 56px; position: relative; }
.anatomy-head h2 { margin: 14px 0 16px; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; padding: 0 32px; }
.flow-line { position: absolute; top: 22px; left: calc(16% + 22px); right: calc(16% + 22px); height: 2px; background: rgba(18,23,20,0.08); border-radius: 2px; overflow: hidden; }
.flow-line-fill { height: 100%; background: linear-gradient(90deg, #27AE60, #166535); transition: width 0.6s var(--ease-out); width: 0; }
.flow-node { background: none; border: 0; padding: 0; cursor: pointer; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.5; transition: opacity 0.3s; }
.flow-node.on, .flow-node:hover { opacity: 1; }
.flow-dot { width: 44px; height: 44px; border-radius: 999px; background: white; border: 2px solid rgba(18,23,20,0.08); display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease-out); position: relative; }
.flow-node.on .flow-dot, .flow-node.done .flow-dot { border-color: var(--node-color); background: var(--node-color); }
.flow-node.on .flow-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 999px; border: 2px solid var(--node-color); opacity: 0.3; animation: ringPulse 2s ease-out infinite; }
@keyframes ringPulse { 0% { transform: scale(0.85); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }
.flow-dot-inner { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--text-muted); }
.flow-node.on .flow-dot-inner, .flow-node.done .flow-dot-inner { color: white; }
.flow-tag { font-size: 10px; letter-spacing: 0.18em; font-weight: 700; color: var(--node-color); }
.flow-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--text-primary); }
.flow-sub { font-size: 12.5px; color: var(--text-muted); max-width: 220px; line-height: 1.4; }
.anatomy-stage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: stretch; }
.anatomy-frame { background: white; border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); min-height: 380px; display: flex; align-items: center; justify-content: center; }
.anatomy-side { padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.anatomy-side-tag { font-size: 11px; letter-spacing: 0.16em; font-weight: 700; }
.anatomy-side-title { font-size: 28px; letter-spacing: -0.02em; margin: 4px 0 4px; }
.anatomy-side-body { color: var(--text-secondary); font-size: 15px; line-height: 1.55; margin-bottom: 12px; }
.anatomy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 20px 0; border-top: 1px solid rgba(18,23,20,0.06); border-bottom: 1px solid rgba(18,23,20,0.06); }
.anatomy-stat-v { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.025em; color: var(--green-700); }
.anatomy-stat-l { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.anatomy-progress { display: flex; gap: 6px; margin-top: 16px; }
.anatomy-progress span { width: 24px; height: 3px; border-radius: 999px; background: rgba(18,23,20,0.10); cursor: pointer; transition: all 0.3s; }
.anatomy-progress span.on { background: var(--green-500); width: 40px; }
/* per-stage side blocks toggle */
.anatomy-side-block { display: none; }
.anatomy-side-block.on { display: flex; flex-direction: column; gap: 12px; }
/* showcases */
.showcase { display: none; width: 100%; }
.showcase.on { display: block; animation: fadeIn 0.5s var(--ease-out); }
.sh-call { width: 100%; max-width: 380px; margin: 0 auto; }
.sh-dialer { background: var(--surface-white); border: 1px solid rgba(18,23,20,0.06); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-sm); }
.sh-d-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(18,23,20,0.06); }
.sh-d-num { font-family: var(--font-mono); font-weight: 600; font-size: 24px; letter-spacing: 0.04em; padding: 12px 0 2px; color: var(--text-primary); min-height: 36px; }
.sh-d-caret { display: inline-block; width: 2px; height: 22px; background: var(--green-500); margin-left: 4px; vertical-align: middle; animation: blink 0.8s steps(2, end) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sh-d-name { font-size: 12.5px; color: var(--text-muted); margin-bottom: 16px; }
.sh-d-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
.sh-d-key { padding: 10px; background: var(--surface-lighter); border-radius: 8px; text-align: center; font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--text-secondary); }
.sh-d-actions { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(18,23,20,0.06); }
.sh-d-call { width: 40px; height: 40px; border-radius: 999px; background: var(--green-500); color: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(39,174,96,0.45); animation: callPulse 1.5s ease-in-out infinite; }
@keyframes callPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.sh-call-wave { margin-top: 16px; padding: 10px; background: var(--surface-darker); border-radius: 8px; display: flex; justify-content: center; }
.sh-check { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; width: 100%; }
.sh-c-trans { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: hidden; }
.sh-c-q { font-size: 12.5px; line-height: 1.5; padding: 10px 12px; background: var(--green-50); border-left: 3px solid var(--green-500); border-radius: 8px; animation: turnIn 0.4s var(--ease-out); }
.sh-c-tag { font-size: 9px; letter-spacing: 0.12em; color: var(--green-700); font-weight: 700; margin-right: 6px; }
.sh-c-report { background: white; border: 1px solid rgba(18,23,20,0.06); border-radius: 12px; padding: 14px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.sh-c-r-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(18,23,20,0.06); }
.sh-c-r-id { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.sh-c-r-score { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; color: var(--green-700); line-height: 1; }
.sh-c-r-of { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-left: 2px; }
.sh-c-r-bar { height: 4px; background: var(--surface-light); border-radius: 999px; overflow: hidden; }
.sh-c-r-bar-fill { height: 100%; background: linear-gradient(90deg, #34D399, #1A8A4A); transition: width 0.5s var(--ease-out); border-radius: 999px; width: 0; }
.sh-c-r-rows { display: flex; flex-direction: column; gap: 4px; }
.sh-c-r-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; padding: 7px 8px; background: var(--surface-lighter); border-radius: 6px; align-items: flex-start; animation: turnIn 0.4s var(--ease-out); }
.sh-c-r-flag { background: var(--red-bg); }
.sh-c-r-icon { width: 18px; height: 18px; border-radius: 4px; background: var(--green-500); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.sh-c-r-flag .sh-c-r-icon { background: var(--red-500); }
.sh-c-r-content { min-width: 0; }
.sh-c-r-k { font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.sh-c-r-q { font-size: 10.5px; color: var(--text-muted); font-style: italic; margin-top: 2px; line-height: 1.4; }
.sh-c-r-flag .sh-c-r-q { color: var(--red-500); font-style: normal; font-weight: 500; }
.sh-c-r-t { font-size: 10px; color: var(--text-muted); flex-shrink: 0; }
.sh-c-r-foot { padding-top: 6px; border-top: 1px dashed rgba(18,23,20,0.06); }
.sh-c-r-stats { display: flex; gap: 12px; font-size: 10.5px; color: var(--text-secondary); align-items: center; }
.sh-c-r-export { margin-left: auto; color: var(--green-700); cursor: pointer; font-weight: 600; }
.sh-pro { width: 100%; }
.sh-p-h { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(18,23,20,0.06); margin-bottom: 8px; }
.sh-p-team { font-size: 15px; font-weight: 600; margin-top: 4px; }
.sh-p-sub { color: var(--text-muted); font-size: 11px; }
.sh-p-stat { text-align: right; }
.sh-p-stat-v { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; color: var(--green-700); line-height: 1; }
.sh-p-stat-l { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.sh-p-cols, .sh-p-row { display: grid; grid-template-columns: 1.6fr 0.5fr 0.5fr 0.5fr; gap: 12px; align-items: center; padding: 8px 0; }
.sh-p-cols { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid rgba(18,23,20,0.06); }
.sh-p-row { font-size: 13px; border-bottom: 1px dashed rgba(18,23,20,0.05); }
.sh-p-row:last-child { border: 0; }
.sh-p-n { display: inline-flex; align-items: center; gap: 8px; }
.sh-p-av { width: 22px; height: 22px; border-radius: 999px; background: var(--gradient-brand); color: white; font-weight: 700; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.txt-right { text-align: right; }
@media (max-width: 980px) {
  .flow-track { grid-template-columns: 1fr; gap: 16px; padding: 0; }
  .flow-line { display: none; }
  .anatomy-stage { grid-template-columns: 1fr; }
  .anatomy-side { padding: 16px 0; }
  .sh-check { grid-template-columns: 1fr; }
  /* Stop the page from jumping: the showcases have different heights and the
     CHECK report builds/resets its rows every cycle. Give the frame a fixed
     height (content centred) and reserve the CHECK builders' space so nothing
     grows or shrinks while it animates. */
  .anatomy-frame { height: 640px; min-height: 0; overflow: hidden; }
  .sh-c-trans { height: 132px; max-height: none; }
  .sh-c-r-rows { min-height: 208px; }
  .anatomy-side { min-height: 340px; justify-content: flex-start; }  /* reserve tallest step's text so switching doesn't nudge the page */
}

/* ===========================================================================
   TOUR
   =========================================================================== */

.cert-note { max-width: 760px; margin: -42px auto 56px; text-align: center; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
@media (max-width: 560px) { .cert-note { margin: 20px auto 40px; } }
.int-note { max-width: 780px; margin: 22px auto 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.doc-fineprint { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }

/* --- De poort: toestemming & belgrondslag ------------------------------- */
.gate-section {
  background: var(--surface-darker);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.gate-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(at 78% 6%, rgba(39,174,96,0.16), transparent 55%);
  pointer-events: none;
}
.gate-section > .container { position: relative; z-index: 2; }
.gate-section h2, .gate-section h3, .gate-section h4 { color: #fff; }
.gate-section .kicker { color: var(--green-300); }
.gate-section .kicker::before { background: var(--green-400); }
.gate-section .eyebrow { color: var(--green-300); }

.gate-head { max-width: 760px; margin: 0 0 56px; }
.gate-head h2 { margin: 14px 0 18px; }
.gate-head .lead { color: rgba(255,255,255,0.66); }

.gate-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* Rail */
.gate-rail { list-style: none; margin: 0; padding: 0; position: relative; min-width: 0; }
.gate-rail::before {
  content: ''; position: absolute; left: 19px; top: 14px; bottom: 14px;
  width: 1px; background: linear-gradient(180deg, var(--green-500), rgba(39,174,96,0.10));
}
.gate-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-areas: 'num body';
  gap: 0 20px;
  padding: 0 0 26px;
}
.gate-item:last-child { padding-bottom: 0; }
.gate-num {
  grid-area: num;
  position: relative; z-index: 1;
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-mid);
  border: 1px solid rgba(39,174,96,0.30);
  color: var(--green-300);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.gate-ico { display: none; }
.gate-body { grid-area: body; padding-top: 8px; min-width: 0; }
.gate-body h3 { font-size: 19px; margin-bottom: 7px; }
.gate-body p { font-size: 14.5px; line-height: 1.62; color: rgba(255,255,255,0.62); max-width: 62ch; }
.gate-item:hover .gate-num { border-color: var(--green-400); background: rgba(39,174,96,0.14); }

/* Panel */
.gate-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky; top: 104px;
  min-width: 0;
}
.gate-panel-h { margin-bottom: 18px; }
.gate-panel-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; line-height: 1.5; }
.gate-modes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  background: rgba(0,0,0,0.35);
  border-radius: 10px; padding: 4px; margin-bottom: 22px;
}
.gate-mode {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  padding: 9px 6px; border-radius: 7px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.gate-mode:hover { color: rgba(255,255,255,0.85); }
.gate-mode.on { background: var(--green-600); color: #fff; }
.gate-mode:focus-visible { outline: 2px solid var(--green-300); outline-offset: 2px; }

.gate-out { display: none; }
.gate-out.on { display: block; animation: gateFade 0.35s var(--ease-out); }
@keyframes gateFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gate-out p { font-size: 14px; line-height: 1.62; color: rgba(255,255,255,0.66); }

.gate-verdict {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700;
  padding: 8px 14px; border-radius: 999px;
  margin-bottom: 14px;
}
.gate-verdict-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gate-verdict--pass  { background: rgba(39,174,96,0.14);  color: var(--green-300); }
.gate-verdict--warn  { background: rgba(245,166,35,0.14); color: #F5C15E; }
.gate-verdict--block { background: rgba(231,76,60,0.14);  color: #F09287; }

.gate-log {
  margin-top: 18px; padding: 12px 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 11.5px; line-height: 1.6;
  color: rgba(255,255,255,0.62);
  overflow-x: auto; white-space: nowrap;
}
.gate-log-k { color: var(--green-300); margin-right: 8px; }
.gate-log-v { color: #fff; }
.gate-log-v--no { color: #F09287; }

/* Opt-in strip */
.optin-strip {
  margin-top: 72px; padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.optin-intro { max-width: 620px; margin-bottom: 32px; }
.optin-intro h3 { margin: 10px 0 10px; }
.optin-intro p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.optin-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.optin-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.optin-step:hover { border-color: rgba(39,174,96,0.35); transform: translateY(-3px); }
.optin-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(39,174,96,0.16); color: var(--green-300);
  font-size: 12px; font-weight: 700; margin-bottom: 14px;
}
.optin-step h4 { margin-bottom: 8px; }
.optin-step p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.62); }
.optin-step em, .optin-note em { color: var(--green-300); font-style: normal; font-weight: 600; }
.optin-note { margin-top: 22px; font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 78ch; }

@media (max-width: 1040px) {
  .gate-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .gate-panel { position: static; }
}
@media (max-width: 760px) {
  .gate-head { margin-bottom: 40px; }
  .gate-item { grid-template-columns: 34px 1fr; gap: 0 16px; }
  .gate-num { width: 34px; height: 34px; border-radius: 10px; font-size: 10px; }
  .gate-rail::before { left: 16px; }
  .gate-body { padding-top: 5px; }
  .gate-body h3 { font-size: 17px; }
  .gate-log { white-space: normal; overflow-x: visible; }
  .gate-modes { grid-template-columns: repeat(3, 1fr); }
  .gate-mode { font-size: 11.5px; padding: 9px 4px; }
  .optin-steps { grid-template-columns: 1fr; }
  .optin-strip { margin-top: 52px; padding-top: 36px; }
}

.tour-section { padding: var(--space-3xl) 0; }
.tour-head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.tour-head h2 { margin: 14px 0 16px; }
.hl-grad { background: linear-gradient(135deg, var(--green-600), var(--green-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.tour-steps { display: flex; flex-direction: column; gap: 80px; padding-bottom: 200px; }
.tour-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; transition: opacity 0.4s; opacity: 0.45; }
.tour-step.active { opacity: 1; }
.ts-num { font-size: 13px; letter-spacing: 0.12em; color: var(--green-500); font-weight: 700; padding-top: 6px; font-family: var(--font-mono); }
.ts-time { font-size: 12px; letter-spacing: 0.16em; color: var(--text-muted); margin-bottom: 8px; font-family: var(--font-mono); }
.tour-step h3 { font-size: 24px; margin-bottom: 10px; }
.tour-step p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }
.tour-end { padding-top: 16px; }
.tour-sticky { position: sticky; top: 100px; }
.tour-vis-wrap { position: relative; }
.tv { width: 100%; min-height: 480px; background: white; border-radius: var(--radius-lg); border: 1px solid rgba(18,23,20,0.06); box-shadow: var(--shadow-lg); padding: 40px; display: grid; place-items: center; }
/* All tour visuals share one grid cell and cross-fade — no layout shift, no flicker. */
.tour-vis { grid-column: 1; grid-row: 1; width: 100%; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.45s var(--ease-out); }
.tour-vis.on { opacity: 1; visibility: visible; pointer-events: auto; }
.tour-step { cursor: pointer; }
.tour-step:focus-visible { outline: 2px solid var(--green-400); outline-offset: 6px; border-radius: 8px; }

/* Tour video poster/play card */
/* Cinematic 16:9 video card — aspect-ratio lives on the card (a block element)
   so the box is always 16:9; the poster fills it absolutely. */
.tour-play-card { position: relative; display: block; width: 100%; max-width: 880px; aspect-ratio: 16 / 9; margin: 36px auto 0; border: 1px solid rgba(18,23,20,0.08); padding: 0; background: var(--surface-darker); cursor: pointer; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
.tour-play-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
.tour-play-card:hover img { transform: scale(1.04); }
.tour-play-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,10,8,0.12) 0%, rgba(6,10,8,0) 38%, rgba(6,10,8,0.55) 100%); }
.tour-play-badge { position: absolute; inset: 0; margin: auto; width: 80px; height: 80px; border-radius: 999px; background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center; color: var(--green-700); box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 1; transition: transform 0.2s var(--ease-out), background 0.2s; }
.tour-play-card:hover .tour-play-badge { transform: scale(1.08); background: #fff; }
.tour-play-badge svg { margin-left: 4px; }
.tour-play-chip { position: absolute; bottom: 14px; right: 14px; z-index: 1; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: #fff; background: rgba(3,5,4,0.6); padding: 6px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Video lightbox */
.video-modal { position: fixed; inset: 0; z-index: 200; background: rgba(3,5,4,0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.video-modal[data-open="true"] { opacity: 1; visibility: visible; }
.video-modal__shell { position: relative; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-xl); transform: scale(0.96); transition: transform 0.25s var(--ease-out); }
.video-modal[data-open="true"] .video-modal__shell { transform: scale(1); }
.video-modal__shell video { width: 100%; height: 100%; display: block; background: #000; }
.video-modal__close { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); color: var(--text-primary); z-index: 2; }
.video-modal__close:hover { background: var(--red-500); color: #fff; }
/* On phones the tour video is a portrait cut — give the shell a portrait frame so it fills. */
@media (max-width: 768px) {
  .video-modal__shell { aspect-ratio: 9 / 16; height: 82vh; width: auto; max-width: 94vw; }
  .video-modal__shell video { object-fit: cover; }
}
@media (max-width: 560px) { .video-modal__close { top: 8px; right: 8px; } }
.tv-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tv-empty-num { font-family: var(--font-display); font-weight: 800; font-size: 96px; letter-spacing: -0.05em; line-height: 1; color: var(--text-muted); }
.tv-empty-num.tv-green { color: var(--green-600); }
.tv-empty-lbl { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.tv-empty-vs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--text-light); padding: 12px 0; }
.tv-cockpit { background: white; border-radius: 14px; border: 1px solid rgba(18,23,20,0.06); padding: 16px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 14px; width: 100%; }
.tv-c-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(18,23,20,0.06); }
.tv-c-score { font-family: var(--font-mono); font-weight: 600; font-size: 12px; color: var(--green-700); background: var(--green-50); padding: 4px 10px; border-radius: 999px; }
.tv-c-trans { display: flex; flex-direction: column; gap: 10px; }
.tv-t-line { font-size: 13px; line-height: 1.5; }
.tv-t-who { font-size: 10px; letter-spacing: 0.1em; color: var(--text-muted); margin-right: 8px; }
.tv-passed { font-size: 11px; color: var(--green-700); background: var(--green-50); padding: 6px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 600; }
.tv-c-wave { padding: 8px; background: var(--surface-darker); border-radius: 8px; display: flex; justify-content: center; }
.tv-report { background: white; border-radius: 14px; border: 1px solid rgba(18,23,20,0.06); padding: 18px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 10px; width: 100%; }
.tv-rep-h { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(18,23,20,0.06); margin-bottom: 4px; }
.tv-rep-title { font-size: 14px; font-weight: 600; margin-top: 4px; }
.tv-rep-score { font-family: var(--font-display); font-weight: 700; font-size: 36px; letter-spacing: -0.03em; color: var(--green-700); }
.tv-rep-score span { color: var(--text-muted); font-size: 16px; }
.tv-rep-row { display: flex; gap: 12px; padding: 10px; border-radius: 8px; background: var(--surface-lighter); }
.tv-rep-row.is-flag { background: var(--red-bg); }
.tv-rep-icon { width: 24px; height: 24px; border-radius: 6px; background: var(--green-500); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.is-flag .tv-rep-icon { background: var(--red-500); }
.tv-rep-k { font-size: 12.5px; font-weight: 600; }
.tv-rep-q { font-size: 11.5px; color: var(--text-muted); font-style: italic; margin-top: 2px; }
.is-flag .tv-rep-q { color: var(--red-500); font-style: normal; font-weight: 500; }
.tv-super { background: white; border-radius: 14px; border: 1px solid rgba(18,23,20,0.06); padding: 18px; box-shadow: var(--shadow-md); width: 100%; max-width: 460px; }
.tv-super-h { margin-bottom: 14px; }
.tv-super-h h4 { font-size: 16px; margin-top: 4px; }
.tv-super-tab, .tv-super-row { display: grid; grid-template-columns: 1.5fr 0.6fr 0.6fr 0.6fr; gap: 12px; align-items: center; }
.tv-super-tab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding-bottom: 8px; border-bottom: 1px solid rgba(18,23,20,0.06); }
.tv-super-row { padding: 8px 0; border-bottom: 1px dashed rgba(18,23,20,0.05); font-size: 13px; }
.tv-super-row:last-child { border: 0; }
.tv-super-n { display: inline-flex; align-items: center; gap: 8px; }
.tv-super-av { width: 24px; height: 24px; border-radius: 999px; background: var(--gradient-brand); color: white; font-weight: 700; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.tour-progress { display: flex; gap: 6px; margin-top: 16px; justify-content: center; }
.tp { width: 32px; height: 3px; border-radius: 999px; background: var(--text-light); border: 0; cursor: pointer; padding: 0; transition: background 0.2s; }
.tp.on { background: var(--green-500); }
/* Mobile/tablet: the scroll-choreographed split layout doesn't work on one
   narrow column (pinned visual scrolls away, 3/4 steps dimmed & unreadable).
   JS adds .tour-stacked and moves each visual inline under its own step, so
   every step is fully readable next to the visual it describes. */
@media (max-width: 980px) {
  .tour-stacked .tour-grid { display: block; }
  .tour-stacked .tour-sticky { display: none; }          /* now-empty visual column + cross-fade dots */
  .tour-stacked .tour-steps { display: block; padding: 0; }
  .tour-stacked .tour-step { opacity: 1; cursor: default; grid-template-columns: 34px 1fr; gap: 14px; margin-bottom: 44px; }
  .tour-stacked .tour-step:last-of-type { margin-bottom: 28px; }
  .tour-stacked .tour-step:focus-visible { outline: none; }
  .tour-stacked .tour-vis { position: static; opacity: 1; visibility: visible; pointer-events: auto; display: block; margin-top: 18px; }
  .tour-stacked .tour-vis > * { width: 100%; }
  /* the bare "5% vs 100%" visual needs its own card when shown inline */
  .tour-stacked .tv-empty { background: #fff; border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-md); padding: 28px 20px; box-shadow: var(--shadow-md); }
  .tour-stacked .tv-empty-num { font-size: 60px; }
  .tour-stacked .tv-super { max-width: none; }
  .tour-stacked .tour-end { padding-top: 4px; }
}

/* ===========================================================================
   BREATHER
   =========================================================================== */
.breather-section { padding: 32px 0; background: var(--surface-white); }
.breather { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.breather-photo { position: relative; width: 100%; aspect-ratio: 21 / 9; overflow: hidden; background: var(--surface-darker); }
.breather-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.breather-overlay { position: absolute; inset: 0; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; background: linear-gradient(45deg, rgba(6,10,8,0.75) 0%, rgba(6,10,8,0.35) 50%, rgba(6,10,8,0) 100%); color: white; pointer-events: none; }
.breather-stat { margin-bottom: auto; }
.breather-stat-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; color: var(--green-300); }
.breather-stat-l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 8px; }
@media (max-width: 720px) {
  .breather-photo { aspect-ratio: 4 / 5; }
  .breather-overlay { padding: 20px; }
}

/* ===========================================================================
   FEATURES — bento
   =========================================================================== */
.features-section { background: var(--surface-white); padding-top: 64px; }
.features-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.features-head h2 { margin: 14px 0 16px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; grid-auto-rows: 180px; }
.bcard { background: white; border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-md); padding: 24px; transition: all 0.25s var(--ease-out); display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(39,174,96,0.20); }
.bcard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--bc-accent); opacity: 0; transition: opacity 0.2s; }
.bcard:hover::before { opacity: 1; }
.bcard-vis { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.bcard-body { display: flex; flex-direction: column; gap: 8px; }
.bcard-tag { font-size: 9.5px; letter-spacing: 0.18em; font-weight: 700; color: var(--bc-accent); font-family: var(--font-mono); }
.bcard h3 { font-size: 17px; line-height: 1.3; letter-spacing: -0.015em; display: inline-flex; align-items: center; gap: 10px; }
.bcard p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.bcard-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--green-50); color: var(--bc-accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bcard.no-visual { justify-content: space-between; }
.bcard.compact { padding: 20px; }
.bcard.compact h3 { font-size: 15px; }
.bcard.compact p { font-size: 12px; }
.bento-rest-wrap { margin-top: 24px; text-align: center; }
.bento-rest-toggle { background: none; border: 1px solid rgba(18,23,20,0.10); padding: 12px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); transition: all 0.2s; font-family: var(--font-body); }
.bento-rest-toggle:hover { border-color: var(--green-300); background: var(--green-50); color: var(--green-700); }
.bento-rest-toggle svg { transition: transform 0.2s; }
.bento-rest-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bento-rest { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; animation: turnIn 0.4s var(--ease-out); }
.bento-rest[hidden] { display: none; }
.brest { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface-lighter); border-radius: 8px; font-size: 13px; color: var(--text-secondary); }
.brest svg { color: var(--green-600); flex-shrink: 0; }
/* bento mini-visuals */
.mac { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; width: 100%; }
.mac-trans { display: flex; flex-direction: column; gap: 8px; height: 272px; overflow: hidden; }
.mac-line { padding: 8px 12px; background: var(--surface-lighter); border-left: 3px solid var(--text-light); border-radius: 8px; font-size: 12.5px; line-height: 1.45; animation: turnIn 0.4s var(--ease-out); display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.mac-line.a { background: var(--green-50); border-left-color: var(--green-500); }
.mac-who { font-size: 9px; letter-spacing: 0.1em; color: var(--text-muted); font-family: var(--font-mono); }
.mac-line.a .mac-who { color: var(--green-700); }
.mac-txt { color: var(--text-primary); flex: 1; min-width: 0; }
.mac-pass { font-size: 10px; color: var(--green-700); display: inline-flex; align-items: center; gap: 4px; font-weight: 700; background: white; padding: 3px 7px; border-radius: 4px; }
.mac-side { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mac-score { position: relative; display: flex; align-items: center; justify-content: center; }
.mac-score-num { position: absolute; font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; }
.mac-score-sub { font-size: 12px; color: var(--text-muted); margin-left: 2px; }
.mac-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; padding: 6px 12px; background: white; border-radius: 999px; border: 1px solid rgba(18,23,20,0.06); }
.mau { display: flex; align-items: center; justify-content: center; min-height: 130px; padding: 8px 0; }
.mau-chain { display: flex; align-items: center; gap: 16px; }
.mau-block { background: white; padding: 10px 12px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid rgba(39,174,96,0.20); position: relative; opacity: 0; animation: chainIn 0.8s var(--ease-out) forwards; }
@keyframes chainIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mau-hash { font-size: 11px; color: var(--text-primary); font-weight: 600; }
.mau-meta { font-size: 9px; color: var(--text-muted); margin-top: 2px; }
.mau-link { position: absolute; right: -18px; top: 50%; width: 18px; height: 2px; background: var(--green-300); transform: translateY(-50%); }
.mau-link::after { content: ''; position: absolute; right: 0; top: -3px; width: 0; height: 0; border-left: 4px solid var(--green-500); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.mwr { display: flex; flex-direction: column; gap: 12px; min-height: 110px; justify-content: center; width: 100%; }
.mwr-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface-darker); color: white; border-radius: 999px; }
.mwr-bar .live-dot { background: var(--green-400); }
.mwr-btn { width: 28px; height: 28px; border-radius: 999px; background: rgba(255,255,255,0.10); border: 0; color: white; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mwr-btn-end { background: var(--red-500); transform: rotate(135deg); }
.mwr-tag { font-size: 10.5px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.mgpu { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.mgpu-bars { display: flex; align-items: flex-end; gap: 4px; height: 80px; }
.mgpu-col { width: 8px; height: 100%; background: var(--surface-light); border-radius: 2px; display: flex; align-items: flex-end; overflow: hidden; }
.mgpu-col > div { width: 100%; background: var(--green-500); border-radius: 2px; animation: gpuPulse 2s ease-in-out infinite; }
.mgpu-col:nth-child(odd) > div { animation-delay: 0.3s; }
.mgpu-col:nth-child(3n) > div { animation-delay: 0.6s; background: var(--green-400); }
@keyframes gpuPulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.7); } }
.mgpu-tag { font-size: 10px; color: var(--text-muted); }
.msup { display: flex; flex-direction: column; gap: 8px; min-height: 200px; justify-content: center; width: 100%; }
.msup-row { display: grid; grid-template-columns: 22px 1fr 60px 26px; gap: 8px; align-items: center; }
.msup-av { width: 22px; height: 22px; border-radius: 999px; background: var(--gradient-brand); color: white; font-weight: 700; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.msup-n { font-size: 12px; }
.msup-bar { height: 4px; background: var(--surface-light); border-radius: 999px; overflow: hidden; }
.msup-bar i { display: block; height: 100%; border-radius: 999px; transition: width 0.4s var(--ease-out); }
.msup-s { font-size: 12px; font-weight: 700; text-align: right; }
.msent { width: 100%; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bcard { grid-column: span 1 !important; grid-row: span 1 !important; min-height: 200px; }
  .bento-rest { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-rest { grid-template-columns: 1fr; }
  .mac { grid-template-columns: 1fr; }
}

/* ===========================================================================
   INTEGRATIONS
   =========================================================================== */
.integrations-section { background: var(--surface-lighter); }
.int-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.int-head h2 { margin: 14px 0 16px; }
.int-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 80px; }
.ic { padding: 20px 16px; background: white; border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; transition: all 0.2s var(--ease-out); position: relative; }
.ic:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(39,174,96,0.20); }
.ic-on { border-color: var(--green-500); background: linear-gradient(180deg, var(--green-50), white); }
.ic-mark { margin-bottom: 4px; }
/* Categorical colours: each integration carries its own recognisable brand
   hue (set inline per tile), not the CallCheckPro green. White letter on top. */
.ic-letter { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: white; background: var(--text-light); }
.ic-name { font-weight: 600; font-size: 14px; }
.ic-tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.ic-badge { position: absolute; top: -8px; right: -8px; background: var(--green-500); color: white; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: 0.04em; }
.int-api { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; background: var(--surface-darker); padding: 48px; border-radius: var(--radius-lg); color: var(--text-light); }
.int-api .eyebrow { color: var(--green-300); }
.int-api h3 { color: white; margin: 8px 0 10px; }
.int-api-copy p { color: rgba(255,255,255,0.7); font-size: 15px; }
.int-api-list { list-style: none; padding: 0; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.int-api-list li { font-size: 13.5px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); }
.int-api-list li svg { color: var(--green-400); flex-shrink: 0; }
.code-block { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.06); padding: 20px; border-radius: 12px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.85); overflow-x: auto; margin: 0; white-space: pre; }
.c-str { color: var(--green-300); }
.c-num { color: #FBC04C; }
.c-tok { color: #F8C8C0; }
@media (max-width: 980px) { .int-grid { grid-template-columns: repeat(3, 1fr); } .int-api { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 560px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===========================================================================
   USE CASES
   =========================================================================== */
.usecases-section { background: var(--surface-white); }
.uc-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.uc-head h2 { margin: 14px 0 16px; }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uc { padding: 28px; border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-md); background: white; transition: all 0.25s var(--ease-out); position: relative; display: flex; flex-direction: column; gap: 12px; }
.uc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(39,174,96,0.20); }
.uc-flag { background: linear-gradient(180deg, var(--green-50), white); border-color: var(--green-300); }
.uc-flag-tag { position: absolute; top: -10px; left: 20px; padding: 4px 10px; background: var(--green-500); color: white; border-radius: 999px; font-size: 10px; letter-spacing: 0.1em; font-weight: 700; }
.uc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-50); color: var(--green-600); display: flex; align-items: center; justify-content: center; }
.uc h3 { font-size: 20px; }
.uc-tag { font-size: 11px; letter-spacing: 0.08em; color: var(--text-muted); }
.uc p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.uc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.uc-chip { font-size: 11px; padding: 4px 9px; background: var(--green-50); color: var(--green-700); border-radius: 6px; font-weight: 600; }
@media (max-width: 980px) { .uc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .uc-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   TESTIMONIALS
   =========================================================================== */
.testimonials-section { background: var(--surface-darker); color: var(--text-light); position: relative; overflow: hidden; }
.testimonials-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(at 20% 0%, rgba(39,174,96,0.16), transparent 50%); pointer-events: none; }
.tm-head { text-align: center; margin-bottom: 48px; position: relative; }
.tm-head h2 { color: white; margin-top: 14px; }
.tm-head .kicker { color: var(--green-300); }
.tm-head .kicker::before { background: var(--green-300); }
.tm-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 32px; position: relative; align-items: stretch; }
.tm-photo-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 480px; }
.tm-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.tm-photo-glow { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); border-radius: var(--radius-lg); background: linear-gradient(135deg, transparent 50%, rgba(6,10,8,0.4) 100%); }
.tm-card { background: rgba(255,255,255,0.04); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); padding: 48px; border-radius: var(--radius-lg); position: relative; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.tm-lead { max-width: 620px; margin: 16px auto 0; color: rgba(255,255,255,0.62); font-size: 15px; line-height: 1.6; }

/* Klantvermeldingen (geen citaten — feitelijke referenties) */
.cl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.cl { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.cl + .cl { padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08); }
.cl-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: white; flex: none; }
.cl-body { min-width: 0; }
.cl-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; letter-spacing: -0.015em; }
.cl-fn { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--green-300); letter-spacing: 0; }
.cl-org { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 3px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.cl-link { font-family: var(--font-mono); font-size: 11.5px; color: var(--green-300); text-decoration: none; border-bottom: 1px solid rgba(110,231,183,0.35); }
.cl-link:hover { border-bottom-color: var(--green-300); }
.cl-desc { margin-top: 10px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.62); }
@media (max-width: 980px) {
  .tm-split { grid-template-columns: 1fr; }
  .tm-photo-wrap { min-height: 360px; aspect-ratio: 4 / 5; }
  .tm-card { padding: 28px; }
  .cl { grid-template-columns: 36px 1fr; gap: 12px; }
  .cl-avatar { width: 36px; height: 36px; font-size: 13px; }
  .cl-name { font-size: 17px; }
}

/* ===========================================================================
   SECURITY
   =========================================================================== */
.security-section { background: var(--surface-lighter); }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head h2 { margin: 14px 0 16px; }
.cert-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; padding: 28px; background: white; border-radius: var(--radius-md); border: 1px solid rgba(18,23,20,0.06); }
.cert { display: flex; align-items: center; gap: 14px; min-width: 0; }
/* flex:none so the checkmark never gets shrunk to ~0 next to long labels
   (e.g. "Informatiebeveiliging") in the tight 2-col mobile grid. */
.cert-mark { flex: none; line-height: 0; }
.cert-mark svg { width: 44px; height: 44px; }
.cert-n { font-weight: 700; font-size: 15px; }
.cert-s { font-size: 12px; color: var(--text-muted); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.si { padding: 24px; background: white; border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-md); transition: all 0.2s var(--ease-out); }
.si:hover { border-color: var(--green-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.si-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-50); color: var(--green-600); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.si h4 { font-size: 16px; margin-bottom: 8px; }
.si p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 980px) { .cert-row { grid-template-columns: repeat(2, 1fr); } .sec-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cert-row { grid-template-columns: 1fr; gap: 18px 16px; padding: 22px; } }

/* ===========================================================================
   PRICING
   =========================================================================== */
.pricing-section { background: var(--surface-white); }
.pr-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.pr-head h2 { margin: 14px 0 16px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.pt { padding: 32px; border: 1px solid rgba(18,23,20,0.08); border-radius: var(--radius-lg); background: white; display: flex; flex-direction: column; gap: 14px; position: relative; transition: all 0.2s var(--ease-out); }
.pt:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pt-on { background: var(--surface-darker); color: var(--text-light); border-color: transparent; transform: scale(1.02); box-shadow: var(--shadow-xl); }
.pt-on:hover { transform: scale(1.02) translateY(-2px); }
.pt-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--green-500); color: white; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.pt-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.pt-on .pt-name { color: white; }
.pt-tag { font-size: 13px; color: var(--text-muted); }
.pt-on .pt-tag { color: rgba(255,255,255,0.6); }
.pt-price { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid rgba(18,23,20,0.06); border-bottom: 1px solid rgba(18,23,20,0.06); margin: 8px 0; }
.pt-on .pt-price { border-color: rgba(255,255,255,0.10); }
.pt-amt { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.03em; color: var(--green-700); }
.pt-on .pt-amt { color: var(--green-300); }
.pt-unit { font-size: 12px; color: var(--text-muted); }
.pt-on .pt-unit { color: rgba(255,255,255,0.6); }
.pt-pm { font-family: var(--font-display); font-weight: 700; font-size: 28px; }
.pt-bundle { font-size: 11.5px; line-height: 1.5; }
.pt-cta { width: 100%; justify-content: center; }
.pt-on .pt-cta.btn-primary { background: var(--green-400); color: var(--surface-darker); }
.pt-on .pt-cta.btn-primary:hover { background: var(--green-300); }
.pt ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pt li { display: flex; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--text-secondary); align-items: flex-start; }
.pt-on li { color: rgba(255,255,255,0.85); }
.pt li svg { color: var(--green-500); flex-shrink: 0; margin-top: 2px; }
.pt-on li svg { color: var(--green-400); }
.voip-block { background: var(--surface-lighter); padding: 40px; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.voip-head h3 { font-size: 26px; margin: 6px 0 10px; }
.voip-head p { color: var(--text-secondary); font-size: 14px; }
.voip-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voip-row { padding: 20px; background: white; border-radius: var(--radius-md); border: 1px solid rgba(18,23,20,0.06); }
.voip-rk { font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.voip-rv { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--green-700); }
.voip-rv span { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-left: 4px; }
.voip-rd { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 980px) {
  .pr-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 80px; }
  .pt-on { transform: none; }
  .pt-on:hover { transform: translateY(-2px); }
  .voip-block { grid-template-columns: 1fr; padding: 24px; }
  .voip-rows { grid-template-columns: 1fr; }
}

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq-section { background: var(--surface-lighter); }
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: start; }
.faq-side h2 { margin-top: 14px; }
.faq-side p { color: var(--text-secondary); margin-top: 16px; }
.faq-side .btn { margin-top: 20px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(18,23,20,0.08); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text-primary); letter-spacing: -0.01em; transition: color 0.15s; }
.faq-q:hover { color: var(--green-700); }
.faq-toggle { color: var(--text-muted); transition: transform 0.25s var(--ease-out); display: inline-flex; }
.faq-item.on .faq-toggle { transform: rotate(180deg); color: var(--green-600); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-out); }
.faq-item.on .faq-a { max-height: 480px; }
.faq-a p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; padding: 0 4px 22px; }
@media (max-width: 980px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===========================================================================
   CTA
   =========================================================================== */
.cta-section { padding: 80px 0; }
.cta-card { background: var(--surface-darker); border-radius: var(--radius-xl); padding: 72px 32px; text-align: center; color: white; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(at 50% 0%, rgba(39,174,96,0.22), transparent 60%); pointer-events: none; }
.cta-bg { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0.10; pointer-events: none; display: flex; justify-content: center; padding: 0 20px; }
.cta-bg .wf-bar { background: var(--green-400); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { color: white; margin: 14px 0 18px; }
.cta-lead { max-width: 600px; margin: 0 auto 28px; font-size: 16px; color: rgba(255,255,255,0.85); }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-tel { background: rgba(255,255,255,0.10); color: white; border: 1px solid rgba(255,255,255,0.15); }
.cta-tel:hover { background: rgba(255,255,255,0.16); }
.cta-section .kicker { color: var(--green-300); justify-content: center; display: inline-flex; }
.cta-section .kicker::before { background: var(--green-300); }
.cta-tags { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-tags span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.cta-tags svg { color: var(--green-400); }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.site-footer { background: var(--surface-dark); color: var(--text-light); padding: 64px 0 32px; }
.ft-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
.site-footer .brand-word { color: white; }
.ft-tag { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 16px; line-height: 1.5; }
.ft-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 16px; padding: 8px 12px; background: rgba(255,255,255,0.04); border-radius: 8px; }
.ft-col-t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.ft-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ft-col a { color: rgba(255,255,255,0.7); font-size: 13.5px; transition: color 0.15s; }
.ft-col a:hover { color: var(--green-300); }
.ft-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; font-size: 12.5px; }
.ft-org { color: rgba(255,255,255,0.7); display: flex; flex-direction: column; gap: 4px; }
.ft-org strong { color: white; font-weight: 600; }
.ft-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.ft-contact a { color: rgba(255,255,255,0.7); }
.ft-contact a:hover { color: var(--green-300); }
.ft-copy { color: rgba(255,255,255,0.4); font-size: 11px; }
@media (max-width: 980px) { .ft-top { grid-template-columns: repeat(2, 1fr); } }

/* ===========================================================================
   SVG SECTION DIVIDERS (flowing transitions between bands)
   =========================================================================== */
.sec-divider { position: absolute; left: 0; width: 100%; height: 64px; line-height: 0; pointer-events: none; z-index: 1; }
.sec-divider svg { display: block; width: 100%; height: 100%; }
.sec-divider--top { top: -1px; }
.sec-divider--bottom { bottom: -1px; }
/* give banded sections room so content clears the curve */
.testimonials-section { padding-top: 150px; padding-bottom: 140px; }
.security-section { padding-top: 150px; }
.site-footer { position: relative; padding-top: 110px; }
@media (max-width: 720px) { .sec-divider { height: 36px; } }

/* ===========================================================================
   CONTACT FORM (CTA)
   =========================================================================== */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; text-align: left; }
.cta-left .kicker { justify-content: flex-start; }
.cta-left h2 { color: #fff; margin: 14px 0 16px; }
.cta-left .cta-lead { margin: 0 0 24px; }
.cta-left .cta-tags { justify-content: flex-start; margin-top: 24px; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-weight: 600; font-size: 15px; margin-top: 4px; }
.cta-phone:hover { color: var(--green-300); }
.cta-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius-lg); padding: 28px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); text-align: left; }
.cta-form-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 4px; }
.cta-form-sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.cta-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.cta-field input, .cta-field textarea { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 11px 13px; color: #fff; font-family: var(--font-body); font-size: 14px; transition: border-color 0.15s, background 0.15s; }
.cta-field input::placeholder, .cta-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.cta-field input:focus, .cta-field textarea:focus { outline: none; border-color: var(--green-400); background: rgba(255,255,255,0.09); }
.cta-field textarea { resize: vertical; min-height: 84px; }
.cta-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.45; margin: 4px 0 16px; }
.cta-consent input { margin-top: 2px; accent-color: var(--green-500); flex-shrink: 0; }
.cta-consent a { color: var(--green-300); text-decoration: underline; }
.cta-form .btn { width: 100%; justify-content: center; }
.cta-form .btn[disabled] { opacity: 0.6; cursor: default; }
.cta-feedback { font-size: 13px; margin-top: 12px; min-height: 18px; }
.cta-feedback.ok { color: var(--green-300); }
.cta-feedback.err { color: #FF9C8F; }
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-left { text-align: center; }
  .cta-left .kicker, .cta-left .cta-tags { justify-content: center; }
}

/* ===========================================================================
   LOGIN MODAL (tenant workspace redirect)
   =========================================================================== */
.login-modal { position: fixed; inset: 0; z-index: 210; background: rgba(3,5,4,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.22s, visibility 0.22s; }
.login-modal[data-open="true"] { opacity: 1; visibility: visible; }
.login-card { position: relative; width: 100%; max-width: 452px; background: #fff; border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: 40px 38px 30px; text-align: center; overflow: hidden; transform: translateY(10px) scale(0.97); transition: transform 0.28s var(--ease-out); }
.login-modal[data-open="true"] .login-card { transform: none; }
.login-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 150px; background: radial-gradient(120% 120% at 50% -20%, var(--green-100), transparent 65%); pointer-events: none; }
.login-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 999px; background: rgba(18,23,20,0.05); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: background 0.15s, color 0.15s; z-index: 1; }
.login-close:hover { background: var(--green-100); color: var(--green-700); }
.login-icon { position: relative; display: inline-flex; border-radius: 16px; margin: 0 auto 18px; box-shadow: 0 8px 24px -6px rgba(39,174,96,0.45); }
.login-icon svg { display: block; border-radius: 16px; }
.login-card h3 { position: relative; font-size: 23px; margin-bottom: 8px; }
.login-sub { position: relative; font-size: 14px; color: var(--text-secondary); line-height: 1.5; max-width: 330px; margin: 0 auto 24px; }
.login-affix { position: relative; display: flex; align-items: center; gap: 2px; border: 1.5px solid rgba(18,23,20,0.12); border-radius: var(--radius-md); background: var(--surface-light); padding: 4px 4px 4px 12px; transition: border-color 0.15s, background 0.15s, box-shadow 0.2s; }
.login-affix:focus-within { border-color: var(--green-400); background: #fff; box-shadow: 0 0 0 4px rgba(39,174,96,0.12); }
.login-affix-pre { font-family: var(--font-mono); font-size: 13px; color: var(--text-lighter); white-space: nowrap; }
.login-affix-suf { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--green-700); background: var(--green-50); border-radius: var(--radius-sm); padding: 8px 10px; white-space: nowrap; }
.login-affix input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 2px; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--text-primary); outline: none; }
.login-affix input::placeholder { color: var(--text-lighter); font-weight: 500; }
.login-err { position: relative; color: var(--red-500); font-size: 12.5px; min-height: 16px; margin: 9px 2px 0; }
.login-card .btn { position: relative; width: 100%; justify-content: center; margin-top: 12px; }
.login-trust { position: relative; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-muted); margin-top: 16px; }
.login-trust svg { color: var(--green-600); }
.login-foot { position: relative; font-size: 12.5px; color: var(--text-muted); margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(18,23,20,0.07); }
.login-foot a { color: var(--green-700); font-weight: 600; }
@media (max-width: 480px) {
  .login-card { padding: 34px 22px 26px; }
  .login-affix { flex-wrap: wrap; justify-content: center; gap: 6px; padding: 8px; }
  .login-affix input { text-align: center; flex-basis: 100%; order: 2; padding: 6px 2px; }
  .login-affix-pre { order: 1; } .login-affix-suf { order: 3; }
}

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ DOC MODAL (footer: privacy, DPA, API, ISO, about, wet) ============ */
.doc-modal { position: fixed; inset: 0; z-index: 220; background: rgba(3,5,4,0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.22s, visibility 0.22s; }
.doc-modal[data-open="true"] { opacity: 1; visibility: visible; }
.doc-card { position: relative; width: 100%; max-width: 600px; max-height: 86vh; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(18,23,20,0.06); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); transform: translateY(10px) scale(0.985); transition: transform 0.28s var(--ease-out); overflow: hidden; }
.doc-modal[data-open="true"] .doc-card { transform: none; }
.doc-head { position: relative; padding: 28px 32px 18px; flex-shrink: 0; }
.doc-head::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 110px; background: radial-gradient(120% 130% at 12% -30%, var(--green-100), transparent 62%); pointer-events: none; }
.doc-eyebrow { position: relative; font-family: 'Fira Code', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-600); margin-bottom: 9px; }
.doc-head h3 { position: relative; font-family: 'Sora', sans-serif; font-size: 22px; letter-spacing: -0.02em; color: var(--text-primary); line-height: 1.15; }
.doc-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 999px; background: rgba(18,23,20,0.05); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: background 0.15s, color 0.15s; z-index: 2; }
.doc-close:hover { background: var(--green-100); color: var(--green-700); }
.doc-body { padding: 6px 32px 30px; overflow-y: auto; }
.doc-body p { font-size: 13.5px; line-height: 1.62; color: var(--text-secondary); margin-bottom: 13px; }
.doc-body p:last-child { margin-bottom: 0; }
.doc-body strong { color: var(--text-primary); font-weight: 600; }
.doc-body a { color: var(--green-600); font-weight: 600; text-decoration: none; }
.doc-body a:hover { text-decoration: underline; }
.doc-body h4 { font-family: 'Sora', sans-serif; font-size: 13px; letter-spacing: 0.01em; color: var(--text-primary); margin: 20px 0 8px; }
.doc-body h4:first-child { margin-top: 4px; }
.doc-body ul { list-style: none; margin: 0 0 13px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.doc-body ul li { position: relative; font-size: 13px; line-height: 1.55; color: var(--text-secondary); padding-left: 20px; }
.doc-body ul li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 6px; height: 6px; border-radius: 999px; background: var(--green-500); }
.doc-callout { margin: 4px 0 14px; padding: 13px 15px; border: 1px solid var(--green-200); background: var(--green-50); border-radius: var(--radius-md); font-size: 13px; line-height: 1.55; color: var(--green-800); }
.doc-foot { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 32px; border-top: 1px solid rgba(18,23,20,0.07); background: var(--surface-light); }
.doc-foot .btn { font-size: 13px; }
.doc-meta { font-family: 'Fira Code', monospace; font-size: 11px; color: var(--text-muted); margin-left: auto; }
