/* ==========================================================================
   ProBytes - gedeelde stylesheet
   Huisstijl: navy #033A7F / diep-navy #071726 · oranje #EB6F03 · groen #6FD86F
   Donker-eerst ("techie"), met leesbare lichte secties en een licht-thema.
   Font: Poppins (lokaal gehost) + systeem-monospace voor tech-accenten.
   ========================================================================== */

:root {
  /* merk */
  --navy:        #033A7F;
  --navy-700:    #0d4f9c;
  --orange:      #EB6F03;
  --orange-dark: #cf6103;
  --green:       #6FD86F;
  --green-dark:  #3fae4f;

  /* donker thema (standaard) */
  --bg:          #071726;   /* pagina-achtergrond, diep navy */
  --bg-2:        #0a2035;   /* iets lichter */
  --bg-soft:     #0c2237;   /* zachte sectie */
  --surface:     #0f2a44;   /* kaarten/panelen */
  --surface-2:   #12314f;   /* hover/verdieping */
  --line:        rgba(150,190,240,.14);
  --line-strong: rgba(150,190,240,.26);

  --ink:         #e8f0f9;   /* hoofdtekst */
  --head:        #ffffff;   /* koppen */
  --muted:       #9db2c7;   /* subtekst */
  --faint:       #6f8aa8;

  --link:        #7fb2ff;
  --glow:        rgba(235,111,3,.35);

  --header-bg:   rgba(7,23,38,.72);
  --code-bg:     rgba(120,170,235,.10);

  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 10px rgba(0,0,0,.28);
  --shadow-md:   0 14px 40px rgba(0,0,0,.38);
  --shadow-lg:   0 30px 70px rgba(0,0,0,.46);
  --shadow-glow: 0 10px 40px -8px rgba(235,111,3,.45);

  --maxw:        1160px;
  --font:        'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:        ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
}

/* ---------- licht thema ---------- */
[data-theme="light"] {
  --bg:          #ffffff;
  --bg-2:        #f5f8fc;
  --bg-soft:     #f2f7fc;
  --surface:     #ffffff;
  --surface-2:   #f4f8fd;
  --line:        #e3eaf1;
  --line-strong: #d3deea;
  --ink:         #16283a;
  --head:        #062143;
  --muted:       #566b7f;
  --faint:       #8496a7;
  --link:        #0d4f9c;
  --header-bg:   rgba(255,255,255,.82);
  --code-bg:     rgba(3,58,127,.06);
  --shadow-sm:   0 2px 10px rgba(6,33,67,.06);
  --shadow-md:   0 14px 40px rgba(6,33,67,.10);
  --shadow-lg:   0 30px 70px rgba(6,33,67,.14);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--head);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }
.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.12rem; margin: .4em 0 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(235,111,3,.10);
  border: 1px solid rgba(235,111,3,.28);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }

.mono { font-family: var(--mono); }
.text-grad {
  background: linear-gradient(100deg, #ffb46b 0%, var(--orange) 45%, #7fb2ff 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
[data-theme="light"] .text-grad {
  background: linear-gradient(100deg, var(--orange-dark) 0%, var(--orange) 40%, var(--navy) 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(180deg, #f5872a 0%, var(--orange) 60%, var(--orange-dark) 100%);
  color: #fff; box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 16px 46px -8px rgba(235,111,3,.6); color: #fff; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--head); background: rgba(235,111,3,.06); }
.btn--lg { padding: 16px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; color: var(--head); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
.brand__name { font-size: 1.3rem; }
.brand__name b { color: var(--orange); font-weight: 700; }
.nav__links { display: flex; gap: 26px; margin-left: 22px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: .96rem; }
.nav__links a:hover { color: var(--head); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--muted); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.icon-btn:hover { color: var(--head); border-color: var(--orange); }
.icon-btn svg { width: 18px; height: 18px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line-strong); padding: 8px 11px; border-radius: 10px; }
.lang-switch:hover { color: var(--head); border-color: var(--orange); text-decoration: none; }
.lang-switch svg { width: 15px; height: 15px; }

.theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: block; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::after { /* zachte vignette + gloed onderaan */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(900px 460px at 78% -6%, rgba(235,111,3,.16), transparent 60%),
    radial-gradient(1100px 620px at 12% 8%, rgba(13,79,156,.30), transparent 60%);
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero { min-height: 90vh; display: flex; align-items: center; }
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 92px 0; }

/* Hero-visual: app + beeldscherm (statische mockups, onze kleuren) */
.hero__visual { display: none; }
@media (min-width: 981px) {
  .hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; }
  .hero__intro { max-width: 600px; }
  .hero__visual { display: block; position: relative; min-height: 360px; }
}
.mock-screen {
  position: relative; width: 100%; max-width: 560px; margin-left: auto;
  background: linear-gradient(180deg, #0c2136, #0a1a2b);
  border: 1px solid rgba(120,170,235,.16); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 60px rgba(47,109,240,.10);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mock-screen__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(120,170,235,.10); }
.mock-screen__bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a4a5e; }
.mock-screen__bar span:nth-child(1) { background: #e5372a; }
.mock-screen__bar span:nth-child(2) { background: #eb6f03; }
.mock-screen__bar span:nth-child(3) { background: #6fd86f; }
.mock-screen__url { margin-left: 8px; flex: 1; height: 15px; border-radius: 7px;
  background: rgba(120,170,235,.10); color: #7fa0c8; font: 500 9px ui-monospace, monospace;
  font-style: normal; display: flex; align-items: center; padding: 0 8px; }
.mock-screen__body { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 14px; }
.mock-screen__side { display: flex; flex-direction: column; gap: 4px; }
.mock-screen__side b { height: 10px; width: 40px; border-radius: 3px; margin-bottom: 6px;
  background: linear-gradient(90deg, #5b8cff, #eb6f03); }
.mock-screen__side em { padding: 3px 0; font: 600 8.5px system-ui, sans-serif; font-style: normal; color: rgba(120,170,235,.55); }
.mock-screen__side em.on { color: #cfe0ff; }
.mock-screen__main { display: flex; flex-direction: column; gap: 12px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; }
.mock-head strong { font: 700 12px system-ui, sans-serif; color: #e8eef6; }
.mock-tools { display: flex; align-items: center; gap: 7px; }
.mock-search { width: 62px; height: 15px; border-radius: 7px; background: rgba(120,170,235,.12); }
.mock-ava { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #5b8cff, #eb6f03); }
.mock-tag { position: relative; font: 700 7.5px system-ui, sans-serif; color: #6fd86f; padding: 2px 6px 2px 15px;
  border: 1px solid rgba(111,216,111,.4); border-radius: 5px; }
.mock-tag::before { content: ""; position: absolute; left: 6px; top: 50%; width: 5px; height: 5px;
  margin-top: -2.5px; border-radius: 50%; background: #6fd86f; animation: mock-pulse 1.8s ease-out infinite; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { background: rgba(120,170,235,.06); border: 1px solid rgba(120,170,235,.10);
  border-radius: 8px; padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; }
.mock-num { font: 800 15px system-ui, sans-serif; color: #e8eef6; }
.mock-num.up { color: #6fd86f; }
.mock-lab { font: 600 8.5px system-ui, sans-serif; color: rgba(120,170,235,.6); }
.mock-delta { margin-top: 3px; font: 700 8px system-ui, sans-serif; color: #6fd86f; }
.mock-spark { width: 44px; height: 14px; margin-top: 4px; }
.mock-spark polyline { fill: none; stroke: #6fd86f; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }

.mock-chart { position: relative; height: 116px; padding: 12px 12px 18px;
  background: rgba(120,170,235,.05); border: 1px solid rgba(120,170,235,.10); border-radius: 8px; }
.mock-grid { position: absolute; left: 12px; right: 12px; height: 1px; background: rgba(120,170,235,.09); }
.mock-grid:nth-child(1) { top: 30px; }
.mock-grid:nth-child(2) { top: 54px; }
.mock-grid:nth-child(3) { top: 78px; }
.mock-bars { position: absolute; left: 12px; right: 12px; top: 12px; bottom: 18px;
  display: flex; align-items: flex-end; gap: 8px; }
.mock-bars b { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #2f6df0, rgba(47,109,240,.25)); }
.mock-bars b:nth-child(even) { background: linear-gradient(180deg, #eb6f03, rgba(235,111,3,.22)); }
.mock-trend { position: absolute; left: 12px; right: 12px; top: 12px; bottom: 18px; width: auto; height: auto; }
.mock-trend polyline { fill: none; stroke: #6fd86f; stroke-width: 1.7; vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(111,216,111,.5)); }
.mock-xaxis { position: absolute; left: 12px; right: 12px; bottom: 4px; display: flex; justify-content: space-between; }
.mock-xaxis em { font: 500 7px system-ui, sans-serif; font-style: normal; color: rgba(120,170,235,.45); }

.mock-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-panel { background: rgba(120,170,235,.05); border: 1px solid rgba(120,170,235,.10); border-radius: 8px; padding: 10px; }
.mock-panel__t { display: block; margin-bottom: 8px; font: 600 8.5px system-ui, sans-serif; color: rgba(120,170,235,.6); }
.mock-panel__row { display: flex; align-items: center; gap: 12px; }
.mock-donut { position: relative; width: 54px; height: 54px; flex: none; border-radius: 50%;
  background: conic-gradient(#2f6df0 0 45%, #eb6f03 45% 75%, #6fd86f 75% 100%); }
.mock-donut::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #0b1d30; }
.mock-donut b { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
  font: 800 11px system-ui, sans-serif; color: #e8eef6; }
.mock-leg { display: flex; flex-direction: column; gap: 5px; }
.mock-leg i { display: flex; align-items: center; gap: 6px; font: 600 8px system-ui, sans-serif; font-style: normal; color: rgba(207,224,255,.7); }
.mock-leg s { width: 8px; height: 8px; border-radius: 2px; }
.mock-leg s.a { background: #2f6df0; }
.mock-leg s.b { background: #eb6f03; }
.mock-leg s.c { background: #6fd86f; }
.mock-trow { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.mock-trow:last-child { margin-bottom: 0; }
.mock-trow em { flex: none; width: 78px; font: 600 8px system-ui, sans-serif; font-style: normal; color: rgba(207,224,255,.72);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-trow u { position: relative; flex: 1; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(120,170,235,.12); }
.mock-trow u::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 3px;
  background: linear-gradient(90deg, #5b8cff, #eb6f03); }

/* Actieve schermen: subtiele, rustige beweging (leeft, maar niet druk) */
@keyframes mock-pulse { 0% { box-shadow: 0 0 0 0 rgba(111,216,111,.55); } 70% { box-shadow: 0 0 0 6px rgba(111,216,111,0); } 100% { box-shadow: 0 0 0 0 rgba(111,216,111,0); } }
@keyframes mock-breathe { 0%, 100% { transform: scaleY(.9); } 50% { transform: scaleY(1); } }
@keyframes mock-sweep { 0% { background-position: 130% 0; } 55% { background-position: -45% 0; } 100% { background-position: -45% 0; } }
@keyframes mock-glow { 0%, 100% { box-shadow: 0 6px 16px rgba(235,111,3,.3); } 50% { box-shadow: 0 6px 24px rgba(235,111,3,.6); } }
.mock-bars b { transform-origin: bottom; animation: mock-breathe 3.4s ease-in-out infinite; }
.mock-bars b:nth-child(1) { animation-delay: 0s; }
.mock-bars b:nth-child(2) { animation-delay: .28s; }
.mock-bars b:nth-child(3) { animation-delay: .56s; }
.mock-bars b:nth-child(4) { animation-delay: .84s; }
.mock-bars b:nth-child(5) { animation-delay: 1.12s; }
.mock-bars b:nth-child(6) { animation-delay: 1.4s; }
.mock-bars b:nth-child(7) { animation-delay: 1.68s; }
.mock-screen::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(105deg, transparent 45%, rgba(150,190,255,.07) 50%, transparent 55%);
  background-size: 250% 100%; background-position: 130% 0; animation: mock-sweep 7s ease-in-out infinite; }
.mock-pill { animation: mock-glow 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .mock-tag::before, .mock-bars b, .mock-screen::after, .mock-pill { animation: none; }
}

/* Gesimuleerde activiteit: nep-cursor, klikken, live updates */
.mock-bars b { transition: height .6s ease; }
.mock-cursor { position: absolute; left: 0; top: 0; width: 15px; height: 15px; z-index: 8; pointer-events: none;
  transition: left .85s cubic-bezier(.4,.5,.2,1), top .85s cubic-bezier(.4,.5,.2,1); will-change: left, top;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.55)); }
.mock-cursor svg { display: block; width: 100%; height: 100%; }
.mock-cursor::after { content: ""; position: absolute; left: -4px; top: -4px; width: 22px; height: 22px;
  border-radius: 50%; border: 2px solid rgba(160,200,255,.8); opacity: 0; }
.mock-cursor.click::after { animation: mock-click .5s ease-out; }
@keyframes mock-click { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.mock-trow.new { animation: mock-rowin .5s ease; }
@keyframes mock-rowin { 0% { opacity: 0; transform: translateY(-7px); } 100% { opacity: 1; transform: none; } }
.mock-arow span { transition: background .3s ease; }
.mock-arow.done span { background: #6fd86f; }
.mock-pill.tap::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.35); animation: mock-tap .45s ease-out; }
@keyframes mock-tap { 0% { opacity: .6; } 100% { opacity: 0; } }

.mock-phone {
  position: absolute; right: -6px; bottom: -28px; width: 152px; padding: 8px;
  background: linear-gradient(180deg, #12283f, #0a1726); border-radius: 24px;
  border: 1px solid rgba(120,170,235,.20);
  box-shadow: 0 28px 52px rgba(0,0,0,.55), 0 0 40px rgba(235,111,3,.10);
  transform: perspective(1000px) rotateY(-9deg) rotate(2deg);
}
.mock-phone__screen { position: relative; padding: 20px 11px 12px; border-radius: 17px; overflow: hidden;
  background: linear-gradient(180deg, #0b1d30, #0a1522); border: 1px solid rgba(120,170,235,.10); }
.mock-phone__screen::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 5px; border-radius: 3px; background: rgba(120,170,235,.25); }
.mock-phone__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mock-phone__top b { font: 800 11px system-ui, sans-serif; color: #cfe0ff; }
.mock-phone__top i { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #eb6f03, #f0883a); }
.mock-phone__hero { position: relative; height: 58px; border-radius: 10px; margin-bottom: 11px;
  background: linear-gradient(135deg, rgba(47,109,240,.45), rgba(235,111,3,.32)); }
.ph-h { position: absolute; top: 9px; left: 11px; font: 600 8px system-ui, sans-serif; color: rgba(255,255,255,.8); }
.ph-s { position: absolute; bottom: 9px; left: 11px; font: 800 16px system-ui, sans-serif; color: #fff; }
.mock-arow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mock-arow span { width: 15px; height: 15px; border-radius: 4px; flex: none; background: rgba(47,109,240,.45); }
.mock-arow em { font: 600 9px system-ui, sans-serif; font-style: normal; color: rgba(207,224,255,.78); }
.mock-pill { position: relative; overflow: hidden; height: 28px; border-radius: 8px; margin: 11px 0; display: flex; align-items: center; justify-content: center;
  font: 700 9px system-ui, sans-serif; color: #fff; letter-spacing: .02em;
  background: linear-gradient(90deg, #eb6f03, #f08c33); box-shadow: 0 6px 16px rgba(235,111,3,.3); }
.mock-phone__tabs { display: flex; justify-content: space-between; padding-top: 10px; margin-top: 6px;
  border-top: 1px solid rgba(120,170,235,.10); }
.mock-phone__tabs s { width: 16px; height: 16px; border-radius: 5px; background: rgba(120,170,235,.18); }
.mock-phone__tabs s:first-child { background: #2f6df0; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.hero__intro { max-width: 600px; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 1.24rem; color: var(--ink); opacity: .92; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero__trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .96rem; font-weight: 500; }
.hero__trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }

/* terminal-kaart in de hero */
.terminal {
  background: linear-gradient(180deg, rgba(15,42,68,.94), rgba(9,28,46,.94));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.terminal__bar { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.terminal__dots { display: flex; gap: 7px; }
.terminal__dots i { width: 11px; height: 11px; border-radius: 50%; background: #35506e; display: block; }
.terminal__dots i:nth-child(1){ background:#ff5f57; } .terminal__dots i:nth-child(2){ background:#febc2e; } .terminal__dots i:nth-child(3){ background:#28c840; }
.terminal__title { font-family: var(--mono); font-size: .78rem; color: var(--faint); margin-left: 6px; }
.terminal__body { padding: 18px 18px 20px; font-family: var(--mono); font-size: .84rem; line-height: 1.85; color: #cfe0f2; }
.terminal__body .l { display: block; white-space: pre-wrap; }
.tk-c  { color: #6f8aa8; } /* comment */
.tk-p  { color: var(--orange); } /* prompt */
.tk-k  { color: #7fb2ff; } /* keyword */
.tk-s  { color: var(--green); } /* string/ok */
.tk-d  { color: #9db2c7; } /* dim */
.cursor { display: inline-block; width: 8px; height: 1.05em; background: var(--orange); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-strip__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; }
.stat { text-align: center; }
.stat__n { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--head); font-family: var(--font); letter-spacing: -.02em; }
.stat__n b { color: var(--orange); font-weight: 700; }
.stat__l { color: var(--muted); font-size: .92rem; margin-top: 2px; }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(235,111,3,.12); border: 1px solid rgba(235,111,3,.28); color: var(--orange); margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--head); margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card--service .card__icon { background: rgba(127,178,255,.12); border-color: rgba(127,178,255,.3); color: #7fb2ff; }

/* ---------- werkwijze (proces) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: .9rem; font-weight: 700; color: var(--orange);
  display: inline-block; margin-bottom: 12px; letter-spacing: .06em;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
.step__tag { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: .72rem; color: var(--green); background: rgba(111,216,111,.10); border: 1px solid rgba(111,216,111,.24); padding: 3px 9px; border-radius: 999px; }

/* ---------- cases ---------- */
.case {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; overflow: hidden;
}
.case + .case { margin-top: 24px; }
.case--flip .case__media { order: 2; }
.case__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .74rem; color: var(--orange); margin-bottom: 12px; letter-spacing: .04em; }
.case__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.case h3 { font-size: 1.5rem; }
.case p { color: var(--muted); }
.case__metrics { list-style: none; padding: 0; margin: 18px 0 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.case__metrics li { flex: 1 1 120px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.case__metrics b { display: block; color: var(--head); font-size: 1.15rem; }
.case__metrics span { color: var(--muted); font-size: .82rem; }
.case__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-md); }
.case__media img { width: 100%; display: block; }
.case__media--ph {
  aspect-ratio: 16/10; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(400px 200px at 70% 20%, rgba(235,111,3,.14), transparent 60%),
    linear-gradient(180deg, #0f2a44, #0a1f34);
  color: var(--faint); font-family: var(--mono); font-size: .82rem; padding: 20px;
}

/* ---------- tech / security ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { font-family: var(--mono); font-size: .82rem; color: var(--ink); background: var(--code-bg); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; }
.pill:hover { border-color: var(--orange); color: var(--head); }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.feature-list svg { width: 21px; height: 21px; color: var(--green); flex: none; margin-top: 3px; }
.feature-list b { color: var(--head); }
.feature-list span { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--head); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq .faq__a p { margin: 0; }

/* ---------- CTA-band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 54px; text-align: center;
  background: linear-gradient(135deg, #0c3d7a 0%, #072346 55%, #0a2a52 100%);
  border: 1px solid var(--line-strong); }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 80% 0%, rgba(235,111,3,.22), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cddcec; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.cta-band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info .info-row { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 20px; }
.contact-info .info-row svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 3px; }
.contact-info .info-row b { display: block; color: var(--head); }
.contact-info .info-row a, .contact-info .info-row span { color: var(--muted); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--head); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink);
  font-family: var(--font); font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(235,111,3,.18); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .84rem; color: var(--faint); margin: 10px 0 0; }
.form-status { border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; }
.form-status--ok { background: rgba(111,216,111,.10); border: 1px solid rgba(111,216,111,.34); }
.form-status--err { background: rgba(255,95,87,.10); border: 1px solid rgba(255,95,87,.34); }
.form-status h1 { color: var(--head); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 320px; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: .95rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--head); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: .88rem; }
.footer-bottom a { color: var(--faint); }

/* ---------- legal pages ---------- */
.legal { padding: 70px 0; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: .3em; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal h3 { margin-top: 1.2em; }
.legal .updated { color: var(--faint); font-family: var(--mono); font-size: .84rem; margin-bottom: 2em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: .94rem; color: var(--ink); }
.legal th { background: var(--bg-2); color: var(--head); }
.fill { background: rgba(235,111,3,.16); border-bottom: 1px dashed var(--orange); padding: 0 3px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cursor { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.nav--open { position: fixed; inset: 70px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); height: auto; flex-direction: column; align-items: stretch; padding: 12px 24px 22px; gap: 4px; z-index: 59; }
  .nav.nav--open .nav__links { display: flex; flex-direction: column; gap: 2px; margin: 0; }
  .nav.nav--open .nav__links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav.nav--open .nav__cta { margin: 14px 0 0; flex-wrap: wrap; }
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__inner { padding: 60px 0 72px; }
  .case, .case--flip .case__media { grid-template-columns: 1fr; }
  .case--flip .case__media { order: 0; }
  .grid--3, .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__row { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 66px 0; }
  .grid--3, .grid--4, .steps, .grid--2 { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Intro-animatie (typewriter terminal -> build -> live -> merk -> site)
   Zelfstandig, breekt de pagina niet. Skippable, 1x per sessie, reduced-motion.
   ========================================================================== */
body.pb-intro-lock { overflow: hidden; }
#pb-intro {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(1200px 820px at 60% 38%, #0b2338 0%, #071726 72%);
  transition: opacity .6s ease, visibility .6s ease;
}
#pb-intro.pb-hide { opacity: 0; visibility: hidden; pointer-events: none; }
.pb-term {
  width: min(560px, 94vw);
  background: #0c2033; border: 1px solid rgba(120,170,235,.16);
  border-radius: 14px; box-shadow: 0 34px 90px rgba(0,0,0,.55);
  overflow: hidden;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  transform: translateY(8px) scale(.985); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease;
}
#pb-intro.pb-in .pb-term { transform: none; opacity: 1; }
#pb-intro.pb-launch .pb-term { transform: scale(.9) translateY(-6px); opacity: 0; transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .5s ease; }
.pb-term__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(120,170,235,.12);
}
.pb-dot { width: 11px; height: 11px; border-radius: 50%; }
.pb-dot--r { background: #ff5f57; } .pb-dot--y { background: #febc2e; } .pb-dot--g { background: #28c840; }
.pb-term__title { margin-left: 6px; color: #8ea6bd; font-size: 12.5px; letter-spacing: .01em; }
.pb-term__body {
  padding: 18px 18px 22px; font-size: 14px; line-height: 1.95;
  color: #e0ecfa; min-height: 260px; white-space: pre-wrap; word-break: break-word;
}
.pb-line { display: block; }
.pb-prompt { color: #eb6f03; font-weight: 700; }
.pb-cmd { color: #ffffff; font-weight: 600; }
.pb-comment { color: #5e83ad; }
.pb-check { color: #6fd86f; font-weight: 700; }
.pb-key { color: #ffffff; font-weight: 600; }
.pb-dots { color: #365272; }
.pb-work { color: #8ea6bd; }
.pb-val { color: #6fd86f; font-weight: 700; }
.pb-caret { color: #6fd86f; font-weight: 700; animation: pb-blink 1s steps(1) infinite; }
@keyframes pb-blink { 50% { opacity: 0; } }
.pb-skip {
  position: fixed; bottom: 22px; right: 26px; z-index: 10000;
  background: none; border: 0; cursor: pointer;
  color: #5e83ad; font: 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em;
  opacity: .8; transition: opacity .2s ease;
}
.pb-skip:hover { opacity: 1; color: #8ea6bd; }
.pb-brand {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
}
.pb-brand__word {
  font: 800 clamp(2.6rem, 9vw, 5rem)/1 Poppins, system-ui, sans-serif;
  letter-spacing: -.01em; color: #5b8cff; transform: scale(.96);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.pb-brand__word b { color: var(--orange); font-weight: 800; }
#pb-intro.pb-brandshow .pb-brand { opacity: 1; transition: opacity .45s ease; }
#pb-intro.pb-brandshow .pb-brand__word { transform: scale(1); }

/* Hero die na de intro rustig opbouwt */
/* Officieel ProBytes-woordmerk in de header (blauw Pro + oranje Bytes) */
.brand__name .brand__pro { color: #5b8cff; font-weight: 700; }
.brand__name b { color: var(--orange); font-weight: 700; }
[data-theme="light"] .brand__name { color: #16283a; }
[data-theme="light"] .brand__name .brand__pro { color: #16283a; }

body.pb-intro-run .hero__intro > * { opacity: 0; transform: translateY(14px); }
body.pb-hero-in .hero__intro > * {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
body.pb-hero-in .hero__intro > *:nth-child(1) { transition-delay: .05s; }
body.pb-hero-in .hero__intro > *:nth-child(2) { transition-delay: .16s; }
body.pb-hero-in .hero__intro > *:nth-child(3) { transition-delay: .28s; }
body.pb-hero-in .hero__intro > *:nth-child(4) { transition-delay: .40s; }
body.pb-hero-in .hero__intro > *:nth-child(5) { transition-delay: .52s; }

/* Hero-visual schuift 1x zacht in beeld na de intro (geen doorlopende animatie) */
body.pb-intro-run .hero__visual { opacity: 0; transform: translateY(22px) scale(.98); }
body.pb-hero-in .hero__visual {
  opacity: 1; transform: none;
  transition: opacity .8s ease .5s, transform .9s cubic-bezier(.2,.7,.2,1) .5s;
}

@media (prefers-reduced-motion: reduce) {
  #pb-intro { display: none; }
  body.pb-intro-run .hero__intro > * { opacity: 1; transform: none; }
  body.pb-intro-run .hero__visual { opacity: 1; transform: none; }
}

/* ==========================================================================
   Intro - filmische laag (ambient glow, diepte, dramatische launch)
   ========================================================================== */
#pb-intro { overflow: hidden; }
#pb-intro::before {
  content: ""; position: absolute; inset: -25%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(46% 42% at 62% 36%, rgba(47,109,240,.20), transparent 60%),
    radial-gradient(42% 40% at 30% 72%, rgba(235,111,3,.12), transparent 60%);
  filter: blur(12px);
  animation: pb-drift 9s ease-in-out infinite alternate;
}
#pb-intro::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(3,10,20,.6) 100%);
}
@keyframes pb-drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.02); opacity: .8; }
  100% { transform: translate3d(2%, 1.5%, 0) scale(1.09); opacity: 1; }
}
.pb-term {
  position: relative; z-index: 2; filter: blur(7px);
  box-shadow: 0 44px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(120,170,235,.10), 0 0 70px rgba(47,109,240,.10);
}
#pb-intro.pb-in .pb-term {
  filter: blur(0);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease, filter .7s ease;
}
/* launch: korte groene flits + krachtiger wegschalen/vervagen */
#pb-intro.pb-launch::after { animation: pb-flash .55s ease-out; }
@keyframes pb-flash {
  0%   { background: radial-gradient(120% 120% at 50% 44%, rgba(111,216,111,.34), transparent 55%); }
  100% { background: radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(3,10,20,.6) 100%); }
}
#pb-intro.pb-launch .pb-term { transform: scale(.85) translateY(-12px); filter: blur(5px); }
/* merk: cinematischer, met gloed en settle */
.pb-brand { z-index: 3; }
.pb-brand__word {
  text-shadow: 0 0 36px rgba(47,109,240,.38), 0 0 12px rgba(235,111,3,.22);
  letter-spacing: .08em; transform: scale(.9);
}
#pb-intro.pb-brandshow .pb-brand__word {
  transform: scale(1); letter-spacing: -.01em;
  transition: opacity .55s ease, transform .9s cubic-bezier(.2,.7,.2,1), letter-spacing .9s cubic-bezier(.2,.7,.2,1);
}
/* wegvallen: zachte camera-pull */
#pb-intro.pb-hide { transform: scale(1.05); transition: opacity .75s ease, visibility .75s ease, transform .75s ease; }

/* Matrix-waterval met slotjes achter het merk (beveiliging) */
.pb-matrix {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 2; opacity: 0; pointer-events: none;
  transition: opacity .7s ease;
}
#pb-intro.pb-launch .pb-matrix { opacity: .9; }
#pb-intro.pb-hide .pb-matrix { opacity: 0; }
.pb-brand { z-index: 4; }
.pb-brand__word {
  text-shadow: 0 0 40px rgba(3,10,20,.9), 0 0 40px rgba(47,109,240,.4), 0 0 12px rgba(235,111,3,.22);
}
