/* 全站通用样式：顶部导航(复刻首页白色胶囊导航) + 底部页脚 */

/* 与首页一致的字体与盒模型基准 */
body {
    font-family: -apple-system, BlinkMacSystemFont, Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header__pill,
.site-header__download {
    box-sizing: border-box;
}

/* ---------- 顶部导航 ---------- */
.site-header {
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.site-header__pill {
    pointer-events: all;
    display: flex;
    align-items: center;
    width: min(1000px, 100% - 36px);
    height: 56px;
    padding: 0 8px;
    background: #fff;
    border: 1.5px solid #fff;
    border-radius: 32px;
    box-shadow: 0 4px 20px rgba(0, 2, 113, .08);
}

.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 8px 0 16px;
    text-decoration: none;
}

.site-header__logo img {
    display: block;
    height: 38px;
    width: auto;
}

.site-header__nav {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.site-header__nav::-webkit-scrollbar {
    display: none;
}

.site-header__nav a {
    flex-shrink: 0;
    padding: 4px 24px;
    font-size: 16px;
    font-weight: 400;
    color: #818999;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 8px;
    transition: color .2s;
    -webkit-tap-highlight-color: transparent;
}

.site-header__nav a:hover,
.site-header__nav a:active {
    color: #000;
}

.site-header__download {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #000;
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s;
}

.site-header__download:hover {
    background: #4d4d4d;
}

/* 悬浮导航占位，避免遮挡内容 */
.site-header-spacer {
    height: 108px;
}

/* ---------- 底部页脚 ---------- */
.site-footer {
    background: #f7f9fc;
    border-top: 1px solid #eef1f6;
}

.site-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.site-footer__links a {
    font-size: 14px;
    line-height: 22px;
    color: #495366;
    white-space: nowrap;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #2563eb;
}

.site-footer__sep {
    width: 1px;
    height: 12px;
    background: rgba(129, 137, 153, .3);
}

.site-footer__copy {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: #818999;
}

@media (max-width: 1199px) {
    .site-header__nav a {
        padding: 4px 16px;
    }
}

@media (max-width: 767px) {
    .site-header__nav a {
        padding: 4px 8px;
        font-size: 14px;
    }

    .site-footer__links {
        gap: 12px;
    }
}
