/* ============================================
   Header & Navigation
   ============================================ */

:root {
    --color-primary: #4B3FA0;
    --color-secondary: #00A8FF;
    --color-text: #2D3436;
    --color-light: #F8F9FA;
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --border-radius: 8px;
}

body {
    padding-top: 64px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 20, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition);
}

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

header .header-container nav {
    max-width: none;
    margin: 0;
    padding: 0;
    display: block;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: white;
}

.logo-icon {
    font-size: 1.5em;
    color: white;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #1a73e8;
}

.nav-cta {
    background-color: #34a853;
    padding: 8px 15px;
    border-radius: 3px;
    color: white !important;
}

.nav-cta:hover {
    background-color: #2d8e47;
    color: white !important;
}

.hamburger1 {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.hamburger1 span {
    width: 26px;
    height: 2px;
    background: rgb(249, 244, 244);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.hamburger1.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger1.active span:nth-child(2) {
    opacity: 0;
}

.hamburger1.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    header nav ul {
        gap: 15px;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-cta {
        padding: 8px 12px;
    }

    .header-inner1 {
        padding: 0 1rem;
        flex-wrap: wrap;
        height: auto;
    }

    .header-nav1 {
        display: none;
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        background: rgba(13, 13, 20, 0.95);
        padding: 1rem 1.25rem;
        z-index: 200;
    }

    .header-nav1.active {
        display: flex;
    }

    .header-nav1 a {
        width: 100%;
        color: white;
        padding: 0.75rem 0;
    }

    .hamburger1 {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }
}

@media print {
    header {
        display: none;
    }
}

@media (prefers-color-scheme: dark) {
    header {
        background-color: #1E1E1E;
    }
}
