/* ==========================================================================
   BookBase — Interactive 3D Scrollytelling Landing Page (tentang.php)
   Palette: Deep Obsidian (#09090b / #0d0d10), Dark Glassmorphism,
            Warm Glowing Orange (#f97316 / #ea580c), Crisp White & Zinc
   ========================================================================== */

:root {
    --bg-deep: #07080a;
    --bg-obsidian: #0e1014;
    --glass-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(12, 13, 17, 0.56) 100%);
    --glass-bg-strong: rgba(14, 15, 19, 0.9);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-border-bright: rgba(255, 255, 255, 0.32);
    --accent-orange: #e4e4e7;
    --accent-amber: #f97316;
    --accent-cta: #f8fafc;
    --text-white: #f8fafc;
    --text-zinc: rgba(244, 244, 245, 0.78);
    --text-muted: rgba(244, 244, 245, 0.52);
    --glass-rim: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(0, 0, 0, 0.22);

    /* Interactive 3D Folder Component Variables */
    --back-fill: rgba(12, 13, 17, 0.54);
    --back-inset-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 42px rgba(0, 0, 0, 0.45);
    --flap-fill: #202127;
    --flap-fill-opacity: 0.28;
    --flap-stroke: rgba(255, 255, 255, 0.28);
    --card-fill: #f1f1f1;
    --card-stroke: #e0e0e0;
    --card-line-fill: #d4d4d4;
    --base-w: 321px;
    --base-h: 270px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

body.scrolly-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    background:
        radial-gradient(920px 560px at 10% 8%, rgba(255, 91, 46, 0.14), transparent 60%),
        radial-gradient(840px 540px at 92% 92%, rgba(255, 128, 66, 0.11), transparent 60%),
        #07080a;
    background-attachment: fixed;
    color: var(--text-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Fixed WebGL 3D Viewport
   ========================================================================== */
.webgl-stage {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: auto;
    cursor: grab;
    overflow: hidden;
}

.webgl-stage:active {
    cursor: grabbing;
}

#threeCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Ambient vignette & subtle radial glow behind 3D object */
.webgl-vignette {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 45%, rgba(9, 9, 11, 0.75) 0%, rgba(9, 9, 11, 0.38) 50%, rgba(9, 9, 11, 0) 100%);
}

/* ==========================================================================
   1. Fixed Top Navbar
   ========================================================================== */
.scrolly-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 20px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.scrolly-brand {
    pointer-events: auto;
    text-decoration: none;
    color: var(--text-white);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.scrolly-nav-center {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(15, 16, 22, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.nav-center-link {
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #d4d4d8;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-center-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.scrolly-nav-right {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-pill-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 8px 24px -8px rgba(0, 0, 0, 0.75);
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.nav-pill-login:hover {
    transform: translateY(-1.5px);
    border-color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 22px -4px rgba(249, 115, 22, 0.45);
}

.nav-pill-login:focus-visible,
.btn-cta-orange:focus-visible,
.btn-cta-glass:focus-visible,
.footer-links a:focus-visible,
.modal-close-btn:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 3px;
}

/* Scroll Progress Indicator on Right Edge */
.scroll-progress-rail {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.scroll-dot.is-active {
    height: 22px;
    background: var(--accent-orange);
    box-shadow: 0 0 12px var(--accent-orange);
}

/* ==========================================================================
   Scrollytelling Track & 4 Viewport Stages
   ========================================================================== */
.scrolly-track {
    position: relative;
    z-index: 10;
    width: 100%;
}

.scrolly-stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 76px 32px;
    pointer-events: none;
}

.stage-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    pointer-events: none;
}

/* ==========================================================================
   Stage 1: Hero Section (0% - 25%) — Minimalist Focus on 3D Book
   ========================================================================== */
.stage-hero {
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: 104px 32px 32px;
}

.hero-spacer {
    height: 12px;
}

.hero-center-stack {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.hero-main-h1 {
    margin: 18px 0 0;
    font-size: clamp(34px, 4.3vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.65);
}

.text-orange-hero {
    color: #f97316;
}

.hero-main-sub {
    margin: 18px auto 0;
    max-width: 620px;
    font-size: 15.5px;
    line-height: 1.6;
    color: #d4d4d8;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-search-glass {
    margin: 26px auto 0;
    width: 100%;
    max-width: 560px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 20px;
    border-radius: 999px;
    background: rgba(15, 16, 22, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-glass:focus-within {
    border-color: rgba(249, 115, 22, 0.72);
    box-shadow: 0 18px 46px rgba(249, 115, 22, 0.18);
}

.hero-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
}

.hero-search-input::placeholder {
    color: #a1a1aa;
}

.hero-search-submit {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    background: #f97316;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.35);
    transition: transform 0.18s ease, background 0.18s ease;
}

.hero-search-submit:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.hero-cta-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-bottom-bar {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.hero-fact-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
    pointer-events: auto;
}

.hero-3d-hint-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    color: #d4d4d8;
    background: rgba(15, 16, 22, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    pointer-events: none;
}

.hero-3d-hint-badge svg {
    color: #f97316;
    flex-shrink: 0;
}

.hero-fact-pill {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-zinc);
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.hero-fact-pill b {
    color: var(--accent-amber);
}

.hero-kicker-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-zinc);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.hero-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.hero-bottom-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-zinc);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.scroll-line-indicator {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, var(--accent-orange), transparent);
    animation: pulseScrollLine 2.2s ease-in-out infinite;
}

@keyframes pulseScrollLine {
    0%, 100% { transform: scaleY(0.65); opacity: 0.45; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ==========================================================================
   Stage 2: Speed & Comparison (25% - 50%)
   ========================================================================== */
.stage-comparison {
    min-height: auto;
    padding: 76px 32px 64px;
}

.stage-comparison .stage-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.comp-left-copy {
    pointer-events: auto;
    max-width: 100%;
    padding: 32px 34px;
    border-radius: 22px;
    background: rgba(14, 15, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comp-headline {
    margin: 0 0 18px;
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-white);
}

.text-orange {
    color: var(--accent-orange);
    text-shadow: 0 0 28px rgba(249, 115, 22, 0.35);
}

.comp-subtext {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-zinc);
}

.comp-center-spacer {
    display: none;
    min-height: 1px;
}

.comp-right-card {
    pointer-events: auto;
    padding: 28px;
    border-radius: 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 24px 54px -18px rgba(0, 0, 0, 0.88),
        0 0 36px -14px rgba(249, 115, 22, 0.22);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-table th,
.comp-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.comp-table tbody tr:last-child td {
    border-bottom: 0;
}

.comp-table th {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-zinc);
    padding-bottom: 16px;
}

.comp-table th.col-bookbase {
    color: var(--accent-orange);
}

.comp-table td.metric-label {
    color: var(--text-zinc);
    font-weight: 500;
}

.comp-table td.val-bookbase {
    color: var(--text-white);
    font-weight: 700;
}

.comp-Value-pill {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-white);
    background: rgba(249, 115, 22, 0.18);
    border: 1px solid rgba(249, 115, 22, 0.45);
}

.comp-table td.val-manual {
    color: var(--text-muted);
    font-weight: 500;
}

.comp-library-notes {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.library-note-item {
    padding: 13px 16px;
    border-radius: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.library-note-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 2px;
}

.library-note-item span {
    font-size: 13px;
    color: var(--text-zinc);
    line-height: 1.5;
}

.library-note-item b {
    color: var(--text-white);
}

/* ==========================================================================
   Stage 3: Frosted Glass Cube / Reliability (50% - 75%)
   ========================================================================== */
.stage-cube {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 64px 32px;
}

.cube-header-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    pointer-events: auto;
}

.cube-headline {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-white);
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.85);
}

.cube-badges-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cube-clean-badge {
    flex: 1 1 320px;
    padding: 14px 22px;
    border-radius: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-zinc);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 34px -14px rgba(0, 0, 0, 0.8);
}

.cube-clean-badge strong {
    color: var(--text-white);
    font-weight: 700;
    margin-right: 4px;
}

.cube-bottom-stats {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    pointer-events: auto;
}

.cube-stat-card {
    padding: 22px 24px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 34px -14px rgba(0, 0, 0, 0.8);
}

.cube-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1.2;
    margin-bottom: 4px;
}

.cube-stat-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-zinc);
}

.cube-rules-grid {
    width: 100%;
    max-width: 1040px;
    margin: 14px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    pointer-events: auto;
}

.cube-rule-card {
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--glass-rim);
    text-align: left;
}

.cube-rule-card strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-amber);
    margin-bottom: 4px;
}

.cube-rule-card p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-zinc);
}

/* ==========================================================================
   Stage 4: Final Call-to-Action & Minimalist Footer (75% - 100%)
   ========================================================================== */
.stage-cta {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 48px 32px 64px;
}

.cta-center-box {
    margin: auto 0;
    text-align: center;
    max-width: 760px;
    pointer-events: auto;
}

.cta-headline {
    margin: 0 0 32px;
    font-size: clamp(36px, 4.4vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-white);
    text-shadow: 0 6px 32px rgba(0, 0, 0, 0.9);
}

.cta-buttons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 32px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-white);
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    border: 1px solid rgba(255, 185, 140, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 32px -4px rgba(234, 88, 12, 0.65),
        0 14px 28px -10px rgba(0, 0, 0, 0.85);
    cursor: pointer;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s ease, filter 0.24s ease;
}

.btn-cta-orange:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 0 42px 0 rgba(249, 115, 22, 0.82),
        0 18px 36px -10px rgba(0, 0, 0, 0.9);
}

.btn-cta-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-white);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 14px 28px -12px rgba(0, 0, 0, 0.85);
    cursor: pointer;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, background-color 0.24s ease;
}

.btn-cta-glass:hover {
    transform: translateY(-2px);
    border-color: var(--glass-border-bright);
    background: rgba(249, 115, 22, 0.14);
}

/* Minimalist Footer at Bottom of Stage 4 */
.scrolly-footer {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 28px;
    border-radius: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    pointer-events: auto;
}

.footer-brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-white);
    text-decoration: none;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a,
.footer-links button {
    background: none;
    border: 0;
    padding: 4px 0;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-zinc);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--accent-orange);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-pill {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.social-pill:hover {
    transform: translateY(-2px);
    border-color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.2);
}

/* ==========================================================================
   Interactive Katalog & Info Modal (<dialog>)
   ========================================================================== */
.glass-modal {
    max-width: 960px;
    width: calc(100% - 32px);
    max-height: 84vh;
    padding: 0;
    border-radius: 24px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border-bright);
    color: var(--text-white);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: 0 32px 70px -16px rgba(0, 0, 0, 0.95), 0 0 40px -12px rgba(249, 115, 22, 0.3);
}

.glass-modal::backdrop {
    background: rgba(9, 9, 11, 0.78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.modal-inner {
    padding: 28px 32px;
    overflow-y: auto;
    max-height: 82vh;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
}

.modal-close-btn {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.modal-close-btn:hover {
    border-color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.16);
}

.modal-search-row {
    margin-bottom: 20px;
}

.modal-search-input {
    width: 100%;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font: inherit;
    font-size: 14px;
}

.modal-search-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.modal-book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.modal-book-card {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(249, 115, 22, 0.22);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-book-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    background: #141418;
}

.modal-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-book-title {
    margin: 4px 0 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.35;
}

.modal-book-meta {
    font-size: 12px;
    color: var(--text-zinc);
}

.modal-book-stock {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-orange);
}

/* ==========================================================================
   Responsive Design (Desktop & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
    .stage-comparison .stage-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .comp-center-spacer {
        display: none;
    }

    .comp-left-copy {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .modal-book-grid,
    .cube-bottom-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .scrolly-navbar {
        padding: 16px 20px;
    }

    .scrolly-stage {
        padding: 84px 20px 40px;
    }

    .scroll-progress-rail {
        display: none;
    }

    .cube-badges-row {
        flex-direction: column;
    }

    .cube-clean-badge {
        flex: 1 1 auto;
        width: 100%;
    }

    .cube-bottom-stats,
    .cube-rules-grid {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .scrolly-footer {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 14px;
    }

    .modal-book-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Structured Information Sections (Before Footer)
   ========================================================================== */
.info-sections-wrap {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px 72px;
    display: flex;
    flex-direction: column;
    gap: 64px;
    pointer-events: auto;
}

.info-section-block {
    width: 100%;
}

/* 1. Glass Strip 4 Kolom */
.status-glass-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--glass-rim), 0 20px 44px -18px rgba(0, 0, 0, 0.85);
    overflow: hidden;
}

.strip-item {
    padding: 24px 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.strip-item:last-child {
    border-right: 0;
}

.strip-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.strip-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.strip-live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.live-green-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
    animation: livePulseGreen 2.2s ease-in-out infinite;
}

@keyframes livePulseGreen {
    0%, 100% { transform: scale(0.92); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Editorial Section Heads (01 / KATALOG PUBLIK, 02 / CARA KERJA, 03 / TATA TERTIB) */
.editorial-sec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.sec-index-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-orange);
}

.editorial-sec-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-white);
}

/* 2. Category Filter Tabs & 4 Book Cards */
.cat-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(22, 22, 26, 0.72);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.cat-tab-btn {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-zinc);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
}

.cat-tab-btn:hover {
    color: var(--text-white);
}

.cat-tab-btn.is-active {
    color: var(--text-white);
    background: rgba(249, 115, 22, 0.22);
    border-color: rgba(249, 115, 22, 0.55);
}

.featured-4-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding-top: 116px;
    justify-items: center;
    align-items: end;
}

.folder-sec-sub {
    margin: 6px 0 0;
    font-size: 13.5px;
    color: var(--text-zinc);
}

.preview-book-card.folder-book-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: var(--base-w);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.folder {
    position: relative;
    width: var(--base-w);
    height: var(--base-h);
    display: block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.folder-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.folder-stage {
    position: absolute;
    inset: 0;
    perspective: 800px;
}

.folder-back {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--base-w);
    height: var(--base-h);
    border-radius: 25px;
    background-color: var(--back-fill);
    box-shadow: var(--back-inset-shadow);
}

.folder-toggle:focus-visible ~ .folder-stage .folder-back {
    outline: 2px solid #f97316;
    outline-offset: 4px;
}

.cards {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

.folder-book-sheet {
    width: 164px;
    height: 214px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.folder-book-sheet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.folder-book-sheet-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px 12px 12px;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(9, 9, 11, 0.86) 42%, rgba(9, 9, 11, 0.96) 100%);
    text-align: left;
}

.folder-book-sheet-caption strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 2px;
}

.folder-book-sheet-caption span {
    display: block;
    font-size: 10.5px;
    color: #d4d4d8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-1 {
    transform: translate(-50%, -50%) translate(40px, -10px) rotate(10deg);
}

.card-2 {
    transform: translate(-50%, -50%) translate(3px, -20px) rotate(2deg);
    transition-delay: 0.02s;
}

.card-3 {
    transform: translate(-50%, -50%) translate(-40px, -22px) rotate(-5deg);
}

.folder:hover .card-1 {
    transform: translate(-50%, -50%) translate(40px, -30px) rotate(14deg);
    transition-delay: 0.12s;
}

.folder:hover .card-2 {
    transform: translate(-50%, -50%) translate(3px, -35px) rotate(-1deg);
    transition-delay: 0.06s;
}

.folder:hover .card-3 {
    transform: translate(-50%, -50%) translate(-40px, -44px) rotate(-9deg);
    transition-delay: 0s;
}

.folder-toggle:checked ~ .folder-stage .card-1 {
    transform: translate(-50%, -50%) translate(70px, -160px) rotate(18deg);
    transition-delay: 0.1s;
}

.folder-toggle:checked ~ .folder-stage .card-2 {
    transform: translate(-50%, -50%) translate(0px, -180px) rotate(-3deg);
    transition-delay: 0.05s;
}

.folder-toggle:checked ~ .folder-stage .card-3 {
    transform: translate(-50%, -50%) translate(-65px, -170px) rotate(-14deg);
    transition-delay: 0s;
}

.flap {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 16px;
    width: 321px;
    height: 241px;
    transform: translate(-50%, -50%) rotateX(-15deg);
    transform-origin: bottom center;
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

.folder:hover .flap {
    transform: translate(-50%, -50%) rotateX(-45deg);
}

.folder-toggle:checked ~ .folder-stage .flap {
    transform: translate(-50%, -50%) rotateX(-55deg);
}

.flap-blur {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    clip-path: path("M0 25C0 11.1929 11.1929 0 25 0H136.084C143.044 0 149.689 2.90139 154.42 8.00608L178.08 33.5343C182.811 38.639 189.456 41.5404 196.416 41.5404H296C309.807 41.5404 321 52.7333 321 66.5404V216C321 229.807 309.807 241 296 241H25C11.1929 241 0 229.807 0 216V25Z");
    -webkit-clip-path: path("M0 25C0 11.1929 11.1929 0 25 0H136.084C143.044 0 149.689 2.90139 154.42 8.00608L178.08 33.5343C182.811 38.639 189.456 41.5404 196.416 41.5404H296C309.807 41.5404 321 52.7333 321 66.5404V216C321 229.807 309.807 241 296 241H25C11.1929 241 0 229.807 0 216V25Z");
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flap svg {
    position: absolute;
    inset: 0;
}

.flap-book-overlay {
    position: absolute;
    inset: 72px 24px 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    pointer-events: none;
}

.flap-book-overlay .preview-book-title {
    margin: 0 0 4px;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.flap-book-overlay .preview-book-author {
    margin: 0;
    font-size: 13px;
}

.folder-item-footer {
    width: 100%;
    display: flex;
}

.folder-item-footer .preview-pinjam-btn {
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .card,
    .flap {
        transition: none;
    }
}

.preview-card-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.preview-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.preview-stock-badge {
    align-self: flex-start;
    padding: 3px 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #86efac;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(134, 239, 172, 0.28);
}

.preview-stock-badge.is-out {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(252, 165, 165, 0.28);
}

.preview-book-title {
    margin: 0 0 4px;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-white);
}

.preview-book-author {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--text-zinc);
}

.preview-pinjam-btn {
    margin-top: auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.36) 0%, rgba(234, 88, 12, 0.16) 100%);
    border: 1px solid rgba(249, 115, 22, 0.52);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.preview-pinjam-btn:hover {
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    border-color: rgba(255, 185, 140, 0.7);
}

/* 3. Alur Peminjaman 3 Langkah */
.steps-3-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-glass-card {
    padding: 28px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--glass-rim), 0 18px 40px -16px rgba(0, 0, 0, 0.85);
}

.step-mono-num {
    display: inline-block;
    margin-bottom: 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
}

.step-glass-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
}

.step-glass-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-zinc);
}

/* 4. Ketentuan & FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--glass-rim);
    overflow: hidden;
    transition: border-color 0.24s ease;
}

.faq-item.is-open {
    border-color: var(--glass-border-bright);
}

.faq-trigger {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    cursor: pointer;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.14);
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-panel {
    grid-template-rows: 1fr;
}

.faq-panel-inner {
    overflow: hidden;
    padding: 0 24px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-zinc);
    transition: padding-bottom 0.32s ease;
}

.faq-item.is-open .faq-panel-inner {
    padding-bottom: 22px;
}

.faq-panel-inner strong {
    color: var(--text-white);
}

/* 5. Institutional Footer */
.institutional-footer {
    padding: 36px 38px 26px;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--glass-rim), 0 22px 48px -18px rgba(0, 0, 0, 0.88);
}

.inst-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.9fr;
    gap: 32px;
    align-items: start;
}

.inst-desc {
    margin: 12px 0 0;
    max-width: 34ch;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-zinc);
}

.inst-info-col h3,
.inst-links-col h3 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.inst-info-col p {
    margin: 0 0 8px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-zinc);
}

.inst-info-col strong {
    color: var(--accent-orange);
}

.inst-links-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.inst-links-col a,
.inst-links-col button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: 13px;
    color: var(--text-zinc);
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.inst-links-col a:hover,
.inst-links-col button:hover {
    color: var(--accent-orange);
}

.inst-footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 12.5px;
    color: var(--text-muted);
}

@media (max-width: 1100px) {
    .status-glass-strip,
    .featured-4-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .strip-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .steps-3-grid,
    .inst-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .info-sections-wrap {
        padding: 24px 20px 40px;
        gap: 64px;
    }

    .status-glass-strip,
    .featured-4-grid,
    .inst-links-col ul {
        grid-template-columns: 1fr;
    }

    .featured-4-grid {
        padding-top: 64px;
    }

    .folder {
        transform: scale(0.92);
        transform-origin: center bottom;
    }

    .strip-item {
        border-right: 0;
    }

    .institutional-footer {
        padding: 26px 22px 20px;
    }

    .scrolly-nav-center {
        display: none;
    }

    .stage-hero {
        padding: 88px 18px 24px;
    }

    .hero-main-h1 {
        font-size: 32px;
    }

    .hero-main-sub {
        font-size: 14px;
    }

    .hero-bottom-bar {
        flex-direction: column;
        gap: 12px;
    }

    .hero-3d-hint-badge {
        position: static;
    }
}

/* Antislop Accessibility, Focus & Reduced-Motion Baseline (R-03, R-27, R-32, R-39) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-search-submit {
    width: 44px;
    height: 44px;
}

.cat-tab-btn,
.preview-pinjam-btn,
.nav-center-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

a[href]:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

.empty-filter-state {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding: 20px 24px;
    border-radius: 14px;
    text-align: center;
    font-size: 14px;
    color: #d4d4d8;
    background: rgba(15, 16, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Editorial Alignment with 3D Interior Journey */
.hero-meta-line {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #d4d4d8;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.comp-editorial-notes {
    margin-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.editorial-note-row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.editorial-note-row strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 3px;
}

.editorial-note-row span {
    font-size: 13.5px;
    color: #d4d4d8;
    line-height: 1.55;
}

.cta-editorial-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 40px;
    border-radius: 22px;
    background: rgba(9, 9, 11, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    text-align: left;
    pointer-events: auto;
}

.cta-editorial-copy {
    max-width: 600px;
}

.cta-editorial-box .cta-headline {
    margin-bottom: 14px;
    font-size: clamp(30px, 3.4vw, 44px);
}

.cta-subcopy {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #d4d4d8;
}

.cta-editorial-box .cta-buttons-row {
    justify-content: flex-start;
    flex-shrink: 0;
}

.info-split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.info-split-col {
    padding: 32px 34px;
    border-radius: 22px;
    background: rgba(14, 15, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.split-heading {
    margin: 0 0 12px;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.split-lead {
    margin: 0 0 22px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #d4d4d8;
}

.editorial-flow-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: flow-step;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.editorial-flow-list li {
    counter-increment: flow-step;
    position: relative;
    padding: 18px 0 18px 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.editorial-flow-list li::before {
    content: "0" counter(flow-step);
    position: absolute;
    left: 0;
    top: 19px;
    font-size: 13px;
    font-weight: 700;
    color: #f97316;
}

.editorial-flow-list strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.editorial-flow-list span {
    font-size: 13.5px;
    line-height: 1.55;
    color: #d4d4d8;
}

@media (max-width: 900px) {
    .info-split-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-editorial-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 26px;
        gap: 24px;
    }

    .cta-editorial-box .cta-buttons-row {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Unified Frosted Glassmorphism Across All Cards & Panels
   ========================================================================== */
.comp-left-copy,
.comp-right-card,
.cube-stat-card,
.cta-editorial-box,
.info-split-col,
.institutional-footer,
.modal-book-card,
.empty-filter-state {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 18px 44px -12px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(0, 0, 0, 0.16);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.faq-item {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 65%, rgba(12, 13, 18, 0.45) 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 10px 26px -10px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.14);
    transition: border-color 0.3s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.folder-back {
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.folder-book-sheet {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(24, 24, 27, 0.72) 100%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 rgba(0, 0, 0, 0.22);
}

.folder-book-sheet-caption {
    background: linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(12, 13, 18, 0.78) 45%, rgba(12, 13, 18, 0.92) 100%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
}

.comp-left-copy:hover,
.comp-right-card:hover,
.cube-stat-card:hover,
.cta-editorial-box:hover,
.info-split-col:hover,
.faq-item:hover,
.modal-book-card:hover {
    border-color: rgba(255, 255, 255, 0.36);
    box-shadow:
        0 22px 52px -12px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

@supports not (backdrop-filter: blur(1px)) {
    .comp-left-copy,
    .comp-right-card,
    .cube-stat-card,
    .cta-editorial-box,
    .info-split-col,
    .faq-item,
    .institutional-footer,
    .modal-book-card,
    .empty-filter-state,
    .folder-back,
    .folder-book-sheet {
        background: rgba(16, 17, 24, 0.9);
    }
}

/* ==========================================================================
   Editorial Smoked-Glass Redesign (Anti-Slop Architectural Refinement)
   ========================================================================== */
body.scrolly-body {
    background: #09090b;
}

.hero-main-h1 em,
.comp-headline em,
.editorial-sec-head h2 em,
.split-heading em {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.scroll-dot.is-active {
    background: #f8fafc;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

.scrolly-nav-center,
.hero-search-glass {
    border-radius: 12px;
    background: rgba(15, 16, 22, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-search-glass:focus-within {
    border-color: rgba(255, 255, 255, 0.36);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

.nav-center-link,
.nav-pill-login,
.hero-search-submit,
.btn-cta-orange,
.btn-cta-glass,
.hero-3d-hint-badge,
.modal-close-btn {
    border-radius: 10px;
}

.btn-cta-orange,
.hero-search-submit,
.nav-pill-login {
    background: #f8fafc;
    color: #09090b;
    border: 1px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-cta-orange:hover,
.hero-search-submit:hover,
.nav-pill-login:hover {
    background: #e4e4e7;
    color: #09090b;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.btn-cta-glass {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-cta-glass:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

.stage-open-view {
    min-height: 68vh;
    padding: 0;
}

/* Stage 2: 4-cell hairline collection ledger inside left card */
.comp-stat-ledger {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.ledger-cell {
    padding: 16px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ledger-val {
    display: block;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 4px;
}

.ledger-lbl {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-zinc);
}

/* Stage 2 table cleanup */
.comp-table th.col-bookbase {
    color: #ffffff;
}

/* Info Section Hairline FAQ Rows (no nested card-in-card boxes or orange circles) */
.info-split-col .faq-accordion {
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.info-split-col .faq-item,
.info-split-col .faq-item:hover {
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.info-split-col .faq-trigger {
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
}

.info-split-col .faq-icon {
    background: none;
    border: 0;
    width: auto;
    height: auto;
    color: #f8fafc;
    font-weight: 400;
    font-size: 18px;
}

.info-split-col .faq-panel-inner {
    padding: 0 24px 0 0;
    font-size: 13.5px;
}

.info-split-col .faq-item.is-open .faq-panel-inner {
    padding-bottom: 18px;
}

.editorial-flow-list li::before {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 800;
    top: 19px;
    color: rgba(244, 244, 245, 0.72);
}

/* Quiet Folder Labels & Action Link */
.flap-cat-index {
    display: block;
    margin-bottom: 6px;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    color: rgba(248, 250, 252, 0.65);
}

.folder-text-action {
    min-height: 44px;
    padding: 6px 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    color: #f8fafc;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.folder-text-action:hover {
    border-bottom-color: #ffffff;
    opacity: 0.85;
}

a[href]:focus-visible,
button:focus-visible,
input:focus-visible,
.folder-toggle:focus-visible ~ .folder-stage .folder-back {
    outline: 2px solid #f8fafc;
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .comp-stat-ledger {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Tentang Website Section (#tentang-website) & Redesigned Footer
   ========================================================================== */
.about-website-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    border-radius: 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 18px 44px -12px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.about-website-lead {
    padding: 36px 38px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-kicker {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.about-website-lead h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-white);
}

.about-website-lead h2 em {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 800;
    color: #ffffff;
}

.about-website-lead p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-zinc);
}

.about-website-pillars {
    padding: 10px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-pillar-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-pillar-row:last-child {
    border-bottom: 0;
}

.about-pillar-num {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.3;
    color: rgba(248, 250, 252, 0.65);
}

.about-pillar-row h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
}

.about-pillar-row p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-zinc);
}

/* Redesigned Footer */
.institutional-footer {
    padding: 36px 38px 24px;
    border-radius: 20px;
}

.inst-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.inst-footer-brand-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inst-footer-tagline {
    font-size: 13.5px;
    color: var(--text-zinc);
}

.inst-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inst-footer-actions .btn-cta-orange,
.inst-footer-actions .btn-cta-glass {
    min-height: 44px;
    padding: 0 20px;
    font-size: 13px;
}

.inst-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.1fr 0.85fr 0.85fr;
    gap: 32px;
    padding: 28px 0;
    align-items: start;
}

.inst-brand-col h3 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.inst-desc {
    margin: 0;
    max-width: 34ch;
}

.inst-info-col strong {
    color: var(--text-white);
}

.inst-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inst-links-col a,
.inst-links-col button {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

.inst-links-col a:hover,
.inst-links-col button:hover {
    color: #ffffff;
}

.inst-footer-bottom {
    margin-top: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    text-align: left;
}

@media (max-width: 960px) {
    .about-website-card {
        grid-template-columns: 1fr;
    }

    .about-website-lead {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 28px;
    }

    .about-website-pillars {
        padding: 8px 28px;
    }

    .inst-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .about-website-lead,
    .about-website-pillars {
        padding-left: 22px;
        padding-right: 22px;
    }

    .inst-footer-grid {
        grid-template-columns: 1fr;
    }

    .inst-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@supports not (backdrop-filter: blur(1px)) {
    .about-website-card,
    #katalog-pilihan {
        background: rgba(16, 17, 24, 0.9);
    }
}

/* ==========================================================================
   Spacing Rhythm Normalization Across All Information Sections
   ========================================================================== */
.info-sections-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 80px;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

#stage2.stage-comparison {
    padding: 0;
    min-height: auto;
}

#stage2 .stage-inner {
    max-width: 100%;
    padding: 0;
}

.stage-comparison .stage-inner,
.info-split-section {
    gap: 28px;
}

.about-website-lead,
.comp-left-copy,
.comp-right-card,
.info-split-col {
    padding: 36px 38px;
}

#katalog-pilihan {
    padding: 36px 38px 40px;
    border-radius: 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 18px 44px -12px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}

#katalog-pilihan .editorial-sec-head {
    margin-bottom: 0;
}

.featured-4-grid {
    padding-top: 28px;
    transition: padding-top 0.42s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.featured-4-grid:has(.folder-toggle:checked) {
    padding-top: 140px;
}

@media (max-width: 720px) {
    .info-sections-wrap {
        padding: 48px 20px 64px;
        gap: 48px;
    }

    .about-website-lead,
    .comp-left-copy,
    .comp-right-card,
    .info-split-col,
    #katalog-pilihan,
    .institutional-footer {
        padding: 26px 22px;
    }

    .featured-4-grid {
        padding-top: 20px;
    }

    .featured-4-grid:has(.folder-toggle:checked) {
        padding-top: 112px;
    }
}

/* ==========================================================================
   Pure White Glow System (Aligned with Dashboard)
   ========================================================================== */
.scrolly-nav-center,
.hero-search-glass {
    box-shadow:
        0 0 32px -12px rgba(255, 255, 255, 0.2),
        0 14px 36px -10px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-search-glass:focus-within {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow:
        0 0 38px -10px rgba(255, 255, 255, 0.26),
        0 14px 36px rgba(0, 0, 0, 0.65);
}

.hero-3d-hint-badge svg {
    color: #f8fafc;
}

.about-website-card,
.comp-left-copy,
.comp-right-card,
#katalog-pilihan,
.info-split-col,
.institutional-footer,
.glass-modal,
.modal-book-card {
    box-shadow:
        0 0 38px -14px rgba(255, 255, 255, 0.18),
        0 18px 44px -12px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}

.about-website-card:hover,
.comp-left-copy:hover,
.comp-right-card:hover,
#katalog-pilihan:hover,
.info-split-col:hover,
.modal-book-card:hover {
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow:
        0 0 48px -10px rgba(255, 255, 255, 0.28),
        0 22px 48px -12px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.folder-back {
    box-shadow:
        0 0 34px -12px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 18px 42px rgba(0, 0, 0, 0.55);
}

.folder-book-sheet {
    box-shadow:
        0 0 26px -8px rgba(255, 255, 255, 0.22),
        0 16px 34px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.btn-cta-orange:hover,
.hero-search-submit:hover,
.nav-pill-login:hover {
    box-shadow: 0 0 24px -4px rgba(255, 255, 255, 0.45);
}

.modal-search-input:focus {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   Unified Navbar (Aligned with Dashboard app_topbar.php)
   ========================================================================== */
.scrolly-navbar {
    padding: 16px 32px 0;
    display: block;
}

.app-topbar-pill {
    pointer-events: auto;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(15, 16, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 0 32px -12px rgba(255, 255, 255, 0.2),
        0 14px 36px -10px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nav-glass-glider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: 10px;
    pointer-events: none;
    opacity: 0;
    transform-origin: center center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.76s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        border-radius 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease;
}

.nav-glass-glider.is-melting-right,
.nav-glass-glider.is-melting-left {
    border-radius: 12px;
}

.app-topbar-pill.is-glider-ready .nav-glass-glider {
    opacity: 1;
}

.app-topbar-pill.is-glider-ready .top-nav-link,
.app-topbar-pill.is-glider-ready .top-nav-link:hover,
.app-topbar-pill.is-glider-ready .top-nav-link.is-active {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.topbar-nav-group {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.topbar-nav-left {
    justify-content: flex-start;
}

.topbar-nav-right {
    justify-content: flex-end;
}

.top-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    color: #d4d4d8;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.top-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.top-nav-link.is-active {
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.brand.brand-topbar {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding: 0 14px;
}

.app-topbar-pill .nav-pill-login {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 960px) {
    .scrolly-navbar {
        padding: 12px 18px 0;
    }

    .app-topbar-pill {
        grid-template-columns: 1fr;
        padding: 12px 14px;
        gap: 10px;
    }

    .topbar-nav-left,
    .topbar-nav-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand.brand-topbar {
        order: -1;
    }

    .stage-hero {
        padding-top: 150px;
    }
}

/* ==========================================================================
   75% Transparency + Frosted Glass Across All Cards
   ========================================================================== */
:root {
    --glass-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(15, 16, 22, 0.25) 100%);
    --back-fill: rgba(15, 16, 22, 0.25);
}

.about-website-card,
.comp-left-copy,
.comp-right-card,
#katalog-pilihan,
.info-split-col,
.institutional-footer,
.modal-book-card,
.empty-filter-state,
.folder-back {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.11) 0%, rgba(15, 16, 22, 0.25) 100%);
    -webkit-backdrop-filter: blur(12px) saturate(165%);
    backdrop-filter: blur(12px) saturate(165%);
    border: 1px solid rgba(255, 255, 255, 0.24);
}
