:root {
    --bg-primary: #FBF8FF;
    --bg-secondary: #FFFFFF;
    --text-primary: #1A1B23;
    --text-secondary: #4A4A55;
    --accent-primary: #2E44D1;
    --accent-secondary: #E0E0FF;
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.85);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    scroll-padding-top: 80px; /* fallback — diperbarui otomatis oleh JS */
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(46, 68, 209, 0.3);
    bottom: -200px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-50px, 50px);
    }
}

/* Typography */
h1,
h2,
h3 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(251, 248, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Menghilangkan garis bawah jika diklik */
}

/* Tambahkan class baru untuk mengatur ukuran gambar logo */
.logo-image {
    height: 50px;
    /* Sesuaikan angka ini agar logo Anda tidak kebesaran/kekecilan */
    width: auto;
    object-fit: contain;
}


.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.btn-primary {
    background: var(--accent-primary);
    color: #FFFFFF;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 68, 209, 0.3);
}

/* Layout */
.layout-container {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    position: relative;
}

/* Sidebar TOC */
.sidebar {
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.glass-panel {
    background: var(--bg-secondary);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 0.8rem;
}

.toc-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding-left: 10px;
    border-left: 2px solid transparent;
}

.toc-list a:hover,
.toc-list a.active {
    color: var(--accent-primary);
    border-left-color: var(--accent-primary);
}

/* Main Content */
.main-content {
    padding-bottom: 4rem;
}

.page-header {
    margin-bottom: 3rem;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--accent-secondary);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(46, 68, 209, 0.1);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.policy-section {
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-2px);
    border-color: rgba(46, 68, 209, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.data-card {
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.data-card:hover {
    background: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 5px 20px rgba(46, 68, 209, 0.08);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.data-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.data-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Lists */
.feature-list {
    list-style-type: none;
    margin-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.feature-list strong {
    color: var(--text-primary);
}

/* Contact Box */
.contact-box {
    background: var(--accent-secondary);
    border-left: 4px solid var(--accent-primary);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content .logo {
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.footer-content p {
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Animations */
.section-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .layout-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 0.5rem 2rem;
        width: 100%;
    }
}