/* ============================================================
   FITUR 1 — BERANDA (Liquid Glass Navbar + Smooth 60fps 3D Stage)
   Butuh: base.css
   ============================================================ */

.hero {
    position: relative;
    isolation: isolate;
    z-index: 1;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #160305;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 0 48px;
}

/* ---------- GPU-Accelerated Background Crossfade + Scroll Enlarge Parallax ---------- */
.hero-bg-slides {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    transform-origin: center center;
    will-change: transform;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.55s var(--ease);
}

.hero-bg-slide.active {
    opacity: 1;
}

.hero-bg-slide.s1 {
    background-image: url('../images/webp/hero-bg.webp');
    background-position: right center;
}

.hero-bg-slide.s2 {
    background-image: url('../images/webp/lady_justice.webp');
}

.hero-bg-slide.s3 {
    background-image: url('../images/webp/news_merger.webp');
}

.hero-bg-slide.s4 {
    background-image: url('../images/webp/semuatim.webp');
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(96deg,
            rgba(18, 3, 5, 0.94) 0%,
            rgba(36, 5, 8, 0.85) 46%,
            rgba(20, 4, 6, 0.72) 100%),
        linear-gradient(180deg,
            rgba(16, 3, 5, 0.4) 0%,
            transparent 35%,
            rgba(16, 3, 5, 0.76) 100%);
}

.hero > .wrap {
    position: relative;
    z-index: 5;
    width: 100%;
}


/* ============================================================
   FLOATING iOS / macOS LIQUID GLASS BUBBLE NAVBAR
   ============================================================ */

.site-nav {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1160px, calc(100% - 32px));
    z-index: 100;
    height: 56px;
    border-radius: var(--radius-pill);
    background: rgba(24, 6, 8, 0.72);
    backdrop-filter: saturate(135%) blur(12px);
    -webkit-backdrop-filter: saturate(135%) blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 12px 32px rgba(15, 15, 20, 0.11),
        0 0 0 1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.nav-inner {
    width: 100%;
    height: 100%;
    padding: 0 9px 0 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}

.brand img {
    height: 27px;
    width: auto;
    display: block;
}

/* ---------- Standard Sliding Pill Top Navigation ---------- */
.nav-links {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 3px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-nav.is-scrolled .nav-links {
    background: rgba(118, 118, 128, 0.11);
    border-color: rgba(0, 0, 0, 0.06);
}

.nav-pill-thumb {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), width 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
}

.nav-links a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 6.5px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

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

.nav-links a.active {
    color: #18161d;
    font-weight: 600;
    background: transparent !important;
}

.site-nav.is-scrolled .nav-links a {
    color: var(--muted);
}

.site-nav.is-scrolled .nav-links a:hover {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.05);
}

.site-nav.is-scrolled .nav-links a.active {
    color: var(--maroon);
    font-weight: 600;
    background: transparent !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav .btn-outline {
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
}

.site-nav.is-scrolled .btn-outline {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
    box-shadow: 0 4px 12px rgba(143, 0, 8, 0.24);
}

.site-nav.is-scrolled .btn-outline:hover {
    background: var(--maroon-hover);
}

.nav-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
}

.site-nav.is-scrolled .nav-toggle {
    color: var(--ink);
    border-color: var(--hairline-strong);
    background: rgba(118, 118, 128, 0.1);
}

.nav-mobile-sheet {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    z-index: 99;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--hairline);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.22s var(--spring);
}

.nav-mobile-sheet.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.nav-mobile-sheet a {
    padding: 12px 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline);
}

.nav-mobile-sheet a:last-child {
    border-bottom: none;
    color: var(--maroon);
    font-weight: 600;
}


/* ============================================================
   HERO MAIN GRID & GPU 3D AUTO-SCROLLING COVERFLOW STAGE
   ============================================================ */

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    align-items: center;
    gap: 52px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    will-change: transform;
}

.hero-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: 14px;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.09;
    font-weight: 600;
    letter-spacing: -0.03em;
    max-width: 520px;
    color: #FFFFFF;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.hero-title.is-changing {
    opacity: 0.25;
    transform: translate3d(0, 4px, 0);
}

.highlight-text {
    color: var(--champagne);
}

.hero-side {
    margin-top: 16px;
    max-width: 450px;
    font-size: 15px;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.78);
    transition: opacity 0.28s var(--ease);
}

.hero-side strong {
    color: #FFFFFF;
    font-weight: 600;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
    width: 100%;
}

.hero-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.since {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
    white-space: nowrap;
}

/* Progress Indicator */
.banner-controls-bar {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
}

.banner-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-dot {
    width: 24px;
    height: 4px;
    border-radius: var(--radius-pill);
    border: none;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width 0.3s var(--spring);
}

.banner-dot.active {
    width: 44px;
}

.banner-dot-fill {
    position: absolute;
    inset: 0;
    width: 0%;
    background: #FFFFFF;
    border-radius: inherit;
}

.banner-dot.active .banner-dot-fill {
    animation: bannerProgress 5000ms linear forwards;
}

.banner-controls-bar.paused .banner-dot.active .banner-dot-fill {
    animation-play-state: paused;
}

@keyframes bannerProgress {
    from { transform: scaleX(0); transform-origin: left center; width: 100%; }
    to { transform: scaleX(1); transform-origin: left center; width: 100%; }
}


/* ============================================================
   @react-bits/DepthCarousel-JS-CSS — 3D DEPTH RAIL CAROUSEL
   Cards recede into depth on a 3D rail with drag, wheel, keyboard & auto-advance
   ============================================================ */

.hero-3d-stage,
.depth-carousel {
    position: relative;
    width: 100%;
    height: 460px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: var(--dc-perspective, 1400px);
    perspective-origin: 50% 50%;
    touch-action: pan-y;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.hero-3d-stage:active,
.depth-carousel:active {
    cursor: grabbing;
}

.hero-3d-stage:focus-visible,
.depth-carousel:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
    border-radius: 12px;
}

.hero-3d-stage::after {
    display: none;
}

.banner-3d-deck,
.depth-carousel__stage {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    transform-style: preserve-3d;
}

.banner-3d-card,
.depth-carousel__card {
    position: absolute;
    top: 48%;
    left: 46%;
    width: 500px;
    height: 390px;
    border-radius: 20px;
    transform-origin: center center;
    overflow: hidden;
    background: #0b0d12;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 24px 48px -18px rgba(0, 0, 0, 0.58),
        0 8px 18px -10px rgba(0, 0, 0, 0.45);
    will-change: transform, opacity;
    cursor: pointer;
    transform: translate(-50%, -50%);
    user-select: none;
}

.banner-3d-card::before {
    display: none;
}

.banner-card-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-card-media img,
.depth-carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.banner-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 36%, rgba(11, 13, 18, 0.92) 100%);
    pointer-events: none;
}

.depth-carousel__tint {
    position: absolute;
    inset: 0;
    background: #05060a;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 3;
}

.banner-card-overlay {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    pointer-events: none;
}

.banner-card-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--champagne);
    margin-bottom: 5px;
}

.banner-card-stat {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 500;
}

.banner-card-overlay h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.26;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.banner-card-overlay p {
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.depth-carousel__arrow {
    display: none !important;
}

.depth-carousel__dots {
    position: absolute;
    bottom: 4px;
    left: 46%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(14, 16, 22, 0.72);
}

.depth-carousel__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.depth-carousel__dot.is-active {
    width: 20px;
    background: #fff;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
    .nav-links a {
        font-size: 12.5px;
        padding: 6px 10px;
    }
}

@media (max-width: 980px) {
    .hero {
        padding: 96px 0 44px;
    }

    .hero-main {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .banner-3d-deck {
        max-width: 100%;
        height: 330px;
    }
}

@media (max-width: 900px) {
    .nav-inner {
        padding: 0 12px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav .btn-outline {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-line {
        display: none;
    }

    .banner-3d-card[data-pos="next"] {
        transform: translate3d(18px, 8px, -60px) rotateY(-9deg) scale(0.94);
    }

    .banner-3d-card[data-pos="back"] {
        transform: translate3d(32px, 16px, -120px) rotateY(-13deg) scale(0.88);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-slides,
    .hero-copy,
    .banner-3d-deck,
    .banner-card-media img {
        transform: none !important;
        will-change: auto;
    }
}

/* 4 GB RAM / Low-Spec Laptop Lite Mode: free GPU compositor layers */
html.perf-lite .hero-bg-slides,
html.perf-lite .hero-bg-slide,
html.perf-lite .hero-copy,
html.perf-lite .banner-3d-deck,
html.perf-lite .banner-3d-card,
html.perf-lite .banner-card-media img {
    will-change: auto !important;
}

html.perf-lite .site-nav {
    backdrop-filter: blur(10px) saturate(125%);
    -webkit-backdrop-filter: blur(10px) saturate(125%);
}
