.course-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

.course-site-header nav {
    width: 100%;
    max-width: 1400px;
    min-height: 80px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-site-header .logo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
    color: #3B82F6;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.course-site-header .logo::before {
    content: none;
}

.course-site-header .logo-img {
    width: 50px;
    height: 50px;
    padding: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.course-site-header .nav-links {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 30px);
    list-style: none;
    background: transparent;
    box-shadow: none;
}

.course-site-header .nav-links a {
    position: relative;
    margin: 0;
    color: #2D3748;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    opacity: 1;
}

.course-site-header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #FF6B6B;
    transition: width 0.3s ease;
}

.course-site-header .nav-links a:hover {
    opacity: 1;
}

.course-site-header .nav-links a:hover::after {
    width: 100%;
}

.course-site-header .cta-button {
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 30px;
    color: white;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.35);
}

.course-site-header .mobile-toggle {
    display: none;
    padding: 8px;
    z-index: 1001;
}

.course-site-header .mobile-toggle span {
    width: 26px;
    height: 3px;
    background: #2D3748;
}

@media (max-width: 1100px) {
    .course-site-header nav {
        padding-inline: 20px;
    }

    .course-site-header .nav-links {
        gap: 15px;
    }

    .course-site-header .nav-links a {
        font-size: 14px;
    }

    .course-site-header .cta-button {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 968px) {
    .course-site-header nav {
        min-height: 80px;
        padding: 15px 30px;
    }

    .course-site-header .mobile-toggle {
        display: flex;
    }

    .course-site-header .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        padding: 40px;
        flex-direction: column;
        gap: 35px;
        background: white;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .course-site-header .nav-links.active {
        left: 0;
    }

    .course-site-header .nav-links a {
        margin: 0;
        padding: 12px 0;
        color: #2D3748;
        font-size: 18px;
        line-height: normal;
    }

    .course-site-header .nav-links .cta-button {
        width: 217px;
        max-width: 100%;
        margin-top: 20px;
        padding: 18px 30px;
        border-radius: 30px;
        font-size: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .course-site-header .logo {
        gap: 9px;
        font-size: 23px;
    }

    .course-site-header .logo-img {
        width: 46px;
        height: 46px;
    }
}
