
        /* Custom style bawaan tetap dipertahankan */
        .promo-grid::before,
        .promo-grid::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 30px;
            height: 90px;
            transform: translateY(-50%);
            border: 1px solid rgba(255, 255, 255, 0.28);
            opacity: 0.6;
        }

        /* Tambahkan di file CSS Anda */
        .overflow-y-auto::-webkit-scrollbar {
        width: 6px;
        }
        .overflow-y-auto::-webkit-scrollbar-thumb {
        background-color: #cbd5e1; /* warna slate-300 */
        border-radius: 10px;
        }
        .promo-grid::before {
            left: 12px;
        }

        .promo-grid::after {
            right: 12px;
        }


        .feature-overlay {
            background: linear-gradient(to top, rgba(13, 21, 40, 0.82), rgba(13, 21, 40, 0.05));
        }

        .prof-tab {
            padding: 12px 4px;
            font-size: 14px;
            font-weight: 600;
            color: #64748b;
            border-bottom: 2px solid transparent;
            cursor: pointer;
            background: none;
            border-top: none;
            border-left: none;
            border-right: none;
            transition: color .18s, border-color .18s;
        }

        .prof-tab.active {
            color: #2563eb;
            border-bottom-color: #2563eb;
        }

        /* Input field */
        .field-input {
            width: 100%;
            padding: 11px 14px;
            border: 1.5px solid #e2e8f0;
            border-radius: 10px;
            font-size: 13.5px;
            color: #0f172a;
            font-family: "Inter", sans-serif;
            background: #f8fafc;
            outline: none;
            transition: border-color .18s, box-shadow .18s;
        }

        .field-input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
            background: #fff;
        }

        .field-input.readonly {
            background: #f1f5f9;
            color: #64748b;
            cursor: not-allowed;
        }

        .field-select {
            width: 100%;
            padding: 11px 36px 11px 14px;
            border: 1.5px solid #e2e8f0;
            border-radius: 10px;
            font-size: 13.5px;
            color: #0f172a;
            font-family: "Inter", sans-serif;
            background: #f8fafc;
            -webkit-appearance: none;
            appearance: none;
            outline: none;
            cursor: pointer;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            transition: border-color .18s, box-shadow .18s;
        }

        .field-select:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
        }

        /* Responsive */
        @media(max-width:768px) {
            .db-layout {
                display: block;
            }

            .db-layout>aside {
                display: none;
            }
        }

        /* ── SIDEBAR (dashboard) ── */
        .db-sidebar {
            width: 220px;
            flex-shrink: 0;
            /* background: #fff; */
            border-right: none;
            padding: 20px 12px;
            position: sticky;
            top: 56px;
            height: calc(100vh - 56px);
            overflow-y: auto;
            transition: transform 0.3s ease;
            align-self: flex-start;
        }

        /* ── DRAWER OVERLAY ── */
        .db-sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.5);
            backdrop-filter: blur(2px);
            z-index: 90;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .db-sidebar-overlay.open {
            display: block;
            opacity: 1;
        }

        /* ── DRAWER (mobile only) ── */
        .db-drawer {
            position: fixed;
            left: 0;
            top: 0;
            z-index: 100;
            width: 280px;
            height: 100vh;
            background: #ffff;
            transform: translateX(-100%);
            transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            box-shadow: 8px 0 40px rgba(0, 0, 0, 0.16);
            overflow: hidden;
        }

        .db-drawer.open {
            transform: translateX(0);
        }

        /* Drawer header */
        .drawer-header {
            background: linear-gradient(135deg, #1148a8, #2b7fef);
            padding: 24px 20px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .drawer-user {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .drawer-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #f97316, #ec4899);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 16px;
            color: #ffff;
            border: 2px solid rgba(255, 255, 255, 0.4);
            flex-shrink: 0;
        }

        .drawer-close {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.15);
            border: none;
            color: #ffff;
            cursor: pointer;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s;
        }

        .drawer-close:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        /* Drawer nav */
        .drawer-nav {
            flex: 1;
            padding: 12px 12px;
            overflow-y: auto;
        }

        .drawer-section-label {
            font-size: 10px;
            font-weight: 700;
            color: #94a3b8;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 0 12px;
            margin: 16px 0 4px;
        }

        .db-nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 12px;

            font-size: 13.5px;
            font-weight: 600;
            color: #475569;
            cursor: pointer;
            transition:
                background 0.15s,
                color 0.15s;
            margin-bottom: 2px;
            text-decoration: none;
        }

        .db-nav-item:hover {
            background: #f8fafc;
            color: #0f172a;
        }

        .db-nav-item.active {
            background: #eff6ff;
            color: #2563eb;
            border-right: 3px solid #2563eb;
        }

        .db-nav-item .dbi {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
            background: #f1f5f9;
            color: #64748b;
            transition:
                background 0.15s,
                color 0.15s;
        }

        .db-nav-item.active .dbi {
            background: #dbeafe;
            color: #2563eb;
        }

        .db-nav-item:hover .dbi {
            background: #e2e8f0;
            color: #0f172a;
        }

        /* Drawer footer */
        .drawer-footer {
            padding: 12px 16px 20px;
            border-top: 1px solid #f1f5f9;
        }

        .drawer-logout {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            padding: 12px 14px;
            border-radius: 12px;
            font-size: 13.5px;
            font-weight: 600;
            color: #ef4444;
            background: none;
            border: none;
            cursor: pointer;
            transition: background 0.15s;
        }

        .drawer-logout:hover {
            background: #fef2f2;
        }

        .drawer-logout .dbi {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: #fef2f2;
            color: #ef4444;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            flex-shrink: 0;
        }

        /* Desktop sidebar nav */
        @media (min-width: 769px) {
            .db-nav-item .dbi {
                width: 18px;
                height: auto;
                border-radius: 0;
                background: none !important;
                font-size: 15px;
            }

            .db-drawer {
                display: none !important;
            }

            .db-sidebar-overlay {
                display: none !important;
            }
        }

        /* ── WELCOME BANNER ── */
        .welcome-banner {
            background: linear-gradient(135deg,
                    #1148a8 0%,
                    #1e63d0 40%,
                    #2b7fef 70%,
                    #4b9bff 100%);
            border-radius: 20px;
            padding: 32px 36px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            overflow: hidden;
            position: relative;
        }

        .welcome-banner::before {
            content: "";
            position: absolute;
            right: -40px;
            top: -40px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.07);
        }

        .welcome-banner::after {
            content: "";
            position: absolute;
            right: 60px;
            bottom: -60px;
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.18);
            border-radius: 14px;
            padding: 16px 20px;
            text-align: center;
            flex-shrink: 0;
            min-width: 100px;
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .stat-card p {
            font-size: 11px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.75);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .stat-card h3 {
            font-size: 26px;
            font-weight: 900;
            color: #fff;
        }

        .welcome-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            color: #2563eb;
            font-size: 13px;
            font-weight: 700;
            padding: 10px 20px;
            border-radius: 10px;
            border: none;
            cursor: pointer;
            transition:
                background 0.15s,
                transform 0.15s;
            margin-top: 16px;
        }

        .welcome-btn:hover {
            background: #f0f7ff;
            transform: translateY(-1px);
        }

        /* ── COURSE CARD ── */
        .course-card {
            background: #fff;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            cursor: pointer;
            transition:
                box-shadow 0.25s,
                transform 0.25s;
        }

        .course-card:hover {
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
            transform: translateY(-4px);
        }

        .badge-y {
            background: #fcd34d;
            color: #78350f;
            font-size: 9px;
            font-weight: 800;
            padding: 2px 7px;
            border-radius: 999px;
        }

        .badge-r {
            background: #ef4444;
            color: #fff;
            font-size: 9px;
            font-weight: 800;
            padding: 2px 7px;
            border-radius: 999px;
        }

        .enroll-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            width: 100%;
            background: #2563eb;
            color: #fff;
            font-size: 12.5px;
            font-weight: 700;
            padding: 10px 14px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition:
                background 0.2s,
                transform 0.15s;
            margin-top: 12px;
        }

        .enroll-btn:hover {
            background: #1d4ed8;
        }

        .enroll-btn:active {
            transform: scale(0.97);
        }

        /* ── CERT CARD ── */
        .cert-card {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 12px 14px;
            transition: box-shadow 0.2s;
            cursor: pointer;
        }

        .cert-card:hover {
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
        }

        .cert-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: #eff6ff;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: #2563eb;
            font-size: 16px;
        }

        /* ── CAROUSEL ── */
        .carousel-wrap {
            overflow: hidden;
        }

        .carousel-track {
            display: flex;
            gap: 16px;
            transition: transform 0.35s ease;
        }

        .carousel-track .course-card {
            flex: 0 0 calc(33.333% - 11px);
        }

        .carousel-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #fff;
            border: 1.5px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition:
                background 0.15s,
                border-color 0.15s;
            color: #374151;
        }

        .carousel-btn:hover {
            background: #eff6ff;
            border-color: #2563eb;
            color: #2563eb;
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 768px) {

            /* Sembunyikan desktop sidebar, konten full width */
            .db-layout {
                display: block;
            }

            .db-layout>aside {
                display: none;
            }

            /* Welcome banner stack */
            .welcome-banner {
                flex-direction: column;
                align-items: flex-start;
                padding: 24px 20px;
                gap: 16px;
            }

            .stat-row {
                display: flex;
                gap: 12px;
                width: 100%;
            }

            .stat-card {
                flex: 1;
                padding: 12px 14px;
            }

            .stat-card h3 {
                font-size: 20px;
            }

            /* In Progress + Cert stack */
            .content-grid {
                flex-direction: column !important;
                gap: 24px;
            }

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

            /* Carousel */
            .carousel-track .course-card {
                flex: 0 0 calc(80% - 8px);
            }
        }

        @media (max-width: 480px) {
            .carousel-track .course-card {
                flex: 0 0 calc(92% - 8px);
            }

            .welcome-banner {
                padding: 20px 16px;
            }
        }
   
        .form-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 32px 36px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
        }

        .form-label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            margin-bottom: 7px;
        }

        .form-input {
            width: 100%;
            padding: 11px 14px;
            border: 1.5px solid #e2e8f0;
            border-radius: 10px;
            font-size: 13.5px;
            color: #0f172a;
            font-family: 'Inter', sans-serif;
            background: #fff;
            outline: none;
            transition: border-color .18s, box-shadow .18s;
        }

        .form-input::placeholder {
            color: #94a3b8;
        }

        .form-input:focus {
            border-color: #2563EB;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
        }

        .form-input.textarea {
            resize: vertical;
            min-height: 88px;
        }

        .form-select {
            width: 100%;
            padding: 11px 36px 11px 14px;
            border: 1.5px solid #e2e8f0;
            border-radius: 10px;
            font-size: 13.5px;
            color: #0f172a;
            font-family: 'Inter', sans-serif;
            background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
            -webkit-appearance: none;
            appearance: none;
            outline: none;
            cursor: pointer;
            transition: border-color .18s, box-shadow .18s;
        }

        .form-select:focus {
            border-color: #2563EB;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
        }

        .section-title {
            font-size: 16px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 20px;
        }

        .section-divider {
            border: none;
            border-top: 1px solid #f1f5f9;
            margin: 28px 0;
        }

        .submit-btn {
            background: #2563EB;
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            padding: 13px 32px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            transition: background .2s, transform .15s, box-shadow .2s;
            box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
        }

        .submit-btn:hover {
            background: #1d4ed8;
            box-shadow: 0 6px 20px rgba(37, 99, 235, .4);
        }

        .submit-btn:active {
            transform: scale(.97);
        }

        /* Dasar tombol payment */
        .pay-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border: 1px solid #e2e8f0;
            /* slate-200 */
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        /* Efek saat tombol terpilih */
        .pay-option.selected {
            border-color: #3b82f6;
            /* blue-500 */
            background-color: #f0f7ff;
            /* blue-50 */
        }

        /* Styling Logo */
        .pay-logo {
            width: 50px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            color: white;
            flex-shrink: 0;
        }

        /* Style untuk radio button agar konsisten */
        .pay-option input[type="radio"] {
            width: 18px;
            height: 18px;
            accent-color: #3b82f6;
        }
    
        /* ── CSS VARIABLES ── */
        :root {
            --blue: #2563eb;
            --navy: #1d4ed8;
            --border: #e2e8f0;
            --muted: #64748b;
            --surface: #f8fafc;
        }

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

        html {
            scroll-behavior: smooth;
        }



        /* ── MOBILE MENU ── */
        #mobile-menu {
            display: none;
        }

        #mobile-menu.open {
            display: block;
        }

        /* ── HERO OUTER ── */
        .hero-outer {
            background: var(--surface);
            padding: 12px 0 40px;
        }

        @media (min-width: 768px) {
            .hero-outer {
                padding: 20px 0 48px;
            }
        }

        /* ── HERO CARD (blue box) ── */
        .hero {
            background: linear-gradient(135deg,
                    #1148a8 0%,
                    #1e63d0 40%,
                    #2b7fef 70%,
                    #4b9bff 100%);
            border-radius: 16px;
            position: relative;
            overflow: hidden;
        }

        @media (min-width: 768px) {
            .hero {
                border-radius: 20px;
            }
        }

        .hero-deco {
            position: absolute;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(ellipse 600px 350px at 95% 50%,
                    rgba(255, 255, 255, 0.07) 0%,
                    transparent 70%),
                radial-gradient(ellipse 350px 250px at 85% 90%,
                    rgba(255, 255, 255, 0.04) 0%,
                    transparent 60%);
        }

        .hero-ring {
            position: absolute;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.08);
            pointer-events: none;
        }

        /* ── GLASSMORPHISM ── */
        .glass {
            background: rgba(255, 255, 255, 0.13);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 14px;
        }

        .slide {
            background-color: transparent !important;
        }

        /* Pastikan slide yang aktif tidak tersembunyi */
        .slide.active {
            opacity: 1 !important;
            z-index: 10 !important;
        }

        /* Tambahan: Pastikan slide tidak aktif transparan */
        .slide:not(.active) {
            opacity: 0 !important;
        }


        @keyframes fadeSlide {
            from {
                opacity: 0;
                transform: translateX(14px);
            }

            to {
                opacity: 1;
                transform: none;
            }
        }

        /* Arrow buttons */
        .arrow-btn {
            position: absolute;
            top: 42%;
            transform: translateY(-50%);
            z-index: 20;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(8px);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 10px;
            transition: background 0.2s;
        }

        @media (min-width: 768px) {
            .arrow-btn {
                width: 34px;
                height: 34px;
                font-size: 11px;
                top: 50%;
            }
        }

        .arrow-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .arrow-left {
            left: 10px;
        }

        .arrow-right {
            right: 10px;
        }

        /* Dots */
        .dot {
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.35);
            cursor: pointer;
            transition: all 0.25s;
        }

        .dot.on {
            background: #fff;
            width: 18px;
        }

        /* ── SEARCH CARD ── */
        .search-card {
            background: #fff;
            border-radius: 14px;
            box-shadow:
                0 8px 40px rgba(0, 0, 0, 0.13),
                0 1px 4px rgba(0, 0, 0, 0.06);
            border: 1px solid var(--border);
        }

        .search-divider {
            width: 100%;
            height: 1px;
            background: var(--border);
        }

        @media (min-width: 768px) {
            .search-divider {
                width: 1px;
                height: auto;
                align-self: stretch;
                margin: 10px 0;
            }
        }

        /* ── TABS ── */
        .tab {
            /* font-size: 13px;
            font-weight: 500; */
            color: var(--muted);
            padding-bottom: 11px;
            cursor: pointer;
            border-bottom: 2px solid transparent;

            /* white-space: nowrap; */
            flex-shrink: 0;
            transition:
                color 0.2s,
                border-color 0.2s;
        }

        .tab:hover {
            color: var(--blue);
        }

        .tab.on {
            color: var(--blue);
            font-weight: 700;
            border-bottom-color: var(--blue);
        }

        /* ── COURSE CARD GRADIENTS ── */
        .g-orange {
            background: linear-gradient(140deg, #ff8c42, #e53935);
        }

        .g-green {
            background: linear-gradient(140deg, #11c27f, #0e8a5a);
        }

        .g-navy {
            background: linear-gradient(140deg, #2d3561, #0b0f1a);
        }

        .g-violet {
            background: linear-gradient(140deg, #8b5cf6, #5b21b6);
        }

        /* Badges */
        .badge-y {
            background: #fcd34d;
            color: #78350f;
            font-size: 9px;
            font-weight: 800;
            padding: 2px 7px;
            border-radius: 999px;
        }

        .badge-r {
            background: #ef4444;
            color: #fff;
            font-size: 9px;
            font-weight: 800;
            padding: 2px 7px;
            border-radius: 999px;
        }

        /* Star */
        .star {
            color: #fbbf24;
        }

        /* ── COURSE CARD ── */
        .course-card {
            background: #fff;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            cursor: pointer;
            transition:
                box-shadow 0.25s,
                transform 0.25s;
            display: flex;
            flex-direction: column;
        }

        .course-card:hover {
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.13);
            transform: translateY(-4px);
        }

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

        .card-body .price-row {
            margin-top: auto;
        }

        /* ── ENROLL BUTTON ── */
        .enroll-btn {
            display: block;
            width: 100%;
            background: #2563eb;
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            padding: 10px 16px;
            margin-top: 12px;
            border-radius: 10px;
            border: none;
            cursor: pointer;
            transition:
                background 0.2s,
                transform 0.15s,
                box-shadow 0.2s;
            box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
            letter-spacing: 0.01em;
        }

        .enroll-btn:hover {
            background: #1d4ed8;
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
        }

        .enroll-btn:active {
            transform: scale(0.97);
        }

        /* ── PROMO ── */
        .promo {
            background: linear-gradient(135deg,
                    #0c1a3a 0%,
                    #0f2356 50%,
                    #0e3a6a 100%);
            position: relative;
            overflow: hidden;
        }

        .promo-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            pointer-events: none;
        }

        /* ── FEATURED CARD ── */
        .featured-card {
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            background: linear-gradient(145deg, #1f2937, #111827);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            transition:
                transform 0.3s,
                box-shadow 0.3s;
            min-height: 240px;
        }

        @media (min-width: 768px) {
            .featured-card {
                min-height: 340px;
            }
        }

        .featured-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
        }

        /* ── ACCORDION ── */
        .acc-item {
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            background-color: #ffffff;
            transition: border-color 0.2s;
        }

        .acc-item.open {
            border-color: #bfdbfe;
        }

        .acc-body {
            display: none;
        }

        .acc-body.open {
            display: block;
        }

        .acc-icon {
            transition: transform 0.25s;
        }

        .acc-icon.rot {
            transform: rotate(45deg);
        }

        /* ── FOOTER LINK ── */
        .flink {
            color: #94a3b8;
            font-size: 13px;
            display: block;
            transition: color 0.2s;
        }

        .flink:hover {
            color: #fff;
        }

        /* Scrollbar for tab area on mobile */
        .tabs-scroll {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .tabs-scroll::-webkit-scrollbar {
            display: none;
        }

        /* input/select reset */
        input,
        select {
            outline: none;
            border: none;
            background: transparent;
            font-family: inherit;
        }

        select {
            -webkit-appearance: none;
            appearance: none;
            cursor: pointer;
        }

        /* Line clamp */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ══ CART DROPDOWN ══ */
        #cart-dropdown {
            position: absolute;
            right: 0;
            top: calc(100% + 10px);
            width: 340px;
            background: #fff;
            border-radius: 18px;
            box-shadow:
                0 16px 48px rgba(0, 0, 0, 0.13),
                0 2px 8px rgba(0, 0, 0, 0.06);
            opacity: 0;
            pointer-events: none;
            transform: translateY(-8px) scale(0.98);
            transition:
                opacity 0.22s ease,
                transform 0.22s ease;
            z-index: 300;
            overflow: hidden;
        }

        #cart-dropdown.open {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0) scale(1);
        }

        /* Cart badge on icon */
        .cart-badge {
            position: absolute;
            top: 4px;
            right: 4px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #ef4444;
            color: #fff;
            font-size: 9px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1.5px solid #fff;
        }

        /* Cart item */
        .cart-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            transition: background 0.15s;
        }

        .cart-item:hover {
            background: #f8fafc;
        }

        .cart-thumb {
            width: 52px;
            height: 52px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
            background: #e2e8f0;
            overflow: hidden;
        }

        /* ══ MEGA MENU ══ */
        /* Desktop: full-width panel drops below navbar */
        #browse-mega {
            position: absolute;
            left: 0;
            right: 0;
            top: 100%;
            background: #fff;
            border-top: 1px solid #f1f5f9;
            box-shadow:
                0 20px 48px rgba(0, 0, 0, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.04);
            opacity: 0;
            pointer-events: none;
            transform: translateY(-8px);
            transition:
                opacity 0.22s ease,
                transform 0.22s ease;
            z-index: 200;
        }

        #browse-mega.open {
            opacity: 1;
            pointer-events: auto;
            transform: none;
        }

        /* Mobile menu */
        #mobile-menu {
            display: none;
        }

        #mobile-menu.open {
            display: block;
        }

        /* Mobile browse accordion */
        #mob-browse-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease;
        }

        #mob-browse-body.open {
            max-height: 1000px;
        }

        /* Mobile category accordion */
        .mob-cat-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.25s ease;
        }

        .mob-cat-body.open {
            max-height: 400px;
        }

        /* Desktop nav item hover underline */
        .nav-item {
            position: relative;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 13.5px;
            font-weight: 500;
            color: #475569;
            padding: 6px 0;
            cursor: pointer;
            border: none;
            background: none;
            transition: color 0.18s;
        }

        .nav-item:hover,
        .nav-item.active {
            color: #2563eb;
        }

        .nav-item::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;

            right: 0;
            height: 2px;
            background: #2563eb;
            border-radius: 2px;
            transform: scaleX(0);
            transition: transform 0.2s ease;
        }

        .nav-item:hover::after,
        .nav-item.active::after {
            transform: scaleX(1);
        }

        /* Mega category card */
        .mega-cat {
            padding: 10px 12px;
            border-radius: 10px;
            cursor: pointer;
            transition: background 0.15s;
        }

        .mega-cat:hover {
            background: #f0f7ff;
        }

        .mega-cat.active {
            background: #eff6ff;
        }

        /* Mega sub-link */
        .mega-sub {
            display: block;
            font-size: 12px;
            color: #64748b;
            padding: 3px 0;
            transition: color 0.15s;
        }

        .mega-sub:hover {
            color: #2563eb;
        }

        :root {
            --blue: #2563EB;
            --navy: #1D4ED8;
            --border: #E2E8F0;
            --muted: #64748B;
            --surface: #F8FAFC;
        }

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

        html {
            scroll-behavior: smooth;
        }

        /*
        body {
            font-family: 'Inter', sans-serif;
            color: #0F172A;
            background: #fff;
            -webkit-font-smoothing: antialiased;
        } */


        /* ── MOBILE MENU ── */
        #mobile-menu {
            display: none;
        }

        #mobile-menu.open {
            display: block;
        }

        /* ── MOBILE FILTER DRAWER ── */
        #filter-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 100;
            backdrop-filter: blur(2px);
        }

        #filter-overlay.open {
            display: block;
        }

        #filter-drawer {
            position: fixed;
            left: 0;
            top: 0;
            bottom: 0;
            width: 280px;
            max-width: 85vw;
            background: #fff;
            z-index: 101;
            overflow-y: auto;
            transform: translateX(-100%);
            transition: transform .3s ease;
            box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
        }

        #filter-drawer.open {
            transform: translateX(0);
        }

        /* ── CUSTOM CHECKBOX ── */
        .cb-wrap input[type="checkbox"] {
            display: none;
        }

        .cb-box {
            width: 15px;
            height: 15px;
            border-radius: 4px;
            border: 1.5px solid #CBD5E1;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            cursor: pointer;
            transition: all .15s;
        }

        .cb-wrap input:checked+.cb-box {
            background: var(--blue);
            border-color: var(--blue);
        }

        .cb-wrap input:checked+.cb-box::after {
            content: '';
            display: block;
            width: 8px;
            height: 5px;
            border-left: 1.5px solid #fff;
            border-bottom: 1.5px solid #fff;
            transform: rotate(-45deg) translateY(-1px);
        }

        /* ── FILTER SECTION ACCORDION ── */
        .f-acc-body {
            overflow: hidden;
            transition: max-height .3s ease;
        }

        .f-acc-body.open {
            max-height: 500px;
        }

        .f-acc-body.closed {
            max-height: 0;
        }

        /* ── COURSE CARD ── */
        .ccard {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            cursor: pointer;
            transition: box-shadow .25s, transform .25s;
        }

        .ccard:hover {
            box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
            transform: translateY(-3px);
        }

        /* Thumbnail gradients */
        .g-orange {
            background: linear-gradient(140deg, #FF6B35, #E53935);
        }

        .g-teal {
            background: linear-gradient(140deg, #00B8A9, #0066CC);
        }

        .g-dark {
            background: linear-gradient(140deg, #1F2937, #111827);
        }

        .g-uber {
            background: linear-gradient(140deg, #2D3561, #0B0F1A);
        }

        .g-vueg {
            background: linear-gradient(140deg, #11C27F, #0E8A5A);
        }

        .g-vueo {
            background: linear-gradient(140deg, #F97316, #DC2626);
        }

        .g-boot {
            background: linear-gradient(140deg, #334155, #0F172A);
        }

        .g-green {
            background: linear-gradient(140deg, #22C55E, #15803D);
        }

        .g-swift {
            background: linear-gradient(140deg, #EAB308, #CA8A04);
        }

        .g-learn {
            background: linear-gradient(140deg, #3B82F6, #1D4ED8);
        }

        .g-purple {
            background: linear-gradient(140deg, #A855F7, #7C3AED);
        }

        .g-code {
            background: linear-gradient(140deg, #1E293B, #0F172A);
        }

        .badge-y {
            background: #FCD34D;
            color: #78350F;
            font-size: 8px;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 999px;
        }

        .badge-r {
            background: #EF4444;
            color: #fff;
            font-size: 8px;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 999px;
        }

        .star {
            color: #FBBF24;
        }

        /* ── PAGINATION ── */
        .page-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            border: 1px solid var(--border);
            color: var(--muted);
            transition: all .15s;
        }

        .page-btn:hover {
            border-color: var(--blue);
            color: var(--blue);
        }

        .page-btn.on {
            background: var(--blue);
            color: #fff;
            border-color: var(--blue);
        }

        .page-btn.nav {
            background: #F8FAFC;
        }

        /* ── PROMO ── */
        .promo {
            background: linear-gradient(135deg, #0C1A3A 0%, #0F2356 50%, #0E3A6A 100%);
            position: relative;
            overflow: hidden;
        }

        .promo-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            pointer-events: none;
        }

        /* Footer link */
        .flink {
            color: #94A3B8;
            font-size: 12px;
            display: block;
            transition: color .2s;
        }

        .flink:hover {
            color: #fff;
        }

        /* Filter chip */
        .chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border: 1.5px solid var(--border);
            border-radius: 8px;
            padding: 4px 10px;
            font-size: 12px;
            font-weight: 600;
            color: #334155;
            background: #fff;
        }

        .chip button {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #E2E8F0;
            color: #64748B;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            cursor: pointer;
            transition: background .15s;
        }

        .chip button:hover {
            background: #CBD5E1;
        }

        input,
        select {
            outline: none;
            border: none;
            background: transparent;
            font-family: inherit;
        }

        select {
            -webkit-appearance: none;
            appearance: none;
            cursor: pointer;
        }

        /* line clamp */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }



        body {
            background-color: #ffffff;
            overflow-x: hidden;
            width: 100%;
        }

        /* Menyesuaikan placeholder color */
        input::placeholder {
            color: #d1d5db;
        }

        /* Wishlist button */
        

        /* Enroll button */
        .enroll-main {
            width: 100%;
            background: #2563EB;
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            padding: 14px 20px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background .2s, transform .15s, box-shadow .2s;
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
        }

        .enroll-main:hover {
            background: #1D4ED8;
            box-shadow: 0 8px 28px rgba(37, 99, 235, 0.38);
        }

        .enroll-main:active {
            transform: scale(0.98);
        }

        /* Check item */
        .check-item {
            display: flex;
            gap: 10px;
            align-items: flex-start;
            font-size: 13.5px;
            color: #334155;
            line-height: 1.55;
        }

        .check-item i {
            color: #2563EB;
            margin-top: 3px;
            flex-shrink: 0;
        }

        /* Review card */
        .review-card {
            padding: 16px 0;
            border-bottom: 1px solid #F1F5F9;
        }

        .review-card:last-child {
            border-bottom: none;
        }

        /* Avatar placeholder */
        .avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, #93C5FD, #2563EB);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
        }

        /* Info row */
        .info-row {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: #475569;
            padding: 5px 0;
        }

        .info-row i {
            width: 18px;
            text-align: center;
            color: var(--blue);
            font-size: 14px;
        }

        /* Sticky sidebar on desktop */
        @media (min-width: 1024px) {
            .sticky-card {
                position: sticky;
                top: 80px;
            }
        }

        input {
            outline: none;
            border: none;
            background: transparent;
            font-family: inherit;
        }

        select {
            -webkit-appearance: none;
            appearance: none;
            cursor: pointer;
            outline: none;
            font-family: inherit;
        }

        /* #filter-drawer { */
            #filter-drawer {
                position: fixed;
                left: 0;
                top: 0;
                bottom: 0;
                width: 280px;
                max-width: 85vw;
                background: #fff;
                z-index: 101;
                /* Tambahkan baris ini */
                height: 100vh;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                /* Penting untuk lancar di iPhone */
                transform: translateX(-100%);
                transition: transform .3s ease;
            }

            #filter-drawer.open {
                transform: translateX(0);
            }


            /* Module accordion */
            .mod-body {
                max-height: 0;
                overflow: hidden;
                transition: max-height .3s ease, padding .3s ease;
            }

            .mod-body.open {
                max-height: 400px;
            }

            .mod-icon {
                transition: transform .25s;
            }

            .mod-icon.rot {
                transform: rotate(180deg);
            }

            /* Wishlist button */
            .wish-btn {
                width: 100%;
                border: 1.5px solid var(--border);
                border-radius: 12px;
                padding: 11px 16px;
                font-size: 13px;
                font-weight: 600;
                color: var(--muted);
                display: flex;
                align-items: center;
                justify-content: center;
                /* gap-6px; */
                cursor: pointer;
                background: #fff;
                transition: border-color .2s, color .2s;
            }

            .wish-btn:hover {
                border-color: #FDA4AF;
                color: #F43F5E;
            }

            .wish-btn.active {
                border-color: #F43F5E;
                color: #F43F5E;
            }

            .confirm-btn:active {
                transform: scale(0.98);
            }


            /* Mencegah kilatan (FOUC) saat Alpine belum termuat sempurna */
            [x-cloak] {
                display: none !important;
            }

            @font-face {
                font-family: 'Poppins';
                font-style: normal;
                font-weight: 300;
                font-display: swap;
                src: url('https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLDz8Z11lFd2JQEl8qw.woff2') format('woff2');
            }

            /* Gunakan font tersebut pada elemen yang diinginkan */
            html {
                font-family: 'Poppins', sans-serif !important;
            }