
:root {
    /* Color Palette */
    --primary-color: #0d1e3d; /* Deep Dark Blue for backgrounds */
    --secondary-color: #1a2c52; /* Lighter Blue for containers */
    --accent-color: #fb4d00; /* Orange for Call to Action */
    --accent-hover: #ff6b2b;
    --text-main: #e0e6ed;
    --text-muted: #8b9bb4;
    --white: #ffffff;
    --border-color: #2a3f66;
    
    /* Functional Colors */
    --success: #28a745;
    --danger: #dc3545;
    --info: #17a2b8;
    --warning: #ffc107;
    
    /* Gradients */
    --gradient-header: linear-gradient(180deg, #132448 0%, #0b1a36 100%);
    --gradient-btn: linear-gradient(90deg, #fb4d00 0%, #ff7e00 100%);
    
    /* Spacing & Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1.25rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 15px rgba(251, 77, 0, 0.4);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Normalize */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utility Classes based on HTML analysis */
.flx { display: flex; }
.aic { align-items: center; }
.jcsb { justify-content: space-between; }
.jcc { justify-content: center; }
.fxg { flex-grow: 1; }
.wrap { 
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}
.b10 { margin-bottom: 0.625rem; }
.b20 { margin-bottom: 1.25rem; }
.b30 { margin-bottom: 1.875rem; }
.r10 { margin-right: 0.625rem; }
.r20 { margin-right: 1.25rem; }
.h30 { height: 1.875rem; }
.h60 { height: 3.75rem; }
.radius16 { border-radius: 1rem; }
.radius20 { border-radius: 1.25rem; }
.w500 { font-weight: 500; }
.f12 { font-size: 0.75rem; }
.center { text-align: center; }

/* Layout Structure */
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page_inner {
    flex: 1;
}

.content-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
}

/* Header Styles */
header {
    background: var(--gradient-header);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.head-top {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.download {
    color: var(--text-muted);
    font-size: 0.8rem;
    background: rgba(255,255,255,0.05);
    padding: 0 1rem;
}

.btn-icon svg {
    fill: var(--text-muted);
    transition: var(--transition);
}

.btn-icon:hover svg {
    fill: var(--white);
    transform: translateY(-2px);
}

/* Header Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg {
    margin-right: 0.5rem;
}

.fon-blu, .fon-blu2 {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 1px solid var(--border-color);
}

.fon-blu:hover, .fon-blu2:hover {
    background-color: #243b6b;
    border-color: #428cdc;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.fon-orang {
    background: var(--gradient-btn);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.fon-orang:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 77, 0, 0.5);
}

/* Dropdowns & Options */
.drop {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0 0.5rem;
}

.drop svg {
    margin-right: 0.4rem;
}

.drop:hover {
    color: var(--white);
}

.time {
    border-right: 1px solid rgba(255,255,255,0.1);
    margin-right: 0.5rem;
    padding-right: 0.5rem;
}

/* Logo Area */
.logo svg {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.logo:hover svg {
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

/* Main Navigation */
.main-menu {
    margin-left: 2rem;
}

.main-menu ul {
    display: flex;
    gap: 1.5rem;
}

.main-menu a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-menu a:hover {
    color: var(--white);
}

.main-menu a:hover::after {
    width: 100%;
}

/* Sidebar (Aside) Styles */
.menu-category {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.menu-category ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-category li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.menu-category li a svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    fill: var(--text-muted);
    transition: var(--transition);
}

/* Specific styling for SVG paths in sidebar based on HTML fills */
.menu-category li a svg path {
    fill: inherit; /* Reset inline fills to control via CSS if needed, or keep inline */
}

.menu-category li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding-left: 1.25rem; /* Slight shift animation */
}

.menu-category li a:hover svg {
    transform: scale(1.1);
}

/* Nested submenus handling (if visual hierarchy needed) */
.menu-category ul ul {
    padding-left: 1rem;
    margin-top: 0.25rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

/* Content Area Styles */
.content {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
}

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 800;
}

h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #c4cdd5;
}

strong {
    color: var(--white);
}

/* Info Boxes */
.info-box {
    border-radius: var(--border-radius-md);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid;
    background: rgba(0, 0, 0, 0.2);
}

.info-box-danger {
    border-color: var(--danger);
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.1) 0%, rgba(0,0,0,0) 100%);
}

.info-box-success {
    border-color: var(--success);
    background: linear-gradient(90deg, rgba(40, 167, 69, 0.1) 0%, rgba(0,0,0,0) 100%);
}

.info-box-info {
    border-color: var(--info);
    background: linear-gradient(90deg, rgba(23, 162, 184, 0.1) 0%, rgba(0,0,0,0) 100%);
}

.info-box-warning {
    border-color: var(--warning);
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.1) 0%, rgba(0,0,0,0) 100%);
}

/* Lists in content */
.content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.content ul li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1.5rem;
}

/* Images in content */
figure.image {
    margin: 2rem 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

figure.image img {
    transition: transform 0.5s ease;
}

figure.image:hover img {
    transform: scale(1.02);
}

/* Footer */
footer {
    background-color: #0b162a;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */

/* Tablet and below */
@media (max-width: 992px) {
    .content-row {
        grid-template-columns: 1fr;
    }
    
    .hide_992 {
        display: none !important;
    }
    
    .col-left {
        display: none; /* Often hidden on mobile or moved to a hamburger menu */
    }

    .main-menu {
        display: none; /* Assuming mobile menu script handles this */
    }
    
    .head-top {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .head-bottom {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .wrap {
        padding: 0 0.75rem;
    }

    .head-top .flx {
        width: 100%;
        justify-content: space-between;
    }
    
    .head-top .flx .btn {
        width: 48%; /* Split buttons on mobile */
        padding: 0 0.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .btn.h60 {
        height: 3rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Micro-animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content > * {
    animation: fadeIn 0.5s ease-out forwards;
}
