/* 官网公共头尾与主题变量：首页 / 软件商城等共用 */
.site-shell {
    --brand: #2B7DE9;
    --brand-dark: #1D63C4;
    --brand-soft: #5BA3F0;
    --brand-ink: #0F3A68;
    --brand-soft-bg: #EFF6FF;
    --brand-soft-border: #BFDBFE;
    --accent: #FF7A00;
    --accent-end: #FF4D00;
    --accent-gradient: linear-gradient(90deg, #FF7A00 0%, #FF4D00 100%);
    --banner-gradient: linear-gradient(135deg, #164E96 0%, #2B7DE9 100%);
    --page-bg: #f5f7fa;
    --ink: #1E293B;
    --muted: #666;
    --line: #e5e7eb;
    background: var(--page-bg);
    min-height: 100%;
}

.site-shell .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-shell .header-bar {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 64px;
}

.site-shell .main-nav a {
    font-size: 17px;
}

.site-shell .main-nav a.on {
    color: var(--brand);
    box-shadow: inset 0 -2px 0 var(--brand);
}

.site-shell .main-nav a:hover {
    color: var(--brand);
}

.site-shell .login-btn {
    background: var(--brand);
    border-radius: 999px;
}

.site-shell .login-btn:hover {
    background: var(--brand-dark);
}

.site-shell .user-avatar {
    background: #EFF6FF;
    color: var(--brand);
    border-radius: 50%;
    overflow: hidden;
}

.site-shell .user-avatar img,
.site-shell .user-avatar .user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.site-shell .site-footer {
    background: #1E2532;
    color: #cbd5e1;
}

.site-shell .site-footer h2 {
    color: #fff;
}

.site-shell .site-footer .foot-col > a {
    color: #94a3b8;
}

.site-shell .site-footer .foot-col > a:hover {
    color: #fff;
}

.site-shell .foot-grid,
.site-shell .foot-bottom {
    width: min(1200px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.site-shell .foot-copy {
    color: #64748b;
}

/* 各页顶部 banner 图 */
.page-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #0b1a4a;
}

.page-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

.page-banner-hit {
    position: absolute;
    display: block;
    z-index: 2;
}

/* 首页 banner.jpg 按钮热区 */
.page-banner-home .hit-primary {
    left: 6.5%;
    top: 68%;
    width: 11.5%;
    height: 12%;
}

.page-banner-home .hit-secondary {
    left: 19.5%;
    top: 68%;
    width: 11.5%;
    height: 12%;
}

/* 版本方案 banner3.jpg 按钮热区 */
.page-banner-member .hit-trial {
    left: 32%;
    top: 62%;
    width: 11%;
    height: 11%;
}

.page-banner-member .hit-buy {
    left: 44.5%;
    top: 62%;
    width: 11%;
    height: 11%;
}

.page-banner-member .hit-contact {
    left: 57%;
    top: 62%;
    width: 11%;
    height: 11%;
}

@media (max-width: 720px) {
    .page-banner-home .hit-primary,
    .page-banner-home .hit-secondary,
    .page-banner-member .hit-trial,
    .page-banner-member .hit-buy,
    .page-banner-member .hit-contact {
        height: 14%;
    }
}
