/* ================= TEMA & DARK MODE ================= */
:root {
    --primary: #ffffff;
    --bg-color: #eef1f8;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-main: #1e293b; /* Teks gelap elegan */
    --text-muted: #64748b; /* Teks abu-abu untuk deskripsi */
    
    /* Konfigurasi Glassmorphism Terang */
    --glass-bg: rgba(255, 255, 255, 0.65); 
    --glass-border: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .btn-login {color: white !important; }
[data-theme="dark"] {
    --bg-color: #0b1120; /* Biru malam pekat */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Konfigurasi Glassmorphism Gelap */
    --glass-bg: rgba(15, 23, 42, 0.65); 
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    /* Background memanggil variabel tema */
    background-color: var(--bg-color);
    
    /* Efek gradien embun asli Anda tetap dipertahankan untuk Light Mode */
    background-image: 
        radial-gradient(circle at 85% 0%, rgba(255, 238, 215, 1) 0%, transparent 45%),
        radial-gradient(circle at 10% 0%, rgba(220, 235, 255, 1) 0%, transparent 45%),
        radial-gradient(circle at 50% 100%, rgba(235, 225, 255, 0.7) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
    background-attachment: fixed; 
    
    color: var(--text-main);
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

/* KUNCI RAHASIA: Matikan gradien embun secara paksa saat Dark Mode aktif */
[data-theme="dark"] body {
    background-image: none !important; 
}

/* Hiasan Latar Belakang Abstrak (Blob Animasi) */
.bg-blob { position: fixed; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: 0.5; animation: floatBlob 10s infinite alternate; pointer-events: none;}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: rgba(14, 165, 233, 0.2); }
.blob-2 { bottom: -10%; right: -10%; width: 600px; height: 600px; background: rgba(16, 185, 129, 0.15); }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Transisi Halus untuk Navbar & Tombol Login agar pas di Dark Mode */
.navbar { background: var(--glass-bg); border-bottom: 1px solid var(--glass-border); transition: all 0.3s ease; }
[data-theme="dark"] .btn-login { background: #0ea5e9; color: white !important; }

/* --- TAMBAHKAN KODE INI UNTUK NAVBAR DARK MODE --- */
[data-theme="dark"] .navbar {
    background: rgba(11, 17, 32, 0.85); /* Warna dasar sangat gelap */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-links a { color: var(--text-primary) !important; }
/* -------------------------------------------------- */
/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px); /* Efek blur ditingkatkan */
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%; position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.75); 
    border-bottom: 1px solid var(--glass-border);
}
.nav-brand { font-size: 1.5rem; font-weight: 900; color: var(--text-main); letter-spacing: -0.5px;}
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: #0984e3; }
.btn-login { background: #1e293b; color: white !important; padding: 0.6rem 1.5rem; border-radius: 30px; font-weight: 600; box-shadow: 0 4px 15px rgba(30, 41, 59, 0.2); transition: 0.3s;}
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30, 41, 59, 0.3); }

/* Burger Menu (Mobile) */
.burger-menu { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger-menu span { display: block; width: 25px; height: 3px; background: var(--text-main); transition: 0.3s; }

/* Filter Chips */
.filter-container { display: flex; justify-content: center; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; }
.filter-chip {
    background: var(--glass-bg); color: var(--text-main); border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem; border-radius: 30px; cursor: pointer; transition: 0.3s; font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.filter-chip:hover, .filter-chip.active { 
    background: var(--text-primary); 
    color: var(--bg-color) !important; /* Warna teks mengambil background web */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
    font-weight: 600; 
    transform: translateY(-2px);
    border-color: var(--text-primary);
}

/* Glass Card Portfolio - Didesain ulang menyerupai Gambar 2 */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; padding: 0 5%; }
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 28px; /* Sudut sangat membulat */
    position: relative; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--glass-shadow);
    padding: 1.2rem; /* Kartu memiliki padding di dalam */
}

[data-theme="dark"] .glass-card:hover {background: var(--glass-bg);background: #1c2540 !important;}
.glass-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); background: white; }
.glass-card img { 
    width: 100%; height: 200px; object-fit: cover; 
    border-radius: 20px; /* Gambar di dalam kartu juga melengkung */
    margin-bottom: 1.2rem;
}
.card-content { padding: 0 0.5rem; }
.card-content h3 { margin-bottom: 0.5rem; font-size: 1.3rem; color: var(--text-main); font-weight: 700; }
.card-content p { font-size: 0.95rem; margin-bottom: 1.5rem; color: var(--text-muted); line-height: 1.6; }

/* Label Status Produk */
.card-badge {
    position: absolute; top: 30px; right: 30px; padding: 0.5rem 1rem;
    border-radius: 20px; font-size: 0.75rem; font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); backdrop-filter: blur(5px);
}
.card-badge.original { background: rgba(255, 255, 255, 0.9); color: #0ea5e9; border: 1px solid #e0f2fe; }
.card-badge.custom { background: #1e293b; color: #fff; }

/* Tombol Detail */
.btn-detail {
    display: inline-block; background: transparent; color: var(--text-primary);
    padding: 0.7rem 1.5rem; text-decoration: none; border-radius: 14px; transition: 0.3s;
    font-weight: 600; border: 1px solid var(--text-primary); font-size: 0.9rem;
}
.btn-detail:hover { background: var(--text-primary); color: var(--bg-color) !important; }

/* Hero Section */
.hero { text-align: center; padding: 5rem 2rem 3rem 2rem; }
.hero h1 { font-size: 3.2rem; margin-bottom: 1.2rem; color: var(--text-main); font-weight: 800; letter-spacing: -1px; }
.hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto; line-height: 1.6;}

/* Footer */
.footer { text-align: center; padding: 2rem; margin-top: 4rem; color: var(--text-muted); border-top: 1px solid var(--glass-border); }

/* Responsive Mobile */
@media (max-width: 768px) {
    .burger-menu { display: flex; }
    
    .nav-links {
        display: none; 
        position: absolute; top: 100%; left: 0; width: 100%;
        flex-direction: column; 
        background: var(--glass-bg); /* Mengikuti tema Dark/Light Mode */
        backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
        padding: 1.5rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.show { display: flex; }
    .hero h1 { font-size: 2.5rem; }
}
/* ================= PRODUCT DETAIL PAGE ================= */
.product-container { max-width: 1100px; margin: 3rem auto; padding: 0 5%; }

/* Panel Glass Atas */
.glass-panel {
    background: var(--glass-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
    border-radius: 28px; padding: 2rem; display: flex; gap: 3rem; flex-wrap: wrap;
    margin-bottom: 4rem;
}

.product-image-slider { flex: 1; min-width: 300px; }
.main-image { width: 100%; border-radius: 20px; object-fit: cover; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

.product-info { flex: 1; min-width: 300px; display: flex; flex-direction: column; justify-content: center; }
.badge-category { display: inline-block; background: #e0f2fe; color: #0284c7; padding: 0.4rem 1rem; border-radius: 20px; font-weight: 700; font-size: 0.8rem; margin-bottom: 1rem; width: max-content; }
.product-info h1 { font-size: 2.2rem; color: var(--text-main); margin-bottom: 1rem; }
.product-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.feature-list { list-style: none; color: var(--text-main); font-weight: 500; }
.feature-list li { margin-bottom: 0.8rem; display: flex; gap: 0.5rem; }

/* Pricing Section */
.pricing-title { text-align: center; font-size: 2rem; color: var(--text-main); margin-bottom: 3rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.pricing-card { text-align: center; padding: 2.5rem 1.5rem; display: flex; flex-direction: column; }
.pricing-card h3 { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 1rem; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--text-main); margin-bottom: 1rem; }
.pricing-card .period { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.pricing-card p { color: var(--text-muted); margin-bottom: 1.5rem; flex-grow: 1; }
.pricing-card hr { border: 0; height: 1px; background: var(--glass-border); margin-bottom: 1.5rem; }

/* Highlight Card Popular */
.pricing-card.popular { transform: scale(1.05); background: rgba(255, 255, 255, 0.85); border: 2px solid #0ea5e9; }
.badge-popular { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #0ea5e9; color: white; padding: 0.4rem 1.2rem; border-radius: 20px; font-size: 0.8rem; font-weight: bold; box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3); }

/* Buttons */
/* Buttons */
.btn-primary { 
    background: var(--text-primary); 
    color: var(--bg-color) !important; /* Agar teks otomatis gelap di mode Light, dan terang di mode Dark */
    padding: 0.8rem; border-radius: 12px; text-decoration: none; font-weight: bold; transition: 0.3s; display: block; text-align: center; border: 1px solid transparent; 
}
.btn-primary:hover { 
    opacity: 0.8; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); 
}
.btn-outline { background: transparent; color: var(--text-main) !important; padding: 0.8rem; border-radius: 12px; text-decoration: none; font-weight: bold; border: 2px solid var(--text-main); transition: 0.3s; display: block; }
.btn-outline:hover { background: var(--text-main); color: white !important; }

/* ================= DASHBOARD LAYOUT ================= */
.dashboard-body { display: flex; height: 100vh; overflow: hidden; background: radial-gradient(circle at top left, #f1f6fd, transparent 40%), #fdfdfe; }

/* Sidebar */
/*.sidebar { width: 280px; height: 100vh; display: flex; flex-direction: column; border-radius: 0; border-right: 1px solid var(--glass-border); padding: 2rem 1.5rem; }*/
.sidebar-brand h2 { font-size: 1.8rem; font-weight: 900; color: var(--text-main); margin-bottom: 0.2rem; }
.role-badge { display: inline-block; background: #e0f2fe; color: #0284c7; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.7rem; font-weight: bold; letter-spacing: 1px; margin-bottom: 2rem; }
.sidebar-menu { list-style: none; flex-grow: 1; }
.sidebar-menu li { margin-bottom: 0.5rem; }
.sidebar-menu a { display: block; padding: 0.8rem 1.2rem; color: var(--text-muted); text-decoration: none; border-radius: 12px; font-weight: 600; transition: 0.3s; }
.sidebar-menu a:hover, .sidebar-menu a.active { background: rgba(255,255,255,0.8); color: #0ea5e9; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.sidebar-footer { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); }
.user-name { font-weight: bold; font-size: 0.95rem; }
.user-email { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; word-break: break-all; }
.btn-logout { display: block; text-align: center; background: #fee2e2; color: #ef4444; padding: 0.8rem; border-radius: 12px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-logout:hover { background: #fca5a5; color: white; }

/* Main Content */
.dashboard-content { flex-grow: 1; display: flex; flex-direction: column; height: 100vh; overflow-y: auto; }
.dashboard-topbar { border-radius: 0; border-bottom: 1px solid var(--glass-border); padding: 1rem 3rem; display: flex; justify-content: flex-end; align-items: center; }
.date-today { font-weight: 600; color: var(--text-muted); font-size: 0.9rem; }
.content-wrapper { padding: 3rem; max-width: 1200px; margin: 0 auto; width: 100%; }

/* Widget Components */
.dashboard-header { margin-bottom: 2.5rem; }
.dashboard-header h1 { font-size: 2rem; color: var(--text-main); margin-bottom: 0.5rem; }
.widget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.widget { padding: 1.5rem; }
.widget h3 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; font-weight: 600; }
.widget-value { font-size: 2rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.5rem; }
.widget-value.highlight { color: #0ea5e9; font-size: 1.5rem; }
.widget-value.alert { color: #ef4444; }
.btn-text { color: #0ea5e9; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.detail-section { padding: 2rem; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); background: rgba(255,255,255,0.4); border-radius: 16px; margin-top: 1.5rem; border: 1px dashed var(--glass-border); }

/* ================= RESPONSIVE DASHBOARD ================= */
@media (max-width: 768px) {
    /* Perbaikan Topbar */
    .dashboard-topbar {
        justify-content: space-between; /* Memisahkan burger menu & tanggal */
        padding: 1rem 1.5rem;
    }
    
    /* Tombol Burger Aktif */
    #sidebarToggle {
        display: flex !important;
        background: none;
        border: none;
        cursor: pointer;
        flex-direction: column;
        gap: 5px;
    }
    #sidebarToggle span {
        display: block; width: 24px; height: 3px; background: var(--text-main); border-radius: 3px;
    }

    /* Sidebar disembunyikan ke kiri (-100%) */
    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95); /* Background lebih solid agar teks tidak tabrakan */
        backdrop-filter: blur(24px);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    }
    
    /* Saat class 'active' ditambahkan oleh JS, sidebar meluncur masuk */
    .sidebar.active {
        left: 0;
    }

    /* Overlay layar gelap */
    .sidebar-overlay {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(2px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Perbaikan ruang konten utama */
    .content-wrapper {
        padding: 1.5rem; /* Mengurangi ruang kosong berlebih di pinggir HP */
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    /* Ubah grid agar menjadi 1 kolom penuh di HP */
    .widget-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= FORM UTILITY (Login, Onboarding, Profile) ================= */
.login-container { 
    display: flex; justify-content: center; align-items: center; 
    min-height: 75vh; padding: 2rem; 
}
.login-box { 
    width: 100%; max-width: 500px; padding: 3rem 2.5rem; 
    border-radius: 24px; text-align: center;
}
.form-group { 
    margin-bottom: 1.5rem; text-align: left; 
}
.form-group label { 
    display: block; margin-bottom: 0.6rem; 
    font-weight: 600; font-size: 0.95rem; color: var(--text-main); 
}
.glass-input { 
    width: 100%; padding: 1rem 1.2rem; border-radius: 14px; 
    border: 1px solid var(--glass-border); 
    background: rgba(255, 255, 255, 0.6); 
    font-size: 1rem; color: var(--text-main); 
    outline: none; transition: all 0.3s ease; 
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); 
}
.glass-input:focus { 
    background: rgba(255, 255, 255, 0.95); 
    border-color: #0ea5e9; 
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15); 
}
/* Mempercantik tombol dropdown (select) agar panahnya elegan */
select.glass-input { 
    appearance: none; -webkit-appearance: none; 
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231e293b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); 
    background-repeat: no-repeat; background-position: right 1.2rem top 50%; background-size: 0.65rem auto; 
}

/* ================= TABLE & ADMIN UTILITY ================= */
.glass-table-container { 
    width: 100%; 
    overflow-x: auto; 
    border-radius: 16px; 
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.4);
}
.glass-table { 
    width: 100%; 
    border-collapse: collapse; 
    text-align: left; 
    font-size: 0.95rem;
}
.glass-table th, .glass-table td { 
    padding: 1.2rem; 
    border-bottom: 1px solid var(--glass-border); 
}
.glass-table th { 
    background: rgba(255, 255, 255, 0.6); 
    font-weight: 700; 
    color: var(--text-main); 
}
.glass-table tbody tr:hover { 
    background: rgba(255, 255, 255, 0.8); 
}
.glass-table td { 
    color: var(--text-muted); 
}
.glass-table td strong { 
    color: var(--text-main); 
}

/* Input Select & Button Table */
.select-role { 
    padding: 0.6rem; 
    border-radius: 10px; 
    border: 1px solid #cbd5e1; 
    background: white; 
    font-size: 0.9rem; 
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
}
.btn-save-role { 
    padding: 0.6rem 1.2rem; 
    border-radius: 10px; 
    background: #0ea5e9; 
    color: white; 
    font-weight: bold;
    border: none; 
    cursor: pointer; 
    transition: 0.3s;
}
.btn-save-role:hover { 
    background: #0284c7; 
    transform: translateY(-2px);
}
.btn-save-role:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* Styling Menu Section & Collapse */
.menu-label { font-size: 0.75rem; font-weight: 800; color: #94a3b8; letter-spacing: 1px; margin-bottom: 0.8rem; padding-left: 1.2rem; }
.user-menu-collapse summary { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); cursor: pointer; padding: 0.5rem 1.2rem; list-style: none; transition: 0.3s; display: flex; align-items: center; justify-content: space-between; }
.user-menu-collapse summary::-webkit-details-marker { display: none; }
.user-menu-collapse summary::after { content: '▼'; font-size: 0.7rem; transition: transform 0.3s; }
.user-menu-collapse[open] summary::after { transform: rotate(180deg); }
.user-menu-collapse summary:hover { color: var(--text-main); }
.user-menu-collapse[open] summary { color: var(--text-main); margin-bottom: 0.5rem; }

/* ================= SIDEBAR LAYOUT (TERKUNCI & SCROLLABLE) ================= */
.sidebar { 
    width: 280px; 
    height: 100vh; /* Mengunci tinggi sama persis dengan layar */
    display: flex; 
    flex-direction: inherit; 
    border-radius: 0; 
    border-right: 1px solid var(--glass-border); 
    padding: 1.5rem; 
    box-sizing: border-box; /* Kunci rahasia agar padding tidak menambah tinggi 100vh */
    overflow:scroll;
}

/* Bagian Atas (Logo & Badge) - Dilarang menyusut */
.sidebar-brand {
    flex-shrink: 0; 
    margin-bottom: 1.5rem;
}

/* Bagian Tengah (Menu) - Boleh memanjang dan men-scroll */
.sidebar-menu-container {
    flex: 1 1 auto; /* Ambil sisa ruang yang ada */
    overflow-y: auto; /* Munculkan scroll jika isinya terlalu panjang */
    min-height: 0; /* Kunci rahasia Flexbox agar mau scroll di dalam container */
    padding-right: 8px; /* Jarak agar scrollbar tidak menempel di teks */
    /*margin-bottom: 1rem;*/
}

/* Bagian Bawah (Profil & Logout) - Dilarang menyusut */
.sidebar-footer {
    flex-shrink: 0; 
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

/* Mempercantik Scrollbar di Menu Tengah */
.sidebar-menu-container::-webkit-scrollbar {
    width: 5px;
}
.sidebar-menu-container::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-menu-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.sidebar-menu-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ================= HERO BADGE (LIVE PULSE) ================= */
.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(14, 165, 233, 0.08); /* Kaca biru super tipis */
    border: 1px solid rgba(14, 165, 233, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.05);
    transition: all 0.3s ease;
    
    /* Kunci agar tidak merentang lebar */
    width: max-content; 
    margin: 0 auto 1.5rem auto; 
}

.hero-badge:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0ea5e9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Titik berdenyut (Pulsing Dot) */
.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: #0ea5e9;
    border-radius: 50%;
    position: relative;
}

.badge-pulse::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border: 2px solid #0ea5e9;
    border-radius: 50%;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Penyesuaian agar lebih terang di Dark Mode */
[data-theme="dark"] .badge-text { color: #38bdf8; }
[data-theme="dark"] .badge-pulse { background-color: #38bdf8; }
[data-theme="dark"] .badge-pulse::after { border-color: #38bdf8; }

[data-theme="dark"] span.labelinvest{color:#65eb9c;}
p.descplatform {border-bottom:1px dashed #cdcdcd;height:100px;margin-bottom:18px !important;}
span.labelinvest {float:right;position:absolute;margin-top:-130px;right:20px;background:#7af1c45c;border:1px solid #7af1c4d9;padding:5px 10px 7px 10px;border-radius:20px;text-align:center;font-size:14px;color:#107c1b;}