/* ==========================================================================
   Randall van Poelvoorde — juli 2026
   Tech futurist × deep purple
   ========================================================================== */

:root {
  --bg: #0A0712;
  --bg-raised: #120B1E;
  --bg-card: #150D24;
  --border: #251838;
  --border-glow: rgba(151, 71, 255, 0.35);
  --accent: #9747FF;
  --accent-soft: #B58AF7;
  --accent-hover: #A96BFF;
  --cyan: #22D3EE;
  --text: #F4F1FA;
  --text-soft: #B3A8C9;
  --text-muted: #7E7295;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  --radius: 12px;
  --radius-sm: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Subtiele tech-grid achtergrond */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(151, 71, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 71, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: var(--cyan); }

::selection { background: rgba(151, 71, 255, 0.4); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 600; }

.skip-to-content {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 18px; z-index: 2000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-to-content:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Header / navigatie
   -------------------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 24px;
  max-width: var(--max); margin: 0 auto;
}

.nav__brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: 0.4px;
}
.nav__brand:hover { color: var(--text); }
.nav__brand img { width: 34px; height: 34px; }
.nav__brand .mono-mark { font-family: var(--mono); color: var(--cyan); font-weight: 400; }

.nav__list {
  display: flex; align-items: center; gap: 26px; list-style: none;
}
.nav__link {
  color: var(--text-soft); font-size: 14.5px; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav__link:hover { color: var(--text); }
.nav__link.active-link { color: var(--text); border-bottom-color: var(--cyan); }

.nav__phone-link {
  font-family: var(--mono); font-size: 13.5px; color: var(--cyan);
  padding: 6px 0; white-space: nowrap;
}
.nav__phone-link:hover { color: var(--accent-soft); }

.nav__cta {
  background: var(--accent); color: #fff !important; font-size: 14px; font-weight: 600;
  padding: 9px 20px; border-radius: 999px; transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); padding: 8px 10px;
  font-size: 18px; line-height: 1; cursor: pointer;
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; top: 63px; left: 0; right: 0;
    background: var(--bg-raised); border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px; display: none;
  }
  .nav__menu.open { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__link { display: block; padding: 10px 0; font-size: 16px; width: 100%; }
  .nav__cta { margin-top: 10px; display: inline-block; }
}

/* --------------------------------------------------------------------------
   Sectie-basis
   -------------------------------------------------------------------------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }

.section-label {
  font-family: var(--mono); font-size: 13px; letter-spacing: 2px;
  color: var(--cyan); text-transform: uppercase; display: block; margin-bottom: 14px;
}
.section-label::before { content: "// "; opacity: .7; }

.section-title { font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; }
.section-intro { color: var(--text-soft); max-width: 640px; margin-bottom: 40px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 160px 0 90px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(151, 71, 255, 0.16), transparent),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(34, 211, 238, 0.07), transparent);
}

.hero-content { display: flex; align-items: center; gap: 56px; }
.hero-text { flex: 1.2; }
.hero-kicker {
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 2.5px;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 18px; display: block;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 54px); margin-bottom: 10px; }
.hero .hero-sub {
  font-size: clamp(18px, 2.4vw, 23px); font-weight: 400;
  color: var(--accent-soft); margin-bottom: 22px;
}
.hero-pitch { color: var(--text-soft); max-width: 520px; margin-bottom: 34px; }

.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.hero-image { flex: 1; display: flex; justify-content: center; }
.hero-portrait {
  width: min(320px, 80vw); border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 60px rgba(151, 71, 255, 0.25);
}

.hero-stats {
  display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap;
}
.stat b { display: block; font-size: 30px; font-weight: 600; color: var(--text); }
.stat span { font-size: 13.5px; color: var(--text-muted); font-family: var(--mono); }

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 13px 28px; border-radius: 999px; border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: var(--accent-hover); color: #fff;
  transform: translateY(-2px); box-shadow: 0 8px 28px rgba(151, 71, 255, 0.4);
}
.btn-ghost {
  background: transparent; color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.45);
}
.btn-ghost:hover { background: rgba(34, 211, 238, 0.08); color: var(--cyan); }

.link-arrow { font-family: var(--mono); font-size: 14.5px; color: var(--cyan); }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--accent-soft); }

/* --------------------------------------------------------------------------
   Kaarten
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm); padding: 28px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px); border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15px; }
.card ul { list-style: none; margin: 12px 0 18px; }
.card ul li {
  color: var(--text-soft); font-size: 14.5px; padding: 5px 0 5px 20px; position: relative;
}
.card ul li::before {
  content: "▸"; position: absolute; left: 0; color: var(--cyan); font-size: 12px;
}
.card .card-icon { color: var(--accent-soft); margin-bottom: 16px; }
.card .card-icon svg { width: 30px; height: 30px; stroke: currentColor; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Video
   -------------------------------------------------------------------------- */
.video-wrapper {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-wrapper video { width: 100%; }

/* --------------------------------------------------------------------------
   Promo-rij (podcast / LinkedIn)
   -------------------------------------------------------------------------- */
.promo-link {
  display: flex; align-items: center; gap: 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px; height: 100%;
  transition: border-color .25s, transform .25s;
}
.promo-link:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.promo-link img { width: 150px; border-radius: var(--radius-sm); flex-shrink: 0; }
.promo-link h3 { font-size: 17px; color: var(--text); margin-bottom: 6px; }
.promo-link p { font-size: 14px; color: var(--text-soft); }
@media (max-width: 640px) { .promo-link { flex-direction: column; align-items: flex-start; } .promo-link img { width: 100%; } }

/* --------------------------------------------------------------------------
   Over mij
   -------------------------------------------------------------------------- */
.about-content { max-width: 760px; }
.about-content p { color: var(--text-soft); margin-bottom: 18px; font-size: 16.5px; }
.about-content p strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 26px;
  display: flex; flex-direction: column; gap: 18px; height: 100%;
}
.testimonial-card .quote {
  color: var(--text-soft); font-size: 15px; flex: 1;
}
.testimonial-card .quote::before { content: "“"; color: var(--accent); font-size: 30px; line-height: 0; margin-right: 4px; }
.testimonial-author b { display: block; color: var(--text); font-size: 14.5px; font-weight: 600; }
.testimonial-author span { color: var(--text-muted); font-size: 13px; }

.logos-row {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  flex-wrap: wrap; margin-top: 44px;
}
.logos-row img {
  height: 44px; width: auto; opacity: .75; filter: grayscale(1) brightness(1.6);
  transition: opacity .2s, filter .2s;
}
.logos-row img:hover { opacity: 1; filter: none; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px; max-width: 640px; margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13.5px; font-family: var(--mono);
  color: var(--text-soft); margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group select {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; font-family: var(--sans); font-size: 15px;
}
.form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(151, 71, 255, 0.2);
}
.form-group input, .form-group textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; font-family: var(--sans); font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(151, 71, 255, 0.2);
}
.contact-direct { text-align: center; margin-top: 26px; color: var(--text-muted); font-size: 14.5px; }
.contact-direct a { color: var(--cyan); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border); background: var(--bg-raised);
  padding: 56px 0 28px; margin-top: 40px;
}
.footer-content {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 36px; border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 340px; }
.footer-brand img { width: 56px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-soft); font-size: 14.5px; }
.footer-col h3 {
  font-size: 13px; font-family: var(--mono); letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.footer-col p, .footer-col li { font-size: 14.5px; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col a { color: var(--text-soft); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 24px; text-align: center;
  color: var(--text-muted); font-size: 13px; font-family: var(--mono);
}

/* --------------------------------------------------------------------------
   Subpagina-hero
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 150px 0 60px;
  background: radial-gradient(ellipse 60% 60% at 60% 10%, rgba(151, 71, 255, 0.14), transparent);
}
.page-hero h1 { font-size: clamp(30px, 4.6vw, 44px); margin-bottom: 12px; }
.page-hero .page-sub { color: var(--text-soft); font-size: 17px; max-width: 640px; font-weight: 400; }

/* --------------------------------------------------------------------------
   Artikelen
   -------------------------------------------------------------------------- */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr; } }

.article-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.article-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.article-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.article-card .article-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-card h2 { font-size: 20px; }
.article-card h2 a { color: var(--text); }
.article-card h2 a:hover { color: var(--accent-soft); }
.article-card p { color: var(--text-soft); font-size: 14.5px; flex: 1; }

.article-meta {
  display: flex; gap: 14px; align-items: center;
  font-family: var(--mono); font-size: 12.5px; color: var(--text-muted);
}
.tag {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px; padding: 3px 12px;
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Artikel-detail */
.article-page { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.article-page .article-hero-img {
  border-radius: var(--radius); border: 1px solid var(--border); margin: 34px 0;
}
.article-content h2 { font-size: 23px; margin: 36px 0 14px; color: var(--text); }
.article-content p { color: var(--text-soft); margin-bottom: 18px; font-size: 16.5px; }
.article-content p strong { color: var(--text); }
.article-footer-nav {
  margin: 56px auto 0; padding: 26px 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Visie
   -------------------------------------------------------------------------- */
.pillar {
  display: flex; gap: 26px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 30px;
}
.pillar-number {
  font-family: var(--mono); font-size: 28px; font-weight: 400;
  color: var(--accent); flex-shrink: 0; line-height: 1.2;
}
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { color: var(--text-soft); font-size: 15px; margin-bottom: 10px; }
.pillar-list { display: grid; gap: 20px; max-width: 860px; }

/* --------------------------------------------------------------------------
   Interactives — adoption timeline
   -------------------------------------------------------------------------- */
.timeline-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
}
.timeline-row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.timeline-label {
  width: 170px; flex-shrink: 0; text-align: right;
  font-size: 14.5px; color: var(--text-soft);
}
.timeline-label b { color: var(--text); display: block; font-weight: 600; }
.timeline-label span { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.timeline-track { flex: 1; background: rgba(151, 71, 255, 0.08); border-radius: 999px; height: 26px; position: relative; overflow: hidden; }
.timeline-bar {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  width: 0; transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 10px;
}
.timeline-bar em {
  font-style: normal; font-family: var(--mono); font-size: 11.5px; color: #fff; white-space: nowrap;
}
.timeline-note {
  margin-top: 26px; font-family: var(--mono); font-size: 14px; color: var(--cyan);
  min-height: 22px;
}

.timeline-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 22px;
}
.toggle-group {
  display: inline-flex; border: 1px solid var(--border); border-radius: 999px;
  overflow: hidden; background: var(--bg-card);
}
.toggle-btn {
  background: transparent; border: none; color: var(--text-soft);
  font-family: var(--mono); font-size: 13px; padding: 10px 18px; cursor: pointer;
  transition: background .2s, color .2s;
}
.toggle-btn.active { background: var(--accent); color: #fff; }
.toggle-btn:not(.active):hover { color: var(--text); }

.timeline-row { border-radius: var(--radius-sm); padding: 6px 8px; margin: 0 -8px 12px; transition: background .2s; }
.timeline-row.hl { background: rgba(151, 71, 255, 0.08); }

.fold-controls label {
  display: block; font-size: 15px; color: var(--text-soft); margin-bottom: 14px;
}
.fold-controls label b { color: var(--cyan); font-family: var(--mono); font-size: 17px; }
.fold-controls input[type="range"] {
  width: 100%; accent-color: var(--accent); height: 6px; cursor: pointer;
}
.fold-results { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
@media (max-width: 640px) { .fold-results { grid-template-columns: 1fr; } }
.fold-stat {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.fold-stat span { display: block; font-family: var(--mono); font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.fold-stat b { font-size: 24px; font-weight: 600; color: var(--text); }
.fold-stat:last-child b { color: var(--cyan); }
@media (max-width: 640px) {
  .timeline-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .timeline-label { width: auto; text-align: left; }
}

/* --------------------------------------------------------------------------
   Referenties
   -------------------------------------------------------------------------- */
.keynote-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 800px) { .keynote-photos { grid-template-columns: 1fr; } }
.photo-card {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border);
}
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(10, 7, 18, 0.92));
  padding: 40px 20px 16px;
}
.photo-card figcaption b { display: block; font-size: 15.5px; }
.photo-card figcaption span { font-size: 13px; color: var(--text-soft); }

.client-names { color: var(--text-soft); font-size: 15px; max-width: 860px; }

/* --------------------------------------------------------------------------
   Zoeken & foutpagina's
   -------------------------------------------------------------------------- */
.search-box { display: flex; gap: 12px; max-width: 560px; margin-bottom: 36px; }
.search-box input {
  flex: 1; background: var(--bg-card); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px; padding: 13px 22px; font-size: 15px;
}
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-result { padding: 18px 0; border-bottom: 1px solid var(--border); }
.search-result h3 a { color: var(--text); }
.search-result p { color: var(--text-soft); font-size: 14.5px; }

.error-page { min-height: 60vh; display: flex; align-items: center; text-align: center; padding-top: 120px; }
.error-page .error-code {
  font-family: var(--mono); font-size: clamp(64px, 12vw, 120px);
  color: var(--accent); line-height: 1;
}

/* --------------------------------------------------------------------------
   Reveal-animatie
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .timeline-bar { transition: none; }
}

@media (max-width: 900px) {
  .hero { padding: 130px 0 60px; }
  .hero-content { flex-direction: column-reverse; text-align: left; gap: 36px; }
  .section { padding: 60px 0; }
}
