/* ============================================================
   Jobit - Talentpool product page
   Builds on tokens.css + site.css + product-multiposter.css +
   product-ats.css. The page body carries .mp-page .ats-page so
   every section (problem, wat-is-het band, hoe-werkt-het, voordelen,
   integraties, ecosysteem, voor-wie, vertrouwen, cta) reuses the
   exact ATS styling for full consistency. This file only adds the
   NEW animated hero visuals (re-match / pool / segmenten).
   ============================================================ */

/* Hero visual column a touch wider for the candidate list cards */
.tp-page { --mp-visual-col: 460px; }

.tp-hero-visual {
  height: auto;
  align-items: center;
}
.tp-hero-lead { margin-bottom: 32px; }

/* ------------------------------------------------------------
   SHARED bits across the three hero visuals
   ------------------------------------------------------------ */
.tp-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.tp-card-head-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--mp-accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(67,100,173,0.28);
}
.tp-card-head-id { flex: 1; min-width: 0; }
.tp-card-head-lbl {
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mp-accent);
}
.tp-card-head-name { font-size: 15.5px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.01em; line-height: 1.15; }
.tp-badge-new {
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--mp-accent-700);
  background: var(--mp-accent-50);
  border: 1px solid var(--mp-accent-100);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  white-space: nowrap;
}
.tp-avatar {
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: white; flex-shrink: 0;
}

/* ------------------------------------------------------------
   VARIANT 1 · RE-MATCH
   new vacancy appears -> pool candidates light up as matches
   ------------------------------------------------------------ */
.tp-scan {
  display: flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700; color: var(--fg-subtle);
  padding: 14px 0 12px;
}
.tp-scan strong { color: var(--fg-strong); }
.tp-scan-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mp-accent);
  box-shadow: 0 0 0 3px rgba(67,100,173,0.18);
  animation: tpScanPulse 1.4s ease-in-out infinite;
}
@keyframes tpScanPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.tp-cands { display: flex; flex-direction: column; gap: 9px; }
.tp-cand {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-spring), background 0.45s var(--ease-out);
}
.tp-cand-av { width: 36px; height: 36px; font-size: 12px; }
.tp-cand-txt { flex: 1; min-width: 0; }
.tp-cand-name { font-size: 13px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.01em; }
.tp-cand-role { font-size: 11px; font-weight: 600; color: var(--fg-subtle); margin-top: 1px; }
.tp-cand-score {
  font-size: 11px; font-weight: 800;
  color: var(--neutral-400);
  background: var(--neutral-50);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 26px;
  transition: color 0.4s var(--ease-out), background 0.4s var(--ease-out), transform 0.4s var(--ease-spring);
}
.tp-cand.is-match {
  border-color: var(--mp-accent);
  box-shadow: 0 6px 16px rgba(67,100,173,0.16);
  transform: translateX(2px);
}
.tp-cand.is-match .tp-cand-score {
  color: var(--success);
  background: var(--success-bg);
  transform: scale(1.04);
}
.tp-cand.is-pass { opacity: 0.5; }
.tp-cand.is-pass .tp-cand-score { color: var(--fg-subtle); }

.tp-rematch-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.tp-foot-count { font-size: 12px; font-weight: 700; color: var(--fg-muted); }
.tp-foot-count strong { color: var(--mp-accent); font-weight: 800; }
.tp-foot-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; color: white;
  background: var(--mp-accent);
  border-radius: var(--r-pill);
  padding: 8px 15px;
  box-shadow: 0 8px 18px rgba(67,100,173,0.3);
}

@media (prefers-reduced-motion: reduce) {
  .tp-scan-dot { animation: none; }
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .tp-hero-visual { justify-self: center; max-width: 460px; width: 100%; }
}
