/* Header Styles */
.header {
    width: 100%;
    height: 80px;
    background: #161617;
    border-bottom: 2px solid #222325;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 272px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    color: #65B6F2;
    cursor: pointer;
    transition: color 0.3s;
}

.logo:hover {
    color: #4E9DF7;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-item {
    font-weight: 500;
    font-size: 16px;
    color: #FEFEFE;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover {
    color: #65B6F2;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #65B6F2;
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.header-btn {
    height: 40px;
    padding: 0 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.header-btn.login {
    background: transparent;
    color: #FEFEFE;
    border: 1px solid #34363A;
}

.header-btn.login:hover {
    background: #34363A;
}

.header-btn.signup {
    background: #65B6F2;
    color: #161617;
}

.header-btn.signup:hover {
    background: #4E9DF7;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #FEFEFE;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Header Responsive */
@media (max-width: 1920px) {
    .header-content {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 1400px) {
    .header-content {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #161617;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        border-bottom: 2px solid #222325;
        display: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        padding: 12px 0;
        border-bottom: 1px solid #222325;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-item::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-btn {
        padding: 0 16px;
        font-size: 13px;
    }

    .logo {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header-btn.login {
        display: none;
    }

    .header-btn.signup {
        padding: 0 20px;
    }
}

/* Header Focus States */
.header-btn:focus,
.nav-item:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #65B6F2;
    outline-offset: 2px;
}