:root {
    --primary: #0f172a;
    --primary-dark: #020617;
    --primary-light: #1e3a8a;
    --accent: #ea580c;
    --accent-dark: #c2410c;
    --accent-light: #fff7ed;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-btn: 8px;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Container */
.section-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
@media (max-width: 768px) {
    .section-container {
        padding: 0 16px;
    }
}

/* Top Bar */
.top-bar {
    background: #020617;
    color: #94a3b8;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar .section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-bar-left i {
    color: var(--accent);
}
.badge-portal {
    background: rgba(234, 88, 12, 0.2);
    color: #fb923c;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(234, 88, 12, 0.4);
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar-right a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.top-bar-right a:hover {
    color: var(--accent);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
        height: 70px;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: var(--white);
    border-radius: var(--radius-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.brand-title .accent-text {
    color: var(--accent);
}
.brand-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}
.nav-link {
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .top-bar { display: none; }
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 2px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        padding: 24px;
        transform: translateY(-150%);
        transition: transform 0.35s ease-in-out;
        opacity: 0;
        pointer-events: none;
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }
    .nav-item {
        width: 100%;
    }
    .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
}
