.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header.hidden {
    transform: translateY(-100%);
}

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


.site-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1E9FFF, #009688);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    font-size: 20px;
}

.brand-text {
    line-height: 1.2;
}

.site-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.site-description {
    margin: 0;
    font-size: 12px;
    color: #999;
}


.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link i {
    margin-right: 8px;
    font-size: 16px;
}

.nav-link:hover {
    color: #1E9FFF;
    background: #f8f9fa;
}

.nav-item.active .nav-link {
    color: #1E9FFF;
    background: rgba(30, 159, 255, 0.1);
}

.nav-item.active .nav-link:after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #1E9FFF;
    border-radius: 2px;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    width: 20px;
    height: 14px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #666;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-icon span:nth-child(2) {
    margin: 4px 0;
}

.mobile-menu-btn.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    display: none;
}

.mobile-nav.show {
    display: block;
}

.mobile-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: white;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.show .mobile-nav-content {
    transform: translateX(0);
}


.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-brand {
    display: flex;
    align-items: center;
}

.mobile-logo {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #1E9FFF, #009688);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    font-size: 16px;
}

.mobile-brand-text h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.mobile-brand-text p {
    margin: 0;
    font-size: 11px;
    color: #999;
}

.mobile-close-btn {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mobile-close-btn:hover {
    background: #f8f9fa;
    color: #333;
}


.mobile-nav-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

.mobile-nav-item {
    margin-bottom: 5px;
}

.mobile-nav-item a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-item a:hover {
    background: #f8f9fa;
    color: #1E9FFF;
    border-left-color: #1E9FFF;
}

.mobile-nav-item.active a {
    background: rgba(30, 159, 255, 0.1);
    color: #1E9FFF;
    border-left-color: #1E9FFF;
}

.mobile-nav-item i {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}


@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 60px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .site-title {
        font-size: 16px;
    }

    .site-description {
        font-size: 11px;
    }

    .brand-logo {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-right: 10px;
    }

    .mobile-nav-content {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }

    .site-title {
        font-size: 14px;
    }

    .site-description {
        display: none;
    }

    .brand-logo {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-right: 8px;
    }

    .mobile-nav-content {
        width: 100%;
    }
}


body.no-scroll {
    overflow: hidden;
}


body {
    padding-top: 70px;
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-content {
    animation: fadeIn 0.3s ease;
}


.nav-link:focus,
.mobile-menu-btn:focus,
.mobile-nav-item a:focus {
    outline: 2px solid #1E9FFF;
    outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.mobile-nav-body::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-nav-body::-webkit-scrollbar-thumb {
    background: #1E9FFF;
    border-radius: 2px;
}