
.mc-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.08);
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.mc-nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-nav__left {
    display: flex;
    align-items: center;
}

.mc-nav__logo {
    font-size: 24px;
    font-weight: 600;
    color: #1d2129;
    text-decoration: none;
    margin-right: 48px;
}

.mc-nav__links {
    display: flex;
    gap: 32px;
}

.mc-nav__link {
    color: #4e5969;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mc-nav__link:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2B6DF3;
    transition: width 0.3s ease;
}

.mc-nav__link:hover {
    color: #2B6DF3;
}

.mc-nav__link:hover:after {
    width: 100%;
}

.mc-nav__login {
    display: inline-block;
    padding: 8px 24px;
    color: #2B6DF3;
    border: 1px solid #2B6DF3;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mc-nav__login:hover {
    background: #2B6DF3;
    color: #fff;
    transform: translateY(-2px);
}

.mc-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mc-nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1d2129;
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .mc-nav__links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .mc-nav__links.active {
        display: flex;
    }

    .mc-nav__toggle {
        display: flex;
    }
}

/* 调整头部区域上边距，为导航栏留出空间 */
.mc-header {
    margin-top: 64px;
}