/* =========================================================================
   SIMEKAR SSO — Tema V2 (navy almamater + gold)
   CSS murni tanpa framework. Animasi hanya transform/opacity agar ringan.
   ========================================================================= */

@font-face {
    font-family: "Jakarta";
    src: url("../fonts/jakarta-var.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy-950: #040b20;
    --navy-900: #0a1a3f;
    --navy-850: #0c1f4b;
    --navy-800: #10265a;
    --navy-700: #1a3570;
    --navy-600: #24478f;
    --gold-600: #b8891f;
    --gold-500: #d4a537;
    --gold-400: #e4bd5c;
    --gold-300: #f0d68d;
    --gold-grad: linear-gradient(135deg, #f3dc95 0%, #d4a537 45%, #b8891f 100%);
    --ink: #0d1b3a;
    --ink-2: #3c4a68;
    --muted: #6b7794;
    --line: #e3e8f1;
    --bg: #f4f6fb;
    --surface: #ffffff;
    --success: #12805c;
    --danger: #c0392b;
    --warning: #a86b00;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 1px 2px rgba(10, 26, 63, .06), 0 2px 8px rgba(10, 26, 63, .05);
    --shadow: 0 10px 30px -12px rgba(10, 26, 63, .25);
    --shadow-lg: 0 30px 60px -20px rgba(4, 11, 32, .45);
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 750; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold-500); color: var(--navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- Tombol ---------- */
.btn {
    --btn-h: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    height: var(--btn-h); padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 700; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { --btn-h: 40px; padding: 0 16px; font-size: .88rem; }
.btn-lg { --btn-h: 54px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold-grad); color: var(--navy-950); box-shadow: 0 8px 24px -10px rgba(212, 165, 55, .8); }
.btn-gold:hover { color: var(--navy-950); box-shadow: 0 14px 30px -10px rgba(212, 165, 55, .9); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { color: #fff; border-color: var(--gold-400); background: rgba(255, 255, 255, .08); }
.btn-navy { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #fff; box-shadow: 0 10px 24px -12px rgba(10, 26, 63, .8); }
.btn-navy:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(10, 26, 63, .9); }
.btn-navy[disabled], .btn-navy.is-loading { opacity: .75; pointer-events: none; }
.btn-outline { color: var(--navy-800); border-color: var(--line); background: var(--surface); }
.btn-outline:hover { color: var(--navy-900); border-color: var(--gold-500); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy-700); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic, a:hover > .link-arrow .ic { transform: translateX(4px); }

.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #e9eef8; color: var(--navy-700); font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-style: normal; }
.tag-gold { background: rgba(212, 165, 55, .18); color: var(--gold-300); border: 1px solid rgba(212, 165, 55, .45); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
    color: #fff; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
/* Blur dipasang di ::before, bukan di header: backdrop-filter pada header akan menjadikannya
   containing block bagi panel menu mobile (position: fixed) sehingga panel ikut terpotong/ter-blur */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
    background: rgba(6, 16, 42, .82);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -15px rgba(0, 0, 0, .6);
}
.site-header.is-scrolled::before { opacity: 1; }
body.nav-open .site-header { z-index: 70; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .04em; font-weight: 800; }
.brand-text small { font-size: .7rem; opacity: .7; letter-spacing: .02em; font-weight: 500; }
.brand-dot { color: var(--gold-400); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .92rem;
    transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 3px; border-radius: 3px;
    background: var(--gold-grad); transform: translateX(-50%);
}
.pill-soon { font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; background: rgba(212, 165, 55, .2); color: var(--gold-300); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.lang-switch a { min-width: 36px; height: 30px; display: grid; place-items: center; border-radius: 999px; color: rgba(255, 255, 255, .75); font-size: .75rem; font-weight: 800; letter-spacing: .05em; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: var(--gold-grad); color: var(--navy-950); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; place-items: center; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Latar navy bersama (hero, coming soon, auth) ---------- */
.hero, .soon-hero, .auth-page, .page-hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff;
    background:
        radial-gradient(1100px 600px at 85% -10%, rgba(36, 71, 143, .65) 0%, transparent 60%),
        radial-gradient(800px 500px at -10% 110%, rgba(26, 53, 112, .7) 0%, transparent 60%),
        linear-gradient(160deg, var(--navy-900) 0%, #081537 55%, var(--navy-950) 100%);
}
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid-lines, .page-hero-bg::before {
    position: absolute; inset: 0; content: "";
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-a { width: 520px; height: 520px; right: -120px; top: 8%; background: radial-gradient(circle, rgba(212, 165, 55, .22) 0%, transparent 65%); animation: float 16s ease-in-out infinite; }
.orb-b { width: 620px; height: 620px; left: -200px; bottom: -220px; background: radial-gradient(circle, rgba(64, 120, 230, .25) 0%, transparent 65%); animation: float 20s ease-in-out infinite reverse; }
.page-hero-bg::after { content: ""; position: absolute; width: 480px; height: 480px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 165, 55, .2) 0%, transparent 65%); }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.circuit path { fill: none; stroke: var(--gold-500); stroke-opacity: .35; stroke-width: 1.5; stroke-dasharray: 6 12; animation: flow 6s linear infinite; }
.circuit circle { fill: var(--gold-400); animation: blink 3s ease-in-out infinite; }
.circuit circle:nth-of-type(2n) { animation-delay: 1.5s; }

@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-30px, 30px, 0); } }
@keyframes flow { to { stroke-dashoffset: -180; } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes figureIn { from { opacity: 0; transform: translate3d(40px, 0, 0) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { transform: translateX(250%); } }

/* ---------- Hero + slider ---------- */
/* Tinggi hero mengikuti isi (figur + kartu login), bukan dipaksa setinggi layar,
   agar jarak menu atas ke slide/form tetap proporsional di semua ukuran desktop */
/* --figure-h mengikuti tinggi layar (dikurangi header + marquee) agar hero termasuk teks berjalan muat satu layar */
.hero { --figure-h: clamp(320px, calc(100svh - var(--header-h) - 72px), 620px); display: flex; flex-direction: column; padding-top: var(--header-h); }
/* Desktop: hero tepat setinggi layar sehingga teks berjalan selalu pas di dasar layar (tanpa sisa putih / terpotong) */
@media (min-width: 900px) { .hero { min-height: 100svh; } }
.hero-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; padding-block: 28px 0; }
.login-card { align-self: center; margin-bottom: 28px; }
.hero-slider { position: relative; align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.slides { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
.slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 16px;
    opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.slide-copy { position: relative; z-index: 2; padding-block: 8px 84px; }
.slide.is-active .slide-copy > * { animation: rise .8s var(--ease) both; }
.slide.is-active .slide-copy > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-copy > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-copy > :nth-child(4) { animation-delay: .24s; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; margin-bottom: 20px;
    border-radius: 999px; border: 1px solid rgba(212, 165, 55, .4); background: rgba(212, 165, 55, .1);
    color: var(--gold-300); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.slide-title, .soon-hero-copy h1 { font-size: clamp(2rem, 2.8vw, 2.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; color: #fff; }
.slide-text, .soon-hero-copy .lead { font-size: clamp(.98rem, 1.1vw, 1.08rem); color: rgba(255, 255, 255, .74); max-width: 34em; margin-bottom: 24px; }
.slide-cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* Badge akreditasi: selalu sejajar kiri-kanan, ringkas */
.accredit-badges { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px; }
.accredit-badge { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 14px 6px 6px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(212, 165, 55, .35); }
.accredit-logo { width: 62px; height: 40px; flex: none; display: grid; place-items: center; padding: 4px 6px; border-radius: 9px; background: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); }
.accredit-logo img { max-height: 30px; max-width: 100%; width: auto; }
.accredit-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.accredit-text strong { font-size: .98rem; font-weight: 800; color: var(--gold-300); letter-spacing: -.01em; white-space: nowrap; }
.accredit-text small { color: rgba(255, 255, 255, .72); font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide-figure { position: relative; margin: 0; align-self: end; display: flex; justify-content: center; align-items: flex-end; height: var(--figure-h); }
.slide-figure img { position: relative; z-index: 1; max-height: var(--figure-h); width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.slide.is-active .slide-figure img { animation: figureIn 1s var(--ease) both .1s; }
.figure-ring { position: absolute; left: 50%; bottom: 6%; width: min(92%, 440px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(212, 165, 55, .26) 0%, rgba(212, 165, 55, .06) 45%, transparent 66%); }
.figure-ring::before, .figure-ring::after { content: ""; position: absolute; border-radius: 50%; }
.figure-ring::before {
    inset: 0; padding: 1.5px;
    background: conic-gradient(from 0deg, var(--gold-300), transparent 25%, transparent 55%, var(--gold-500) 80%, var(--gold-300));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: spin 16s linear infinite;
}
.figure-ring::after { inset: 14%; border: 1px dashed rgba(255, 255, 255, .14); }

.slider-controls { position: absolute; left: 0; bottom: 36px; z-index: 3; display: flex; align-items: center; gap: 14px; }
.slider-arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); color: #fff; transition: background-color .2s, border-color .2s; }
.slider-arrow:hover { border-color: var(--gold-400); background: rgba(212, 165, 55, .15); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 40px; height: 24px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.slider-dots button::before { content: ""; grid-area: 1 / 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.slider-dots span { grid-area: 1 / 1; height: 4px; border-radius: 4px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.slider-dots [aria-selected="true"] span { transform: scaleX(1); }
.hero-slider.is-auto .slider-dots [aria-selected="true"] span { animation: progress var(--slide-ms, 6500ms) linear both; }
.hero-slider.is-paused .slider-dots span { animation-play-state: paused !important; }

/* Kartu login */
.login-card {
    position: relative; z-index: 3; overflow: hidden;
    background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 32px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .6) inset;
    animation: rise .9s var(--ease) both .15s;
}
/* Garis emas atas dibuat sebagai lapisan latar kartu (bukan elemen terpisah), sehingga selalu mengikuti
   lengkungan sudut kartu, termasuk pada kartu ber-captcha yang overflow-nya dibuka */
.login-card { background: var(--gold-grad) top / 100% 4px no-repeat, var(--surface); }
/* Kartu berisi captcha: panel puzzle muncul di atas slider dan boleh keluar dari kartu (tidak terpotong) */
.login-card.has-scap { overflow: visible; }
.login-card.has-scap .login-card-glow { right: 0; top: 0; width: 180px; height: 180px; border-radius: 0 var(--radius-lg) 0 0;
    background: radial-gradient(circle at 100% 0%, rgba(212, 165, 55, .22), transparent 70%); }
.login-card-glow { position: absolute; width: 220px; height: 220px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 165, 55, .22), transparent 70%); pointer-events: none; }
.login-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.login-head h1, .login-head h2 { font-size: 1.35rem; margin: 0 0 2px; color: var(--navy-900); }
.login-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.login-badge { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 16px; color: var(--gold-400); background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); box-shadow: 0 10px 20px -10px rgba(10, 26, 63, .8); }
.login-form { display: grid; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > .ic { position: absolute; left: 16px; color: var(--muted); pointer-events: none; transition: color .2s; }
.input-wrap input {
    width: 100%; height: 52px; padding: 0 48px 0 46px; border-radius: 14px; border: 1.5px solid var(--line); background: #f8fafd;
    font: inherit; font-size: .98rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input-wrap input::placeholder { color: #9aa5bd; }
.input-wrap input:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 4px rgba(212, 165, 55, .18); }
.input-wrap:focus-within > .ic { color: var(--navy-700); }
.pw-toggle { position: absolute; right: 6px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--muted); }
.pw-toggle:hover { color: var(--navy-800); background: #eef2f9; }
.pw-toggle .ic-hide, .pw-toggle[aria-pressed="true"] .ic-show { display: none; }
.pw-toggle[aria-pressed="true"] .ic-hide { display: block; }
.caps-hint { display: block; margin-top: 6px; color: var(--warning); font-weight: 600; font-size: .8rem; }
.login-row { display: flex; justify-content: flex-end; margin-top: -6px; font-size: .88rem; font-weight: 600; }
.login-row .remember { margin: 0 auto 0 0; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 600; color: inherit; }
.login-row .remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy, #1e3a8a); cursor: pointer; }
.remember-hint { display: block; margin: 4px 0 14px; font-size: .76rem; color: var(--muted, #6b7280); line-height: 1.35; }
.login-foot { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.login-foot .ic { margin-top: 2px; color: var(--success); }
.login-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-loading .ic { display: none; }

.alert { padding: 12px 14px; border-radius: 12px; font-size: .88rem; margin-bottom: 16px; border: 1px solid; }
.alert ol, .alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert-danger { background: #fdf0ee; border-color: #f5c6bf; color: #8c2a1f; }
.alert-success { background: #ebf8f3; border-color: #b6e3d2; color: #0d5f44; }
.alert-warning { background: #fff7e6; border-color: #f3dca5; color: #7a4f00; }
.alert-info { background: #edf3fd; border-color: #c4d6f5; color: #1c3f80; }

.hero-marquee { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(4, 11, 32, .35); overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track span { font-weight: 800; letter-spacing: .18em; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.marquee-track i { font-style: normal; font-size: .55rem; color: var(--gold-500); }

/* ---------- Section umum ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--navy-900); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.section-head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px 56px; align-items: end; }
.section-head-split h2, .section-head-split p { margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--gold-600); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.kicker-light { color: var(--gold-300); }
.section-more { margin-top: 32px; text-align: center; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-top: 24px; }

/* Layanan */
.section-services { position: relative; background: var(--bg); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.service-card {
    position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink);
    box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { color: var(--ink); transform: translateY(-4px); border-color: rgba(212, 165, 55, .6); box-shadow: var(--shadow); }
.service-icon { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 15px; color: var(--gold-400); background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); position: relative; overflow: hidden; }
.service-icon::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); transform: translateX(-150%) skewX(-20deg); }
.service-card:hover .service-icon::after { animation: shimmer .9s var(--ease); }
.service-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.service-body strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1rem; letter-spacing: .02em; color: var(--navy-900); }
.service-body > span { font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.service-body small { margin-top: 6px; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.service-go { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #eef2f9; color: var(--navy-700); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.service-card:hover .service-go { background: var(--gold-grad); color: var(--navy-950); transform: rotate(-45deg); }
.service-grid-lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.service-grid-lg .service-card { align-items: flex-start; }
.service-card.is-hidden { display: none; }

/* Berita */
.section-news { background: var(--surface); }
.news-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.news-featured { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow); }
.news-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-featured:hover img { transform: scale(1.05); }
.news-featured::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 11, 32, 0) 30%, rgba(4, 11, 32, .92) 100%); }
.news-featured-body { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 28px; }
.news-featured-body strong { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; letter-spacing: -.01em; }
.news-featured .news-meta { color: rgba(255, 255, 255, .75); }
.news-featured:hover { color: #fff; }
.news-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.news-list { display: grid; gap: 12px; align-content: start; }
.news-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius); background: var(--bg); color: var(--ink); border: 1px solid transparent; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.news-item:hover { color: var(--ink); background: var(--surface); border-color: var(--line); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.news-item img { width: 112px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--navy-900); }
.news-item > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-item strong, .news-card strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; line-height: 1.4; color: var(--navy-900); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.news-card:hover { color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.news-card strong { font-size: 1.05rem; }
.news-excerpt { color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: .9rem; transition: all .2s; }
.chip:hover { border-color: var(--gold-500); color: var(--navy-900); }
.chip[aria-current="true"], .chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 10px; display: grid; place-items: center; border-radius: 12px; font-weight: 700; color: var(--ink-2); }
.pager a { background: var(--surface); border: 1px solid var(--line); }
.pager a:hover { border-color: var(--gold-500); }
.pager a[aria-current="page"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* Segera hadir (kartu beranda) */
.section-soon { background: var(--bg); }
.soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.soon-card {
    position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: stretch; justify-content: space-between; min-height: 300px;
    padding: 32px 0 0 32px; border-radius: var(--radius-lg); color: #fff;
    background: radial-gradient(400px 260px at 100% 100%, rgba(212, 165, 55, .3), transparent 70%), linear-gradient(140deg, var(--navy-800), var(--navy-950));
    box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.soon-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); mask-image: linear-gradient(120deg, transparent 30%, #000); }
.soon-card-alt { background: radial-gradient(400px 260px at 100% 100%, rgba(80, 140, 255, .28), transparent 70%), linear-gradient(140deg, #13306b, var(--navy-950)); }
.soon-card:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.soon-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 32px; max-width: 60%; }
.soon-copy strong { font-size: 1.6rem; letter-spacing: -.02em; }
.soon-copy > span:not(.tag):not(.link-arrow) { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.soon-copy .link-arrow { color: var(--gold-300); margin-top: auto; }
.soon-card img { align-self: flex-end; height: 280px; width: auto; margin-right: 12px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); transition: transform .5s var(--ease); }
.soon-card:hover img { transform: translateY(-6px) scale(1.03); }

/* Statistik */
.section-stats { position: relative; overflow: hidden; color: #fff; padding: 56px 0; background: linear-gradient(120deg, var(--navy-900), var(--navy-950)); }
.section-stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% 0%, rgba(212, 165, 55, .18), transparent 70%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 8px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .08); }
.stat-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--gold-400); background: rgba(212, 165, 55, .12); border: 1px solid rgba(212, 165, 55, .3); }
.stat strong { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat > span:last-child { color: rgba(255, 255, 255, .7); font-size: .9rem; font-weight: 600; }

/* FAQ */
.section-faq { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color .25s, background-color .25s; }
.faq[open] { background: var(--surface); border-color: rgba(212, 165, 55, .55); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: var(--gold-400); font-size: 1.2rem; font-weight: 500; transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 20px 20px; color: var(--ink-2); }
.faq-body a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-list > .link-arrow { margin-top: 8px; }

/* ---------- Halaman dalam ---------- */
/* Header halaman dalam: ringkas & proporsional (sama dengan halaman Inbound) agar konten cepat terlihat */
.page-hero { padding: calc(var(--header-h) + 24px) 0 28px; }
.page-hero h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: #fff; max-width: 820px; margin-bottom: 6px; }
.page-hero p { color: rgba(255, 255, 255, .75); max-width: 680px; font-size: .98rem; margin: 0; }
.page-hero .kicker { margin-bottom: 8px; }
.page-hero-sm { padding-bottom: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--gold-300); }
.article-title { font-size: clamp(1.6rem, 3.2vw, 2.5rem) !important; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.article-meta > span:not(.tag) { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.article { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 40px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.article-cover { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); }
.article-cover img { width: 100%; max-height: 640px; object-fit: contain; }
.prose { font-size: 1.04rem; line-height: 1.8; color: var(--ink-2); overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { color: var(--navy-900); margin-top: 1.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 4px solid var(--gold-500); background: var(--bg); border-radius: 0 12px 12px 0; }
.article-foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.article-side h2 { font-size: 1.1rem; color: var(--navy-900); }
.article-side .news-item { background: var(--surface); border-color: var(--line); }

/* Halaman segera hadir */
.soon-hero { padding: calc(var(--header-h) + 20px) 0 0; }
.soon-hero-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: end; min-height: 380px; }
.soon-hero-copy { padding-bottom: 40px; align-self: center; }
.soon-progress { position: relative; width: min(100%, 360px); height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-bottom: 10px; }
.soon-progress span { position: absolute; inset: 0; width: 62%; border-radius: 6px; background: var(--gold-grad); }
.soon-progress span::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: shimmer 2.2s ease-in-out infinite; transform: translateX(-150%); }
.soon-status { color: var(--gold-300); font-size: .85rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 28px; }
.soon-figure { position: relative; margin: 0; display: flex; justify-content: center; align-items: flex-end; height: 100%; }
.soon-figure img { position: relative; z-index: 1; max-height: 380px; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: figureIn 1s var(--ease) both; }
.soon-hero-404 .soon-figure img { max-height: 340px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(212, 165, 55, .6); }
.feature h3 { margin: 18px 0 8px; font-size: 1.1rem; color: var(--navy-900); }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Bantuan */
.help-cards { display: grid; gap: 14px; }
.help-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.help-card .service-icon { grid-row: span 2; }
.help-card strong { color: var(--navy-900); }
.help-card > span:last-child { color: var(--muted); font-size: .88rem; }
.help-card:hover { color: var(--ink); transform: translateY(-3px); border-color: rgba(212, 165, 55, .6); }

/* Auth (reset / password baru) */
.auth-page { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 32px) 0 56px; }
.auth-layout { display: grid; place-items: center; }
.auth-layout .login-card { width: min(100%, 480px); }
.hint { margin: -4px 0 0; color: var(--muted); font-size: .84rem; }
.pw-meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 10px; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--danger); transition: width .3s var(--ease), background-color .3s; }
.pw-account { display: flex; gap: 10px; align-items: center; padding: 10px 14px; margin: -6px 0 16px; border-radius: 12px; background: #f4f6fb; border: 1px solid var(--line); color: var(--navy-700); }
.pw-account span { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.pw-account small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.pw-account b { font-size: .88rem; color: var(--navy-900); overflow-wrap: anywhere; }
.pw-match { display: flex; align-items: center; gap: 6px; min-height: 1.2em; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.pw-match.is-ok { color: var(--success); }
.pw-match.is-ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pw-match.is-wait { color: var(--warning); }
.pw-rules { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .8rem; color: var(--muted); }
.pw-rules li { display: flex; align-items: center; gap: 6px; }
.pw-rules li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.pw-rules li.ok { color: var(--success); font-weight: 600; }
.pw-rules li.ok::before { background: currentColor; }

/* ---------- Pendaftaran mahasiswa inbound ---------- */
.page-hero-xs { padding: calc(var(--header-h) + 24px) 0 28px; }
.page-hero-xs h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 6px; }
.page-hero-xs p { font-size: .98rem; }
.ib-wrap { display: grid; gap: 20px; }
.ib-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ib-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.ib-split .scap { margin-top: 4px; }
.ib-guide { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); color: #fff;
    background: radial-gradient(420px 260px at 100% 0%, rgba(212, 165, 55, .25), transparent 70%), linear-gradient(150deg, var(--navy-800), var(--navy-950)); }
.ib-guide h3 { font-size: 1rem; color: var(--gold-300); letter-spacing: .04em; margin: 0 0 14px; }
.ib-guide h3:not(:first-child) { margin-top: 24px; }
.ib-howto { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; gap: 12px; }
.ib-howto li { counter-increment: how; position: relative; padding-left: 44px; display: flex; flex-direction: column; font-size: .9rem; }
.ib-howto li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
    background: var(--gold-grad); color: var(--navy-950); font-weight: 800; font-size: .85rem; }
.ib-howto span { color: rgba(255, 255, 255, .72); }
.ib-req { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.ib-req li { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.ib-req .ic { color: var(--gold-400); }
.ib-guide .ib-small { color: rgba(255, 255, 255, .72); }
.ib-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ib-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .88rem; }
.ib-steps span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #e9eef8; color: var(--navy-700); font-size: .8rem; font-weight: 800; }
.ib-steps .is-current { border-color: var(--gold-500); color: var(--navy-900); box-shadow: 0 0 0 3px rgba(212, 165, 55, .18); }
.ib-steps .is-current span { background: var(--gold-grad); color: var(--navy-950); }
.ib-steps .is-done span { background: var(--success); color: #fff; }
.ib-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); min-width: 0; }
.ib-card h2 { font-size: 1.35rem; color: var(--navy-900); }
.ib-card-narrow { max-width: 520px; }
.ib-muted { color: var(--muted); }
.ib-small { font-size: .85rem; display: flex; gap: 6px; align-items: flex-start; margin: 16px 0 0; }
.ib-pin { letter-spacing: .5em; font-weight: 800; font-size: 1.25rem !important; }
.ib-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.ib-program { position: sticky; top: calc(var(--header-h) + 16px); }
.ib-program h2 { margin-top: 12px; font-size: 1.2rem; }
.ib-program dl, .ib-summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0; font-size: .9rem; }
.ib-program dt, .ib-summary dt { color: var(--muted); font-weight: 600; }
.ib-program dd, .ib-summary dd { margin: 0; color: var(--ink); }
.ib-who { padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: .85rem; line-height: 1.8; margin-bottom: 14px; word-break: break-all; }
.ib-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; background: #fff4d6; color: #7a5800; }
.ib-status h2 { margin-top: 12px; }
.ib-status-1 .ib-badge { background: #dff5ec; color: var(--success); }
.ib-status-2 .ib-badge { background: #fdecea; color: var(--danger); }
.ib-status-1 { border-top: 4px solid var(--success); }
.ib-status-2 { border-top: 4px solid var(--danger); }
.ib-status-0 { border-top: 4px solid var(--gold-500); }
.ib-cred { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.ib-cred > div { padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: #fff; }
.ib-cred small { display: block; color: var(--gold-300); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ib-cred strong { display: block; font-size: 1.5rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.ib-pin-show { color: var(--gold-300); letter-spacing: .3em !important; }
.ib-reveal { margin-bottom: 18px; }
.ib-reveal label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.ib-inline { display: flex; gap: 8px; }
.ib-inline .ib-input { flex: 1; }
.ib-note { padding: 12px 14px; border-radius: 12px; background: #fdf0ee; color: #8c2a1f; }
.ib-form h3 { font-size: 1rem; color: var(--navy-800); margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ib-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.ib-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ib-f > label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.ib-span2 { grid-column: span 2; }
.ib-input { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #f8fafd; font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.ib-input:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 4px rgba(212, 165, 55, .18); }
.ib-input:disabled { color: var(--muted); }
.ib-file { padding: 9px 10px; font-size: .85rem; }
.ib-radio { display: flex; gap: 18px; min-height: 46px; align-items: center; }
.ib-radio label { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.ib-err { color: var(--danger); font-weight: 600; font-size: .8rem; }
.ib-agree { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 6px; font-size: .9rem; }
.ib-agree input { margin-top: 4px; }
.ib-form .btn { margin-top: 14px; }
.ib-form { position: relative; }
.ib-err:empty { display: none; }
.ib-file-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Berkas: pas foto 4x6 di kiri, berkas lain di kanan */
.ib-docs { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; align-items: start; }
.ib-photo-box { position: relative; display: flex; flex-direction: column; gap: 6px; }
.ib-photo-drop { position: relative; display: grid; place-items: center; aspect-ratio: 2 / 3; border-radius: 14px; border: 2px dashed #c9d3e6; background: #f8fafd; cursor: pointer; overflow: hidden; transition: border-color .2s, background-color .2s; }
.ib-photo-drop:hover, .ib-photo-drop:focus { border-color: var(--gold-500); background: #fffaf0; outline: none; }
.ib-photo-drop canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ib-photo-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; text-align: center; color: var(--muted); font-size: .82rem; }
.ib-photo-empty .ic { color: var(--navy-600); }
.ib-photo-empty b { color: var(--navy-900); }
.ib-photo-box.is-filled .ib-photo-drop { border-style: solid; border-color: var(--success); }
.ib-photo-box.is-filled .ib-photo-empty { display: none; }
.ib-photo-box small { font-size: .74rem; line-height: 1.4; }
.ib-file-list { display: grid; gap: 10px; }
.ib-filebox { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed #c9d3e6; background: #f8fafd; cursor: pointer; transition: border-color .2s, background-color .2s; }
.ib-filebox:hover { border-color: var(--gold-500); background: #fffaf0; }
.ib-filebox-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); color: var(--gold-400); }
.ib-filebox-text { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: .9rem; }
.ib-filebox-text small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ib-filebox-text small.ib-file-hint { white-space: normal; color: #9a7414; }
.ib-filebox-btn { flex: none; padding: 6px 12px; border-radius: 999px; background: #e9eef8; color: var(--navy-700); font-weight: 700; font-size: .78rem; }
.ib-filebox.is-filled { border-style: solid; border-color: var(--success); background: #f1faf6; }
.ib-filebox.is-filled .ib-filebox-icon { background: var(--success); color: #fff; }
.ib-filebox.is-filled small { color: var(--success); font-weight: 600; }

/* Overlay progres unggah */
.ib-progress { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ib-progress-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 20px; }
.ib-progress-ring { position: relative; width: 120px; height: 120px; }
.ib-progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ib-progress-ring circle { fill: none; stroke-width: 10; stroke: #e9eef8; }
.ib-progress-ring circle[data-ring] { stroke: var(--gold-500); stroke-linecap: round; transition: stroke-dashoffset .25s; }
.ib-progress-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.4rem; color: var(--navy-900); }
.ib-progress-card strong { color: var(--navy-900); }

/* Select2 bertema navy-gold */
.ib-form .select2-container--default .select2-selection--single { height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #f8fafd; }
.ib-form .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 43px; padding-left: 14px; color: var(--ink); }
.ib-form .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #9aa5bd; }
.ib-form .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
.ib-form .select2-container--focus .select2-selection--single, .ib-form .select2-container--open .select2-selection--single { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(212, 165, 55, .18); }
.select2-dropdown { border: 1.5px solid var(--gold-500); border-radius: 12px; overflow: hidden; font-family: inherit; }
.select2-search--dropdown .select2-search__field { border-radius: 8px; padding: 8px 10px; border: 1.5px solid var(--line); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--navy-800); }
.select2-container--default .select2-results__option[aria-selected=true] { background: #fff4d6; color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, .7); padding-top: 72px; font-size: .92rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold-grad); }
.footer-glow { position: absolute; width: 700px; height: 400px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(212, 165, 55, .12), transparent 70%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; }
.footer-about p { margin-top: 16px; line-height: 1.7; }
.brand-footer img { width: 44px; height: 44px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--gold-300); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: var(--gold-500); margin-top: 2px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer-lang { display: flex; gap: 16px; }
.footer-lang a[aria-current="true"] { color: var(--gold-300); font-weight: 700; }

.helpdesk-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px;
    border-radius: 999px; background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); color: #fff; font-weight: 700; font-size: .9rem;
    box-shadow: 0 14px 30px -10px rgba(4, 11, 32, .7), 0 0 0 1px rgba(212, 165, 55, .4) inset; transition: transform .3s var(--ease);
}
.helpdesk-fab .ic { color: var(--gold-400); }
.helpdesk-fab:hover { color: #fff; transform: translateY(-3px); }

/* ---------- Animasi muncul saat di-scroll (aktif hanya bila JS jalan) ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsif ---------- */
/* Layar laptop pendek (mis. 1366x768 dikurangi toolbar browser): rapatkan hero agar marquee tetap terlihat */
@media (min-width: 900px) and (max-height: 780px) {
    .hero-layout { padding-top: 14px; gap: 40px; }
    .login-card { padding: 22px 26px; margin-bottom: 18px; }
    .login-head { margin-bottom: 14px; }
    .login-badge { width: 44px; height: 44px; border-radius: 14px; }
    .login-form { gap: 11px; }
    .input-wrap input { height: 46px; }
    .login-foot { margin-top: 12px; }
    .eyebrow { margin-bottom: 14px; }
    .slide-title { font-size: clamp(1.9rem, 2.5vw, 2.5rem); margin-bottom: 12px; }
    .slide-text { margin-bottom: 18px; }
    .slide-copy { padding-bottom: 70px; }
    .slider-controls { bottom: 22px; }
    .hero-marquee { padding: 11px 0; }
}

@media (max-width: 1199px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
    .slide { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
    .main-nav a { padding: 8px 9px; font-size: .88rem; }
}

@media (max-width: 1099px) {
    .nav-toggle { display: grid; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(86vw, 360px); padding: calc(var(--header-h) + 8px) 20px 24px;
        background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
        transform: translateX(105%); transition: transform .4s var(--ease); overflow-y: auto; display: flex; flex-direction: column;
    }
    .main-nav.is-open { transform: none; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav a { padding: 14px 14px; font-size: 1rem; border-radius: 12px; justify-content: space-between; }
    .main-nav a[aria-current="page"] { background: rgba(212, 165, 55, .12); color: var(--gold-300); }
    .main-nav a[aria-current="page"]::after { display: none; }
    .nav-mobile-extra { display: block; margin-top: auto; padding-top: 24px; }
    .header-actions { margin-left: auto; position: relative; z-index: 80; }
    .nav-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(4, 11, 32, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
    .slide { grid-template-columns: minmax(0, 1fr); }
    .slide-figure { position: absolute; right: -20px; bottom: 0; height: 100%; min-height: 0; width: 42%; opacity: .9; }
    .slide-copy { max-width: 62%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 899px) {
    .hero { min-height: 0; }
    .hero-layout { grid-template-columns: minmax(0, 1fr); padding-block: 16px 32px; gap: 20px; }
    .slide-copy { max-width: 100%; padding-block: 8px 64px; }
    .slider-controls { bottom: 4px; }
    .login-card { margin-bottom: 0; }
    .slide-figure { display: none; }
    .slide-title { font-size: clamp(1.8rem, 6.5vw, 2.4rem); }
    .slide-text { margin-bottom: 20px; }
    .login-card { padding: 24px; }
    .news-layout, .faq-layout, .article-layout, .soon-hero-layout, .section-head-split, .ib-grid { grid-template-columns: minmax(0, 1fr); }
    .ib-program { position: static; }
    .ib-split { grid-template-columns: minmax(0, 1fr); }
    .faq-layout { gap: 24px; }
    .news-featured { min-height: 300px; }
    .article-side { position: static; }
    .soon-grid { grid-template-columns: minmax(0, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { border-left: 0; }
    .soon-hero-layout { min-height: 0; gap: 0; }
    .soon-hero-copy { padding-bottom: 24px; }
    .soon-figure img { max-height: 320px; }
}

@media (max-width: 599px) {
    :root { --header-h: 64px; }
    .container { padding-inline: 16px; }
    .brand-text small { display: none; }
    .brand img { width: 34px; height: 34px; }
    .hide-sm { display: none; }
    .lang-switch a { min-width: 32px; height: 28px; }
    .slide-cta .btn { flex: 1 1 auto; }
    .slider-controls { right: 0; justify-content: center; }
    .service-grid, .service-grid-lg, .news-grid { grid-template-columns: minmax(0, 1fr); }
    .news-item { grid-template-columns: 88px minmax(0, 1fr); }
    .news-item img { width: 88px; height: 70px; }
    .soon-card { padding: 24px 0 0 24px; min-height: 240px; }
    .soon-copy { max-width: 64%; }
    .soon-card img { height: 210px; margin-right: 0; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .pw-rules { grid-template-columns: minmax(0, 1fr); }
    .ib-fields, .ib-cred, .ib-docs { grid-template-columns: minmax(0, 1fr); }
    .ib-photo-box { max-width: 200px; }
    .ib-span2 { grid-column: auto; }
    .helpdesk-fab { width: 50px; padding: 0; justify-content: center; right: 14px; bottom: 14px; }
    .helpdesk-fab span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
