:root {
    --primary: #0f172a;
    --primary-dark: #020617;
    --primary-light: #1e293b;
    --accent: #ea580c;
    --accent-dark: #c2410c;
    --accent-light: #fff7ed;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 6px;
    --radius-btn: 6px;
    --font-heading: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}
.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: 8px 0;
    border-bottom: 1px solid rgba(234, 88, 12, 0.25);
}
.top-bar .section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar-left span i, .top-bar-right a i {
    color: var(--accent);
    margin-right: 6px;
}
.badge-portal {
    background: rgba(234, 88, 12, 0.15);
    color: #fb923c;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    border: 1px solid rgba(234, 88, 12, 0.3);
    text-transform: uppercase;
}
.top-bar-right a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}
.top-bar-right a:hover {
    color: var(--accent);
}

/* Site Header */
.site-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}
.site-header.scrolled {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}
.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-family: var(--font-heading);
    font-size: 24px;
    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;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 26px;
}
.nav-item {
    position: relative;
}
.nav-link {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    padding: 8px 0;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    color: var(--dark);
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    transition: var(--transition);
}
.mobile-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 991px) {
    .top-bar { display: none; }
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .nav-menu.active { display: flex; }
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    .nav-link {
        font-size: 16px;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }
}
