/* ==========================================================================
   INSYNTIVE ATS — tambahan kecil untuk ats.insyntive.com (src/ats-page.js). Beranda memakai gaya landing Academy (home.css,
   <body class="... home">); file ini hanya menambah pratinjau CV di hero, kartu fitur, dan halaman /akun/.
   ========================================================================== */

.ats-pg main [id] { scroll-margin-top: calc(var(--header-h, 68px) + 12px); }

/* ── Hero: lembar CV + kartu Cek ATS ──────────────────────────────────── */
.home .ats-hxstage { min-height: 0; place-items: center; padding-inline: var(--gutter, 20px); padding-bottom: clamp(32px, 5vw, 64px); }
.ats-stage { position: relative; z-index: 1; width: min(100%, 760px); margin-inline: auto; padding: clamp(12px, 3vw, 28px) clamp(0px, 10vw, 140px) 24px 0; }
.ats-sheet {
  position: relative; z-index: 1; width: min(100%, 470px); padding: clamp(18px, 3.4vw, 36px) clamp(18px, 3.4vw, 36px) clamp(26px, 4vw, 44px); border-radius: 14px;
  background: #fff; border: 1px solid var(--k-line, #E6EBF1); box-shadow: 0 2px 4px rgba(11, 18, 32, .04), 0 40px 80px -30px rgba(11, 18, 32, .35);
  font-family: Georgia, 'Times New Roman', serif; color: #111;
}
.ats-sheet__name { text-align: center; font-size: clamp(1.05rem, .9rem + .8vw, 1.5rem); font-weight: 700; letter-spacing: .01em; }
.ats-sheet__meta { margin-top: 4px; text-align: center; font-size: clamp(.55rem, .5rem + .25vw, .75rem); color: #444; }
.ats-sheet__h { margin-top: clamp(12px, 2vw, 20px); padding-bottom: 3px; border-bottom: 1px solid #222; font-size: clamp(.55rem, .5rem + .3vw, .78rem); font-weight: 700; letter-spacing: .12em; }
.ats-sheet__lines { display: grid; gap: clamp(4px, .7vw, 7px); margin-top: 8px; }
.ats-sheet__lines i { display: block; width: var(--w); height: clamp(4px, .6vw, 6px); border-radius: 3px; background: #D9DEE5; }
.ats-sheet__lines i.b { background: #9AA5B4; }
.ats-score {
  position: absolute; z-index: 2; right: 0; top: 18%; width: min(52%, 260px); padding: 16px 18px; border-radius: 18px;
  background: var(--k-ink, #0B1220); color: #fff; box-shadow: 0 30px 60px -24px rgba(11, 18, 32, .6);
}
.ats-score__k { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime, #D6FD91); }
.ats-score__n { margin-top: 2px; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ats-score__n span { font-size: 1rem; font-weight: 700; color: #98A5B6; letter-spacing: 0; }
.ats-score__bar { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ats-score__bar i { display: block; width: var(--p); height: 100%; background: var(--lime, #D6FD91); }
.ats-score__s { margin-top: 8px; font-size: .8125rem; color: #C9D2DD; }
.ats-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ats-chips span { padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(214, 253, 145, .14); color: var(--lime, #D6FD91); }
.ats-chips span.is-miss { background: rgba(255, 255, 255, .08); color: #fff; border: 1px dashed rgba(255, 255, 255, .35); }
.ats-float {
  position: absolute; z-index: 3; left: clamp(0px, 8vw, 90px); bottom: 0; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px;
  border-radius: 14px; font-size: .875rem; font-weight: 800; background: var(--lime, #D6FD91); color: var(--k-ink, #0B1220); box-shadow: 0 18px 40px -18px rgba(11, 18, 32, .45);
}
@media (max-width: 559.98px) {
  .ats-stage { padding-right: 0; }
  .ats-score { top: auto; bottom: -8px; right: -4px; width: 62%; padding: 12px 14px; }
  .ats-float { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .js-anim .ats-score { animation: ats-bob 7s ease-in-out infinite; }
  .js-anim .ats-float { animation: ats-bob 6s ease-in-out -2s infinite; }
}
@keyframes ats-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ── Fitur ────────────────────────────────────────────────────────────── */
.ats-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ats-feat { display: grid; gap: 8px; align-content: start; padding: 24px; }
.ats-feat__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; background: var(--k-ink, #0B1220); color: var(--lime, #D6FD91); }
.ats-feat__ic .i { width: 22px; height: 22px; }
.ats-feat h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
.ats-feat p { color: var(--k-ink-3, #5F6B7C); font-size: .9375rem; line-height: 1.6; }

.ats-note { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 22px auto 0; text-align: center; }
.home .ats-end { padding-bottom: clamp(56px, 8vw, 104px); }

/* ── /akun/: masuk & daftar ───────────────────────────────────────────── */
.ats-auth { min-height: calc(100vh - var(--header-h, 68px)); display: grid; align-items: start; padding: clamp(28px, 6vw, 72px) 0; }
.ats-auth__in { display: grid; justify-items: center; }
.ats-auth__card { width: min(100%, 460px); }
.ats-auth__h { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -.03em; }
.ats-auth__lead { margin-top: 6px; color: var(--text-2, #3A4655); font-size: .9375rem; }
.ats-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 18px 0 16px; padding: 4px; border-radius: 999px; background: var(--bg-soft, #F4F7FA); }
.ats-tab { min-height: 42px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; color: var(--text-2, #3A4655); cursor: pointer; }
.ats-tab[aria-selected="true"] { background: #fff; color: var(--text, #0E1620); box-shadow: 0 1px 2px rgba(14, 22, 32, .08), 0 6px 16px -10px rgba(14, 22, 32, .35); }
.ats-agree { margin: 6px 0 14px; font-size: .875rem; }
.ats-auth__fine { margin-top: 12px; text-align: center; font-size: .875rem; }
.ats-auth__msg { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-tint, #EAF3FC); font-size: .875rem; }
