:root {
  --bg: #0E1320; --panel: #171D2E; --line: #252C40; --line2: #3A4460;
  --text: #EEF1F7; --muted: #A3ADC2; --gold: #F5B544; --gold-ink: #1A1405;
  --blue: #8DB8FF; --red: #C8323A;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
h1, h2, .num { font-family: "Space Grotesk", Inter, sans-serif; }
header.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px max(24px, calc((100% - 980px) / 2)); border-bottom: 1px solid var(--line); }
.logo { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; }
.badge { font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; background: var(--line); }
.badge.live { background: var(--red); color: #fff; }
.grow { flex-grow: 1; }
.muted { color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
label { font-size: 14px; color: var(--muted); display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=number], select {
  width: 100%; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px;
  color: var(--text); font: 400 15px Inter, sans-serif; padding: 13px 14px;
}
button { font: 600 15px Inter, sans-serif; border-radius: 10px; padding: 12px 18px; min-height: 46px; cursor: pointer; border: 1px solid var(--line2); background: var(--panel); color: var(--text); }
button.primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
button.blue { background: var(--blue); color: var(--bg); border-color: var(--blue); }
button.danger { background: var(--red); color: #fff; border-color: var(--red); }
button:disabled { opacity: .5; cursor: not-allowed; }
.hidden { display: none !important; }
.stage { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stage video { width: 100%; height: 100%; display: block; pointer-events: none; }
.stage .cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--panel); text-align: center; padding: 24px; }

/* Hoofdmenu (Webinars, DM flows) en het submenu per onderdeel */
nav.main { display: flex; gap: 6px; margin-left: -12px; }
nav.main a { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 17px; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
nav.main a.on { color: var(--text); background: var(--line); }
nav.sub { display: flex; gap: 4px; padding: 0 max(12px, calc((100% - 1004px) / 2)); border-bottom: 1px solid var(--line); overflow-x: auto; }
nav.sub a { color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 12px; border-bottom: 2px solid transparent; white-space: nowrap; }
nav.sub a.on { color: var(--text); border-bottom-color: var(--gold); }
/* Keuze binnen een onderdeel, bijvoorbeeld Chatvragen: Vragen per sessie of Analyse */
nav.seg { display: flex; gap: 8px; }
nav.seg a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; }
nav.seg a.on { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
