/* ============================================================
   DESIGN TOKENS & COLOR SYSTEM (MODERN BLUE–PURPLE THEME)
   ============================================================ */

:root {
    /* Brand Accent (tetap hijau untuk CTA) */
    --accent: #2ecc71;
    --accent-soft: rgba(46, 204, 113, 0.15);
    --accent-hover: #3ce383;
    --danger: #ff4d6a;

    /* Background Layers */
    --bg-body: #020317;
    --bg-elevated: #05071c;
    --bg-card: #080a1e;
    --bg-header: #05061a;
    --bg-footer: #05061a;

    /* Text */
    --text-main: #f5f7ff;
    --text-muted: #a3a7c2;

    /* Borders */
    --border-subtle: #20243a;
    --border-strong: rgba(56, 69, 119, 0.95);

    /* Glows / Accents */
    --glow-blue-soft: rgba(37, 99, 235, 0.45);
    --glow-purple-soft: rgba(147, 51, 234, 0.35);

    /* Spacing & Layout */
    --radius-lg: 18px;
    --radius-full: 999px;

    /* Effects */
    --shadow-soft: 0 20px 50px rgba(3, 7, 18, 0.9);

    /* Sizes */
    --header-height-desktop: 70px;
    --header-height-mobile: 60px;
    --mobile-footer-height: 64px;

    /* Animations */
    --transition-fast: 0.18s ease-out;
}

/* ============================================================
   GLOBAL RESET & BASE STYLES
   ============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* background seperti gambar: navy + glow biru + glow ungu */
    background:
        radial-gradient(circle at 78% 40%, rgba(46, 116, 255, 0.35) 0, rgba(4, 7, 23, 0) 42%),
        radial-gradient(circle at 20% 82%, rgba(168, 85, 247, 0.4) 0, rgba(5, 6, 23, 0) 40%),
        linear-gradient(to bottom, #04051b 0, #020316 55%, #020314 100%);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #2ecc71;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height-desktop);
    z-index: 1000;
    background: linear-gradient(to bottom,
            rgba(5, 7, 27, 0.98),
            rgba(5, 7, 27, 0.9));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(51, 65, 85, 0.7);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo img {
    width: 125px;
    height: 55px;
    object-fit: cover;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.main-nav a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--text-muted);
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
    border: 1px solid transparent;
}

.main-nav a[aria-current="page"] {
    color: var(--text-main);
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.22), rgba(15, 23, 42, 0.96));
    border-color: rgba(129, 140, 248, 0.85);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.55);
}

.main-nav a:hover {
    color: var(--text-main);
    background: rgba(30, 64, 175, 0.22);
    border: 1px solid rgba(46, 204, 113, 0.85);
    transform: translateY(-1px);
}

.header-cta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    font-size: 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(46, 204, 113, 0.85);
    color: var(--text-main);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        color var(--transition-fast);
    white-space: nowrap;
}

.btn-pill--accent {
    border-color: rgba(46, 204, 113, 0.85);
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: #020617;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.55);
}

.btn-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(46, 204, 113, 0.85);
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
}

.btn-pill--accent:hover {
    background: linear-gradient(135deg, var(--accent-hover), #a7f3d0);
    box-shadow: 0 18px 36px rgba(34, 197, 94, 0.7);
}

/* Hamburger button */

.header-mobile-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.96);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hamburger-icon {
    width: 22px;
    height: 22px;
}

.hamburger-icon .line {
    stroke: var(--text-muted);
    stroke-width: 1.8;
    stroke-linecap: round;
    transition:
        transform 0.2s ease-out,
        opacity 0.2s ease-out,
        stroke 0.2s ease-out;
}

/* animasi ketika open */
.header-mobile-toggle.is-open .line1 {
    transform-origin: 12px 7px;
    transform: translateY(5px) rotate(45deg);
}

.header-mobile-toggle.is-open .line2 {
    opacity: 0;
}

.header-mobile-toggle.is-open .line3 {
    transform-origin: 12px 17px;
    transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        inset: var(--header-height-mobile) 0 auto 0;
        /* dari bawah header, full lebar atas */
        display: none;
        /* default: hidden */
        flex-direction: column;
        padding: 12px 16px 16px;
        gap: 8px;
        background: linear-gradient(to bottom,
                rgba(5, 7, 27, 0.98),
                rgba(5, 7, 27, 0.96));
        border-bottom: 1px solid rgba(55, 65, 81, 0.85);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
        z-index: 998;
    }

    .main-nav.nav-open {
        display: flex;
        /* ditampilkan ketika hamburger di-klik */
    }
}


/* ============================================================
   BREADCRUMB NAVIGATION
   ============================================================ */

.breadcrumb-nav {
    position: relative;
    top: var(--header-height-desktop);
    z-index: 999;

    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.breadcrumb-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 16px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 10px;
    gap: 4px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 6px;
    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--text-main);
    background: rgba(79, 70, 229, 0.22);
}

.breadcrumb-item[aria-current="page"] {
    color: var(--text-main);
    padding: 4px 8px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    display: inline-block;
    margin: 0 2px;
    color: var(--text-muted);
    opacity: 0.5;
}

@media (max-width: 900px) {
    .breadcrumb-nav {
        top: var(--header-height-mobile);
    }
}

/* ============================================================
   BREADCRUMB FINAL FIX
   ============================================================ */

.breadcrumb-nav {
    position: relative;
    top: auto;
    z-index: auto;
    margin-top: var(--header-height-desktop);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(55, 65, 81, 0.35);
}

.breadcrumb-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 16px;
}

@media (max-width: 900px) {
    .breadcrumb-nav {
        margin-top: var(--header-height-mobile);
    }

    .breadcrumb-inner {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */

.scroll-to-top {
    position: fixed;
    bottom: 70px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #22c55e, #4ade80);
    border: none;
    color: #020617;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.55);
    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.7);
}

.scroll-to-top.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   LAYOUT & GRID
   ============================================================ */

.page-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: calc(var(--header-height-desktop) + 18px) 16px 32px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 20px;
    align-items: stretch;
}

.grid-1 {
    display: flex;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Medium width */
@media (max-width: 1200px) {
    .grid-2 {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    }

    .grid-1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px;
    }
}

/* Tablet & kecil */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: 1;
    }

    .side-card {
        order: 2;
    }
}

/* ============================================================
   HERO REDESIGN – SINGLE FOCUS LAYOUT
   ============================================================ */

.hero-section {
    margin-top: 0;
}

.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.26), transparent 34%),
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 28%),
        radial-gradient(circle at bottom center, rgba(168, 85, 247, 0.14), transparent 30%),
        linear-gradient(180deg, #081225 0%, #050816 100%);
    border: 1px solid rgba(129, 140, 248, 0.34);
    box-shadow:
        0 24px 70px rgba(2, 6, 23, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 30%),
        linear-gradient(315deg, rgba(34, 197, 94, 0.05), transparent 30%);
    pointer-events: none;
}

.hero-copy,
.hero-media {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 860px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c7d2fe;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(129, 140, 248, 0.28);
}

.hero-title {
    margin: 0 0 14px;
    max-width: 900px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
}

.hero-lead {
    max-width: 800px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.88);
    margin-bottom: 18px;
}

.hero-feature-list,
.hero-steps {
    margin: 0;
    padding-left: 0;
}

.hero-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin-bottom: 22px;
}

.hero-feature-list li {
    position: relative;
    min-width: 0;
    padding: 14px 14px 14px 44px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(99, 102, 241, 0.18);
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #03110a;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    margin-bottom: 22px;
}

.hero-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    counter-reset: hero-step;
}

.hero-steps li {
    counter-increment: hero-step;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.4;
}

.hero-steps li::before {
    content: counter(hero-step);
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #020617;
    background: linear-gradient(135deg, #60a5fa, #22c55e);
}

/* Slider */
.hero-media {
    display: grid;
    gap: 16px;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(129, 140, 248, 0.3);
    background: rgba(2, 6, 23, 0.9);
    box-shadow: 0 26px 64px rgba(2, 6, 23, 0.5);
}

.hero-slides {
    position: relative;
    aspect-ratio: 16 / 7.5;
    min-height: 260px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

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

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.62);
    color: #f8fafc;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.hero-slider-btn--prev {
    left: 14px;
}

.hero-slider-btn--next {
    right: 14px;
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.hero-dot.is-active {
    width: 24px;
    background: linear-gradient(135deg, #22c55e, #60a5fa);
}

.hero-info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-info-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(99, 102, 241, 0.16);
}

.hero-info-item .label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.hero-info-item .value {
    display: block;
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 14px;
}

/* Better list styling inside hero if later you use normal ul/ol */
.hero-section ul:not(.hero-feature-list),
.hero-section ol:not(.hero-steps) {
    margin: 0 0 18px;
    padding-left: 22px;
}

.hero-section ul:not(.hero-feature-list) li,
.hero-section ol:not(.hero-steps) li {
    margin-bottom: 10px;
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.7;
}

.hero-section ul:not(.hero-feature-list) li::marker,
.hero-section ol:not(.hero-steps) li::marker {
    color: #4ade80;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-shell {
        padding: 20px;
        gap: 20px;
        border-radius: 22px;
    }

    .hero-feature-list {
        grid-template-columns: 1fr;
    }

    .hero-info-strip {
        grid-template-columns: 1fr;
    }

    .hero-slides {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 28px;
        line-height: 1.15;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }

    .hero-slider-btn {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .hero-steps {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================================
   SIDEBAR & CARD COMPONENTS
   ============================================================ */

.side-card {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 60%), var(--bg-elevated);
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.side-card-header h2 {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* FRAME BANNER – BORDER SELALU NGIKUT GAMBAR */
.brand-banner {
    /* frame kotaknya */
    max-width: 500px;
    /* ukuran maksimum di desktop */
    width: 100%;
    /* responsif: ikut lebar side-card */
    aspect-ratio: 1 / 1;
    /* pastikan kotak 1:1 */
    margin: 0 auto;
    /* center di dalam side-card */

    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(129, 140, 248, 0.55);

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;

    background: radial-gradient(circle at top,
            rgba(59, 130, 246, 0.18),
            rgba(15, 23, 42, 0.95));
}

.brand-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
    /* radius sama persis dengan frame */
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}


/* SIDE CARD "TABLE" STYLE */
.quick-list {
    margin-top: 8px;
    list-style: none;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(56, 69, 119, 0.95);
    background: rgba(6, 9, 30, 0.96);
}

/* setiap baris seperti row tabel */
.quick-list li {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    /* kolom label + value */
    gap: 8px;
    align-items: flex-start;
    padding: 6px 10px;
    font-size: 12px;
    border-bottom: 1px solid rgba(30, 64, 175, 0.35);
}

.quick-list li:last-child {
    border-bottom: none;
}

/* kolom kiri (label) */
.quick-list span.label {
    font-weight: 500;
    color: var(--text-muted);
    text-align: left;
    white-space: nowrap;
}

/* kolom kanan (value) */
.quick-list span.value {
    color: var(--text-main);
    font-weight: 500;
    text-align: right;
    line-height: 1.5;
    word-break: break-word;
}

/* link di dalam value biar rapi */
.quick-list span.value a {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    margin-bottom: 2px;
}

.quick-list span.value a:hover {
    text-decoration: underline;
}

/* sedikit zebra effect biar keliatan tabel */
.quick-list li:nth-child(odd) {
    background: rgba(12, 18, 40, 0.96);
}

.quick-list li:nth-child(even) {
    background: rgba(8, 13, 35, 0.96);
}

/* mobile: kolom label lebih kecil */
@media (max-width: 640px) {
    .quick-list li {
        grid-template-columns: 105px minmax(0, 1fr);
        padding: 6px 8px;
    }
}


/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.section {
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), transparent 55%), var(--bg-card);
    border-radius: 18px;
    border: 1px solid var(--border-subtle);
    padding: 16px 16px 18px;
}

.section+.section {
    margin-top: 6px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.section-content {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
}

.section-kicker {
    font-size: 11px;
    color: var(--text-muted);
}

.section p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.section ul {
    list-style: disc;
    margin-left: 18px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.section ul li+li {
    margin-top: 4px;
    margin-bottom: 4px;
}

.section ol {
    list-style: decimal;
    margin-left: 18px;
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.section ol li+li {
    margin-top: 4px;
}

/* ============================================================
   BLOG LIST ( /blog/ page )
   ============================================================ */

.blog-section {
    margin-top: 8px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-card {
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.14), transparent 55%), #05081b;
    border-radius: 16px;
    border: 1px solid rgba(56, 69, 119, 0.95);
    padding: 12px 14px 14px;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
    border-color: rgba(129, 140, 248, 0.95);
    background: radial-gradient(circle at top, rgba(129, 140, 248, 0.24), #020617 60%);
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.blog-badge {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.24);
    border: 1px solid rgba(129, 140, 248, 0.9);
    color: #e5e7eb;
    font-weight: 500;
}

.blog-date {
    color: var(--text-muted);
}

.blog-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.blog-card-title a {
    color: var(--text-main);
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--accent-hover);
}

.blog-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}

.blog-card-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .blog-card {
        padding: 10px 12px 12px;
    }

    .blog-card-title {
        font-size: 14px;
    }

    .blog-card-excerpt {
        font-size: 12px;
    }
}

/* ============================================================
   GAMES GRID ( /games/ page )
   ============================================================ */

.games-main .hero-card {
    order: 0;
}

.games-main .games-section {
    order: 1;
}

.games-section {
    margin-top: 8px;
}

/* Filter tabs */

.games-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.games-filter-btn {
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(12, 18, 40, 0.96);
    color: var(--text-muted);
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.games-filter-btn:hover {
    color: var(--text-main);
    background: rgba(30, 64, 175, 0.96);
    border-color: rgba(129, 140, 248, 0.9);
    transform: translateY(-1px);
}

.games-filter-btn.is-active {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-color: rgba(129, 140, 248, 0.95);
    color: #f9fafb;
    box-shadow: 0 14px 32px rgba(88, 28, 135, 0.7);
}

/* Grid */

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.game-card {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.1), transparent 60%), rgba(9, 12, 30, 0.98);
    border-radius: 18px;
    border: 1px solid rgba(56, 69, 119, 0.95);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        opacity var(--transition-fast);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
    border-color: rgba(129, 140, 248, 0.95);
    background: radial-gradient(circle at top, rgba(129, 140, 248, 0.24), #020617 60%);
}

.game-card.is-hidden {
    display: none;
}

/* Thumbnail */

.game-thumb {
    border-radius: 14px;
    overflow: hidden;
}

.game-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* Meta */

.game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 2px 4px 4px;
}

.game-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.5);
    color: #e5e7eb;
    border: 1px solid rgba(129, 140, 248, 0.95);
}

/* Responsive games grid */

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .games-filter {
        gap: 6px;
    }

    .games-filter-btn {
        font-size: 11px;
        padding: 5px 10px;
    }

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

    .game-title {
        font-size: 11px;
    }

    .game-tag {
        font-size: 10px;
        padding: 2px 6px;
    }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

details.faq-item {
    background: radial-gradient(circle at top, rgba(79, 70, 229, 0.18), transparent 55%), #05081b;
    border-radius: 14px;
    border: 1px solid rgba(56, 69, 119, 0.95);
    padding: 8px 10px;
    font-size: 13px;
}

details.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    color: var(--text-main);
}

details.faq-item[open] {
    border-color: rgba(129, 140, 248, 0.95);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item p {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   FOOTER (TOP · MIDDLE · BOTTOM)
   ============================================================ */

.site-footer {
    margin-top: 28px;
    padding: 22px 0 14px;
    background: var(--bg-footer);
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    font-size: 12px;
    color: var(--text-muted);
}

.site-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FOOTER TOP */

.footer-top {
    padding-bottom: 18px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: flex-start;
}

.footer-top-block {
    text-align: center;
}

.footer-top-heading {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 10px;
}

.footer-icon-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-icon-list li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-icon-list img {
    height: 32px;
    max-width: 90px;
    object-fit: contain;
    border-radius: 12px;
    padding: 6px 10px;
    background: rgba(248, 250, 252, 0.98);
    border: 1px solid rgba(51, 65, 85, 0.9);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.85);
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.footer-icon-list img:hover {
    transform: translateY(-2px);
    border-color: rgba(191, 219, 254, 0.95);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.95);
}

/* FOOTER MIDDLE */

.footer-middle {
    padding: 18px 0 16px;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.footer-middle-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Brand column */

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo img {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-description {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Social icons */

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-link {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.96);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.footer-social-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;
    color: var(--text-main);
}

.footer-social-link:hover {
    background: rgba(30, 64, 175, 0.9);
    border-color: rgba(129, 140, 248, 0.98);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.95);
}

/* footer nav cols */

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-heading {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-heading-support {
    margin-top: 10px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-list a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-list a:hover {
    color: var(--accent-hover);
}

/* FOOTER BOTTOM */

.footer-bottom {
    padding-top: 10px;
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
    color: var(--text-muted);
}

/* FOOTER RESPONSIVE */

@media (max-width: 900px) {
    .footer-middle-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        row-gap: 18px;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .site-footer {
        margin-top: 22px;
        padding-bottom: calc(var(--mobile-footer-height) + 10px);
    }

    .footer-middle-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-top-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 14px;
    }

    /* Payment tampil full width (dua kolom) */
    .footer-top-block--payments {
        grid-column: 1 / 3;
        /* ← FULL WIDTH */
    }

    /* License tampil di kolom kiri */
    .footer-top-block--license {
        grid-column: 1;
        /* LEFT */
    }

    /* Responsible tampil di kolom kanan */
    .footer-top-block--responsible {
        grid-column: 2;
        /* RIGHT */
    }
}

/* FOOTER TOP responsive */

@media (max-width: 900px) {
    .footer-top-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* ============================================================
   MOBILE FIXED FOOTER
   ============================================================ */

.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--mobile-footer-height);
    background: linear-gradient(to top, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.98));
    border-top: 1px solid rgba(55, 65, 81, 0.95);
    display: none;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.mobile-cta-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mobile-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.nav-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.mobile-cta-btn .label {
    font-weight: 500;
    font-size: 11px;
}

.mobile-cta-btn--login .label {
    color: #e5e7eb;
}

.mobile-cta-btn--register .label {
    color: #bbf7d0;
}

.mobile-cta-btn--bonus .label {
    color: #fde68a;
}

.mobile-cta-btn:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE DESIGN (GLOBAL)
   ============================================================ */

@media (max-width: 900px) {
    .site-header {
        height: var(--header-height-mobile);
    }

    .page-wrapper {
        padding-top: calc(var(--header-height-mobile) + 14px);
        padding-bottom: calc(var(--mobile-footer-height) + 18px);
    }

    .main-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .header-mobile-toggle {
        display: inline-flex;
    }

    .mobile-cta-bar {
        display: block;
    }
}

/* ============================================================
   MOBILE FRIENDLY PATCH
   Header logo safe sizing, non-floating breadcrumb,
   improved mobile spacing and old-device resilience
   ============================================================ */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.site-header {
    overflow: visible;
}

.header-inner {
    min-width: 0;
}

.brand-logo {
    min-width: 0;
    flex: 1 1 auto;
}

.brand-logo img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
    object-position: left center;
}

/* Breadcrumb no longer floating */
.breadcrumb-nav {
    position: relative;
    top: auto;
    z-index: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(55, 65, 81, 0.35);
}

.breadcrumb-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

.breadcrumb-list {
    flex-wrap: wrap;
    row-gap: 6px;
    column-gap: 2px;
}

.breadcrumb-item {
    min-width: 0;
}

.breadcrumb-item a,
.breadcrumb-item[aria-current="page"] {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

main,
section,
article,
aside,
div {
    min-width: 0;
}

.hero-title,
.hero-subtitle,
.section-title,
.section p,
.section li,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (min-width: 901px) {
    .site-header {
        min-height: var(--header-height-desktop);
    }

    .header-inner {
        min-height: var(--header-height-desktop);
    }
}

@media (max-width: 900px) {
    :root {
        --header-height-mobile: 68px;
    }

    .site-header {
        height: auto;
        min-height: var(--header-height-mobile);
    }

    .header-inner {
        height: auto;
        min-height: var(--header-height-mobile);
        padding: 10px 14px;
        gap: 12px;
        align-items: center;
    }

    .brand-logo {
        max-width: calc(100% - 52px);
        flex: 1 1 auto;
    }

    .brand-logo img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 34px;
        object-fit: contain;
        object-position: left center;
    }

    .header-cta {
        display: none;
    }

    .header-mobile-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .main-nav {
        top: var(--header-height-mobile);
        inset: var(--header-height-mobile) 0 auto 0;
        max-height: calc(100svh - var(--header-height-mobile) - var(--mobile-footer-height) - 12px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 14px 16px;
        gap: 8px;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 10px 12px;
        font-size: 14px;
        line-height: 1.35;
    }

    .page-wrapper {
        padding-top: calc(var(--header-height-mobile) + 12px);
        padding-left: 12px;
        padding-right: 12px;
    }

    .breadcrumb-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .breadcrumb-list {
        font-size: 11px;
    }

    .grid-2,
    .grid-1 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .scroll-to-top {
        right: 14px;
        bottom: calc(var(--mobile-footer-height) + 16px);
    }
}

@media (max-width: 480px) {
    :root {
        --header-height-mobile: 70px;
    }

    .header-inner {
        padding: 10px 12px;
        gap: 10px;
    }

    .brand-logo {
        max-width: calc(100% - 48px);
    }

    .brand-logo img {
        max-height: 32px;
    }

    .header-mobile-toggle {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .page-wrapper,
    .breadcrumb-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-nav {
        padding-left: 10px;
        padding-right: 10px;
    }

    .breadcrumb-list {
        font-size: 10px;
    }
}

/* prevent scroll saat menu mobile open */
.no-scroll {
    overflow: hidden;
}

/* mobile nav open state */
@media (max-width: 900px) {
    .main-nav.nav-open {
        display: flex;
        flex-direction: column;
    }

    body.no-scroll {
        overflow: hidden;
    }
}

/* ============================================================
   FIX DUPLICATE BREADCRUMB
   - hide breadcrumb pertama tepat setelah header
   - pertahankan breadcrumb yang ada di dalam konten
   ============================================================ */


/* breadcrumb bawah dibuat selebar container utama */
.page-wrapper .breadcrumb-nav,
main .breadcrumb-nav,
.content-area .breadcrumb-nav,
.container .breadcrumb-nav {
    position: relative;
    top: auto;
    margin-top: 0;
    background: transparent;
    border-bottom: 1px solid rgba(55, 65, 81, 0.35);
}

.page-wrapper .breadcrumb-inner,
main .breadcrumb-inner,
.content-area .breadcrumb-inner,
.container .breadcrumb-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 16px;
}

.page-wrapper .breadcrumb-list,
main .breadcrumb-list,
.content-area .breadcrumb-list,
.container .breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 10px;
    list-style: none;
}

@media (max-width: 900px) {

    .page-wrapper .breadcrumb-inner,
    main .breadcrumb-inner,
    .content-area .breadcrumb-inner,
    .container .breadcrumb-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-wrapper .breadcrumb-list,
    main .breadcrumb-list,
    .content-area .breadcrumb-list,
    .container .breadcrumb-list {
        font-size: 11px;
    }
}

@media (max-width: 480px) {

    .page-wrapper .breadcrumb-inner,
    main .breadcrumb-inner,
    .content-area .breadcrumb-inner,
    .container .breadcrumb-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-wrapper .breadcrumb-list,
    main .breadcrumb-list,
    .content-area .breadcrumb-list,
    .container .breadcrumb-list {
        font-size: 10px;
    }
}

/* ============================================================
   FIX SPACING: BREADCRUMB → CONTENT TERLALU JAUH
   ============================================================ */

/* reset jarak berlebih dari breadcrumb */
.breadcrumb-nav {
    margin-top: var(--header-height-desktop);
    margin-bottom: 6px;
    /* kecilkan jarak ke konten */
}

/* mobile */
@media (max-width: 900px) {
    .breadcrumb-nav {
        margin-top: var(--header-height-mobile);
        margin-bottom: 4px;
    }
}

/* ============================================================
   FIX DOUBLE SPACING DARI PAGE WRAPPER
   ============================================================ */

/* jika breadcrumb ada di atas content */
.page-wrapper {
    padding-top: 16px;
    /* sebelumnya terlalu besar */
}

/* kalau masih terlalu jauh, turunkan lagi */
@media (max-width: 900px) {
    .page-wrapper {
        padding-top: 12px;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        padding-top: 10px;
    }
}

/* ============================================================
   FINAL POLISH OVERRIDE — LAYOUT + TYPOGRAPHY + HERO BALANCE
   ============================================================ */

:root {
    --reading-width: 720px;
}

body {
    font-size: 16px;
}

/* Header / breadcrumb / page spacing */
.page-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 16px 32px;
}

@media (max-width: 900px) {
    .page-wrapper {
        padding-top: 14px;
        padding-bottom: calc(var(--mobile-footer-height) + 18px);
    }
}

main {
    gap: 20px;
}

/* Hero balance */
.hero-shell {
    gap: 20px;
    padding: 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 36%),
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.10), transparent 30%),
        linear-gradient(180deg, #071123 0%, #050816 100%);
    box-shadow: 0 18px 46px rgba(2, 6, 23, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-copy {
    max-width: var(--reading-width);
}

.hero-title {
    max-width: var(--reading-width);
    margin: 0 0 14px;
    font-size: clamp(29px, 3.5vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.85;
    color: rgba(226, 232, 240, 0.9);
}

.hero-feature-list {
    gap: 10px;
    margin-bottom: 20px;
}

.hero-feature-list li {
    font-size: 14px;
    line-height: 1.65;
    padding: 13px 14px 13px 42px;
    border-radius: 16px;
}

.hero-feature-list li::before {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    font-size: 11px;
}

.hero-actions {
    gap: 14px;
    margin-bottom: 0;
}

.hero-actions .hero-cta-primary,
.hero-actions .hero-cta-secondary {
    min-width: 180px;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-actions .hero-cta-primary {
    color: #04110a;
    border: 1px solid rgba(74, 222, 128, 0.85);
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-actions .hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-actions .hero-cta-secondary {
    color: #f8fafc;
    border: 1px solid rgba(96, 165, 250, 0.34);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(7, 12, 28, 0.98));
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-actions .hero-cta-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 222, 128, 0.38);
}

.hero-media {
    margin-top: 2px;
}

.hero-slider {
    max-width: 500px;
    border-radius: 22px;
}

.hero-slider-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
    background: rgba(2, 6, 23, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(4px);
    box-shadow: none;
}

.hero-slider-btn--prev {
    left: 10px;
}

.hero-slider-btn--next {
    right: 10px;
}

.hero-slider-dots {
    bottom: 8px;
    gap: 6px;
    padding: 4px 6px;
    background: rgba(2, 6, 23, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-dot {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.45);
}

.hero-dot.is-active {
    width: 16px;
    height: 7px;
    background: rgba(34, 197, 94, 0.95);
}

/* Sections readability */
.section {
    padding: 18px 18px 20px;
    border-radius: 18px;
}

.section+.section {
    margin-top: 8px;
}

.section-header {
    margin-bottom: 12px;
}

.section-content {
    max-width: var(--reading-width);
    margin-top: 6px;
    gap: 10px;
}

.section-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.section p,
.section ul,
.section ol,
.section .hero-subtitle {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
}

.section ul,
.section ol {
    margin-left: 20px;
}

/* Mobile typography and hero list fix */
@media (max-width: 900px) {
    .hero-shell {
        padding: 20px;
        border-radius: 20px;
    }

    .hero-title {
        font-size: clamp(27px, 6vw, 38px);
    }

    .section-title {
        font-size: 17px;
    }

    .section p,
    .section ul,
    .section ol,
    .section .hero-subtitle {
        font-size: 14px;
        line-height: 1.75;
    }
}

@media (max-width: 640px) {
    .hero-shell {
        padding: 18px;
        gap: 18px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.14;
        max-width: 100%;
    }

    .hero-lead {
        font-size: 14px;
        line-height: 1.8;
        max-width: 100%;
    }

    .hero-feature-list {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .hero-feature-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 0;
        padding: 12px 14px;
        font-size: 13.5px;
        line-height: 1.6;
    }

    .hero-feature-list li::before {
        position: static;
        transform: none;
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        margin-top: 0;
        line-height: 1;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-actions .hero-cta-primary,
    .hero-actions .hero-cta-secondary {
        min-width: 150px;
        min-height: 46px;
        font-size: 13px;
        padding: 12px 16px;
    }

    .hero-slider {
        max-width: 100%;
        border-radius: 20px;
    }

    .hero-slider-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        background: rgba(2, 6, 23, 0.22);
    }

    .hero-slider-btn--prev {
        left: 8px;
    }

    .hero-slider-btn--next {
        right: 8px;
    }

    .hero-slider-dots {
        display: none;
    }

    .section {
        padding: 16px 14px 18px;
    }

    .section-title {
        font-size: 16px;
    }

    .section p,
    .section ul,
    .section ol,
    .section .hero-subtitle {
        font-size: 14px;
        line-height: 1.72;
    }
}

/* ============================================================
   FINAL CLEAN FIX — BREADCRUMB / WRAPPER / HERO SLIDER
   ============================================================ */

/* HEADER tetap fixed */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height-desktop);
    z-index: 1000;
}

/* Breadcrumb tampil normal tepat di bawah header */
.breadcrumb-nav {
    position: relative !important;
    top: auto !important;
    z-index: 20 !important;
    display: block !important;
    margin-top: var(--header-height-desktop) !important;
    margin-bottom: 8px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(55, 65, 81, 0.35);
}

.breadcrumb-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 16px;
}

/* wrapper jangan pakai padding-top besar lagi */
.page-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px 32px !important;
}

/* spacing antar blok cukup dari main */
main {
    display: flex;
    flex-direction: column;
    gap: 16px !important;
}

.section+.section {
    margin-top: 0 !important;
}

/* Hero slider wajib square */
.hero-media {
    display: block;
    margin-top: 4px;
}

.hero-slider {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(129, 140, 248, 0.3);
    background: rgba(2, 6, 23, 0.9);
    box-shadow: 0 20px 46px rgba(2, 6, 23, 0.4);
}

.hero-slides {
    position: relative;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

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

/* Mobile */
@media (max-width: 900px) {
    .site-header {
        height: var(--header-height-mobile);
    }

    .breadcrumb-nav {
        margin-top: var(--header-height-mobile) !important;
        margin-bottom: 6px !important;
    }

    .breadcrumb-inner {
        padding: 10px 12px;
    }

    .page-wrapper {
        padding: 0 12px calc(var(--mobile-footer-height) + 18px) !important;
    }

    .hero-slider {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .breadcrumb-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ============================================================
   FINAL BREADCRUMB + WRAPPER + HERO FIX
   ============================================================ */

/* Header tetap fixed */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height-desktop);
    z-index: 1000;
}

/* Breadcrumb hasil inject header.js tampil normal di bawah header */
.breadcrumb-nav {
    display: block !important;
    position: relative !important;
    top: auto !important;
    z-index: 20 !important;
    margin-top: var(--header-height-desktop) !important;
    margin-bottom: 8px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(55, 65, 81, 0.35) !important;
}

.breadcrumb-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 16px !important;
}

/* Wrapper tidak pakai offset header lagi */
.page-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px 32px !important;
}

/* Rapikan jarak antar section */
main {
    display: flex;
    flex-direction: column;
    gap: 16px !important;
}

.section+.section {
    margin-top: 0 !important;
}

/* Hero slider benar-benar square */
.hero-slider {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
}

.hero-slides {
    position: relative;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

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

/* Mobile */
@media (max-width: 900px) {
    .site-header {
        height: var(--header-height-mobile);
    }

    .breadcrumb-nav {
        margin-top: var(--header-height-mobile) !important;
        margin-bottom: 6px !important;
    }

    .breadcrumb-inner {
        padding: 10px 12px !important;
    }

    .page-wrapper {
        padding: 0 12px calc(var(--mobile-footer-height) + 18px) !important;
    }

    .hero-slider {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .breadcrumb-inner {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .page-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ============================================================
   HERO WIDTH + CONTENT WIDTH FIX
   ============================================================ */

.hero-copy {
    max-width: 980px !important;
}

.hero-title {
    max-width: 980px !important;
}

.hero-lead {
    max-width: 920px !important;
}

.hero-feature-list {
    max-width: 980px;
}

.section-content {
    max-width: 100% !important;
}

/* desktop besar */
@media (min-width: 1200px) {
    .hero-copy {
        max-width: 1040px !important;
    }

    .hero-title {
        max-width: 1040px !important;
    }

    .hero-lead {
        max-width: 980px !important;
    }
}

/* tablet */
@media (max-width: 900px) {

    .hero-copy,
    .hero-title,
    .hero-lead,
    .section-content {
        max-width: 100% !important;
    }
}

/* ============================================================
   HERO CENTER LAYOUT
   ============================================================ */

.hero-shell {
    align-items: center;
    text-align: center;
}

.hero-copy {
    max-width: 900px;
    margin: 0 auto;
}

/* title */
.hero-title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* paragraph */
.hero-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* feature list jadi center */
.hero-feature-list {
    justify-content: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* biar card list tetap rapi */
.hero-feature-list li {
    text-align: left;
    /* ini penting biar gak aneh */
}

/* CTA center */
.hero-actions {
    justify-content: center;
}

/* slider tetap center */
.hero-media {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   MOBILE REFINEMENT
   ============================================================ */

@media (max-width: 640px) {
    .hero-copy {
        max-width: 100%;
    }

    .hero-feature-list {
        max-width: 100%;
    }

    .hero-feature-list li {
        text-align: left;
    }
}

/* ============================================================
   HERO SLIDER VISIBILITY FIX
   ============================================================ */

.hero-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

/* penting: pastikan slide aktif tampil */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* gambar harus full */
.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* container slider jangan collapse */
.hero-slider {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.hero-media {
    width: 100%;
}

/* ============================================================
   FINAL FAQ TYPOGRAPHY + SPACING CONSISTENCY
   Keep this as the LAST block so FAQ follows section rhythm
   ============================================================ */

.section#bs777-faq,
.section[id$="-faq"] {
    padding: 18px 18px 20px;
}

.section#bs777-faq .section-header,
.section[id$="-faq"] .section-header {
    margin-bottom: 12px;
}

.section#bs777-faq .section-title,
.section[id$="-faq"] .section-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

details.faq-item {
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), transparent 52%), rgba(5, 8, 27, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.45);
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.75;
    box-shadow: none;
}

details.faq-item summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding-right: 26px;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 700;
    color: var(--text-main);
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
    line-height: 1;
    color: #9fb6ff;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

details.faq-item[open] summary::after {
    content: "−";
    color: #dbe7ff;
}

details.faq-item[open] {
    border-color: rgba(129, 140, 248, 0.7);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.45);
}

details.faq-item p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
}

details.faq-item p+p {
    margin-top: 8px;
}

details.faq-item a {
    color: var(--accent);
    text-decoration: none;
}

details.faq-item a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

@media (max-width: 900px) {

    .section#bs777-faq,
    .section[id$="-faq"] {
        padding: 16px 16px 18px;
    }

    .section#bs777-faq .section-title,
    .section[id$="-faq"] .section-title {
        font-size: 17px;
    }

    details.faq-item {
        padding: 13px 14px;
        font-size: 14px;
    }

    details.faq-item summary {
        font-size: 14px;
    }

    details.faq-item p {
        font-size: 14px;
        line-height: 1.75;
    }
}

@media (max-width: 640px) {

    .section#bs777-faq,
    .section[id$="-faq"] {
        padding: 15px 14px 17px;
    }

    .faq-list {
        gap: 8px;
    }

    details.faq-item {
        padding: 12px 13px;
        border-radius: 14px;
    }

    details.faq-item summary {
        padding-right: 22px;
        font-size: 14px;
        line-height: 1.55;
    }

    details.faq-item summary::after {
        font-size: 16px;
        top: 1px;
    }

    details.faq-item p {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.72;
    }
}

/* ============================================================
   TYPOGRAPHY SPACING FIX (BALANCE)
   ============================================================ */

/* jarak setelah header (dibesarkan) */
.section-header {
    margin-bottom: 16px !important;
}

/* atau kalau pakai langsung title */
.section-title {
    margin-bottom: 12px;
}

/* paragraf jangan terlalu jauh */
.section-content {
    gap: 5px !important;
}

/* paragraf spacing lebih natural */
.section p {
    margin: 0;
    line-height: 1.75;
}

/* tambahan kontrol paragraf */
.section p+p {
    margin-top: 8px;
}

/* mobile adjustment */
@media (max-width: 640px) {
    .section-header {
        margin-bottom: 14px !important;
    }

    .section-content {
        gap: 6px !important;
    }

    .section p+p {
        margin-top: 6px;
    }
}