/* =============================================
   CSS CUSTOM PROPERTIES
============================================= */
:root {
  --bg: #0A0F1E;
  --bg-card: #111827;
  --bg-card-hover: #161f35;
  --text: #F5F5F5;
  --text-muted: rgba(245, 245, 245, 0.6);
  --accent: #1E6FFF;
  --accent-hover: #3d84ff;
  --accent-dim: rgba(30, 111, 255, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(30, 111, 255, 0.4);
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --nav-height: 70px;
  --transition: 0.25s ease;
}

/* =============================================
/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30, 111, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline-accent:hover, .btn-outline-accent:focus-visible {
  background: var(--accent-dim);
}

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =============================================
   SCROLL REVEAL
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   NAVBAR
============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#navbar.nav-scrolled {
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

#navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span { color: var(--accent); }
.nav-logo svg { flex-shrink: 0; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-cta { padding: 10px 20px; font-size: 0.875rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    border-top: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
    color: var(--text);
  }
  .nav-cta {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }
}

/* =============================================
   HERO
============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* Particle network canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #60a5ff);
  z-index: 2000;
  transition: width 0.05s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(30, 111, 255, 0.6);
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blink-cursor 0.8s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Radial glow */
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(30, 111, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-top: calc(var(--nav-height) + 40px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #7baeff;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-ctas .btn-ghost {
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0;
}
.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* =============================================
   SERVICES
============================================= */
#services { background: var(--bg); }

.services-header {
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.service-name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.service-teaser {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-cta-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}
.service-card:hover .service-cta-hint { gap: 10px; }

/* =============================================
   SERVICE DIALOG / MODAL
============================================= */
dialog {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  width: min(580px, calc(100vw - 48px));
  max-height: min(90vh, 900px);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Only apply flex + scroll when the dialog is actually open */
dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Security dialog: wider to fit 2-col calculator */
#dialog-security {
  width: min(900px, calc(100vw - 48px));
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dialog-inner {
  padding: 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Calculator inside dialog: reset standalone spacing */
#dialog-security .calc-wrapper { margin-top: 0; }
#dialog-security .calc-result { position: static; }

/* Tier cards: selectable */
.dialog-tier {
  cursor: pointer;
}
.dialog-tier.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dialog-icon { font-size: 2.5rem; line-height: 1; }

.dialog-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.dialog-close:hover {
  background: rgba(255,255,255,0.07);
  color: var(--text);
}

.dialog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.dialog-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.dialog-features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dialog-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}

.feature-check {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Calculator inside dialog */
.calc-dialog-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0 20px;
}
.calc-dialog-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

/* =============================================
   STORAGE CALCULATOR
============================================= */
#storage-calc {
  background: var(--bg);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .calc-wrapper { grid-template-columns: 1fr; }
}

.calc-controls {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-field-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Camera counter */
.calc-counter {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
}

.calc-counter-btn {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.calc-counter-btn:first-child { border-radius: 8px 0 0 8px; }
.calc-counter-btn:last-child  { border-radius: 0 8px 8px 0; }
.calc-counter-btn:hover:not(:disabled) {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}
.calc-counter-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.calc-counter-val {
  width: 56px;
  height: 44px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: none;
  border-right: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

/* Quality toggle */
.calc-quality {
  display: flex;
  gap: 0;
}

.calc-quality input[type="radio"] { display: none; }

.calc-quality label {
  flex: 1;
  text-align: center;
  padding: 11px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.calc-quality label:first-of-type { border-radius: 8px 0 0 8px; }
.calc-quality label:last-of-type  { border-radius: 0 8px 8px 0; }
.calc-quality label:not(:first-of-type) { border-left: none; }

.calc-quality input[type="radio"]:checked + label {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.calc-quality label:hover {
  background: var(--accent-dim);
  color: var(--text);
  border-color: var(--border-accent);
}
.calc-quality input[type="radio"]:checked + label:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* Retention slider */
.calc-slider-wrap {
  position: relative;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--accent-dim);
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.calc-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px var(--accent-dim);
}
.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  cursor: pointer;
}

.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.calc-slider-labels span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Recording type toggle */
.calc-mode {
  display: flex;
  gap: 0;
}
.calc-mode input[type="radio"] { display: none; }
.calc-mode label {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.calc-mode label:first-of-type { border-radius: 8px 0 0 8px; }
.calc-mode label:last-of-type  { border-radius: 0 8px 8px 0; }
.calc-mode label:not(:first-of-type) { border-left: none; }
.calc-mode input[type="radio"]:checked + label {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}

/* Result panel */
.calc-result {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.calc-result-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.calc-result-storage {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.calc-result-unit {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
}

.calc-result-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.calc-result-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.calc-breakdown-key {
  color: var(--text-muted);
}

.calc-breakdown-val {
  font-weight: 600;
  color: var(--text);
}

.calc-recommendation {
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
}

.calc-recommendation strong {
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================================
   HOW IT WORKS
============================================= */
#how-it-works { background: rgba(17, 24, 39, 0.5); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
  position: relative;
}

/* Connecting line — sits between the cards, NOT overlapping circles */
.steps-row::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(33.33% - 10px);
  right: calc(33.33% - 10px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent) 20%, var(--border-accent) 80%, transparent);
  pointer-events: none;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.step:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(30, 111, 255, 0.08);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* Solid background so the ::before line can never show through */
  background: var(--bg);
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
  box-shadow: 0 0 0 6px var(--bg-card);
}
.step:hover .step-number {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--bg-card), 0 0 20px rgba(30, 111, 255, 0.3);
}

.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps-row::before { display: none; }
  .step { text-align: left; display: flex; align-items: flex-start; gap: 20px; padding: 24px; }
  .step-number { margin: 0; flex-shrink: 0; box-shadow: none; }
  .step-body { flex: 1; }
}

/* =============================================
   KERNWAARDEN
============================================= */
#why { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.why-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.375rem;
}

.why-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   WAAR WIJ VOOR STAAN
============================================= */
#standpunt {
  background: rgba(17, 24, 39, 0.5);
}

.standpunt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 768px) {
  .standpunt-grid { grid-template-columns: 1fr; }
}

.standpunt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.standpunt-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.standpunt-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.standpunt-card:hover::after { transform: scaleX(1); }

.standpunt-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  border: 1px solid var(--border-accent);
  background: var(--accent-dim);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent);
}

.standpunt-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.standpunt-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   SERVICE DIALOG TIERS
============================================= */
.dialog-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.dialog-tier {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
  transition: border-color var(--transition);
}
.dialog-tier.featured-tier {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.dialog-tier-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.dialog-tier ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.dialog-tier li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.4;
}
.dialog-tier li::before {
  content: '–';
  color: var(--accent);
  flex-shrink: 0;
}

/* =============================================
   BRANDS / MARQUEE
============================================= */
#brands { background: rgba(17, 24, 39, 0.5); }

.brands-marquee-wrapper {
  overflow: hidden;
  margin-top: 52px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brands-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: brands-scroll 36s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-logo-card {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 12px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  min-width: 130px;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.brands-track:hover .brand-logo-card:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.brand-logo-card img,
.brand-logo-card svg {
  max-height: 34px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* =============================================
   CONTACT
============================================= */
#contact {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

.contact-info { }

.contact-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--text);
  transition: color var(--transition);
}
.contact-detail a:hover { color: var(--accent); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 245, 245, 0.25);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(245,245,245,0.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group select option { background: #111827; }

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 4px;
}
.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

/* =============================================
   FOOTER
============================================= */
footer {
  padding: 56px 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand {}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-logo span { color: var(--accent); }
.footer-logo svg { flex-shrink: 0; }

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--border-accent);
  background: var(--accent-dim);
}
.footer-social svg { fill: var(--text-muted); transition: fill var(--transition); }
.footer-social a:hover svg { fill: var(--accent); }

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--text); }


/* =============================================
   UTILITY / CONVERTED-FROM-INLINE CLASSES
============================================= */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.brand-logo-icon { border-radius: 7px; }

.dialog-intro-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.calc-days-value {
  color: var(--text);
  font-weight: 700;
}

.service-plan-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-story {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

.service-story-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.service-story-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

#service-plan-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer-location {
  color: var(--text-muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   SMART HOME CONFIGURATOR
============================================= */
#configurator { background: rgba(17, 24, 39, 0.5); }

.config-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin-top: 48px;
}

.config-cta-steps {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.config-cta-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.config-cta-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.config-cta-arrow { color: var(--border); font-size: 1rem; }

/* Dialog sizing */
#dialog-configurator { width: min(680px, calc(100vw - 48px)); }

/* Progress bar */
.config-progress {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
}

.config-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}

.config-step-dot:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 13px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 2px;
  background: var(--border);
  transition: background 0.3s ease;
}

.config-step-dot.done:not(:last-child)::after { background: var(--accent); }

.config-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: all 0.25s ease;
}

.config-step-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.config-step-dot.active .config-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.config-step-dot.active .config-step-label { color: var(--text); }

.config-step-dot.done .config-step-num {
  background: rgba(30,111,255,0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* Step panels */
.config-panel { display: none; }
.config-panel.active { display: block; }

.config-panel-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.config-panel-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Options grid */
.config-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.config-options.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 540px) {
  .config-options { grid-template-columns: repeat(2, 1fr); }
  .config-options.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.config-option {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.config-option:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.config-option.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.config-option-icon { font-size: 1.4rem; line-height: 1; }
.config-option-label { font-size: 0.8rem; font-weight: 500; line-height: 1.3; }

/* Summary box */
.config-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.config-summary-row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.config-summary-row:last-child { border-bottom: none; }
.config-summary-label { color: var(--text-muted); flex-shrink: 0; width: 130px; }
.config-summary-value { color: var(--text); font-weight: 500; }

/* Confirmation screen */
.config-confirmation {
  text-align: center;
  padding: 16px 0 8px;
}

.config-confirmation-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(26,138,74,0.15);
  border: 2px solid rgba(26,138,74,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.config-confirmation-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.config-confirmation-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto 28px;
}

/* Nav buttons */
.config-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.config-btn-back {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.config-btn-back:hover { border-color: var(--text-muted); color: var(--text); }

.config-btn-next {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: auto;
  transition: background 0.2s ease;
}
.config-btn-next:hover:not(:disabled) { background: var(--accent-hover); }
.config-btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

.checklist-box,
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =============================================
   CHECKLIST
============================================= */
#checklist { background: var(--bg); }

.checklist-box {
  margin-top: 10px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.checklist-preview {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.checklist-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.checklist-item::before {
  content: '•';
  color: var(--accent);
  font-weight: 700;
  margin-right: 10px;
}

.checklist-actions {
  display: grid;
  gap: 14px;
}

/* =============================================
   FAQ
============================================= */
#faq { background: rgba(17, 24, 39, 0.5); }

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 52px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.faq-icon {
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--transition);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
  padding: 0 24px 0;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 22px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* =============================================
   CIALDINI
============================================= */
#cialdini {
  background: var(--bg);
}

.cialdini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.cialdini-card {
  background: linear-gradient(180deg, rgba(30, 111, 255, 0.08), rgba(17, 24, 39, 0.96));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.cialdini-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.cialdini-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =============================================
   WHATSAPP
============================================= */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #1a8a4a;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #21a35a;
  transform: translateY(-2px);
}

.whatsapp-icon {
  font-size: 1rem;
}

.whatsapp-text {
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .checklist-box {
    grid-template-columns: 1fr;
  }

  .cialdini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .checklist-box {
    padding: 22px;
  }

  .whatsapp-text {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
  }
}
