/* =========================================================
   FONTS
========================================================= */
@font-face {
  font-family: 'Gilroy';
  src: url('../assets/fonts/Gilroy-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../assets/fonts/Gilroy-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/Gotham-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/Gotham-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('../assets/fonts/Gotham-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* =========================================================
   ROOT / RESET
========================================================= */
:root {
  --navy-dark: #404B89;
  --navy-light: #4B58A1;
  --navy-darker: #2E3868;
  --gold: #D8B36A;
  --gold-dark: #B98F45;
  --coral: #CC7A7D;
  --ink: #22262F;
  --ink-soft: #565B66;
  --bg: #FFFFFF;
  --line: #E3E5EC;

  --c-ketuhanan: #98A7A7;
  --c-kemanusiaan: #652A2A;
  --c-persatuan: #492C63;
  --c-kerakyatan: #2F4B38;
  --c-keadilan: #2B4971;
}

* { box-sizing: border-box; }
/* HTML `hidden` attribute must always win over any component's own
   `display` rule (e.g. .btn sets display:inline-flex, which has the same
   specificity as [hidden] and was overriding it in the cascade — that's
   why the nav "Log In/Sign Up" button stayed visible after login even
   though JS correctly set the hidden property). */
[hidden] { display: none !important; }
html {
  width: 100%;
  overflow-x: hidden;
}
body {
  width: 100%;
  overflow-x: hidden;
}
html, body {
  margin: 0; padding: 0;
  font-family: 'Gotham', -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Gilroy', 'Gotham', sans-serif;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 12px;
}
p { line-height: 1.55; margin: 0 0 12px; color: var(--ink); }
ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 6px; line-height: 1.5; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; }
select, input {
  font-family: inherit;
  font-size: 15px;
}

.center { text-align: center; }

/* =========================================================
   SCREEN MANAGEMENT
========================================================= */
.screen {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #fff;
}
.screen[hidden] { display: none !important; }

.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
#screen-registrasi .page-body { padding-top: 96px; }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  min-width: 220px;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(216,179,106,.4); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--gold {}
.btn--outline-gold {
  background: transparent;
  color: var(--gold-dark);
}
.btn--muted {
  background: #F1F2F6;
  border-color: #F1F2F6;
  color: var(--ink-soft);
}
.btn--muted:hover { box-shadow: 0 6px 16px rgba(20,24,50,.12); }

/* =========================================================
   ASSESSMENT INTRO 1 & 2 / PRE-ASSESSMENT
========================================================= */
.assessment-intro { max-width: 1000px; }
.assessment-intro__hero {
  background: #F7F9FC;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
}
.assessment-intro__hero img { width: 100%; max-width: 720px; height: auto; display: block; margin: 0 auto; }
.assessment-intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.assessment-intro__title { font-size: 20px; margin-bottom: 22px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.assessment-details-card {
  background: #FAFAFC;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.assessment-details-card h3 { font-size: 17px; margin: 0 0 18px; }
.assessment-details-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 14px;
}
.assessment-details-card p svg { color: var(--navy-dark); flex: 0 0 auto; }
.assessment-details-card .btn { width: 100%; margin-top: 8px; min-width: 0; }

.assessment-intro2__placeholder {
  max-width: 800px;
  margin: 0 auto 40px;
  height: 220px;
  background: #F7F9FC;
  border-radius: 20px;
}
.assessment-intro2__desc {
  max-width: 700px;
  margin: 0 auto 34px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}
#screen-assessment-intro-2 .btn,
#screen-assessment-intro-2 .btn--muted { display: block; max-width: 420px; margin: 0 auto 12px; }

#screen-pre-assessment .auth-page { margin-top: 196px; max-width: 700px; }
#screen-pre-assessment #btn-pre-assessment-continue { display: block; margin: 40px auto 0; }
#screen-pre-assessment .field--auth { grid-template-columns: 200px 1fr; }

.btn__spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.btn--outline-gold .btn__spinner { border-color: rgba(185,143,69,.4); border-top-color: var(--gold-dark); }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn svg { width: 24px; height: 24px; }

/* =========================================================
   TOPBAR (header banner)
========================================================= */
.topbar {
  position: relative;
  width: 100%;
  min-height: 150px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background-image: url('../assets/img/header-top.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  aspect-ratio: 3139 / 299;
  height: auto;
  overflow: hidden;
}
.topbar__title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--gold);
  font-size: clamp(32px, 4.2vw, 52px);
  margin: 0;
  white-space: nowrap;
}
.topbar__logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  height: 64px;
  width: auto;
}
.topbar .icon-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
}
.topbar .icon-btn img { height: 22px; width: auto; }
.topbar--transparent {}

.topbar__progress {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: min(420px, 60vw);
}
.topbar__progress-label {
  display: block;
  font-size: 14px;
  opacity: .9;
  margin-bottom: 10px;
}
.topbar__progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar__progress b { white-space: nowrap; }
.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,.35);
  border-radius: 8px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width .35s ease;
}

/* =========================================================
   SITE NAV (top bar menu — landing page only)
========================================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1.5px solid var(--line);
}
.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.site-nav__brand img { height: 30px; width: auto; }
.site-nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.site-nav__brand-text b {
  font-family: 'Gilroy', sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: 14.5px;
  letter-spacing: .01em;
}
.site-nav__brand-text small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 13.5px;
}
.site-nav__links a:hover { color: var(--navy-dark); }
.btn--nav-gold {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
}
.site-nav__user { position: relative; }
.site-nav__user-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink);
}
.site-nav__user-trigger:hover { background: rgba(64,75,137,.08); }
.site-nav__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  flex: 0 0 auto;
}
.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(20,24,50,.16);
  padding: 6px;
  z-index: 30;
}
.site-nav__dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 10px;
  border: none;
  background: none;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
}
.site-nav__dropdown button:hover { background: rgba(64,75,137,.08); }
.site-nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
}
.site-nav__burger span {
  display: block;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
}

/* =========================================================
   MY VOUCHERS
========================================================= */
.screen--my-vouchers { min-height: 100vh; background: #f7f8fc; }
.my-vouchers { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0 80px; }
.my-vouchers__back { margin-left: auto; }
.my-vouchers__heading { margin-bottom: 32px; }
.my-vouchers__eyebrow { margin: 0 0 8px; color: var(--gold); font-weight: 700; letter-spacing: .12em; font-size: 12px; }
.my-vouchers__heading h1 { margin: 0 0 10px; color: var(--ink); font-family: 'Gilroy', sans-serif; font-size: clamp(36px, 5vw, 58px); }
.my-vouchers__heading > p:last-child { margin: 0; color: var(--ink-soft); }
.my-vouchers__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.voucher-card { display: grid; grid-template-columns: 210px 1fr; width: 100%; padding: 0; overflow: hidden; border: 1px solid #dfe2ee; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(23,34,69,.08); text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.voucher-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23,34,69,.13); border-color: var(--gold); }
.voucher-card.is-selected { border: 2px solid var(--gold); }
.voucher-card__image { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.voucher-card__body { display: flex; flex-direction: column; min-width: 0; padding: 20px; color: var(--ink); }
.voucher-card__topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.voucher-card__topline strong { font-family: 'Gilroy', sans-serif; font-size: 19px; }
.voucher-card__selected { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; background: rgba(213,164,54,.15); color: #9a6d0b; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.voucher-card__buy { flex: 0 0 auto; min-width: 72px; padding: 8px 18px; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.voucher-card__buy:hover { transform: translateY(-1px); filter: brightness(.94); }
.voucher-card__description { margin-top: 9px; color: var(--ink-soft); font-size: 13px; }
.voucher-card__meta { margin-top: auto; padding-top: 18px; color: #8b6a20; font-size: 12px; font-weight: 600; }
.voucher-card--buy-new { display: flex; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed #b8bdc9; background: #eef0f4; color: #697080; text-align: center; }
.voucher-card--buy-new:hover { border-color: #9299a8; background: #e6e8ed; }
.voucher-card__buy-plus { font-family: 'Gilroy', sans-serif; font-size: 52px; font-weight: 300; line-height: .8; }
.voucher-card__buy-label { font-family: 'Gilroy', sans-serif; font-size: 20px; font-weight: 700; }
.my-vouchers__loading, .my-vouchers__empty, .my-vouchers__error { padding: 42px 24px; border: 1px dashed #ccd1e0; border-radius: 14px; background: #fff; text-align: center; color: var(--ink-soft); }
.my-vouchers__loading { display: flex; justify-content: center; align-items: center; gap: 10px; }
.my-vouchers__error .btn { display: block; margin: 18px auto 0; }
.voucher-detail { width: min(620px, calc(100% - 28px)); max-width: 620px; text-align: left; }
.voucher-detail__image { display: block; width: 100%; border-radius: 12px; margin-bottom: 22px; }
.voucher-detail h3 { margin: 0 0 8px; color: var(--ink); font-family: 'Gilroy', sans-serif; font-size: 27px; }
.voucher-detail__description { margin: 0 0 20px; color: var(--ink-soft); }
.voucher-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 24px; }
.voucher-detail__grid--vertical { grid-template-columns: 1fr; }
.voucher-detail__grid div { padding: 12px 14px; border-radius: 10px; background: #f5f6fa; min-width: 0; }
.voucher-detail__grid dt { margin-bottom: 5px; color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.voucher-detail__grid dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.voucher-detail__copy-code { cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.voucher-detail__copy-code:hover { background: #eceef6; transform: translateY(-1px); }
.voucher-detail__copy-code:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.voucher-detail__copy-hint { display: block; margin-top: 5px; color: var(--gold); font-size: 11px; font-weight: 600; }
.app-toast { position: fixed; left: 50%; bottom: 28px; z-index: 3000; transform: translateX(-50%); padding: 12px 18px; border-radius: 10px; background: #20243a; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(18, 22, 42, .24); animation: voucher-toast-in .2s ease both; }
@keyframes voucher-toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.voucher-detail__transaction { grid-column: 1 / -1; }

.transactions-table-wrap { overflow-x: auto; border: 1px solid #dfe2ee; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(23,34,69,.06); }
.transactions-table { width: 100%; min-width: 1020px; border-collapse: collapse; color: var(--ink); }
.transactions-table th, .transactions-table td { padding: 16px 18px; border-bottom: 1px solid #e7e9f1; text-align: left; vertical-align: middle; }
.transactions-table th { background: #f0f2f7; color: var(--navy-dark); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.transactions-table tbody tr:last-child td { border-bottom: 0; }
.transactions-table tbody tr:hover { background: #fafbfe; }
.transactions-table__number { min-width: 270px; overflow-wrap: anywhere; font-weight: 600; }
.transactions-table__date { white-space: nowrap; }
.transaction-status { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: #eceef4; color: #626979; font-size: 11px; font-weight: 700; text-transform: capitalize; }
.transaction-status--paid, .transaction-status--success { background: #e2f5e9; color: #237a43; }
.transaction-status--pending { background: #fff3d5; color: #9a6d0b; }
.transaction-status--failed, .transaction-status--expired, .transaction-status--cancelled { background: #fde7e5; color: #b33b32; }
.transaction-payment-link { border: 0; background: transparent; padding: 0; color: var(--navy-light); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.transaction-payment-link:hover { color: var(--gold); }
.transaction-payment-link.is-disabled { color: #a4a9b4; cursor: default; text-decoration: none; }
.transactions-popup-error { margin: 16px 0 0; }
.transactions-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.transactions-pagination[hidden] { display: none; }
.transactions-pagination__button { min-width: 112px; }
.transactions-pagination__button:disabled { opacity: .45; cursor: not-allowed; }
.transactions-pagination__info { color: var(--ink); font-size: 14px; font-weight: 600; }

@media (max-width: 820px) {
  .my-vouchers__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .my-vouchers { width: min(100% - 24px, 1100px); padding-top: 98px; }
  .voucher-card { grid-template-columns: 1fr; }
  .voucher-card__image { aspect-ratio: 512 / 364; min-height: 0; }
  .voucher-detail__grid { grid-template-columns: 1fr; }
  .voucher-detail__transaction { grid-column: auto; }
  .transactions-pagination { gap: 10px; }
  .transactions-pagination__button { min-width: 92px; padding-inline: 14px; }
}

/* =========================================================
   LANDING HERO
========================================================= */
.landing__hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 24px 10px;
  text-align: center;
}
.landing__limatama {
  display: block;
  height: auto;
  width: 130px;
  margin: 0 auto 0px;
}
.landing__headline {
  font-family: 'Gilroy', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.25;
  color: var(--navy-dark);
  margin: 0 0 18px;
}
.landing__headline .w-light { font-weight: 300; }
.landing__headline .w-bold { font-weight: 800; }
.landing__tagline {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* =========================================================
   HERO CAROUSEL (5 karakter kepemimpinan tersusun kipas — kartu
   yang aktif membesar + dapat lencana besar; klik untuk ganti
   panel PROFILE/CHARACTERISTICS di bawahnya)
========================================================= */
.hero-carousel-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 70px;
}
.hero-carousel {
  --carousel-step: 280px;
  position: relative;
  overflow: visible;
  height: 560px;
  padding: 82px 4px 18px;
  perspective: 1250px;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  cursor: grab;
  outline: none;
}
.hero-carousel:focus-visible { box-shadow: inset 0 0 0 2px rgba(104, 73, 133, .35); }
.hero-carousel.is-dragging { cursor: grabbing; }
.hero-carousel__track {
  position: absolute;
  inset: 82px 0 auto;
  height: 470px;
  transform-style: preserve-3d;
  pointer-events: none;
}
.hero-carousel__card {
  --slot: 0;
  --rotx: 0deg;
  --roty: 0deg;
  --tilt: 0deg;
  --tz: 0px;
  --dip: 0px;
  --scale: 1;
  --op: 1;
  position: absolute;
  top: 0;
  left: 50%;
  width: 200px;
  aspect-ratio: 2/3;
  border: 0 !important;
  outline: 0;
  padding: 0;
  cursor: pointer;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  opacity: var(--op);
  margin-left: -100px;
  transform:
    translate3d(calc(var(--slot) * var(--carousel-step)), var(--dip), var(--tz))
    rotateX(var(--rotx))
    rotateY(var(--roty))
    rotateZ(var(--tilt))
    scale(var(--scale));
  transform-style: preserve-3d;
  transform-origin: center center;
  filter: drop-shadow(-12px 10px 20px rgba(0, 0, 0, .24));
  filter: drop-shadow(-12px 10px 20px oklch(0 0 0 / .24));
  transition: transform .45s cubic-bezier(.22,.8,.24,1), opacity .3s ease;
  will-change: transform, opacity;
  pointer-events: auto;
  touch-action: none;
  isolation: isolate;
}
.hero-carousel__card::after {
  content: '';
  position: absolute;
  inset: -6px;
  z-index: 20;
  border-radius: 18px;
  pointer-events: auto;
}
.hero-carousel__card:hover {
  transform:
    translate3d(calc(var(--slot) * var(--carousel-step)), calc(var(--dip) - 7px), var(--tz))
    rotateX(var(--rotx))
    rotateY(var(--roty))
    rotateZ(var(--tilt))
    scale(var(--scale));
}
.hero-carousel__face {
  position: absolute;
  inset: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateZ(1px);
  transform-origin: center;
  transition: transform .45s cubic-bezier(.22,.8,.24,1);
  pointer-events: auto;
}
.hero-carousel__photo-clip {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: box-shadow .3s ease;
  pointer-events: none;
}
.hero-carousel__card.active .hero-carousel__photo-clip,
.hero-carousel__card.selected .hero-carousel__photo-clip { box-shadow: none; }
.hero-carousel__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.hero-carousel__badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  box-shadow: none;
  z-index: 2;
  pointer-events: none;
}

.persona-detail {
  max-width: 720px;
  margin: 30px auto 0;
  text-align: center;
}
.persona-detail__title {
  font-family: 'Gilroy';
  font-weight: 800;
  font-size: clamp(24px, 3vw, 30px);
  color: var(--navy-dark);
  margin: 0 0 2px;
}
.persona-detail__core {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-dark);
  margin: 0 0 18px;
}
.persona-detail__quote {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 22px;
}
.persona-detail__quote::before { content: '\201C'; }
.persona-detail__quote::after { content: '\201D'; }
.persona-detail__label {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--navy-dark);
  margin: 0 0 6px;
}
.persona-detail__profile,
.persona-detail__characteristics {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 20px;
}

/* =========================================================
   STATS CARD ("Only 10 minutes to Unlock your Core")
========================================================= */
.stats-card {
  max-width: 920px;
  margin: 0 auto 60px;
  padding: 56px 24px 44px;
  background: linear-gradient(180deg, #EEF2F6 0%, #F8FAFC 100%);
  border-radius: 20px;
  text-align: center;
}
.stats-card__headline {
  font-family: 'Gilroy';
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  color: var(--navy-dark);
  margin: 0 0 12px;
}
.stats-card__headline .w-light { font-weight: 300; }
.stats-card__headline .w-bold { font-weight: 800; }
.stats-card__desc {
  color: var(--ink-soft);
  font-size: 13.5px;
  max-width: 460px;
  margin: 0 auto 22px;
}
.stats-card__row {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 46px;
}
.stats-card__row div { text-align: center; }
.stats-card__row b {
  display: block;
  font-family: 'Gilroy';
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
}
.stats-card__row span { font-size: 12px; color: var(--ink-soft); }

/* =========================================================
   PARTNERS
========================================================= */
.partners { max-width: 1000px; margin: 0 auto 50px; padding: 0 24px; text-align: center; }
.partners__label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.partners__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
}
.partners__row span {
  font-style: italic;
  color: #B7BBC6;
  font-size: 14.5px;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonials {
  max-width: 900px;
  margin: 0 auto 70px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.testimonial-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-dark));
  flex: 0 0 auto;
}
.testimonial-card__head b { display: block; font-size: 14px; color: var(--ink); }
.testimonial-card__head span { font-size: 12px; color: var(--ink-soft); }
.testimonial-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 0; }


/* =========================================================
   FORM (Registrasi)
========================================================= */
.form { max-width: 700px; margin: 0 auto; }
.field {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.field__label { font-weight: 500; color: var(--ink); }
.field input.field__control,
.field select.field__control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #A7ABB5;
  border-radius: 4px;
  outline: none;
  background: #fff;
}
.field input.field__control:focus,
.field select.field__control:focus { border-color: var(--navy-light); }
.radio-row.field__control { display: flex; gap: 28px; align-items: center; background: none; border: none; padding: 0; }
.radio-option { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
.radio-option input { accent-color: var(--navy-dark); width: 18px; height: 18px; }
#btn-registrasi-next { display: block; margin: 20px auto 0; max-width: 320px; width: 100%; }

.form-error {
  color: #C0392B;
  font-size: 13px;
  margin: -8px 0 16px;
}

/* =========================================================
   AUTH PAGES (Log In / Sign Up heading + divider)
========================================================= */
.auth-page {
  max-width: 420px;
  margin: 96px auto 80px;
  padding: 0 24px;
}
.auth-page__title {
  text-align: center;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 22px;
  margin: 20px 0 40px;
}
.auth-page__description {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  margin: -24px 0 30px;
  text-align: center;
}
.form-success {
  color: #247A43;
  font-size: 13px;
  line-height: 1.5;
  margin: -8px 0 16px;
}
#screen-registrasi .auth-page__title { margin-top: 0; }
.field--auth {
  grid-template-columns: 90px 1fr;
  margin-bottom: 22px;
}
.auth-forgot {
  display: block;
  font-size: 12.5px;
  color: var(--navy-light);
  text-decoration: underline;
  margin: -8px 0 30px;
}
.auth-form__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
#btn-login-submit,
#btn-go-signup,
#btn-forgot-password-submit,
#btn-forgot-password-back,
#btn-reset-password-submit,
#btn-reset-password-back { width: 100%; }

.form-divider {
  border: none;
  border-top: 1.5px solid var(--line);
  margin: 8px 0 28px;
}
.form-section-title {
  text-align: center;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 26px;
}
.dob-row {
  display: flex;
  gap: 10px;
}
.dob-row select {
  flex: 1;
  padding: 12px 10px;
  border: 1.5px solid #A7ABB5;
  border-radius: 4px;
  outline: none;
  background: #fff;
}
.dob-row select:focus { border-color: var(--navy-light); }

/* =========================================================
   MINI HEADER (dipakai di layar antar/registration-success —
   label kecil + persentase, bukan banner besar seperti .topbar)
========================================================= */
.mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1.5px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.mini-header b { color: var(--ink-soft); font-weight: 700; }
.mini-header__left { display: flex; align-items: center; gap: 10px; }
.mini-header__back {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink-soft);
  padding: 0 4px 0 0;
  line-height: 1;
}
.mini-header__right { color: var(--ink-soft); font-weight: 600; font-size: 13px; }

.reg-success {
  max-width: 520px;
  margin: 70px auto;
  padding: 0 24px;
  text-align: center;
}
.reg-success__badge { margin-bottom: 26px; }
.reg-success__badge img { width: 220px; height: auto; margin: 0 auto; display: block; }
.reg-success__title { font-size: clamp(22px, 3vw, 28px); font-weight: 400; color: var(--ink-soft); margin: 4px 0 40px; }
.reg-success__title b { color: var(--navy-dark); font-weight: 800; }
.reg-success .eyebrow { font-weight: 700; }
#btn-back-to-login { max-width: 320px; width: 100%; margin: 0 auto; }

/* =========================================================
   INTRO SLIDES
========================================================= */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 40px;
}
.stepper__dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #C9CCD6;
  color: #8891A0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Gilroy';
  flex-shrink: 0;
}
.stepper__dot.active { background: var(--coral); border-color: var(--coral); color: #fff; }
.stepper__dot.done { background: #fff; border-color: var(--coral); color: var(--coral); }
.stepper__line { width: 60px; height: 2px; background: #D9DCE4; }

.intro-slide__row { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.pentagon-wrap img { max-width: 340px; margin: 0 auto; }
.intro-slide__text h3 { font-size: 26px; }
.intro-slide h3.center { font-size: clamp(26px, 3vw, 34px); }
.intro-slide__lead { max-width: 720px; margin: 0 auto 30px; color: var(--ink-soft); font-size: 18px; }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-card { text-align: center; }
.value-card img { width: 78px; height: 78px; margin: 0 auto 14px; }
.value-card h4 { font-size: 15px; letter-spacing: .03em; margin-bottom: 8px; font-family: 'Gilroy'; }
.value-card p { font-size: 13.5px; color: var(--ink-soft); }

.gains-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.gains-grid > div { padding: 0 22px; }
.gains-grid > div + div { border-left: 1.5px solid var(--line); }
.gains-grid h4 { font-size: 17px; margin-bottom: 10px; }
.gains-grid p { font-size: 13.5px; color: var(--ink-soft); }

.tutorial-grid {
    display: grid;
    grid-template-columns: 460px 380px;
    justify-content: center;
    row-gap: 28px;
    max-width: 900px;
    margin: 0 auto 24px;
}

.tutorial-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: flex-start;
}

.tutorial-item img {
    width: 56px;
    height: 56px;
}

.tutorial-item h4 {
    margin: 0 0 6px;
    font-size: 15.5px;
}

.tutorial-item p {
    margin: 0;
    line-height: 1.5;
    color: var(--ink-soft);
}

#btn-intro-next { display: block; margin: 30px auto 0; }

.eyebrow { text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-size: 14px; margin-bottom: 4px; }

/* =========================================================
   QUESTION
========================================================= */
.pill {
  display: inline-block;
  background: #A9C4BE;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  margin: 0 auto 26px;
}
.screen--question .page-body > .pill { display: table; }
.question-card {
  border: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto 24px;
  height: auto;
  overflow: visible;
}
.question-text {
  text-align: left;
  font-size: clamp(16px, 2vw, 19px);
  margin-bottom: 6px;
  color: var(--ink);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}
.question-hint {
  text-align: left;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.likert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.likert-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FAFAFC;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color .2s ease, background-color .2s ease;
}
.likert-row:hover { border-color: #C9CCD6; }
.likert-row__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #C9CCD6;
  background: #fff;
  flex: 0 0 auto;
  position: relative;
  transition: border-color .2s ease, background-color .2s ease;
}
.likert-row__label {
  font-size: 14.5px;
  color: var(--ink);
}
.likert-row.selected {
  border-color: var(--navy-dark);
  background: #F2F3FA;
}
.likert-row.selected .likert-row__radio {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}
.likert-row.selected .likert-row__radio::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

#btn-question-next { display: block; margin: 0 auto 12px; max-width: 700px; width: 100%; }
#btn-already-know-voice-2 { display: block; margin: 0 auto; max-width: 700px; width: 100%; }


/* =========================================================
   CALCULATING
========================================================= */
.calculating__center {
  max-width: 480px;
  margin: 18vh auto 0;
  text-align: center;
  padding: 0 24px;
}
.progress-bar--calc { height: 10px; margin: 16px 0 10px; background: var(--navy-dark); }
.progress-bar--calc .progress-bar__fill { background: var(--gold); }

/* =========================================================
   RESULT REPORT
========================================================= */
.result-report { max-width: 700px; margin: 0 auto; }
.result-report h2 { font-size: 22px; margin: 56px 0 4px; }
.result-report h3 { font-size: 17px; color: var(--ink); margin: 0 0 18px; }

.result-report__tagline { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.result-report__meta { margin-bottom: 22px; }
.result-report__name { font-weight: 800; font-size: 22px; color: var(--ink); margin: 0 0 4px; }
.result-report__date { font-weight: 600; font-size: 13px; color: var(--ink-soft); margin: 0; }
.result-report__prepared {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #F7F9FC;
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 30px;
}
.result-report__prepared p { margin: 0; }
.result-report__prepared b { color: var(--ink); font-size: 13.5px; font-weight: 700; }
.result-report__intro { color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; max-width: 780px; }

.values-summary-card {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 20px 30px;
  margin: 24px 0 46px;
  box-shadow: 0 14px 32px rgba(20,24,50,.10);
}
.values-summary-card__item {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 350px;
  flex-direction: column;
  text-align: center;
  padding: 102px 12px 22px;
}
.values-summary-card__item::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 94px 0 0;
  border: 1px solid #e1e5f3;
  border-radius: 10px;
  background: #f0f3ff;
}
.values-summary-card__icon {
  position: absolute;
  top: 0;
  left: 50%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transform: translateX(-50%);
  background: #fff;
}
.values-summary-card__icon img {
  display: block;
  /* The 321px badge PNGs contain roughly 40px transparent padding on
     every side. Scale the image canvas so its visible 240px circle fills
     the 84px outline instead of leaving an unintended empty ring. */
  width: 134%;
  height: 134%;
  max-width: none;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: contain;
}
.values-summary-card__pill {
  display: block;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 7px 5px;
  border-radius: 9px;
  margin: -8px -12px 14px;
}
.values-summary-card__master { font-weight: 700; font-size: 12.5px; margin: 0 0 4px; }
.values-summary-card__desc { display: block; font-size: 11px; color: var(--ink-soft); line-height: 1.4; min-height: 44px; margin-bottom: 14px; }
.values-summary-card__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 32px;
  margin: 0 0 10px;
}
.values-summary-card__bars span { display: block; width: 6px; border-radius: 2px; }
.values-summary-card__pct { font-family: 'Gilroy'; font-weight: 800; font-size: 20px; margin: auto 0 0; color: var(--ink); }
.values-summary-card__pct-caption { display: block; font-size: 10.5px; color: var(--ink-soft); }

.result-report__objectives-title,
.result-report__value-order-title,
.result-report__strength-title { font-size: 17px; margin: 0 0 20px; }
.objectives-list {
  margin-bottom: 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 24px;
  box-shadow: 0 14px 32px rgba(20,24,50,.10);
}
.objectives-list__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.objectives-list__item:last-child { border-bottom: none; }
.objectives-list__item b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.objectives-list__item p { color: var(--ink-soft); font-size: 13.5px; margin: 0; }

.foundational-card {
  background: var(--sila-color, #F2F0FA);
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 20px;
}
.foundational-card__icon { width: 34px; height: 34px; margin-bottom: 10px; }
.foundational-card h4 { font-size: 19px; margin: 0 0 8px; }
.foundational-card p { font-size: 14px; color: var(--ink); margin: 0; line-height: 1.6; }

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 50px;
}
.mini-card {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.mini-card__icon { display: block; width: 30px; height: 30px; color: var(--navy-dark); margin-bottom: 10px; }
.mini-card__title { font-weight: 700; font-size: 14px; margin: 0 0 6px; color: var(--navy-dark); }
.mini-card p:last-child { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

.value-order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.value-order-tab {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--tab-color) 14%, #fff);
  color: var(--tab-color);
}
.value-order-tab.active { background: var(--tab-color); color: #fff; }

.value-order-cards {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(20,24,50,.10);
  overflow: hidden;
}
.value-order-card {
  border-left: 5px solid var(--sila-color, var(--navy-dark));
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
}
.value-order-cards .value-order-card:last-child { border-bottom: none; }
.value-order-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.value-order-card__head img { width: 54px; height: 54px; flex: 0 0 auto; }
.value-order-card__head h4 { font-size: 16px; margin: 0; }
.value-order-card__head span {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-left: 40px;
  white-space: nowrap;
}
.value-order-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin: 0 0 12px; }
.value-order-card p:last-child { margin-bottom: 0; }

.strength-challenge-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 50px; }
.sc-card { border: 1.5px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.sc-card__icon { display: block; width: 30px; height: 30px; color: var(--navy-dark); margin-bottom: 10px; }
.sc-card__title { font-weight: 700; font-size: 15px; margin: 0 0 8px; color: var(--navy-dark); }
.sc-card p:last-child { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

.result-divider { border: none; border-top: 1.5px solid var(--line); margin: 48px 0; }

/* =========================================================
   RESULT: SCORE + SPIDER CHART
========================================================= */
.result-score__row {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 10px;
  align-items: flex-start;
  margin-top: 30px;
  width: 1000px;
  max-width: 92vw;
}
#spider-chart svg { width: 100%; height: auto; max-width: 400px; }

.score-list--bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 540px;
  margin-bottom: 24px;
}
.score-bar-row__label {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px 11px;
}
.score-bar {
  --score-status-width: 178px;
  position: relative;
  display: flex;
  width: 100%;
  height: 40px;
  overflow: hidden;
  background: var(--score-color);
  border-radius: 20px;
}
.score-bar-row__track {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #dedee0;
  border-radius: 20px;
}
.score-bar-row__fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  min-width: 180px;
  max-width: 100%;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 14px;
  background: var(--score-color);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.score-bar-row__status {
  flex: 0 0 var(--score-status-width);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .score-list--bars { gap: 18px; }
  .score-bar { --score-status-width: 132px; height: 38px; }
  .score-bar-row__fill { min-width: 132px; gap: 8px; padding: 0 12px; font-size: 12px; }
  .score-bar-row__status { padding: 0 8px; font-size: 11px; }
}

.total-score-box {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.total-score-box > div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 20px;
}
.label { color: var(--ink-soft); font-size: 11.5px; letter-spacing: .03em; margin: 0 0 2px; text-transform: uppercase; }
.total-score { font-family: 'Gilroy'; font-weight: 800; font-size: 20px; color: var(--navy-dark); margin: 0; }
.total-kategori { font-family: 'Gilroy'; font-weight: 800; font-size: 16px; color: var(--navy-dark); margin: 0; }

.result-report__recommendations-title { font-size: 17px; margin: 40px 0 20px; }
.recommendations-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.recommendation-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--sila-color, var(--navy-dark));
  border-radius: 10px;
  padding: 16px 20px;
}
.recommendation-item img { width: 28px; height: 28px; flex: 0 0 auto; margin-top: 2px; }
.recommendation-item__label {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink);
  margin: 0 0 4px;
}
.recommendation-item__label span { font-weight: 700; color: var(--sila-color, var(--navy-dark)); margin-left: 6px; }
.recommendation-item__text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

.result-report .result-report__interpretation-title { margin-top: 80px; }
.interpretation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 90vw;
  max-width: none;
  margin: 24px 0 50px 50%;
  transform: translateX(-50%);
}
.interpretation-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}
.interpretation-card__icon { width: 40px; height: 40px; flex: 0 0 auto; }
.interpretation-card__kategori { font-weight: 700; font-size: 13px; margin: 0 0 6px; color: var(--navy-dark); }
.interpretation-card p:last-child { font-size: 12px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.result-score__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.result-score__actions .btn { min-width: 190px; }

/* =========================================================
   MODAL
========================================================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(30,34,50,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--navy-light);
  border: 2px solid #8891E0;
  border-radius: 16px;
  padding: 44px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  color: #fff;
}
.modal h3 { color: #fff; font-size: 26px; margin-bottom: 20px; }
.modal p { color: rgba(255,255,255,.85); }
.modal__actions { display: flex; gap: 12px; margin-top: 4px; }
.modal__actions .btn { flex: 1; }
.modal .btn--outline-gold { background: transparent; color: #fff; border-color: #fff; }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
#modal-email-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: none;
  margin-bottom: 22px;
  font-size: 15px;
  text-align: center;
}
#modal-step-input .btn, #modal-step-success .btn { min-width: 160px; }

#voucher-code-input {
  width: 100%;
  padding: 16px 16px;
  border-radius: 6px;
  border: none;
  margin: 4px 0 22px;
  font-size: 18px;
  text-align: center;
}
.modal__actions .btn { flex: 1; min-width: 0; }

.likert-row:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* =========================================================
   LOADING OVERLAY
========================================================= */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  z-index: 200;
}
.loading-overlay[hidden] { display: none; }
.loading-overlay__spinner {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--navy-dark);
  animation: spin .8s linear infinite;
}
.loading-overlay p { color: var(--navy-dark); font-weight: 600; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .landing__wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  .landing__desc { margin: 0 auto; }
  .landing__meta div { justify-content: center; }
  .brand-lockup { justify-content: center; }

  .intro-slide__row,
  .result-score__row {
    grid-template-columns: 1fr;
    text-align: center;
    width: auto;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .values-summary-card,
  .mini-card-grid,
  .interpretation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .gains-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .gains-grid > div { border-left: none !important; padding: 0 12px; }
  .tutorial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tutorial-item {
    text-align: left;
  }

  .tutorial-item p {
    max-width: none;
  }

  .field { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .radio-row.field__control { justify-content: flex-start; }

  .topbar { padding: 0 18px; aspect-ratio: auto; min-height: 120px; }
  .topbar__title { font-size: 28px; }
  .topbar__logo { height: 44px; right: 18px; }
  .topbar .icon-btn { left: 18px; }
  .topbar__progress { width: min(260px, 55vw); }
  .topbar__progress-label { font-size: 12px; margin-bottom: 6px; }

  .result-score__actions { justify-content: center; }

  /* Top bar menu: collapse links + auth button behind a burger */
  .site-nav__links,
  .btn--nav-gold,
  .site-nav__user {
    display: none;
  }
  .site-nav__burger { display: flex; }
  .site-nav.is-open {
    flex-wrap: wrap;
  }
  .site-nav.is-open .site-nav__links,
  .site-nav.is-open .btn--nav-gold:not([hidden]),
  .site-nav.is-open .site-nav__user:not([hidden]) {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
  }

  .hero-carousel { --carousel-step: 128px; height: 350px; padding-top: 58px; }
  .hero-carousel__track { inset: 58px 0 auto; height: 260px; }
  .hero-carousel__card { width: 108px; margin-left: -54px; }
}

@media (max-width: 520px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .gains-grid { grid-template-columns: 1fr; gap: 20px 0; }
  .page-body { padding: 28px 16px 60px; }

  .site-nav { padding: 12px 16px; gap: 14px; }

  .hero-carousel-section { padding: 12px 16px 70px; }
  .hero-carousel { --carousel-step: 96px; height: 310px; margin-inline: -16px; padding-top: 54px; overflow: hidden; }
  .hero-carousel__track { inset: 54px 0 auto; }
  .hero-carousel__card { width: 88px; margin-left: -44px; }
  .hero-carousel__badge {
    top: -13px;
    width: 34px;
    height: 34px;
  }
  .hero-carousel__card {
    filter: drop-shadow(-6px 7px 12px rgba(0, 0, 0, .18));
    filter: drop-shadow(-6px 7px 12px oklch(0 0 0 / .18));
  }
  .persona-detail { padding: 26px 4px 0; }
  .stats-card__row { gap: 30px; }
  .testimonials { grid-template-columns: 1fr; }

  .values-summary-card,
  .mini-card-grid,
  .interpretation-grid {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   QUIZ BACKGROUND
   Subtle geometric pattern behind every screen (landing, registrasi,
   question, calculating, result). `fixed` attachment keeps the
   pattern at a CONSISTENT visual scale tied to the viewport, regardless of
   how tall any individual screen's content is — without it, `cover` sizing
   would zoom the pattern in on the (much taller) result page compared to
   the shorter screens. The PDF export code temporarily overrides this to
   `scroll` for the duration of the html2canvas capture only (see
   createResultPdfBlob), since html2canvas doesn't handle a fixed
   background correctly.
========================================================= */
.screen--landing,
.screen--form,
.screen--question,
.screen--calculating,
.screen--result {
  background-image: url('../assets/img/bg-quiz-white.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* iOS Safari doesn't support `background-attachment: fixed` well (it's
   silently treated as `scroll` on many versions anyway); nothing extra
   needed here, this comment is just documenting the known limitation. */

/* =========================================================
   ENTRANCE ANIMATIONS
   CSS keyframes + reusable utility classes. Classes are removed
   and re-added by app.js each time a screen/element is (re)shown
   so the animation reliably replays every time, not just once.
========================================================= */
@keyframes animFadeMoveUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes animFadeMoveIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes animFadeMoveLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes animScaleIn {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes animSlideInRight {
  from { opacity: 0; transform: translateX(64px); }
  to   { opacity: 1; transform: translateX(0); }
}

.anim-fade-up {
  animation: animFadeMoveUp .6s cubic-bezier(.22, 1, .36, 1) both;
}
.anim-fade-in {
  animation: animFadeMoveIn .6s cubic-bezier(.22, 1, .36, 1) both;
}
.anim-fade-left {
  animation: animFadeMoveLeft .6s cubic-bezier(.22, 1, .36, 1) both;
}
.anim-scale-in {
  animation: animScaleIn .5s cubic-bezier(.34, 1.56, .64, 1) both;
}
.anim-slide-right {
  animation: animSlideInRight .45s cubic-bezier(.22, 1, .36, 1) both;
}
.anim-delay-1 { animation-delay: .12s; }
.anim-delay-2 { animation-delay: .22s; }

@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-fade-in, .anim-fade-left, .anim-scale-in, .anim-slide-right {
    animation: none !important;
  }
}

/* =========================================================
   PDF ONLY: User details card
   This element is injected temporarily by app.js before html2canvas captures
   the result report. It is removed immediately after the PDF is generated.
========================================================= */
.pdf-user-details-card {
  max-width: 760px;
  margin: 0 auto 48px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.pdf-user-details-card h2 {
  color: #111;
  font-size: 30px;
  padding: 30px 44px;
  margin: 0;
  border-bottom: 1.5px solid var(--line);
}

.pdf-user-details-card__body {
  padding: 34px 44px 12px;
}

.pdf-user-details-card__row {
  margin-bottom: 28px;
}

.pdf-user-details-card__label {
  color: #777982;
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
}

.pdf-user-details-card__value {
  color: #111;
  font-size: 22px;
  line-height: 1.4;
  margin: 0;
}
