/* ============================================================
   Jobit - Kandidaat (ATS) product page
   Builds on tokens.css + site.css + product-multiposter.css.
   Loaded only on the ATS page (via a <link> in the hero block),
   so the unscoped .ats-* rules never reach the homepage showcase.
   The page wrapper is .mp-page.ats-page (reuses the mp-* scaffold).
   ============================================================ */

/* ------------------------------------------------------------
   HERO - candidate record card
   ------------------------------------------------------------ */
.ats-hero-visual {
  height: auto;
  align-items: center;
}
.ats-hero-lead { margin-bottom: 32px; }
.ats-hero-lead:has(+ .mp-hero-body) { margin-bottom: 14px; }
.ats-card {
  position: relative;
  width: 100%;
  max-width: 410px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  padding: 22px;
  transform: scale(var(--mp-visual-size, 1));
  transform-origin: center right;
  animation: atsCardIn 0.55s var(--ease-out) both;
}
@keyframes atsCardIn {
  from { opacity: 0; transform: scale(var(--mp-visual-size, 1)) translateY(10px); }
  to   { opacity: 1; transform: scale(var(--mp-visual-size, 1)) translateY(0); }
}
.ats-board-live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(46,157,111,0.18);
  animation: atsPulseDot 2.4s ease-in-out infinite;
}
@keyframes atsPulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.ats-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }

.ats-profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
}
.ats-profile-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}
.ats-profile-tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; color: var(--fg-subtle);
  padding-bottom: 12px; white-space: nowrap;
}
.ats-profile-tab.is-active { color: var(--mp-accent); }
.ats-profile-tab.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--mp-accent); border-radius: 2px;
}
.ats-tab-badge {
  font-size: 9.5px; font-weight: 800;
  background: var(--mp-accent-50); color: var(--mp-accent-700);
  border-radius: var(--r-pill); padding: 1px 6px;
}
.ats-profile-av {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: white;
  flex-shrink: 0;
}
.ats-profile-id { flex: 1; min-width: 0; }
.ats-profile-name { font-size: 16px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.01em; }
.ats-profile-role { font-size: 12.5px; color: var(--fg-subtle); font-weight: 600; }
.ats-profile-rows {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.ats-profile-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ats-profile-row-lbl { font-size: 12px; font-weight: 700; color: var(--fg-subtle); }
.ats-profile-row-val {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--fg-strong);
}
.ats-profile-docs { display: flex; gap: 8px; padding: 16px 0; flex-wrap: wrap; }
.ats-doc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; color: var(--mp-accent-700);
  background: var(--mp-accent-50);
  border-radius: var(--r-pill);
  padding: 6px 12px 6px 10px;
}
.ats-doc-chip svg { color: var(--mp-accent); }
.ats-profile-note {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--mp-tint);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 13px 14px;
}
.ats-profile-note-av {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: white; flex-shrink: 0;
}
.ats-profile-note-txt { font-size: 12.5px; line-height: 1.45; color: var(--fg); font-weight: 600; }
.ats-mention {
  color: var(--mp-accent);
  font-weight: 800;
  background: var(--mp-accent-50);
  border-radius: 5px;
  padding: 0 4px;
}
.ats-mention-pop {
  display: inline-block;
  animation: atsMentionPop 0.42s var(--ease-spring) both;
  animation-delay: 0.45s;
}
@keyframes atsMentionPop {
  0%   { opacity: 0; transform: scale(0.6); }
  60%  { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}
.ats-caret {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--mp-accent);
  margin-left: 1px;
  vertical-align: -2px;
  animation: atsCaret 0.7s step-end infinite;
}
@keyframes atsCaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ats-mention-pop { animation: none; }
  .ats-caret { display: none; }
}
.ats-profile-note-by { font-size: 11px; color: var(--fg-subtle); font-weight: 600; margin-top: 3px; }

/* ------------------------------------------------------------
   WAT IS HET - dark blue band + animated recruitment pipeline
   ------------------------------------------------------------ */
.ats-what { background: var(--jobit-blue); color: white; }
.ats-what .eyebrow { background: rgba(255,255,255,0.14); color: white; }
.ats-what .mp-section-title { color: white; font-size: 49px; }
.ats-what .mp-section-title em { color: var(--mp-accent-100); }
.ats-what .ats-what-lead { color: rgba(255,255,255,0.86); }
.ats-page .mp-how { background: #FFFFFF; }
.ats-page .mp-how .mp-step { background: var(--bg-subtle); }
.ats-what-head { text-align: center; max-width: 820px; margin: 0 auto 16px; }
.ats-what-lead {
  font-size: 21px;
  line-height: 1.45;
  color: var(--fg);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
  font-weight: 500;
}
.ats-what-lead em { font-style: normal; color: var(--mp-accent); font-weight: 700; }
.ats-flow {
  margin-top: 48px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mp-tint) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 60px);
  box-shadow: var(--shadow-sm);
}
.ats-flow-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.ats-flow-line {
  position: absolute;
  top: 29px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  z-index: 0;
}
.ats-flow-line-fill {
  width: var(--flow-pct, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--mp-accent), var(--jobit-blue));
  border-radius: 3px;
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
}
.ats-flow-step {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.ats-flow-node {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  color: var(--neutral-400);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out);
}
.ats-flow-step.is-on .ats-flow-node {
  background: var(--mp-accent);
  border-color: var(--mp-accent);
  color: white;
}
.ats-flow-step.is-current .ats-flow-node {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(67,100,173,0.16), 0 10px 22px rgba(67,100,173,0.28);
}
.ats-flow-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg-subtle);
  transition: color 0.4s var(--ease-out);
  text-wrap: balance;
}
.ats-flow-step.is-on .ats-flow-label { color: var(--fg-strong); }
.ats-onehub-quote {
  margin: 44px auto 0;
  max-width: 740px;
  text-align: center;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.38;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  text-wrap: balance;
}
.ats-onehub-quote em { font-style: normal; color: var(--mp-accent); }

/* ------------------------------------------------------------
   VOORDELEN - light-blue band with benefit cards
   ------------------------------------------------------------ */
.ats-ben-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ats-ben-card {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.ats-ben-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mp-accent-200);
  transform: translateY(-3px);
}
.ats-ben-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--mp-accent-50);
  color: var(--mp-accent);
  display: flex; align-items: center; justify-content: center;
}
.ats-ben-title { font-size: 17px; font-weight: 700; color: var(--fg-strong); margin: 0; letter-spacing: -0.01em; }
.ats-ben-desc { font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); margin: 0; }

.ats-page .mp-why { background: var(--jobit-blue-50); color: var(--fg); }
.ats-page .mp-why .eyebrow { background: rgba(255, 255, 255, 0.6); color: var(--mp-accent-700); }
.ats-page .mp-why .mp-section-title { color: var(--fg-strong); }
.ats-page .mp-why .mp-section-title em { color: var(--mp-accent); }
.ats-page .mp-integraties[data-divider-from]::after { background: var(--jobit-blue-50); }

/* Voor wie als donkerblauwe band (ATS) */
.ats-page .mp-who { background: var(--jobit-blue-700); color: white; }
.ats-page .mp-who .mp-section-title { color: white; }
.ats-page .mp-who .mp-section-title em { color: var(--mp-accent-100); }
.ats-page .mp-who .mp-section-sub { color: rgba(255,255,255,0.78); }
.ats-page .mp-who .mp-who-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.ats-page .mp-who .mp-who-card:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.26); box-shadow: none; }
.ats-page .mp-who .mp-who-title { color: white; }
.ats-page .mp-who .mp-who-desc { color: rgba(255,255,255,0.74); }
.ats-page .ats-trust[data-divider-from]::after { background: var(--jobit-blue-700); }

/* ------------------------------------------------------------
   ECOSYSTEEM - copy + managed items
   ------------------------------------------------------------ */
.ats-eco { background: var(--bg-subtle); }
.ats-eco-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.ats-eco-copy { max-width: 600px; }
.ats-eco-note {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 520px;
}
.ats-eco-manage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ats-eco-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.ats-eco-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--mp-accent-200);
}
.ats-eco-item-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--mp-accent-50);
  color: var(--mp-accent);
  display: flex; align-items: center; justify-content: center;
}
.ats-eco-item-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
}
.ats-list-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 16px;
}

/* ------------------------------------------------------------
   VERTROUWEN - two-card row (reuses .mp-platform-inner / .mp-pl-card)
   ------------------------------------------------------------ */
.ats-trust { background: white; }
.ats-trust .mp-section-title em { color: var(--mp-accent); }

/* ------------------------------------------------------------
   CTA - custom band (ATS copy)
   ------------------------------------------------------------ */
.ats-cta .cta-band-inner { position: relative; z-index: 2; }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .ats-eco-inner { grid-template-columns: 1fr; }
  .ats-ben-grid { grid-template-columns: repeat(2, 1fr); }
  .ats-hero-visual { justify-self: center; max-width: 480px; width: 100%; }
}
@media (max-width: 640px) {
  .ats-ben-grid { grid-template-columns: 1fr; }
  .ats-eco-manage { grid-template-columns: 1fr; }
  .ats-flow-track { flex-direction: column; align-items: stretch; gap: 0; }
  .ats-flow-step { flex-direction: row; align-items: center; gap: 16px; text-align: left; padding-bottom: 22px; }
  .ats-flow-step:last-child { padding-bottom: 0; }
  .ats-flow-node { width: 50px; height: 50px; flex-shrink: 0; }
  .ats-flow-label { font-size: 14px; }
  .ats-flow-line { top: 25px; bottom: 25px; left: 25px; right: auto; width: 3px; height: auto; }
  .ats-flow-line-fill { width: 100%; height: var(--flow-pct, 0%); }
}
