:root {
    --header-h: 64px;
    /* 顶部导航高度，按需调整 */
    --text: #111;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* 开启平滑滚动 */
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: #fff;
    justify-content: space-between;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}
.site-header img{
    display: block;
    height: 60%;
}

.main-nav {
    display: flex;
    gap: 28px;
    padding: 0 16px;
    justify-content: center;
    
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 6px;
    text-align: center;
    font-size: 14px;
}

.nav-link.active {
    color: #000;
    border-bottom: 2px solid #000;
}

.section {
    padding: 80px 20px;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    scroll-margin-top: calc(var(--header-h) + 8px);
    /* 避免被固定头部遮挡 */
}

.section h2 {
    font-size: 48px;
    margin: 20px 0 14px;
}

.section p {
    font-size: 18px;
    color: #000000;
    font-weight: bold;
    line-height: 35px;
}

.section img {
    display: block;
    max-width: 100%;
    margin: 0 auto 40px;
}


.site-footer .footer-partner {
    padding: 10px 0 20px;
}

.site-footer .logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.site-footer img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-bar {
    background: #40aaa6;
    color: #000;
    padding: 24px 0;
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
}

.footer-bar .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .section {
        padding: 64px 16px;
    }

    .section h2 {
        font-size: 36px;
    }
    .section p{
        font-size: 14px;
    }
}