/* ForestTree Veiligheidsscan — alles gescoped onder .ftvs zodat het thema
   verder ongemoeid blijft. Palet gelijk aan foresttree.nl. */

.ftvs {
  /* Standaard licht, want de binnenpagina's van foresttree.nl zijn licht.
     Zet de klasse ftvs-dark op de wrapper zodra de site donker wordt. */
  --ftvs-bg: #ffffff;
  --ftvs-bg3: rgba(15,23,42,0.035);
  --ftvs-card: #fbfbfe;
  --ftvs-card-h: #f4f4fa;
  --ftvs-brd: rgba(15,23,42,0.11);
  --ftvs-brd-s: rgba(15,23,42,0.20);
  --ftvs-tx: #14142a;
  --ftvs-txm: #5b6478;
  --ftvs-txl: #8a93a6;
  --ftvs-pr: #7c3aed;
  --ftvs-pr2: #6d28d9;
  --ftvs-cy: #0891b2;
  --ftvs-or: #b45309;
  --ftvs-gr: #047857;
  --ftvs-rd: #dc2626;
  --ftvs-shadow: 0 18px 44px rgba(15,23,42,.09);

  color: var(--ftvs-tx);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

.ftvs.ftvs-dark {
  --ftvs-bg: #0a0a0f;
  --ftvs-bg3: rgba(255,255,255,0.03);
  --ftvs-card: rgba(255,255,255,0.02);
  --ftvs-card-h: rgba(255,255,255,0.05);
  --ftvs-brd: rgba(255,255,255,0.09);
  --ftvs-brd-s: rgba(255,255,255,0.16);
  --ftvs-tx: #e2e8f0;
  --ftvs-txm: #94a3b8;
  --ftvs-txl: rgba(148,163,184,0.45);
  --ftvs-pr: #8b5cf6;
  --ftvs-pr2: #7c3aed;
  --ftvs-cy: #00d4ff;
  --ftvs-or: #f59e0b;
  --ftvs-gr: #10b981;
  --ftvs-rd: #ef4444;
  --ftvs-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.ftvs *, .ftvs *::before, .ftvs *::after { box-sizing: border-box; }
.ftvs h2, .ftvs h3, .ftvs h4 { color: var(--ftvs-tx); letter-spacing: -.02em; }
.ftvs p { color: var(--ftvs-txm); }
.ftvs a { color: inherit; }
.ftvs svg { display: block; }

.ftvs-sec { margin: 64px 0; }
.ftvs-sec > h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; margin: 0 0 12px; }
.ftvs-h-klein { font-size: 1.3rem !important; }
.ftvs-sub { margin: 0 0 30px; max-width: 640px; }

/* ------------------------------------------------------------------ knop */

.ftvs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.ftvs-btn svg { width: 17px; height: 17px; }
.ftvs-btn-p {
  background: linear-gradient(135deg, var(--ftvs-pr) 0%, var(--ftvs-pr2) 55%, #6d28d9 100%);
  color: #fff; box-shadow: 0 8px 26px rgba(124,58,237,.32);
}
.ftvs-btn-p:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(124,58,237,.42); color: #fff; }
.ftvs-btn-g { background: var(--ftvs-bg3); border-color: var(--ftvs-brd-s); color: var(--ftvs-tx); }
.ftvs-btn-g:hover { background: var(--ftvs-card-h); color: var(--ftvs-tx); }
.ftvs-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------------ hero */

.ftvs-hero { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 52px; align-items: center; margin-bottom: 8px; }
.ftvs-hero > * { min-width: 0; }
@media (max-width: 1020px) { .ftvs-hero { grid-template-columns: 1fr; gap: 34px; } .ftvs-viz { display: none; } }

.ftvs-lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); max-width: 620px; margin: 0 0 32px; }

.ftvs-form {
  display: flex; gap: 10px; align-items: stretch;
  background: var(--ftvs-card); border: 1px solid var(--ftvs-brd);
  padding: 10px; border-radius: 18px; max-width: 600px; box-shadow: var(--ftvs-shadow);
}
.ftvs-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; box-shadow: none;
  color: var(--ftvs-tx); font: inherit; font-size: 16px; padding: 12px 14px;
}
.ftvs-form input::placeholder { color: var(--ftvs-txl); }
.ftvs-form:focus-within { border-color: rgba(139,92,246,.5); box-shadow: 0 0 0 4px rgba(139,92,246,.10), var(--ftvs-shadow); }
@media (max-width: 560px) {
  .ftvs-form { flex-wrap: wrap; }
  .ftvs-form input, .ftvs-form .ftvs-btn { flex: 1 1 100%; }
}
.ftvs-note { font-size: 13.5px; color: var(--ftvs-txl); margin-top: 14px; }
.ftvs-err { color: #b91c1c; font-size: 14px; margin-top: 12px; min-height: 20px; }
.ftvs-dark .ftvs-err { color: #fca5a5; }

/* -------------------------------------------------------- voorbeeldkaart */

.ftvs-viz { position: relative; }
.ftvs-viz::before {
  content: ''; position: absolute; inset: -16% -12%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(139,92,246,.20), transparent 72%);
  filter: blur(28px); pointer-events: none;
}
.ftvs-viz-card {
  position: relative; border: 1px solid var(--ftvs-brd); border-radius: 20px;
  padding: 24px; box-shadow: var(--ftvs-shadow); overflow: hidden;
  animation: ftvsFloat 7s ease-in-out infinite;
}
.ftvs-viz-card { background: linear-gradient(160deg, #fff, #f7f7fc); }
.ftvs-dark .ftvs-viz-card { background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); }
@keyframes ftvsFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.ftvs-viz-card::after {
  content: ''; position: absolute; left: 0; right: 0; height: 120px; top: -120px;
  background: linear-gradient(180deg, transparent, rgba(0,212,255,.14), transparent);
  animation: ftvsBeam 4.5s linear infinite;
}
@keyframes ftvsBeam { to { transform: translateY(calc(100% + 480px)); } }

.ftvs-viz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ftvs-viz-ring { position: relative; width: 76px; height: 76px; flex: 0 0 76px; }
.ftvs-viz-ring svg { width: 76px; height: 76px; transform: rotate(-90deg); }
.ftvs-viz-ring .t { fill: none; stroke: var(--ftvs-bg3); stroke-width: 7; }
.ftvs-viz-ring .v {
  fill: none; stroke: url(#ftvsGrad); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 201; stroke-dashoffset: 201; animation: ftvsFill 4.5s cubic-bezier(.3,.9,.3,1) infinite;
}
@keyframes ftvsFill { 0% { stroke-dashoffset: 201; } 55%,100% { stroke-dashoffset: 56; } }
.ftvs-viz-ring b {
  position: absolute; inset: 0; display: grid; place-content: center;
  font-size: 22px; font-weight: 800; color: var(--ftvs-or);
}
.ftvs-viz-h { font-size: 15px; font-weight: 700; }
.ftvs-viz-h span { display: block; font-size: 12.5px; font-weight: 500; color: var(--ftvs-txm); }
.ftvs-viz-rows { display: grid; gap: 9px; }
.ftvs-viz-row {
  display: grid; grid-template-columns: 16px 1fr auto; gap: 11px; align-items: center;
  font-size: 13.4px; color: var(--ftvs-txm); opacity: 0; animation: ftvsRow 4.5s ease-out infinite;
}
.ftvs-viz-row i { width: 16px; height: 16px; border-radius: 50%; background: rgba(148,163,184,.18); }
.ftvs-viz-row.ok i   { background: rgba(16,185,129,.22); box-shadow: inset 0 0 0 1.5px var(--ftvs-gr); }
.ftvs-viz-row.warn i { background: rgba(245,158,11,.22); box-shadow: inset 0 0 0 1.5px var(--ftvs-or); }
.ftvs-viz-row.bad i  { background: rgba(239,68,68,.22);  box-shadow: inset 0 0 0 1.5px var(--ftvs-rd); }
.ftvs-viz-row em { font-style: normal; font-size: 11.5px; letter-spacing: .05em; }
.ftvs-viz-row.ok em { color: var(--ftvs-gr); }
.ftvs-viz-row.warn em { color: var(--ftvs-or); }
.ftvs-viz-row.bad em { color: var(--ftvs-rd); }
@keyframes ftvsRow { 0%,8% { opacity: 0; transform: translateY(5px); } 22%,100% { opacity: 1; transform: none; } }
.ftvs-viz-row:nth-child(1) { animation-delay: .1s; }
.ftvs-viz-row:nth-child(2) { animation-delay: .5s; }
.ftvs-viz-row:nth-child(3) { animation-delay: .9s; }
.ftvs-viz-row:nth-child(4) { animation-delay: 1.3s; }
.ftvs-viz-row:nth-child(5) { animation-delay: 1.7s; }
.ftvs-viz-row:nth-child(6) { animation-delay: 2.1s; }

/* ------------------------------------------------------------ voortgang */

.ftvs-scanning { display: none; margin: 34px 0 0; }
.ftvs-scanning.on { display: block; }
.ftvs-panel {
  border: 1px solid var(--ftvs-brd); border-radius: 22px; background: var(--ftvs-card);
  padding: 32px; max-width: 600px; position: relative; overflow: hidden; box-shadow: var(--ftvs-shadow);
}
.ftvs-panel::after {
  content: ''; position: absolute; left: 0; right: 0; height: 140px; top: -140px;
  background: linear-gradient(180deg, transparent, rgba(139,92,246,.13), transparent);
  animation: ftvsBeam 2.6s linear infinite;
}
.ftvs-scanhost { font-size: 13px; color: var(--ftvs-txm); margin-bottom: 20px;
  font-family: 'Fira Code', ui-monospace, monospace; }
.ftvs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ftvs-steps li { display: flex; align-items: center; gap: 13px; font-size: 15px; color: var(--ftvs-txl); transition: color .3s; }
.ftvs-steps li.act { color: var(--ftvs-tx); }
.ftvs-steps li.done { color: var(--ftvs-txm); }
.ftvs-dot {
  width: 20px; height: 20px; border-radius: 50%; flex: 0 0 20px;
  border: 1.5px solid var(--ftvs-brd-s); display: grid; place-items: center; transition: .3s;
}
.ftvs-steps li.act .ftvs-dot { border-color: var(--ftvs-pr); }
.ftvs-steps li.act .ftvs-dot::after {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ftvs-pr);
  animation: ftvsPulse 1s ease-in-out infinite;
}
@keyframes ftvsPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.6); } }
.ftvs-steps li.done .ftvs-dot { border-color: var(--ftvs-gr); background: rgba(16,185,129,.14); }
.ftvs-steps li.done .ftvs-dot::after {
  content: ''; width: 5px; height: 9px; border: solid var(--ftvs-gr);
  border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) translate(-1px,-1px);
}
.ftvs-bar { height: 3px; background: var(--ftvs-bg3); border-radius: 3px; margin-top: 26px; overflow: hidden; }
.ftvs-bar i { display: block; height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--ftvs-pr), var(--ftvs-cy)); transition: width .5s ease; }

/* ---------------------------------------------------------------- kaarten */

.ftvs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 18px; }
.ftvs-card {
  background: var(--ftvs-card); border: 1px solid var(--ftvs-brd); border-radius: 16px;
  padding: 26px; transition: .25s;
}
.ftvs-card:hover { background: var(--ftvs-card-h); border-color: var(--ftvs-brd-s); }
.ftvs-card h3 { margin: 0 0 9px; font-size: 1.05rem; font-weight: 700; }
.ftvs-card p { margin: 0; font-size: 14.6px; }
.ftvs-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(0,212,255,.10));
  border: 1px solid rgba(139,92,246,.22); margin-bottom: 17px; color: var(--ftvs-pr);
}
.ftvs-ico svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- rapport */

.ftvs-rep-head { margin-bottom: 30px; }
.ftvs-rep-top { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
@media (max-width: 720px) { .ftvs-rep-top { grid-template-columns: 1fr; gap: 24px; } }

.ftvs-ring { position: relative; width: 168px; height: 168px; }
.ftvs-ring svg { transform: rotate(-90deg); width: 168px; height: 168px; }
.ftvs-ring .track { fill: none; stroke: var(--ftvs-bg3); stroke-width: 11; }
.ftvs-ring .val {
  fill: none; stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: var(--dash); stroke-dashoffset: var(--off);
  transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1);
}
.ftvs-ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ftvs-ring .letter { font-size: 44px; font-weight: 800; line-height: 1; }
.ftvs-ring .num { font-size: 13px; color: var(--ftvs-txm); margin-top: 6px; }

.ftvs .tone-good { color: var(--ftvs-gr); } .ftvs .stroke-good { stroke: var(--ftvs-gr); }
.ftvs .tone-mid  { color: var(--ftvs-or); } .ftvs .stroke-mid  { stroke: var(--ftvs-or); }
.ftvs .tone-bad  { color: var(--ftvs-rd); } .ftvs .stroke-bad  { stroke: var(--ftvs-rd); }

.ftvs-rep-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; margin: 0 0 10px; line-height: 1.12; }
.ftvs-rep-sub { margin: 0 0 20px; }
.ftvs-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.ftvs-pill {
  font-size: 13px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--ftvs-brd); background: var(--ftvs-bg3); color: var(--ftvs-txm);
}
.ftvs-pill b { color: var(--ftvs-tx); font-weight: 700; }
.ftvs-pill.bad  { border-color: rgba(220,38,38,.30);  background: rgba(220,38,38,.07);  color: #b91c1c; }
.ftvs-pill.mid  { border-color: rgba(180,83,9,.30);   background: rgba(245,158,11,.10); color: #b45309; }
.ftvs-pill.good { border-color: rgba(4,120,87,.28);   background: rgba(16,185,129,.09); color: #047857; }
.ftvs-dark .ftvs-pill.bad  { color: #fca5a5; }
.ftvs-dark .ftvs-pill.mid  { color: #fcd34d; }
.ftvs-dark .ftvs-pill.good { color: #6ee7b7; }

.ftvs-cats { display: grid; gap: 12px; }
.ftvs-cat {
  display: grid; grid-template-columns: 1fr 130px 46px; gap: 18px; align-items: center;
  border: 1px solid var(--ftvs-brd); border-radius: 13px; padding: 15px 18px; background: var(--ftvs-card);
}
@media (max-width: 620px) { .ftvs-cat { grid-template-columns: 1fr 46px; } .ftvs-catbar { display: none; } }
.ftvs-catname { font-weight: 600; font-size: 15px; }
.ftvs-catname small { display: block; color: var(--ftvs-txm); font-weight: 400; font-size: 13px; }
.ftvs-catbar { height: 6px; border-radius: 6px; background: var(--ftvs-bg3); overflow: hidden; }
.ftvs-catbar i { display: block; height: 100%; border-radius: 6px; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.ftvs .fill-good { background: linear-gradient(90deg,#10b981,#34d399); }
.ftvs .fill-mid  { background: linear-gradient(90deg,#f59e0b,#fbbf24); }
.ftvs .fill-bad  { background: linear-gradient(90deg,#ef4444,#f87171); }
.ftvs-catgrade { font-size: 19px; font-weight: 800; text-align: right; }

.ftvs-group { margin-top: 40px; }
.ftvs-group-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ftvs-brd);
}
.ftvs-group-h h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.ftvs-group-h span { font-size: 13px; color: var(--ftvs-txm); }
.ftvs-groepnoot { margin: -4px 0 14px; font-size: 13.4px; color: var(--ftvs-txl); max-width: 640px; }

.ftvs-find { border: 1px solid var(--ftvs-brd); border-radius: 13px; background: var(--ftvs-card); margin-bottom: 10px; overflow: hidden; }
.ftvs-find-h { display: grid; grid-template-columns: 22px 1fr auto; gap: 15px; align-items: center; padding: 16px 18px; cursor: pointer; }
.ftvs-find-h:hover { background: var(--ftvs-card-h); }
.ftvs-mark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.ftvs-mark svg { width: 12px; height: 12px; }
.ftvs .m-pass { background: rgba(16,185,129,.14); color: var(--ftvs-gr); }
.ftvs .m-warn { background: rgba(245,158,11,.14); color: var(--ftvs-or); }
.ftvs .m-fail { background: rgba(239,68,68,.14);  color: var(--ftvs-rd); }
.ftvs .m-info { background: var(--ftvs-bg3); color: var(--ftvs-txm); }
.ftvs-find-t { font-weight: 600; font-size: 15px; }
.ftvs-find-t em { display: block; font-style: normal; font-size: 13px; color: var(--ftvs-txm); font-weight: 400; margin-top: 2px; word-break: break-word; }
.ftvs-find-r { display: flex; align-items: center; gap: 10px; }
.ftvs-badge { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--ftvs-brd); color: var(--ftvs-txm); white-space: nowrap; }
.ftvs-chev { transition: transform .2s; color: var(--ftvs-txl); width: 16px; height: 16px; }
.ftvs-find.open .ftvs-chev { transform: rotate(180deg); }
.ftvs-find-body { display: none; padding: 2px 18px 20px 55px; }
.ftvs-find.open .ftvs-find-body { display: block; }
.ftvs-find-body p { margin: 0 0 12px; font-size: 14.6px; }
.ftvs-fix { border: 1px solid var(--ftvs-brd); border-radius: 11px; padding: 13px 15px; background: var(--ftvs-bg3); font-size: 14.4px; }
.ftvs-fix strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ftvs-txm); margin-bottom: 5px; }

.ftvs-prio { display: grid; gap: 12px; counter-reset: ftvsp; }
.ftvs-prio-item { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start;
  border: 1px solid var(--ftvs-brd); border-radius: 13px; padding: 17px 19px; background: var(--ftvs-card); }
.ftvs-prio-num {
  counter-increment: ftvsp; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(0,212,255,.1));
  border: 1px solid rgba(139,92,246,.25); font-weight: 800; font-size: 15px; color: var(--ftvs-pr);
}
.ftvs-prio-num::before { content: counter(ftvsp); }
.ftvs-prio-item h4 { margin: 0 0 5px; font-size: 15.5px; font-weight: 700; }
.ftvs-prio-item p { margin: 0; font-size: 14.4px; }

.ftvs-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1px;
  background: var(--ftvs-brd); border: 1px solid var(--ftvs-brd); border-radius: 13px; overflow: hidden; }
.ftvs-meta > div { background: var(--ftvs-bg); padding: 15px 17px; }
.ftvs-meta dt { font-size: 12px; color: var(--ftvs-txm); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.ftvs-meta dd { margin: 0; font-size: 14.5px; font-weight: 600; word-break: break-word; }
.ftvs-mono { font-family: 'Fira Code', ui-monospace, monospace; font-size: 13px !important; }

.ftvs-acties { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.ftvs-cta {
  border: 1px solid rgba(139,92,246,.24); border-radius: 22px; padding: 38px;
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(139,92,246,.14), transparent 62%),
    radial-gradient(100% 130% at 100% 100%, rgba(0,212,255,.08), transparent 60%),
    var(--ftvs-card);
}
.ftvs-cta h3 { margin: 0 0 12px; font-size: 1.5rem; font-weight: 800; }
.ftvs-cta p { margin: 0 0 24px; max-width: 560px; }
.ftvs-lead { display: grid; gap: 10px; max-width: 520px; margin-bottom: 18px; }
.ftvs-lead input {
  background: var(--ftvs-bg3); border: 1px solid var(--ftvs-brd-s); border-radius: 11px;
  padding: 13px 15px; color: var(--ftvs-tx); font: inherit; outline: 0;
}
.ftvs-lead input::placeholder { color: var(--ftvs-txl); }
.ftvs-lead-act { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ftvs-lead-act span { font-size: 14px; color: var(--ftvs-txm); }
.ftvs-bedankt { border: 1px solid var(--ftvs-brd); border-radius: 12px; padding: 16px 18px; background: var(--ftvs-bg3); }

.ftvs-disc { font-size: 13px; color: var(--ftvs-txl); line-height: 1.6; margin-top: 30px; }
.ftvs-leeg { padding: 40px 0; }
.ftvs-leeg h2 { font-size: 1.7rem; font-weight: 800; margin: 0 0 10px; }
.ftvs-leeg p { margin: 0 0 22px; }

@media print {
  .ftvs-cta, .ftvs-acties { display: none; }
  .ftvs-find-body { display: block !important; }
}
