/* public_style.css */

/* 基础样式 */
.mc-body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mc-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background: #f5f7fa;
    margin: 0;
    padding-top: 70px; /* 为固定导航栏留出空间 */
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* 导航栏样式 */
.mc-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    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 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-nav__left {
    display: flex;
    align-items: center;
}

.mc-nav__logo {
    height: 32px;
    margin-right: 60px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mc-nav__logo img {
    height: 100%;
    width: auto;
}

.mc-logo-img {
    height: 32px !important;
}

.mc-nav__logo:hover {
    opacity: 0.8;
}

.mc-nav__links {
    display: flex;
    gap: 40px;
}

.mc-nav__link {
    color: #4e5969;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    border-radius: 6px;
}

.mc-nav__link:after {
    display: none;
}

.mc-nav__link.active,
.mc-nav__link:hover {
    color: #2B6DF3;
    background-color: rgba(43, 109, 243, 0.1);
}

.mc-nav__right {
    display: flex;
}

.mc-nav__login {
    display: inline-block;
    padding: 8px 28px;
    color: #fff;
    background: #2B6DF3;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.mc-nav__login:hover {
    background: #1b4df0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 109, 243, 0.2);
}

.mc-nav__toggle {
    display: none;
}

/* 页脚样式 */
.mc-footer {
    background: #fff;
    padding: 60px 0 20px;
    margin-top: auto;
}

.mc-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mc-footer__content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.mc-footer__section h3 {
    font-size: 16px;
    color: #1d2129;
    margin-bottom: 20px;
    font-weight: 500;
}

.mc-footer__section ul {
    list-style: none;
}

.mc-footer__section ul li {
    margin-bottom: 12px;
}

.mc-footer__section ul li:last-child {
    margin-bottom: 0;
}

.mc-footer__section ul li a {
    color: #4e5969;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mc-footer__section ul li a:hover {
    color: #2B6DF3;
}

.mc-footer__bottom {
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.mc-footer__bottom p {
    color: #86909c;
    font-size: 14px;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .mc-footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .mc-nav__container {
        padding: 0 20px;
    }

    .mc-nav__links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

    .mc-nav__links.active {
        display: flex;
    }

    .mc-nav__toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 24px;
        height: 24px;
        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;
        border-radius: 2px;
    }
    
    .mc-nav__right {
        display: none;
    }

    .mc-footer__content {
        grid-template-columns: 1fr;
    }

    .mc-footer__section {
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .mc-footer__section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
} 

@media screen and (min-width: 769px) {
    .mc-nav__container {
        justify-content: flex-start;
    }

    .mc-nav__right {
        margin-left: auto;
    }
} 