/*
Theme Name: CRM Pakketten Theme
Author: Sam Portfolio
Version: 1.0.0
*/

:root {
  --navy: #102a43;
  --indigo: #4f46e5;
  --green: #16a34a;
  --amber: #f59e0b;
  --bg: #f8fafc;
  --text: #111827;
  --muted: #52606d;
  --line: #d9e2ec;
  --white: #ffffff;
  --blue-soft: #e0f2fe;
  --shadow: 0 18px 45px rgba(15, 23, 42, .12);
  font-family: Poppins, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: none; color: #3730a3; }
img { max-width: 100%; height: auto; display: block; }
.site-shell { min-height: 100vh; }
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 0 18px;
}
.nav-shell {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(217,226,236,.9);
  box-shadow: 0 12px 35px rgba(15, 23, 42, .08);
  border-radius: 14px;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
  white-space: nowrap;
  padding: 10px 14px 10px 8px;
  border-radius: 10px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--indigo));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 650;
  padding: 10px 13px;
  border-radius: 8px;
}
.nav-links a:hover { background: #eef2ff; text-decoration: none; color: var(--navy); }
.nav-links .nav-cta { background: var(--green); color: #fff; }
.nav-toggle { display: none; border: 0; background: var(--navy); color: #fff; border-radius: 8px; width: 42px; height: 42px; font-weight: 800; }
.main { margin-top: -74px; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(79,70,229,.45), transparent 32%),
    linear-gradient(135deg, #0b1f33 0%, #102a43 54%, #182f5f 100%);
  color: #fff;
  padding: 132px 0 54px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr); gap: 34px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #dbeafe; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 11px; font-size: 13px; font-weight: 650; }
h1, h2, h3 { color: inherit; line-height: 1.12; margin: 0 0 14px; letter-spacing: 0; }
h1 { font-size: clamp(38px, 5vw, 68px); max-width: 850px; }
h2 { font-size: clamp(28px, 3vw, 44px); color: var(--navy); }
h3 { font-size: 21px; color: var(--navy); }
.hero p { color: #d9e8f7; font-size: 18px; max-width: 680px; margin: 0 0 22px; }
.hero-actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn, button.btn, input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 13px 18px;
  margin: 6px 8px 6px 0;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; border-color: #bfdbfe; color: #fff; }
.btn:hover { text-decoration: none; filter: brightness(.98); transform: translateY(-1px); }
.tool-panel, .panel {
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(217,226,236,.95);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.hero .tool-panel p, .tool-panel p { color: var(--muted); font-size: 15px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-size: 13px; font-weight: 700; color: var(--navy); }
select, input, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.section { padding: 64px 0; }
.section.light { background: #fff; }
.section.blue { background: #eef6ff; }
.section-head { max-width: 780px; margin-bottom: 28px; }
.section-head p, .content p { color: var(--muted); }
.route-grid, .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.card:hover {
  border-color: rgba(79,70,229,.45);
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  transform: translateY(-2px);
}
.hero-visual {
  display: grid;
  gap: 14px;
}
.image-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, .1);
  box-shadow: 0 24px 70px rgba(15,23,42,.16);
  background: #fff;
}
.image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.image-frame-dark {
  border-color: rgba(219,234,254,.22);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}
.image-frame-wide img { aspect-ratio: auto; }
.dashboard-card {
  background: linear-gradient(145deg, rgba(15,23,42,.98), rgba(16,42,67,.95));
  border: 1px solid rgba(219,234,254,.18);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.dashboard-card h3 { color: #fff; margin-bottom: 10px; }
.pipeline-board { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.pipeline-col { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 10px; min-height: 134px; }
.pipeline-col strong { color: #fff; font-size: 13px; }
.pipeline-col span { display:block; height: 9px; border-radius: 999px; background: linear-gradient(90deg,var(--indigo),var(--green)); margin: 12px 0; }
.pipeline-col small { color: #bfdbfe; display:block; margin-top: 8px; }
.integration-map {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 8px;
}
.integration-map b {
  color: #dbeafe;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 9px 7px;
  text-align:center;
  font-size: 12px;
}
.visual-band {
  background: linear-gradient(135deg, #102a43 0%, #172554 100%);
  color: #fff;
  padding: 64px 0;
}
.visual-band h2 { color: #fff; }
.visual-band p { color: #dbeafe; }
.infographic-grid { display:grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-top: 24px; }
.info-step {
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  padding: 18px;
  min-height: 190px;
  border: 1px solid rgba(219,234,254,.3);
  position: relative;
}
.info-step .num {
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--indigo); color: #fff; display:grid; place-items:center;
  font-weight:800; margin-bottom: 12px;
}
.info-step h3 { font-size: 18px; }
.info-step p { color: var(--muted); font-size: 14px; }
.icon-row { display:grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-top: 20px; }
.icon-row-large { grid-template-columns: repeat(4,1fr); gap: 14px; }
.icon-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  min-height: 150px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.icon-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(79,70,229,.36);
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}
.icon-symbol {
  width: 42px; height: 42px; border-radius: 12px;
  display:grid; place-items:center;
  color:#fff; background: linear-gradient(135deg,var(--indigo),var(--green));
  font-weight:900; margin-bottom: 10px;
}
.icon-tile h3 { font-size: 18px; }
.icon-tile p { margin: 0; color: var(--muted); font-size: 14px; }
.cost-visual {
  display:grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch;
}
.landing-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 26px;
  align-items: center;
}
.landing-split-tight { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); }
.decision-stack { display: grid; gap: 12px; }
.decision-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 12px;
  align-items: start;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 14px;
}
.decision-card span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--indigo);
  font-weight: 900;
}
.decision-card strong { color: #fff; }
.decision-card p { margin: 0; color: #dbeafe; font-size: 14px; }
.cost-stack { display:grid; gap: 10px; }
.cost-stack div { background:#fff; border:1px solid var(--line); border-left:5px solid var(--amber); border-radius:10px; padding:14px; display:flex; justify-content:space-between; gap:12px; }
.cost-total { background:#0f172a; color:#fff; border-radius:14px; padding:24px; display:grid; place-items:center; text-align:center; }
.cost-total strong { font-size: clamp(34px,5vw,58px); color:#22c55e; }
.page-hero {
  background: linear-gradient(135deg, #0b1f33, #102a43 55%, #312e81);
  color: #fff;
  padding: 128px 0 44px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 28px;
  align-items: center;
}
.page-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(219,234,254,.2);
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
}
.page-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.page-hero h1 { color:#fff; }
.page-hero p { max-width:760px; color:#dbeafe; font-size:18px; }
.page-kpis { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.page-kpis span { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:8px 11px; color:#fff; font-size:13px; font-weight:700; }
.page-tool-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.page-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.page-tool-grid a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  align-items: center;
  color: var(--navy);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.page-tool-grid a:hover {
  text-decoration: none;
  border-color: rgba(79,70,229,.4);
  background: #eef2ff;
}
.page-tool-grid span {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,var(--navy),var(--indigo));
  color: #fff;
  font-weight: 900;
}
.page-tool-grid strong { line-height: 1.1; }
.page-tool-grid small { color: var(--muted); }
.article { padding-top: 54px; }
.article a { font-weight: 700; }
.article a:hover { color:#312e81; background:#eef2ff; border-radius:4px; text-decoration: none; }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.metric { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 14px; color: #fff; }
.metric strong { display: block; font-size: 24px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 760px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
th { background: #f1f5f9; color: var(--navy); font-size: 13px; }
.score { display: inline-flex; min-width: 42px; justify-content: center; border-radius: 999px; padding: 4px 8px; background: #dcfce7; color: #166534; font-weight: 800; }
.warning { background: #fffbeb; border-left: 4px solid var(--amber); padding: 14px 16px; border-radius: 8px; }
.result-box { margin-top: 16px; background: #0f172a; color: #fff; border-radius: 10px; padding: 18px; }
.result-box h3, .result-box p, .result-box li { color: #fff; }
.article { width: min(880px, calc(100% - 36px)); margin: 0 auto; padding: 70px 0 70px; }
.article, .article * { overflow-wrap: anywhere; }
.article table { min-width: 0; table-layout: fixed; }
.article th, .article td { overflow-wrap: anywhere; }
.article h1 { color: var(--navy); font-size: clamp(34px, 4vw, 56px); }
.article h2 { margin-top: 34px; }
.article p, .article li { color: #334155; font-size: 17px; }
.site-footer { background: #0b1f33; color: #d9e8f7; padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 24px; }
.site-footer h3 { color: #fff; }
.site-footer a { color: #dbeafe; display: block; margin: 7px 0; }
.small { font-size: 13px; color: #64748b; }

@media (max-width: 860px) {
  .site-header { top: 8px; margin-top: 8px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { width: 100%; }
  .main { margin-top: -78px; }
  .hero { padding-top: 128px; }
  .hero-grid, .route-grid, .card-grid, .footer-grid, .cost-visual, .landing-split, .page-hero-grid, .page-tool-grid { grid-template-columns: 1fr; }
  .infographic-grid { grid-template-columns: 1fr; }
  .icon-row { grid-template-columns: repeat(2,1fr); }
  .pipeline-board { grid-template-columns: repeat(2,1fr); }
  .integration-map { grid-template-columns: repeat(2,1fr); }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav-shell { min-height: 60px; padding: 10px 12px; }
  .brand { font-size: 14px; padding: 8px 10px 8px 6px; gap: 10px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { padding-top: 118px; }
  .section { padding: 46px 0; }
  .tool-panel, .panel, .card { padding: 18px; }
  .metric-row { grid-template-columns: 1fr; }
  table { min-width: 680px; }
  .icon-row { grid-template-columns: 1fr; }
}
