/* =========================================================================
   Nivexa — platform-showcase
   Huisstijl: Poppins · indigo (#2C3478 → #4F5BD0) · afgeronde tegels · baanring.
   Per app wisselt het accent (--accent / --accent-d) mee.
   ========================================================================= */

:root {
  --indigo: #2c3478;
  --indigo-d: #232a63;
  --indigo-light: #4f5bd0;
  --muted: #6b72a6;
  --muted-2: #8b91b5;

  --ink: #1b1f36;
  --surface: #ffffff;
  --tint: #f4f6fe;
  --tint-2: #eef1fb;
  --line: #e3e8ef;

  --accent: #4f5bd0;
  --accent-d: #2c3478;
  --accent-soft: #eef0fc;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(27, 31, 54, 0.06);
  --shadow: 0 14px 40px rgba(27, 31, 54, 0.12);
  --shadow-lg: 0 30px 70px rgba(27, 31, 54, 0.22);
  --shadow-dark: 0 30px 80px rgba(0, 0, 0, 0.45);

  --maxw: 1180px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 10px 26px rgba(44, 52, 120, 0.35);
}
.btn-primary:hover {
  background: var(--indigo-d);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(44, 52, 120, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--indigo);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--tint); border-color: #c9d0ee; }

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* Demo-CTA springt eruit: witte knop op de donkere hero, nav en cta-vlakken. */
.nav:not(.scrolled) .nav-cta .btn-primary,
.hero-actions .btn-primary,
.cta .btn-primary {
  background: #fff;
  color: var(--indigo);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}
.nav:not(.scrolled) .nav-cta .btn-primary:hover,
.hero-actions .btn-primary:hover,
.cta .btn-primary:hover {
  background: #eef0fc;
  color: var(--indigo-d);
}

/* ----------------------------- Navigatie ----------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(27, 31, 54, 0.06);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  transition: color 0.25s ease;
}
.nav.scrolled .nav-brand { color: var(--indigo); }
.nav-mark { display: block; line-height: 0; }
.nav-mark svg { display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 14px;
  margin-right: auto;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo-light);
  transition: width 0.22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--indigo); }
.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-cta { display: flex; gap: 10px; }
/* Wikkel rond links + cta zodat ze op mobiel samen in één menu vallen.
   display:contents → op desktop verandert de layout niet. */
.nav-collapse { display: contents; }
.nav.scrolled .btn-ghost { color: var(--indigo); }
.nav:not(.scrolled) .nav-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.nav:not(.scrolled) .nav-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s;
}
.nav.scrolled .nav-toggle span { background: var(--indigo); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  background: radial-gradient(120% 120% at 80% 0%, #3a429a 0%, #2c3478 45%, #20264f 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hero-glow-1 {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -60px;
  background: radial-gradient(circle, #5b6bf0 0%, transparent 70%);
  animation: floaty 14s ease-in-out infinite;
}
.hero-glow-2 {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: -80px;
  background: radial-gradient(circle, #4f5bd0 0%, transparent 70%);
  animation: floaty 18s ease-in-out infinite reverse;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 0%, transparent 75%);
}
@keyframes floaty {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(24px, -28px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b9c2f5;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 22px;
}
.eyebrow-dark {
  color: var(--indigo-light);
  border-color: #d9def6;
  background: var(--accent-soft, #eef0fc);
}

.hero-title {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.grad-text {
  background: linear-gradient(100deg, #b9c2f5 0%, #ffffff 40%, #9fb0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(233, 237, 255, 0.82);
  max-width: 540px;
}
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-marks {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.hero-marks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(233, 237, 255, 0.9);
}
.hero-marks .ic {
  width: 18px;
  height: 18px;
  color: #7be0c4;
  flex: 0 0 auto;
}

/* ---- Orbitaal-systeem ---- */
.hero-orbital-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.orbital {
  position: relative;
  width: min(460px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto;
}
.orbital .ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: translate(-50%, -50%);
}
.orbital .ring.dashed {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  animation: spin 60s linear infinite;
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}
.hub::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 137, 255, 0.45) 0%, transparent 70%);
  animation: pulse 3.4s ease-in-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

.sat {
  position: absolute;
  inset: 0;
  z-index: 3;
  animation: orbit var(--dur, 32s) linear infinite;
  animation-delay: var(--delay, 0s);
  /* De draaiende laag vult de hele orbital; zonder dit zou de bovenste sat alle
     kliks van de onderliggende apps opvangen. Alleen de glyph-knop is klikbaar. */
  pointer-events: none;
}
@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.sat-pos {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(var(--r, 150px));
}
.sat-rot {
  animation: orbit-rev var(--dur, 32s) linear infinite;
  animation-delay: var(--delay, 0s);
  display: block;
}
@keyframes orbit-rev {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
.sat-btn {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 16px;
  line-height: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
  /* Kliks weer aanzetten op de knop zelf (de ouder-lagen staan op none). */
  pointer-events: auto;
}
.sat-btn svg { display: block; }
.sat-btn:hover,
.sat-btn:focus-visible { transform: scale(1.16); outline: none; }
.sat-btn:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7); }

/* Bij interactie: alles stilzetten zodat je makkelijk kunt mikken. */
.orbital:hover .sat,
.orbital:hover .sat-rot,
.orbital:focus-within .sat,
.orbital:focus-within .sat-rot { animation-play-state: paused; }

/* Caption onder het systeem — verandert bij hover/focus van een app. */
.orbital-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(233, 237, 255, 0.6);
  transition: opacity 0.2s ease;
}
.orbital-hint .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7be0c4;
  box-shadow: 0 0 0 0 rgba(123, 224, 196, 0.6);
  animation: blip 2s ease-out infinite;
}
@keyframes blip {
  0% { box-shadow: 0 0 0 0 rgba(123, 224, 196, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(123, 224, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(123, 224, 196, 0); }
}
.orbital-caption {
  min-height: 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.orbital-caption strong { font-size: 16px; font-weight: 600; }
.orbital-caption span { font-size: 13px; color: rgba(233, 237, 255, 0.7); }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  animation: bob 2s ease-in-out infinite;
}
.scroll-cue svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ----------------------------- Stats ----------------------------- */
.stats {
  background: var(--indigo-d);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 38px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, #b9c2f5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(233, 237, 255, 0.66);
}

/* ----------------------------- Secties ----------------------------- */
.section {
  padding: 96px 24px;
  position: relative;
}
.section-tint { background: var(--tint); }
.section-dark {
  background: radial-gradient(120% 120% at 50% 0%, #2c3478 0%, #20264f 100%);
  color: #fff;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
}
.section-dark .section-title { color: #fff; }
.section-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
}
.section-dark .section-sub { color: rgba(233, 237, 255, 0.78); }

/* ----------------------------- Apps showcase ----------------------------- */
.showcase {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}
.showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 96px;
}
.app-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  position: relative;
  overflow: hidden;
}
.app-tab:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.app-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--tab-accent, var(--indigo-light));
  opacity: 0;
  transition: opacity 0.18s ease;
}
.app-tab.active {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.app-tab.active::before { opacity: 1; }
.app-tab-glyph { flex: 0 0 auto; line-height: 0; }
.app-tab-glyph svg { display: block; }
.app-tab-text { min-width: 0; }
.app-tab-name { display: block; font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.25; }
.app-tab-pay {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--tab-accent, var(--muted));
  text-transform: uppercase;
}

.showcase-stage { min-height: 520px; }
.showcase-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-fade { animation: panel-in 0.5s ease; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Panel-kop: app-identiteit + beschrijving */
.panel-top {
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-d) 100%);
  color: #fff;
}
.panel-top-glyph {
  flex: 0 0 auto;
  line-height: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 8px;
}
.panel-top h3 { font-size: 24px; font-weight: 700; }
.panel-top .pay {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2px;
}
.panel-top p {
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
}
.panel-top .meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.panel-top .chip {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Mock "browser" met live voorbeeldinhoud */
.panel-app { padding: 22px 24px 26px; background: var(--accent-soft); }
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i {
  width: 11px; height: 11px; border-radius: 50%; background: #e0e5f0; display: block;
}
.mock-bar .url {
  flex: 1;
  font-size: 12px;
  color: var(--muted-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 10px;
  text-align: center;
}
.mock-body { padding: 18px; }

/* Generieke mock-onderdelen (gedeeld over apps) */
.m-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.m-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.m-title small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted-2); }
.m-pillrow { display: flex; gap: 6px; flex-wrap: wrap; }
.m-seg {
  display: inline-flex;
  background: var(--tint-2);
  border-radius: 9px;
  padding: 3px;
  gap: 2px;
}
.m-seg span {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  color: var(--muted);
}
.m-seg span.on { background: #fff; color: var(--accent-d); box-shadow: var(--shadow-sm); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
}
.kpi .k-label { font-size: 11.5px; color: var(--muted-2); font-weight: 500; }
.kpi .k-val { font-size: 25px; font-weight: 700; color: var(--ink); margin-top: 3px; letter-spacing: -0.02em; }
.kpi .k-delta { font-size: 11.5px; font-weight: 600; margin-top: 2px; display: inline-flex; align-items: center; gap: 3px; }
.k-up { color: #0f9d6e; }
.k-down { color: #d05a4e; }
.k-flat { color: var(--muted-2); }

/* Staafdiagram */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  padding: 8px 4px 0;
  border-bottom: 1px solid var(--line);
}
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart .bar {
  width: 100%;
  max-width: 30px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-d) 100%);
  height: 0;
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.chart .bar.ghost { background: var(--tint-2); }
.chart-x { display: flex; gap: 10px; padding: 8px 4px 0; }
.chart-x span { flex: 1; text-align: center; font-size: 11px; color: var(--muted-2); }

/* Tabellen */
.m-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.m-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  font-weight: 600;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
}
.m-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.m-table tr:last-child td { border-bottom: none; }
.m-table tr { transition: background 0.14s ease; }
.m-table tbody tr:hover { background: var(--accent-soft); }
.m-strong { font-weight: 600; }
.m-sub { color: var(--muted-2); font-size: 11.5px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: #e6f6ef; color: #0f8a5f; }
.pill-warn { background: #fdf2e2; color: #b5651d; }
.pill-bad { background: #fbe9e9; color: #c0392b; }
.pill-info { background: var(--accent-soft); color: var(--accent-d); }
.pill-mute { background: #f1f1f4; color: var(--muted); }

/* Pipeline (Instroom) */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pipe-col { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.pipe-col h5 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.pipe-col h5 b { color: var(--accent-d); }
.pipe-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 9px;
  padding: 8px 10px;
  margin-bottom: 7px;
  font-size: 12.5px;
  cursor: grab;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.pipe-card:last-child { margin-bottom: 0; }
.pipe-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pipe-card .who { font-weight: 600; color: var(--ink); }
.pipe-card .role { color: var(--muted-2); font-size: 11.5px; }

/* Weekrooster (Planpiloot) */
.week { display: grid; grid-template-columns: 40px repeat(5, 1fr); gap: 6px; }
.week .wh { font-size: 11px; color: var(--muted-2); text-align: center; font-weight: 600; padding-bottom: 4px; }
.week .wtime { font-size: 10.5px; color: var(--muted-2); display: flex; align-items: flex-start; justify-content: flex-end; padding-right: 4px; }
.week .wcell { background: var(--tint); border-radius: 7px; min-height: 30px; position: relative; }
.appt {
  border-radius: 7px;
  padding: 5px 7px;
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  box-shadow: var(--shadow-sm);
  cursor: default;
  transition: transform 0.14s ease;
}
.appt:hover { transform: scale(1.03); }
.appt small { display: block; font-weight: 500; opacity: 0.85; }
.appt.soft { background: var(--accent-soft); color: var(--accent-d); }

/* Compliance-ring (Trace) */
.ring-stat { display: flex; align-items: center; gap: 18px; }
.donut {
  --p: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--tint-2) 0);
  display: grid;
  place-items: center;
  transition: --p 1.1s ease;
}
.donut::after {
  content: attr(data-label);
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 700;
  color: var(--accent-d);
}
@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

/* Contract-balk (Quantis) */
.bars-list { display: flex; flex-direction: column; gap: 11px; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 64px; align-items: center; gap: 12px; font-size: 12.5px; }
.bar-row .lab { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 9px; border-radius: 999px; background: var(--tint-2); overflow: hidden; }
.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-d));
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.bar-row .val { text-align: right; font-weight: 600; color: var(--muted); }

/* Ontwikkeltijdlijn (Elevate) */
.timeline { position: relative; margin-top: 4px; padding-left: 24px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.tl-item { position: relative; padding: 0 0 13px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -24px;
  top: 1px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--accent);
  box-sizing: border-box;
}
.tl-dot.done { background: var(--accent); }
.tl-dot.next { border-style: dashed; }
.tl-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.tl-meta { font-size: 12px; color: var(--muted-2); margin-top: 1px; }

.m-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.m-foot .ic { width: 15px; height: 15px; color: var(--accent); }

/* ----------------------------- SSO-flow ----------------------------- */
.sso {
  max-width: var(--maxw);
  margin: 0 auto 60px;
}
.sso-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.sso-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 20px 18px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-align: left;
  font-family: inherit;
  color: #fff;
  position: relative;
}
.sso-step:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.09); }
.sso-step.active {
  background: rgba(123, 137, 255, 0.18);
  border-color: rgba(159, 176, 255, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.sso-step .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
  transition: background 0.2s ease;
}
.sso-step.active .num { background: var(--indigo-light); }
.sso-step h4 { font-size: 15px; font-weight: 600; }
.sso-step p { margin-top: 5px; font-size: 12.5px; color: rgba(233, 237, 255, 0.7); }
.sso-step .wire {
  position: absolute;
  top: 37px;
  right: -8px;
  width: 16px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 1;
}
.sso-step:last-child .wire { display: none; }

.sso-detail {
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.sso-detail .txt h4 { font-size: 16px; margin-bottom: 6px; }
.sso-detail .txt p { font-size: 14px; color: rgba(233, 237, 255, 0.82); }
.sso-stepno {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(159, 176, 255, 0.6);
  white-space: nowrap;
}
.sso-stepno small {
  font-size: 16px;
  font-weight: 600;
  color: rgba(233, 237, 255, 0.4);
  margin-left: 3px;
}

.arch-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.arch-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
}
.arch-card h3 { font-size: 17px; margin-bottom: 10px; color: #fff; }
.arch-card p { font-size: 14px; color: rgba(233, 237, 255, 0.76); }
.arch-card em { color: #b9c2f5; font-style: normal; font-weight: 600; }
.arch-card strong { color: #fff; }

/* ----------------------------- 3-niveau rechten ----------------------------- */
.rights-layout {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.rights-copy .section-title { text-align: left; }
.rights-stack { display: flex; flex-direction: column; gap: 14px; perspective: 1000px; }
.rlayer {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rlayer:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rlayer .rl-num {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo-light), var(--indigo));
}
.rlayer:nth-child(2) .rl-num { background: linear-gradient(135deg, #2bb3c0, #11657a); }
.rlayer:nth-child(3) .rl-num { background: linear-gradient(135deg, #27b79e, #0f6e56); }
.rl-text h4 { font-size: 16px; font-weight: 600; }
.rl-text p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.rl-where {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-2);
  background: var(--tint);
  padding: 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.functie-demo {
  margin-top: 28px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.functie-demo .fd-head { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.functie-demo .fd-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.fd-tab {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.16s ease;
}
.fd-tab.on { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.fd-apps { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.fd-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 11px 7px 8px;
  font-size: 13px;
  font-weight: 500;
  animation: chip-in 0.32s ease backwards;
}
.fd-app svg { display: block; }
.fd-app .role { color: var(--muted-2); font-size: 11.5px; }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ----------------------------- Beveiliging ----------------------------- */
.sec-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}
.sec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3d9f3; }
.sec-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--indigo);
  margin-bottom: 14px;
}
.sec-ico .ic { width: 23px; height: 23px; }
.sec-card h4 { font-size: 16px; font-weight: 600; }
.sec-card p { margin-top: 7px; font-size: 13.5px; color: var(--muted); }

/* ----------------------------- CTA ----------------------------- */
.cta {
  padding: 100px 24px;
  background: radial-gradient(120% 120% at 50% 0%, #3a429a 0%, #2c3478 50%, #20264f 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 137, 255, 0.25), transparent 70%);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-mark { display: inline-block; line-height: 0; margin-bottom: 22px; }
.cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
.cta p { margin-top: 16px; font-size: 17px; color: rgba(233, 237, 255, 0.8); }
.cta-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-fine { margin-top: 24px; font-size: 13px; color: rgba(233, 237, 255, 0.55); }

/* ----------------------------- Footer ----------------------------- */
.footer { background: #161a30; color: rgba(233, 237, 255, 0.7); padding: 56px 24px 26px; }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand strong { color: #fff; font-size: 18px; display: block; }
.footer-payoff { font-size: 12.5px; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(233, 237, 255, 0.72); padding: 4px 0; }
.footer-col a { transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-foot {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ----------------------------- Reveal-animatie ----------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- Responsief ----------------------------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-marks { justify-content: center; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .app-tab { flex: 0 0 auto; min-width: 210px; scroll-snap-align: start; }
  .rights-layout { grid-template-columns: 1fr; gap: 36px; }
  .rights-copy .section-title { text-align: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-collapse { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav.open { background: #fff; }
  .nav.open .nav-brand { color: var(--indigo); }
  .nav.open .nav-toggle span { background: var(--indigo); }
  .nav.open .nav-collapse {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 24px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
  }
  .nav.open .nav-links a { color: var(--indigo); }
  .nav.open .nav-cta { display: flex; gap: 10px; }
  .nav.open .nav-cta .btn { flex: 1; }
  .nav.open .nav-cta .btn-ghost { color: var(--indigo); border-color: var(--line); }
  .nav.open .nav-cta .btn-primary { background: var(--indigo); color: #fff; box-shadow: none; }
  .section { padding: 72px 20px; }
  .sso-flow { grid-template-columns: 1fr 1fr; }
  .sso-detail { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  /* Orbital stationair op mobiel: geen hover om te pauzeren, dus de app-icoontjes
     stilzetten op hun starthoek → goed aantikbaar i.p.v. bewegende doelen. */
  .sat { animation: none; transform: rotate(var(--angle, 0deg)); }
  .sat-rot { animation: none; transform: rotate(calc(-1 * var(--angle, 0deg))); }
}

/* Kleine telefoons: krappe componenten ademruimte geven zodat niets perst. */
@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .section { padding: 62px 18px; }
  .section-title { font-size: 26px; }
  .panel-top { padding: 20px 18px; gap: 14px; }
  .panel-top h3 { font-size: 21px; }
  .panel-app { padding: 16px 14px 18px; }
  .mock-body { padding: 14px; }
  .m-table { font-size: 12px; }
  .m-table th, .m-table td { padding: 7px 6px; }
  .kpi .k-val { font-size: 22px; }
  .week .wtime { font-size: 9px; padding-right: 2px; }
  .appt { padding: 4px 5px; font-size: 10px; }
  .appt small { display: none; }
  .calc-total-wrap { font-size: 38px; }
  .demo-head, .demo-form { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 460px) {
  .stats-inner { grid-template-columns: 1fr; gap: 22px; }
  .sec-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 90px 1fr 50px; }
}

/* ----------------------------- Reduced motion ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sat, .sat-rot, .ring.dashed, .hero-glow, .hub::before, .scroll-cue { animation: none !important; }
  /* Zonder animatie ook netjes verspreid (anders vallen alle apps op hoek 0). */
  .sat { transform: rotate(var(--angle, 0deg)); }
  .sat-rot { transform: rotate(calc(-1 * var(--angle, 0deg))); }
}

/* ============================ Demo-modal ============================ */
.demo-modal {
  width: min(560px, 94vw);
  max-height: 92vh;
  overflow: auto;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.demo-modal::backdrop {
  background: rgba(20, 24, 60, 0.55);
  backdrop-filter: blur(4px);
}
.demo-modal[open] { animation: modal-in 0.34s cubic-bezier(0.22, 1, 0.36, 1); }
.demo-modal[open]::backdrop { animation: fade-in 0.3s ease; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.demo-head {
  position: relative;
  padding: 28px 30px 22px;
  background: radial-gradient(130% 130% at 100% 0%, #3a429a 0%, #2c3478 65%, #20264f 100%);
  color: #fff;
}
.demo-head .demo-mark { line-height: 0; margin-bottom: 14px; }
.demo-head h2 { font-size: 24px; font-weight: 700; }
.demo-head p { margin-top: 8px; font-size: 14px; color: rgba(233, 237, 255, 0.85); max-width: 94%; }
.demo-perks { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.demo-perks span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: rgba(233, 237, 255, 0.92); }
.demo-perks .ic { width: 15px; height: 15px; color: #7be0c4; flex: 0 0 auto; }
.demo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 0.15s ease;
}
.demo-close:hover { background: rgba(255, 255, 255, 0.28); }

.demo-form { padding: 22px 30px 26px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-field { display: flex; flex-direction: column; gap: 6px; }
.demo-field.full { grid-column: 1 / -1; }
.demo-field label, .demo-legend { font-size: 13px; font-weight: 600; color: var(--ink); }
.demo-field .req { color: #c0392b; }
.demo-opt { color: var(--muted-2); font-weight: 500; }
.demo-field input,
.demo-field select {
  font: inherit;
  font-size: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.demo-field input:focus,
.demo-field select:focus {
  outline: none;
  border-color: var(--indigo-light);
  box-shadow: 0 0 0 3px rgba(79, 91, 208, 0.15);
}
.demo-apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.demo-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.demo-app svg { display: block; }
.demo-app:hover { border-color: #c9d0ee; background: var(--tint); }
.demo-app.on {
  border-color: var(--indigo-light);
  background: var(--tint-2);
  color: var(--indigo);
  box-shadow: inset 0 0 0 1px var(--indigo-light);
}
.demo-submit { margin-top: 20px; width: 100%; }
.demo-fine { margin-top: 12px; font-size: 12px; color: var(--muted-2); text-align: center; }

.demo-success { padding: 42px 30px 36px; text-align: center; }
.demo-check {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e6f6ef;
  color: #0f8a5f;
  display: grid;
  place-items: center;
  animation: pop-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.demo-check .ic { width: 32px; height: 32px; stroke-width: 2.6; }
@keyframes pop-in {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.demo-success h2 { font-size: 23px; font-weight: 700; }
.demo-success p { margin: 10px auto 0; font-size: 15px; color: var(--muted); max-width: 380px; }
.demo-success .btn { margin-top: 22px; }

@media (max-width: 520px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-head, .demo-form { padding-left: 22px; padding-right: 22px; }
}

/* ============================ Prijzen ============================ */
/* Basis-strip: het beheeraccount (altijd inbegrepen) */
.price-base {
  max-width: var(--maxw);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #f4f6fe, #eaeefb);
  border: 1px solid #dde3f6;
}
.price-base .pb-mark { line-height: 0; flex: 0 0 auto; }
.price-base .pb-mark svg { display: block; }
.price-base .pb-text { flex: 1; min-width: 0; }
.price-base .pb-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--indigo);
  background: #fff;
  border: 1px solid #d9def6;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 7px;
}
.price-base .pb-text strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--indigo); }
.price-base .pb-desc { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.price-base .pb-price {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.price-base .pb-price .cur { font-size: 19px; font-weight: 600; }
.price-base .pb-price .per { font-size: 12px; font-weight: 500; color: var(--muted-2); margin-left: 4px; }
@media (max-width: 560px) {
  .price-base { flex-wrap: wrap; }
  .price-base .pb-price { width: 100%; }
}

.price-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pc-glyph { line-height: 0; }
.pc-glyph svg { display: block; }
.pc-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.pc-tier--custom { color: #b9c2f5; background: rgba(255, 255, 255, 0.12); }
.pc-appname { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.price-card--custom .pc-appname { color: #fff; }
.pc-pay { font-size: 13px; color: var(--muted); margin-top: 2px; }
.price-card--custom .pc-pay { color: rgba(233, 237, 255, 0.75); }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3d9f3; }
.price-card.featured { border-color: var(--indigo-light); box-shadow: 0 18px 50px rgba(44, 52, 120, 0.18); }
.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 15px; font-weight: 700; color: var(--indigo); letter-spacing: 0.01em; }
.price-amount {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-amount .cur { font-size: 22px; font-weight: 600; }
.price-amount .per { font-size: 13px; font-weight: 500; color: var(--muted-2); margin-left: 5px; }
.price-amount--custom { font-size: 27px; }
.price-user { margin-top: 9px; font-size: 13px; font-weight: 600; color: var(--indigo-light); }
.price-desc { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.price-feat { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-feat li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink); align-items: flex-start; }
.price-feat li svg { width: 17px; height: 17px; flex: 0 0 auto; color: #0f8a5f; margin-top: 1px; }
.price-card > .btn { margin-top: auto; width: 100%; padding-top: 11px; padding-bottom: 11px; }
.price-card .price-amount { margin-top: 16px; }
.price-card--custom {
  background: radial-gradient(140% 140% at 100% 0%, #3a429a 0%, #2c3478 60%, #20264f 100%);
  border-color: transparent;
  color: #fff;
}
.price-card--custom .price-name { color: #b9c2f5; }
.price-card--custom .price-amount { color: #fff; }
.price-card--custom .price-user { color: #9fb0ff; }
.price-card--custom .price-desc { color: rgba(233, 237, 255, 0.82); }
.price-card--custom .price-feat li { color: rgba(233, 237, 255, 0.92); }
.price-card--custom .price-feat li svg { color: #7be0c4; }
.price-card--custom .btn-primary { background: #fff; color: var(--indigo); }
.price-card--custom .btn-primary:hover { background: #eef0fc; }

.calc {
  max-width: 880px;
  margin: 44px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-head { padding: 16px 24px; background: var(--tint); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.calc-body { display: grid; grid-template-columns: 1fr 300px; }
.calc-controls { padding: 22px 24px; }
.cu-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.cu-head label { font-size: 14px; font-weight: 600; }
.cu-head output { font-size: 16px; font-weight: 700; color: var(--indigo); }
.calc-users input[type="range"] { width: 100%; accent-color: var(--indigo); cursor: pointer; }
.calc-pick-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.calc-toggles { display: flex; flex-direction: column; gap: 8px; }
.catog {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.catog:hover { border-color: #c9d0ee; background: var(--tint); }
.catog .cat-glyph { line-height: 0; flex: 0 0 auto; }
.catog .cat-name { font-size: 14px; font-weight: 600; flex: 1; }
.catog .cat-price { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.catog .cat-tick {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--line);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: transparent;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.catog .cat-tick svg { width: 14px; height: 14px; }
.catog.on { border-color: var(--indigo-light); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--indigo-light); }
.catog.on .cat-price { color: var(--indigo); }
.catog.on .cat-tick { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.calc-users { margin-top: 20px; }
.calc-result {
  background: radial-gradient(130% 130% at 100% 0%, #3a429a 0%, #2c3478 65%, #20264f 100%);
  color: #fff;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cr-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(233, 237, 255, 0.7); }
.calc-total-wrap { margin-top: 6px; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.calc-total-wrap .cur { font-size: 26px; font-weight: 600; }
.calc-per { font-size: 12.5px; color: rgba(233, 237, 255, 0.7); margin-top: 6px; }
.calc-breakdown { margin-top: 16px; width: 100%; font-size: 12.5px; color: rgba(233, 237, 255, 0.85); border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 12px; }
.calc-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.calc-result .btn-primary { margin-top: 18px; width: 100%; background: #fff; color: var(--indigo); }
.calc-result .btn-primary:hover { background: #eef0fc; }

.price-note { max-width: 880px; margin: 22px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.linklike-demo { background: none; border: none; color: var(--indigo); font: inherit; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
.linklike-demo:hover { color: var(--indigo-d); }

@media (max-width: 940px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .calc-body { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .price-grid { grid-template-columns: 1fr; } }
