/* ===================== TOKENS ===================== */
:root {
  --text: #101214;
  --main: #1868DB;
  --main-dark: #135ac0;
  --blue-bg: #EAF2FF;
  --muted: #5b6470;
  --border: #e6e8eb;
  --white: #ffffff;
  --container: 1120px;
  --radius-lg: 28px;
  --radius-md: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

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

.container-wide {
  max-width: 1400px;
  padding-left: clamp(24px, 5vw, 64px);
  padding-right: clamp(24px, 5vw, 64px);
}

.center { text-align: center; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--main);
  color: var(--white);
}
.btn-primary:hover { background: var(--main-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: #cdd3da; background: #fbfcfd; }

.btn-pill { border-radius: 999px; }

.btn-lg { padding: 15px 30px; font-size: 16px; }

.btn-block { width: 100%; padding: 14px 22px; }

/* ===================== HEADER ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color .15s ease;
}
.nav-link:hover { color: var(--main); }

/* ===================== HERO ===================== */
.hero {
  padding-top: 160px;
  text-align: center;
}

.hero-content { max-width: 760px; }

.hero-title {
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-subtitle {
  margin: 22px auto 0;
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.dashboard-frame {
  margin-top: 64px;
}
.dashboard-frame img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(16, 18, 20, 0.22);
}

/* ===================== FEATURE SECTIONS ===================== */
.feature { padding: 72px 0; overflow-x: clip; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  max-width: 1400px;
  padding: 0 clamp(24px, 5vw, 64px);
}

.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-media { order: 1; }

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.feature-copy {
  margin-top: 20px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 520px;
}

.link-arrow {
  display: inline-block;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--main);
  transition: opacity .15s ease;
}
.link-arrow:hover { opacity: 0.75; }

.image-box {
  background: var(--blue-bg);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.92;
  overflow: visible;
}
/* Let the artwork grow larger and spill out past the blue box edges */
.image-box img {
  width: 138%;
  max-width: none;
  height: auto;
}

/* ===================== SUPPORTED CHANNELS ===================== */
.channels { padding: 48px 0; }

.channels-box {
  background: var(--main);
  border-radius: var(--radius-lg);
  padding: 72px 56px 84px;
  color: #fff;
  overflow: hidden;
}

.channels-title {
  color: #fff;
  margin-bottom: 44px;
}

.channels-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 6vw, 76px);
  min-height: 300px;
}

.channels-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.channel {
  background: none;
  border: 0;
  padding: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.channel img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);   /* render any icon as solid white */
  transition: transform .18s ease, opacity .18s ease;
}
.channel:hover img { transform: scale(1.1); }

/* Dim the other icons while one channel is hovered/focused */
.channels-row:hover .channel img,
.channels-row:focus-within .channel img { opacity: 0.3; }
.channels-row:hover .channel:hover img,
.channels-row:focus-within .channel:focus img { opacity: 1; }

/* Hovered platform name shown large + faded below the icons */
.channels-word {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.channels-stage.is-active .channels-word { opacity: 1; }

@media (max-width: 720px) {
  .channels-row { justify-content: center; gap: 22px 26px; }
  .channel img { width: 40px; height: 40px; }
}

/* ===================== SMART FUNCTIONS ===================== */
.functions { padding: 64px 0 80px; }

.functions .section-title { max-width: 720px; margin: 0 auto; }

.functions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 64px;
  max-width: 720px;
  margin: 44px auto 36px;
}

.functions-list { list-style: none; }

.functions-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
}
.functions-list li img { width: 26px; height: 26px; flex-shrink: 0; }

/* ===================== PRICING ===================== */
.pricing { padding: 64px 0 88px; }

.pricing .section-title { margin-bottom: 28px; }

.toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 44px;
  background: #f1f3f6;
  border-radius: 999px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.toggle-option {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.toggle-option.active {
  background: var(--main);
  color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  gap: 32px;
  justify-content: center;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 38px;
}

.price-name { font-size: 18px; font-weight: 700; }

.price-amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 6px 0 22px;
}

.price-billing {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.price-features-title {
  margin: 24px 0 14px;
  font-size: 15px;
  font-weight: 700;
}

.price-features { list-style: none; }
.price-features li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14px;
  color: var(--text);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 14px;
  background: url("assets/check.svg") center / contain no-repeat;
}

/* ===================== CTA ===================== */
.cta-section { padding: 40px 0 0; }

.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 26px 40px -24px rgba(16, 18, 20, 0.18);
  position: relative;
  z-index: 2;
  /* Keep the banner a bit narrower than the section */
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  /* Pull the banner down so its lower half overlaps the blue footer */
  margin-bottom: -90px;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--blue-bg);
  padding: 130px 0 56px;
}

.footer-inner {
  display: flex;
  justify-content: flex-start;
  gap: clamp(48px, 7vw, 110px);
  padding-top: 56px;
  flex-wrap: wrap;
}

.footer-brand { flex: 0 0 auto; max-width: 240px; }
.footer-brand .logo { display: block; margin-bottom: 18px; }

.socials { display: flex; gap: 12px; }
.social {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition: color .15s ease, transform .15s ease;
}
.social:hover { color: var(--main); transform: translateY(-2px); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: clamp(32px, 4vw, 64px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--main); }

/* Collapsible footer column (Vergelijk) */
.footer-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
  user-select: none;
}
.footer-dropdown summary::-webkit-details-marker { display: none; }
.footer-dropdown summary::marker { content: ""; }
.footer-dropdown .chev {
  color: var(--main);
  transition: transform .22s ease;
}
.footer-dropdown[open] .chev { transform: rotate(180deg); }
.footer-dropdown-links { display: flex; flex-direction: column; }

/* Footer without an overlapping banner above it (used on sub-pages) */
.footer-plain { padding-top: 64px; }

/* ===================== LEGAL / CONTENT PAGES ===================== */
.legal { padding: 64px 0 88px; }

.legal-content { max-width: 820px; }

.legal-content h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.legal-updated {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.legal-intro {
  margin-top: 24px;
  font-size: 17px;
  color: var(--muted);
}

.legal-content h2 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 6px;
}

.legal-content p { margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.legal-content ul { margin-top: 14px; padding-left: 22px; }
.legal-content li { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content a { color: var(--main); }
.legal-content a:hover { text-decoration: underline; }

/* ===================== COMPARISON PAGES ===================== */
.compare-content { max-width: 920px; }

.compare-hero { padding: 64px 0 8px; }
.compare-eyebrow {
  color: var(--main);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compare-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-top: 14px;
}
.compare-hero .compare-sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
}
.compare-cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.compare-note { font-size: 14px; color: var(--muted); }

.compare-section { padding: 40px 0; }
.compare-section > h2 {
  font-size: clamp(25px, 3.4vw, 33px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
}

.compare-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.reason {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
}
.reason h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.reason p { font-size: 15px; color: var(--muted); }

.compare-table-wrap { margin-top: 28px; overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.compare-table thead th { font-weight: 700; font-size: 16px; }
.compare-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}
.compare-table .col-ours { background: var(--blue-bg); font-weight: 600; }
.compare-table thead .col-ours { color: var(--main); }
.compare-yes { color: var(--main); font-weight: 700; }
.compare-no { color: #9aa3ad; }
.compare-tablenote { margin-top: 14px; font-size: 13.5px; color: var(--muted); font-style: italic; }

.compare-list { margin-top: 24px; list-style: none; }
.compare-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 15.5px;
  color: var(--text);
}
.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: url("assets/check.svg") center / contain no-repeat;
}

.compare-ctabox {
  background: var(--blue-bg);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  margin: 32px 0;
}
.compare-ctabox h2 {
  font-size: clamp(25px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.compare-ctabox p { color: var(--muted); margin-top: 12px; }
.compare-ctabox .btn { margin-top: 24px; }

.faq-item { border-top: 1px solid var(--border); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--muted); }

@media (max-width: 680px) {
  .compare-reasons { grid-template-columns: 1fr; }
}

/* ===================== DEMO MODAL ===================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 20, 0.6);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 880px;
  background: var(--white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--blue-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-placeholder video,
.video-placeholder iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }

.video-placeholder-inner { text-align: center; color: var(--muted); }
.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--main);
  color: var(--white);
  font-size: 22px;
  margin-bottom: 14px;
  padding-left: 4px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-title { font-size: 40px; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-media { order: 2; }
  .feature-copy { max-width: none; }
  .cta-card { flex-direction: column; text-align: center; padding: 44px 28px; }
  .footer-inner { flex-direction: column; }
  .footer-cols { gap: 32px 40px; }
}

@media (max-width: 640px) {
  .nav-link:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  .hero-title { font-size: 32px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .functions-grid { grid-template-columns: 1fr; gap: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .image-box { padding: 28px; }
  .image-box img { width: 112%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
