/* =====================================================
   GBAK — Design System v2
   Putih · Emas · Hitam | soft gradient, depth 3D, clean
   ===================================================== */

:root {
    --gold: #d6a319;
    --gold-hi: #f4cf5a;
    --gold-deep: #a97c0a;
    --gold-soft: #fff3cc;
    --gold-mist: #fffaf0;
    --ink: #121110;
    --ink-2: #2b2924;
    --mute: #6d675b;
    --line: #efe7d3;
    --grad-gold: linear-gradient(135deg, #f8d96e 0%, #d6a319 55%, #b58407 100%);
    --sh-1: 0 1px 2px rgba(60, 40, 0, .05), 0 12px 30px -14px rgba(120, 86, 0, .28);
    --sh-2: 0 2px 6px rgba(60, 40, 0, .06), 0 30px 60px -24px rgba(120, 86, 0, .42);
    --r-lg: 32px;
    --r-md: 22px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --wrap: min(1180px, calc(100% - 28px));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(900px 520px at 6% -6%, rgba(244, 207, 90, .30), transparent 60%),
        radial-gradient(760px 520px at 104% 8%, rgba(214, 163, 25, .15), transparent 60%),
        radial-gradient(700px 500px at 50% 112%, rgba(244, 207, 90, .16), transparent 60%);
}
button, input { font-family: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(214, 163, 25, .55); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ---------- NAVBAR ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-gold); z-index: 80; }
.navbar {
    position: sticky; top: 14px; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    width: var(--wrap); margin: 14px auto 0; padding: 9px 10px 9px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid rgba(214, 163, 25, .24);
    box-shadow: var(--sh-1);
    transition: box-shadow .3s;
}
.navbar.is-scrolled { box-shadow: var(--sh-2); }
.logo h2 { display: flex; align-items: center; gap: 11px; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.logo h2::before {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 10px;
    background: var(--grad-gold);
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, .75), inset 0 -4px 6px rgba(120, 80, 0, .35), 0 8px 14px -5px rgba(180, 130, 0, .65);
}
.nav-menu { display: flex; gap: 4px; }
.nav-menu a { padding: 9px 17px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: .2s; }
.nav-menu a:hover { background: var(--gold-soft); }

/* ---------- HERO (halaman dalam) ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    width: var(--wrap); margin: 22px auto 0;
    padding: clamp(42px, 6vw, 74px) clamp(24px, 5vw, 68px);
    border-radius: var(--r-lg); color: #fff;
    background:
        radial-gradient(620px 320px at 92% -10%, rgba(244, 207, 90, .5), transparent 62%),
        radial-gradient(520px 380px at -4% 120%, rgba(214, 163, 25, .38), transparent 62%),
        linear-gradient(150deg, #211e17 0%, #0d0c0a 100%);
    box-shadow: var(--sh-2);
}
.hero::before { /* bola emas 3D */
    content: ""; position: absolute; z-index: -1;
    right: clamp(14px, 6vw, 80px); top: 50%;
    width: clamp(120px, 20vw, 240px); aspect-ratio: 1; translate: 0 -50%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 26%, #fff7d3 0, #f4cf5a 26%, #c8921a 60%, #6b4a05 100%);
    box-shadow: 0 46px 70px -24px rgba(214, 163, 25, .6), inset -16px -20px 36px rgba(80, 50, 0, .55);
    animation: bob 7s ease-in-out infinite;
}
.hero::after { /* cincin */
    content: ""; position: absolute; z-index: -1;
    right: clamp(-30px, 2vw, 30px); top: 50%;
    width: clamp(190px, 31vw, 380px); aspect-ratio: 1; translate: 0 -50%;
    border-radius: 50%; border: 9px solid rgba(255, 243, 204, .13);
    transform: rotateX(72deg) rotate(-14deg);
}
.hero-content { max-width: 680px; }
.eyebrow {
    display: inline-block; margin-bottom: 22px; padding: 7px 15px 7px 13px;
    border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .09em;
    color: var(--gold-hi); background: rgba(255, 255, 255, .08); border: 1px solid rgba(244, 207, 90, .32);
}
.eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--grad-gold); vertical-align: 1px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; margin-bottom: 20px; }
.hero h1 span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 560px; margin-bottom: 30px; font-size: 17px; color: rgba(255, 255, 255, .72); }
.hero-button {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
    background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none;
    box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); transition: .25s;
}
.hero-button:hover { transform: translateY(-3px); background: var(--gold-hi); }

/* ---------- HERO (beranda) ---------- */
.hero.hero-home {
    display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
    margin-top: 0; padding: clamp(44px, 7vw, 92px) 0 30px;
    color: var(--ink); background: none; box-shadow: none; overflow: visible; border-radius: 0;
}
.hero-home::before, .hero-home::after { display: none; }
.hero-home .eyebrow { color: var(--gold-deep); background: var(--gold-soft); border-color: rgba(214, 163, 25, .38); }
.hero-home .hero-description { color: var(--mute); }
.hero-home .hero-button { background: var(--ink); color: #fff; }
.hero-home .hero-button:hover { background: var(--gold-deep); }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ghost-link { font-size: 14.5px; font-weight: 700; text-decoration: none; color: var(--gold-deep); border-bottom: 2px solid rgba(214, 163, 25, .35); padding-bottom: 2px; }
.ghost-link:hover { border-color: var(--gold); }
.hero-home .hero-content > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-home .hero-content > :nth-child(2) { animation-delay: .06s; }
.hero-home .hero-content > :nth-child(3) { animation-delay: .12s; }
.hero-home .hero-content > :nth-child(4) { animation-delay: .18s; }
.hero-home .hero-content > :nth-child(5) { animation-delay: .24s; }

/* pencarian */
.search { position: relative; max-width: 470px; margin-bottom: 26px; }
.search input {
    width: 100%; padding: 16px 58px 16px 54px; border-radius: 999px; border: 1px solid var(--line);
    background: #fff; font-size: 15px; color: var(--ink); box-shadow: var(--sh-1); outline: none; transition: .2s;
}
.search input:focus { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(214, 163, 25, .18), var(--sh-1); }
.search > svg { position: absolute; left: 21px; top: 26px; translate: 0 -50%; width: 20px; height: 20px; color: var(--gold-deep); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.search kbd { position: absolute; right: 18px; top: 26px; translate: 0 -50%; padding: 3px 10px; border-radius: 9px; font: 700 12px var(--font); background: var(--gold-soft); color: var(--gold-deep); }
.search-results {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; display: none;
    max-height: 340px; overflow: auto; padding: 8px; border-radius: 22px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2);
}
.search-results.open { display: block; animation: pop .18s ease-out; }
.search-results a { display: flex; flex-direction: column; padding: 11px 15px; border-radius: 14px; text-decoration: none; }
.search-results a:hover, .search-results a.on { background: var(--gold-soft); }
.search-results b { font-size: 14px; }
.search-results small { color: var(--mute); font-size: 12.5px; }
.search-results p { padding: 14px; color: var(--mute); font-size: 14px; }

/* adegan 3D */
.scene { position: relative; height: 450px; display: grid; place-items: center; perspective: 1100px; animation: rise 1s .15s cubic-bezier(.2, .8, .2, 1) both; }
.scene .glow { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 207, 90, .55), transparent 68%); filter: blur(30px); }
.stack {
    position: relative; width: 240px; height: 320px; transform-style: preserve-3d;
    transform: rotateX(calc(var(--py, 0) * -9deg + 12deg)) rotateY(calc(var(--px, 0) * 12deg - 16deg));
    transition: transform .25s ease-out;
}
.pane {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
    padding: 24px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: 0 2px 6px rgba(60, 40, 0, .08), 0 40px 70px -26px rgba(120, 86, 0, .5);
}
.pane b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.pane small { font-size: 13px; opacity: .72; }
.pane .bars { display: grid; gap: 8px; margin-bottom: auto; }
.pane .bars i { display: block; height: 9px; border-radius: 9px; background: currentColor; opacity: .13; }
.pane .bars i:nth-child(1) { width: 62%; } .pane .bars i:nth-child(2) { width: 88%; } .pane .bars i:nth-child(3) { width: 44%; }
.pane:nth-child(1) { transform: translateZ(-110px) translateX(-120px) translateY(26px); background: linear-gradient(160deg, #fff, #fff1c4); }
.pane:nth-child(2) { transform: translateZ(0); background: var(--grad-gold); color: var(--ink); border-color: rgba(255, 255, 255, .55); }
.pane:nth-child(3) { transform: translateZ(110px) translateX(120px) translateY(-26px); background: linear-gradient(160deg, #2a261d, #0d0c0a); color: #fff; border-color: rgba(244, 207, 90, .25); }
.orb {
    position: absolute; right: 7%; top: 9%; width: 84px; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 30% 26%, #fff7d3 0, #f4cf5a 26%, #c8921a 60%, #6b4a05 100%);
    box-shadow: 0 26px 36px -14px rgba(214, 163, 25, .65), inset -8px -10px 18px rgba(80, 50, 0, .5);
    animation: bob 6s ease-in-out infinite;
}
.orb.dark { right: auto; left: 8%; top: auto; bottom: 8%; width: 56px; background: radial-gradient(circle at 30% 26%, #6b665a 0, #2a261d 40%, #0a0908 100%); box-shadow: 0 22px 30px -12px rgba(0, 0, 0, .5); animation-delay: -3s; }

/* ---------- SECTION BERANDA ---------- */
.categories, .documents { width: var(--wrap); margin: 0 auto; padding: 70px 0 10px; }
.section-heading { margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.section-heading p { color: var(--mute); margin-top: 6px; }

.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.category-card:nth-child(1), .category-card:nth-child(4) { grid-column: span 4; }
.category-card:nth-child(2), .category-card:nth-child(3) { grid-column: span 2; }
.category-card {
    position: relative; display: flex; flex-direction: column; min-height: 270px; padding: 30px; overflow: hidden;
    border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .22s ease-out, box-shadow .3s, border-color .3s;
}
.category-card::before, .info-card::before, .workflow-card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(244, 207, 90, .3), transparent 46%);
}
.category-card:hover::before, .info-card:hover::before, .workflow-card:hover::before { opacity: 1; }
.category-card:hover { box-shadow: var(--sh-2); border-color: rgba(214, 163, 25, .55); }
.card-icon {
    display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 18px; color: var(--ink);
    background: var(--grad-gold);
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, .7), inset 0 -4px 7px rgba(120, 80, 0, .3), 0 14px 20px -10px rgba(180, 130, 0, .7);
}
.card-icon svg, .doc-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.category-card h3 { font-size: 24px; font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 10px; }
.category-card p { color: var(--mute); font-size: 15px; max-width: 46ch; margin-bottom: 26px; }
.category-card a { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; text-decoration: none; }
.category-card a::after { content: ""; position: absolute; inset: 0; }
.go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; transition: .25s; }
.category-card:hover .go { background: var(--grad-gold); color: var(--ink); transform: translateX(4px); }
.category-card.is-dark { color: #fff; border-color: transparent; background: radial-gradient(480px 260px at 100% 0%, rgba(244, 207, 90, .42), transparent 65%), linear-gradient(150deg, #26221a, #0d0c0a); }
.is-dark p { color: rgba(255, 255, 255, .68); }
.is-dark .go { background: #fff; color: var(--ink); }
.category-card.is-gold { background: radial-gradient(420px 240px at 0% 100%, rgba(244, 207, 90, .5), transparent 65%), linear-gradient(160deg, #fff8e1, #fff); border-color: rgba(214, 163, 25, .35); }

.documents { padding-bottom: 30px; }
.document-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 14px; }
.document-card {
    position: relative; display: block; padding: 28px 26px 26px; border-radius: 8px 24px 24px 24px;
    background: linear-gradient(180deg, #fffdf5, #fff); border: 1px solid var(--line); box-shadow: var(--sh-1);
    text-decoration: none; transition: transform .25s, box-shadow .3s, border-color .3s;
}
.document-card::before { content: ""; position: absolute; left: -1px; top: -13px; width: 88px; height: 14px; border-radius: 12px 12px 0 0; background: var(--gold-soft); border: 1px solid var(--line); border-bottom: 0; transition: .25s; }
.document-card:hover { transform: translateY(-7px) rotate(-.5deg); box-shadow: var(--sh-2); border-color: rgba(214, 163, 25, .6); }
.document-card:hover::before { background: var(--grad-gold); border-color: transparent; width: 104px; }
.doc-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 15px; color: var(--gold-deep); background: var(--gold-soft); }
.document-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.document-card p { color: var(--mute); font-size: 14.5px; }

/* ---------- FOOTER ---------- */
footer {
    position: relative; overflow: hidden; width: var(--wrap); margin: 70px auto 22px; padding: 46px 24px 38px; text-align: center; color: #fff;
    border-radius: var(--r-lg);
    background: radial-gradient(520px 230px at 50% -10%, rgba(244, 207, 90, .34), transparent 70%), linear-gradient(160deg, #1f1c15, #0d0c0a);
}
footer h2 { display: inline-block; margin-bottom: 8px; font-size: 30px; font-weight: 800; letter-spacing: .06em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer p { color: rgba(255, 255, 255, .66); font-size: 14px; }
footer small { display: block; margin-top: 20px; color: rgba(255, 255, 255, .4); font-size: 12px; }

/* ---------- PANDUAN: LAYOUT ---------- */
.guide-section { position: relative; width: var(--wrap); margin: 0 auto; padding: 64px 0 10px; }
.guide-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.guide-heading h2 { margin-bottom: 10px; font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.guide-heading p { color: var(--mute); }

.tab-buttons {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%;
    margin: 0 auto 34px; padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.tab-button { padding: 11px 24px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: var(--mute); cursor: pointer; transition: .25s; }
.tab-button:hover { background: var(--gold-soft); color: var(--ink); }
.tab-button.active { background: var(--ink); color: #fff; box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .6); }
.tab-dropdown { position: relative; display: flex; }
.tab-dropdown .tab-button { padding-right: 12px; border-radius: 999px 0 0 999px; }
.dropdown-toggle { padding: 0 15px 0 8px; border: 0; border-radius: 0 999px 999px 0; background: transparent; color: var(--mute); font-size: 10px; cursor: pointer; transition: .25s; }
.dropdown-toggle:hover { background: var(--gold-soft); color: var(--ink); }
.tab-dropdown:has(.tab-button.active) .dropdown-toggle { background: var(--ink); color: #fff; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 12px); left: 0; z-index: 40; min-width: 250px; padding: 8px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.dropdown-menu.open { display: block; animation: pop .2s ease-out; }
.dropdown-menu button { display: block; width: 100%; padding: 11px 15px; border: 0; border-radius: 13px; background: none; text-align: left; font-size: 14px; font-weight: 600; cursor: pointer; transition: .15s; }
.dropdown-menu button:hover { background: var(--gold-soft); }

.tab-content { display: none; max-width: 1100px; margin: 0 auto; }
.tab-content.active { display: block; animation: swap .5s cubic-bezier(.2, .8, .2, 1); }

.content-intro { position: relative; overflow: hidden; margin-bottom: 26px; padding: 28px 32px 28px 36px; border-radius: var(--r-md); color: var(--ink-2); background: linear-gradient(135deg, #fff6dc, #fff); border: 1px solid rgba(214, 163, 25, .32); box-shadow: var(--sh-1); }
.content-intro::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad-gold); }
.content-intro strong { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.content-intro p { color: var(--mute); }

.content-block { margin-top: 26px; padding: 30px 32px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.content-block h3 { margin-bottom: 14px; font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.content-block p, .content-block li { color: var(--ink-2); font-size: 15.5px; }
.content-block ul { padding-left: 22px; }
.content-block li::marker { color: var(--gold); }
.content-block > p#table-description, #flowchart-purpose { margin: -6px 0 16px; color: var(--mute); }
#workflow-steps p { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); }
#workflow-steps p:last-child { border: 0; }
#workflow-steps strong { color: var(--gold-deep); font-weight: 800; }

/* akordeon buku (dibangun script) */
.acc-tools { display: flex; gap: 8px; margin: -4px 0 8px; }
.chip-btn { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: .2s; }
.chip-btn:hover { background: var(--gold-soft); border-color: rgba(214, 163, 25, .5); }
.acc { margin-top: 12px; overflow: hidden; border-radius: 20px; background: var(--gold-mist); border: 1px solid var(--line); transition: .25s; }
.acc[open] { background: #fff; border-color: rgba(214, 163, 25, .45); box-shadow: var(--sh-1); }
.acc summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 500; line-height: 1; color: var(--gold-deep); transition: transform .25s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-key { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad-gold); font-size: 14px; font-weight: 800; box-shadow: inset 0 2px 2px rgba(255, 255, 255, .6), 0 8px 12px -8px rgba(180, 130, 0, .8); }
.acc-body { padding: 0 24px 20px 68px; animation: swap .35s ease-out; }
.acc-body ul { margin: 4px 0 0 20px; padding: 0; }
.acc-body li { margin: 6px 0; line-height: 1.7; }
.acc-empty { color: var(--mute); font-size: 14px; }

/* kartu info & alur */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0; }
.info-grid.two-col, .info-grid.two-columns { grid-template-columns: repeat(2, 1fr); }
.info-grid.one-col { grid-template-columns: 1fr; }
.info-card {
    position: relative; display: block; overflow: hidden; padding: 28px; border-radius: var(--r-md); color: inherit; text-decoration: none;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .22s ease-out, box-shadow .3s, border-color .3s;
}
.info-card:hover { box-shadow: var(--sh-2); border-color: rgba(214, 163, 25, .55); }
.info-card h3 { margin-bottom: 8px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.info-card p { color: var(--mute); font-size: 14.5px; }
a.info-card span { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--gold-deep); }
a.info-card span::after { content: "→"; transition: transform .25s; }
a.info-card:hover span::after { transform: translateX(5px); }

.workflow-section { max-width: 1100px; margin: 0 auto 60px; }
.workflow-section-title { margin-bottom: 28px; text-align: center; }
.workflow-section-title h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.workflow-section-title p { color: var(--mute); }
.workflow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.workflow-card {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 210px; overflow: hidden; padding: 28px;
    border-radius: var(--r-md); text-align: left; color: var(--ink); cursor: pointer; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .22s ease-out, box-shadow .3s, border-color .3s, background .3s;
}
.workflow-card:hover { box-shadow: var(--sh-2); border-color: rgba(214, 163, 25, .55); }
.workflow-card.is-picked { background: linear-gradient(160deg, #fff4cf, #fff); border-color: var(--gold); }
.workflow-number { display: inline-block; margin-bottom: 16px; padding: 5px 13px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); font-size: 12px; font-weight: 700; }
.workflow-card h3 { margin-bottom: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.025em; }
.workflow-card p { color: var(--mute); font-size: 15px; }
.workflow-link { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; font-size: 14px; font-weight: 700; }
.workflow-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; transition: .25s; }
.workflow-card:hover .workflow-arrow { background: var(--grad-gold); color: var(--ink); transform: translateX(5px); }

/* ---------- TABEL ---------- */
.tbl-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.tbl-tools input {
    flex: 1; min-width: 200px; max-width: 360px; padding: 12px 18px 12px 44px; border-radius: 999px; border: 1px solid var(--line); outline: none; font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a97c0a' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center / 17px;
    box-shadow: var(--sh-1); transition: .2s;
}
.tbl-tools input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 163, 25, .16); }
.tbl-count { font-size: 13px; font-weight: 600; color: var(--mute); }
.table-wrapper { width: 100%; overflow-x: auto; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.workflow-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; text-align: left; }
.workflow-table th { position: sticky; top: 0; z-index: 1; padding: 16px 20px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.workflow-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14.5px; color: var(--ink-2); transition: background .2s; }
.workflow-table tbody tr { cursor: pointer; }
.workflow-table tbody tr:last-child td { border-bottom: 0; }
.workflow-table tbody tr:hover td { background: var(--gold-mist); }
.workflow-table tbody tr.picked td { background: var(--gold-soft); }
.workflow-table tbody tr.picked td:first-child { box-shadow: inset 4px 0 0 var(--gold); }
.workflow-table td:first-child { font-weight: 800; color: var(--gold-deep); }
.workflow-table ul { margin: 0; padding-left: 18px; }
.workflow-table li { margin-bottom: 5px; line-height: 1.65; }
.workflow-table li::marker { color: var(--gold); }
.task-wrapper { max-height: 580px; overflow-y: auto; }
.task-table { min-width: 800px; }
.task-table th:nth-child(1), .task-table td:nth-child(1) { width: 64px; }
.task-table th:nth-child(2), .task-table td:nth-child(2) { width: 200px; }
.task-table th:nth-child(3), .task-table td:nth-child(3) { width: 170px; }
.task-table td:nth-child(2) { font-weight: 700; color: var(--ink); }
.task-table td:nth-child(3) { font-weight: 700; }

/* ---------- FLOWCHART INTERAKTIF ---------- */
.flowchart-container {
    position: relative; display: flex; flex-direction: column; align-items: center; counter-reset: step; overflow-x: auto; padding: 28px 20px 44px;
    border-radius: var(--r-md); text-align: center; border: 1px solid var(--line); box-shadow: var(--sh-1);
    background: radial-gradient(520px 240px at 50% 0%, rgba(244, 207, 90, .22), transparent 70%), #fff;
}
#workflow-flowchart { width: 100%; display: flex; flex-direction: column; align-items: center; }
.flowchart-map { display: flex; flex-direction: column; align-items: center; width: 100%; }
.flow-tools { display: flex; align-items: center; gap: 14px; width: min(100%, 440px); margin: 0 auto 28px; padding: 7px 8px 7px 8px; border-radius: 999px; color: #fff; background: var(--ink); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); }
.flow-tools button { padding: 10px 18px; border: 0; border-radius: 999px; background: var(--grad-gold); color: var(--ink); font-size: 13px; font-weight: 800; cursor: pointer; transition: .2s; }
.flow-tools button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.flow-tools button.ghost { background: rgba(255, 255, 255, .12); color: #fff; }
.flow-progress { flex: 1; height: 6px; overflow: hidden; border-radius: 9px; background: rgba(255, 255, 255, .18); }
.flow-progress i { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--grad-gold); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.flow-tools span { min-width: 34px; font-size: 12.5px; font-weight: 700; }
.flow-node, .flow-decision {
    counter-increment: step; position: relative; display: flex; align-items: center; width: min(100%, 360px); min-height: 66px; margin: 0 auto; padding: 16px 22px 16px 62px;
    border-radius: 20px; text-align: left; font-size: 15px; font-weight: 600; line-height: 1.45; cursor: pointer; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, background .3s, border-color .3s;
}
.flow-node::before, .flow-decision::before {
    content: counter(step); position: absolute; left: 14px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px;
    background: var(--gold-soft); color: var(--gold-deep); font-size: 13px; font-weight: 800; transition: .3s;
}
.flow-node:hover, .flow-decision:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.flow-node.done, .flow-decision.done { background: var(--gold-mist); border-color: rgba(214, 163, 25, .5); }
.flow-node.done::before, .flow-decision.done::before { content: "✓"; background: var(--grad-gold); color: var(--ink); }
.flow-node.active, .flow-decision.active { transform: scale(1.05); background: #fff; border-color: var(--gold); box-shadow: 0 0 0 6px rgba(214, 163, 25, .2), var(--sh-2); }
.flow-node.active::before, .flow-decision.active::before { background: var(--ink); color: #fff; }
.flow-node.highlight { counter-increment: none; width: auto; min-width: 170px; min-height: 0; padding: 14px 28px; justify-content: center; border-radius: 999px; text-align: center; background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.flow-node.highlight::before { display: none; }
.flow-node.highlight.active, .flow-node.highlight.done { background: var(--grad-gold); color: var(--ink); border-color: transparent; }
.flow-node.process { background: #fffaf0; }
.flow-decision { width: min(100%, 360px); margin-bottom: 4px; background: linear-gradient(135deg, #fff1c2, #fff); border: 1.5px dashed var(--gold); }
.flow-decision::before { content: "?"; }
.flow-decision span { font-weight: 800; }
.flow-line, .flow-connector { position: relative; flex: none; width: 3px; height: 34px; margin: 0 auto; border-radius: 3px; background: var(--line); transition: background .4s; }
.flow-line.done, .flow-connector.done { background: var(--grad-gold); }
.flow-branches { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; max-width: 780px; margin-top: 18px; }
.flow-branch { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 16px; border-radius: 24px; background: var(--gold-mist); border: 1px solid var(--line); }
.flow-label { padding: 5px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; }

/* ---------- KOTAK SITULIS / TUGAS ---------- */
.komisi-grid, .bph-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.komisi-box {
    position: relative; grid-column: span 2; height: 540px; overflow-y: auto; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
    scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.komisi-box h3 { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 18px 26px; font-size: 17px; font-weight: 800; letter-spacing: -.015em; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.komisi-box h3::before { content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--grad-gold); box-shadow: inset 0 1px 2px rgba(255, 255, 255, .8), 0 4px 7px -2px rgba(180, 130, 0, .7); }
.komisi-box p { padding: 20px 26px; font-size: 14.5px; color: var(--ink-2); }
.komisi-umum, .bph-umum { color: #fff; background: radial-gradient(420px 220px at 100% 0%, rgba(244, 207, 90, .3), transparent 65%), linear-gradient(160deg, #26221a, #0d0c0a); border-color: transparent; }
.komisi-umum h3, .bph-umum h3 { color: #fff; background: rgba(20, 18, 14, .85); border-color: rgba(255, 255, 255, .1); }
.komisi-umum p, .bph-umum p { color: rgba(255, 255, 255, .78); }
.komisi-c { grid-column: 2 / span 2; }
.komisi-tiga { grid-template-columns: repeat(3, 1fr); }
.komisi-tiga .komisi-box { grid-column: auto; }
.komisi-tiga .komisi-umum { grid-column: 1 / -1; height: 320px; }
.komisi-grid.komisi-enam { grid-template-columns: repeat(6, 1fr); }
.komisi-grid.komisi-enam .komisi-box { grid-column: span 2; }
.komisi-grid.komisi-enam .komisi-umum { grid-column: 1 / -1; height: 260px; }
.komisi-grid.komisi-enam .seksi-7 { grid-column: 2 / span 2; }
.komisi-grid.komisi-enam .seksi-8 { grid-column: 4 / span 2; }
.bph-umum { grid-column: span 4; height: 320px; }
.bph-ketua { grid-column: span 2; grid-row-start: 2; }
.bph-wakil-ketua { grid-column: 3 / span 2; grid-row-start: 2; }
.bph-sekretaris-i { grid-column: span 2; grid-row-start: 3; }
.bph-sekretaris-ii { grid-column: 3 / span 2; grid-row-start: 3; }
.bph-bendahara-i { grid-column: span 2; grid-row-start: 4; }
.bph-bendahara-ii { grid-column: 3 / span 2; grid-row-start: 4; }
.box-tengah { grid-column: 2 / span 2; }
.komisi-box .table-wrapper { margin: 0 20px 20px; width: auto; box-shadow: none; }
.komisi-box .tbl-tools { margin: 20px 20px 12px; }
.komisi-box .workflow-table { min-width: 0; }

/* ---------- ANIMASI ---------- */
@keyframes bob { 50% { transform: translateY(-12px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .hero.hero-home { grid-template-columns: 1fr; }
    .scene { height: 360px; margin-top: 6px; }
    .stack { width: 220px; height: 290px; }
    .category-grid { grid-template-columns: 1fr; }
    .category-card:nth-child(n) { grid-column: auto; min-height: 230px; }
    .document-grid, .info-grid, .info-grid.two-col, .info-grid.two-columns, .workflow-grid { grid-template-columns: 1fr; }
    .komisi-grid, .bph-grid, .komisi-tiga, .komisi-grid.komisi-enam { grid-template-columns: 1fr; }
    .komisi-box, .komisi-c, .box-tengah, .komisi-grid .komisi-umum, .bph-umum, .bph-ketua, .bph-wakil-ketua, .bph-sekretaris-i, .bph-sekretaris-ii, .bph-bendahara-i, .bph-bendahara-ii, .komisi-grid.komisi-enam .seksi-7, .komisi-grid.komisi-enam .seksi-8 { grid-column: 1 / -1 !important; grid-row-start: auto; height: 480px; }
    .komisi-grid .komisi-umum, .bph-umum { height: 320px; }
}
@media (max-width: 680px) {
    .scene { height: 320px; }
    .pane:nth-child(1) { transform: translateZ(-90px) translateX(-78px) translateY(20px); }
    .pane:nth-child(3) { transform: translateZ(90px) translateX(78px) translateY(-20px); }
    .navbar { flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 12px 10px; border-radius: 28px; }
    .logo h2 { justify-content: center; font-size: 14px; }
    .nav-menu { justify-content: center; flex-wrap: wrap; }
    .hero { padding: 38px 22px; border-radius: 26px; }
    .hero::before { opacity: .55; right: -30px; }
    .hero::after { display: none; }
    .content-block, .content-intro { padding: 22px 20px 22px 24px; }
    .acc-body { padding: 0 18px 18px 22px; }
    .flow-branches { grid-template-columns: 1fr; }
    .tab-button { padding: 10px 16px; }
}
