/* ===================== 前台 CMS 样式 =====================
   设计 token 独立定义，主色 #0831cb（深蓝），与前台 / 后台 / 安装三端
   共享同一套明/暗主题切换逻辑。前台页面仅需引入本文件。 */

:root {
    --primary: #0831cb;
    --primary-2: #2a5bdc;
    --primary-grad: linear-gradient(135deg, #0831cb 0%, #3b6fe0 100%);
    --primary-soft: rgba(8, 49, 203, 0.08);
    --accent: #22d3ee;
    --navy: #06102c;
    --navy-2: #0b1b4a;

    --bg: #f4f6fb;
    --bg-card: #ffffff;
    --bg-subtle: #eef2f8;
    --bg-hover: #f7f9fc;
    --border: #e4e9f2;
    --border-strong: #d0d7e4;

    --text: #121826;
    --text-2: #4a5568;
    --text-muted: #8b95a7;

    --shadow-sm: 0 1px 4px rgba(15, 30, 60, 0.06);
    --shadow: 0 8px 28px rgba(15, 30, 60, 0.08);
    --shadow-lg: 0 18px 50px rgba(8, 49, 203, 0.18);
    --radius: 14px;
    --radius-sm: 8px;
    --header-h: 76px;
}

html[data-theme="dark"] {
    --primary: #4f7bf0;
    --primary-2: #6a92f5;
    --primary-grad: linear-gradient(135deg, #2a4fb0 0%, #4f7bf0 100%);
    --primary-soft: rgba(79, 123, 240, 0.14);
    --bg: #12141a;
    --bg-card: #1c1f27;
    --bg-subtle: #23262f;
    --bg-hover: #262a34;
    --border: #2c313b;
    --border-strong: #3a404c;
    --text: #e6e9ef;
    --text-2: #b3bac6;
    --text-muted: #828b99;
    --shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

.frontend-body {
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    transition: background-color .3s, color .3s;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-2); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.page-wrap { padding: 40px 24px 72px; }

/* ---------- Topbar / Header ---------- */
.site-topbar {
    background: var(--navy); color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .3px;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-meta strong { color: #fff; font-weight: 700; }
.topbar-split { opacity: .8; }
.topbar-links { display: flex; gap: 16px; }
.topbar-links a { color: rgba(255,255,255,.78); }
.topbar-links a:hover, .topbar-links a.active { color: #fff; }
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg-card) 88%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s, background .25s, border-color .25s;
}
.site-header.is-compact {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.site-nav, .header-inner { display: flex; align-items: center; }
.header-inner { height: var(--header-h); justify-content: space-between; gap: 18px; }
.site-logo { display: flex; align-items: center; gap: 12px; color: var(--text) !important; }
.site-logo .logo-img,
.member-side-head .logo-img {
    height: 38px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
.member-side-head .logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.footer-logo .logo-img { height: 36px; max-width: 150px; }
.site-logo .logo-mark {
    width: 38px; height: 38px; font-size: 12px; letter-spacing: .6px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary-grad); color: #fff; border-radius: 10px; font-weight: 800;
    box-shadow: 0 8px 18px rgba(8,49,203,.28);
}
.logo-copy { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 17px; font-weight: 800; }
.logo-sub { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.site-nav { gap: 2px; flex-wrap: wrap; }
.site-nav a, .nav-item > a {
    padding: 9px 13px; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 600;
}
.site-nav a:hover, .site-nav a.active, .nav-item > a:hover, .nav-item > a.active { color: var(--primary); background: var(--primary-soft); }
.nav-item { position: relative; }
.nav-sub {
    display: none; position: absolute; top: calc(100% - 2px); left: 0; min-width: 188px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    box-shadow: var(--shadow); padding: 8px 0; z-index: 120;
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { display: block; }
.nav-sub a { display: block; padding: 9px 16px; border-radius: 0; white-space: nowrap; }
.site-actions { display: flex; align-items: center; gap: 10px; }
.site-search { display: flex; align-items: center; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 999px; padding: 4px 6px 4px 14px; }
.site-search input { border: none; background: transparent; outline: none; color: var(--text); width: 128px; font-size: 13px; }
.site-search button { width: 30px; height: 30px; border: 0; background: transparent; color: var(--text-muted); cursor: pointer; font-size: 16px; }
.header-cta {
    display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px;
    background: var(--primary-grad); color: #fff !important; font-size: 13px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 8px 18px rgba(8,49,203,.22);
}
.header-cta:hover { color: #fff !important; filter: brightness(1.05); }
.theme-toggle {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--bg-subtle); color: var(--text-2); cursor: pointer; font-size: 15px;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); display: block; }

/* ---------- Hero / Banner ---------- */
.hero { background: var(--primary-grad); color: #fff; padding: 48px 0; }
.hero-inner { text-align: center; }
.hero-title { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.hero-desc { font-size: 16px; opacity: .92; margin-bottom: 26px; }
.hero-search {
    display: flex; align-items: center; max-width: 540px; margin: 0 auto;
    background: #fff; border-radius: 30px; padding: 6px 6px 6px 20px; box-shadow: var(--shadow-lg);
}
.hero-search input { flex: 1; border: none; outline: none; font-size: 15px; color: #333; }
.hero-search button { border: none; background: var(--primary); color: #fff; padding: 10px 26px; border-radius: 24px; cursor: pointer; font-size: 15px; }
.hero-stats { margin-top: 22px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: 14px; opacity: .95; }
.hero-stats .stat-divider { opacity: .5; }

/* ---------- 首页轮播 ---------- */
.home-banner { margin: 28px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.home-banner .slide { display: none; }
.home-banner .slide.active { display: block; }
.home-banner img { width: 100%; height: 340px; object-fit: cover; display: block; }
.home-banner .slide a { display: block; }
.banner-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; }
.banner-dots span.active { background: #fff; }

/* ---------- 区块 ---------- */
.section { margin: 32px 0; }
.section-title { font-size: 22px; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 5px; height: 22px; border-radius: 3px; background: var(--primary-grad); }

/* ---------- 文章卡片栅格 ---------- */
/* ---------- 资讯列表双栏 ---------- */
.news-list-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.news-row {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.news-row:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}
.news-row__cover {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-subtle);
}
.news-row__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-row__cover-plain {
    width: 100%;
    height: 100%;
    min-height: 110px;
    background: linear-gradient(135deg, #0831cb, #4f8cff);
}
.news-row__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.news-row__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text);
}
.news-row:hover .news-row__title { color: var(--primary); }
.news-row__summary {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-row__meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}
.news-flag {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    vertical-align: middle;
    background: #fff1e8;
    color: #d9480f;
}
.news-flag--rec {
    background: var(--primary-soft);
    color: var(--primary);
}
.news-list-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
}
.side-cat-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.side-cat-item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-2);
    background: transparent;
    transition: background .2s, color .2s;
}
.side-cat-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
}
.side-cat-item.is-active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 920px) {
    .news-list-layout { grid-template-columns: 1fr; }
    .news-list-side { position: static; }
    .news-row { grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .news-row__title { font-size: 16px; }
}
@media (max-width: 560px) {
    .news-row { grid-template-columns: 1fr; }
    .news-row__cover { aspect-ratio: 16 / 9; }
}
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
    color: inherit;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-thumb { width: 100%; height: 180px; object-fit: cover; background: linear-gradient(135deg, #0831cb, #4f8cff); }
.article-thumb--plain { min-height: 180px; }
.article-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-title { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.45; }
.article-title:hover { color: var(--primary); }
.article-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.article-summary { font-size: 14px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-tags { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.article-tags .tag { font-size: 12px; color: var(--primary); background: var(--primary-soft); padding: 2px 10px; border-radius: 20px; }

/* ---------- 侧栏 ---------- */
.side-col { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.hot-list { list-style: none; counter-reset: hot; }
.hot-list li { counter-increment: hot; padding: 9px 0; border-bottom: 1px dashed var(--border); display: flex; gap: 10px; align-items: center; font-size: 14px; }
.hot-list li::before { content: counter(hot); width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.hot-list li a { color: var(--text-2); }
.hot-list li a:hover { color: var(--primary); }
.frag-content { font-size: 14px; color: var(--text-2); }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; color: var(--text-muted); margin: 20px 0 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb--light { color: rgba(255,255,255,.72); margin: 18px 0 0; }
.breadcrumb--light a { color: rgba(255,255,255,.72); }
.breadcrumb--light a:hover { color: #fff; }

/* ---------- 内页头图 ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 72px 0 56px; background: var(--navy);
}
.page-hero--slim { padding: 48px 0 40px; }
.page-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 280px at 85% -10%, rgba(91,140,255,.38), transparent 55%),
        radial-gradient(520px 220px at 8% 110%, rgba(34,211,238,.18), transparent 50%),
        linear-gradient(120deg, #06102c 0%, #0831cb 58%, #1c4de0 100%);
}
.page-hero-bg::after {
    content: ''; position: absolute; inset: 0; opacity: .18; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 56px 56px;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-en { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; opacity: .7; margin-bottom: 10px; font-weight: 700; }
.page-hero h1 { font-size: 36px; font-weight: 800; line-height: 1.28; margin-bottom: 10px; }
.page-hero-desc { font-size: 15px; opacity: .86; max-width: 640px; }
.subcat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.subcat-chip {
    padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--bg-card); color: var(--text-2); font-size: 13px; font-weight: 600;
}
.subcat-chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.subcat-chip.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* ---------- 文章详情 ---------- */
.article-detail { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.article-detail .detail-title { font-size: 28px; font-weight: 800; line-height: 1.4; margin: 0 0 14px; color: var(--text); }
.page-hero--slim .page-hero-cat { font-size: 28px; }
.detail-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin: 8px 0 22px; }
.article-detail .detail-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.article-content { font-size: 16px; color: var(--text); line-height: 1.9; }
.article-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 12px 0; }
.article-content h2, .article-content h3 { margin: 22px 0 12px; }
.article-content p { margin-bottom: 14px; }
.article-content a { text-decoration: underline; }
.article-content pre { background: var(--bg-subtle); padding: 14px; border-radius: var(--radius-sm); overflow: auto; }
.article-content blockquote { border-left: 4px solid var(--primary); padding: 8px 16px; background: var(--primary-soft); margin: 14px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.article-pager a { font-size: 14px; color: var(--text-2); }
.article-pager a:hover { color: var(--primary); }
.article-copyright {
    margin-top: 28px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--bg-subtle);
    border: 1px dashed var(--border-strong);
}
.article-copyright__label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 2px 10px;
    border-radius: 999px;
}
.article-copyright p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-2);
}
.article-copyright strong { color: var(--text); font-weight: 700; }

/* ---------- 单页 ---------- */
.page-detail { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.page-detail .page-title { font-size: 26px; font-weight: 800; margin-bottom: 20px; }

.biz-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.biz-row {
    display: grid; grid-template-columns: 52px 1fr; gap: 8px 16px; align-items: start;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
    padding: 24px; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.biz-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); color: inherit; }
.biz-no { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: 1px; padding-top: 2px; }
.biz-row-body h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.biz-row-body p { font-size: 15px; line-height: 1.85; color: var(--text-2); }
.biz-row-body ul { margin: 8px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14px; line-height: 1.85; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.biz-tags span {
    padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
    color: var(--primary); background: var(--primary-soft); border: 1px solid transparent;
}
.biz-tags--lg { margin: 0 0 22px; }
.biz-tags--lg span { padding: 7px 14px; font-size: 13px; }

.biz-page-hero .biz-page-no {
    display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 800;
    letter-spacing: 2px; color: #22d3ee;
}
.biz-page-hero .page-hero-desc { max-width: 760px; }
.biz-steps {
    list-style: none; margin: 0 0 22px; padding: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.biz-steps li {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
    padding: 22px 22px 20px;
}
.biz-steps span { display: block; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; }
.biz-steps p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--text); }
.biz-page-body { margin-bottom: 8px; }
.biz-more { margin-top: 36px; }
.biz-more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.biz-more-card {
    display: flex; flex-direction: column; gap: 8px; color: inherit;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 22px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.biz-more-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); color: inherit; }
.biz-more-card.is-current { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); background: var(--primary-soft); }
.biz-more-card span { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.biz-more-card h3 { font-size: 17px; margin: 0; }
.biz-more-card p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.biz-page-cta {
    margin-top: 32px; padding: 28px 32px; border-radius: 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: var(--navy); color: #fff;
}
.biz-page-cta .sec-en { opacity: .7; margin-bottom: 6px; }
.biz-page-cta h2 { font-size: 22px; margin-bottom: 8px; }
.biz-page-cta p { margin: 0; opacity: .86; font-size: 14px; line-height: 1.7; }

/* ---------- 解决方案模板 ---------- */
.sol-home-anchor, #sol-cats, #sol-packs { scroll-margin-top: calc(var(--header-h) + 8px); }
.page-banner {
    position: relative; overflow: hidden; background: #06102c;
    min-height: 420px;
}
.page-banner .home-hero-copy {
    padding: 88px 24px 64px;
}
.page-banner .home-hero-copy h1 { font-size: 42px; margin-bottom: 14px; }
.page-banner .home-hero-desc { margin-bottom: 22px; max-width: 640px; }
.page-banner .breadcrumb { margin: 22px 0 0; }
.page-banner .home-hero-dots { bottom: 28px; }
.page-banner .hero-nav { top: 50%; transform: translateY(-50%); }
.sol-page-cta-wrap { padding-bottom: 72px; background: var(--bg); }
.sol-sec { padding: 64px 0 72px; background: var(--bg-card); }
.sol-sec--alt { background: var(--bg); }
.sol-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.sol-badge {
    display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
    background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .4px;
}
.sol-head h2 { font-size: 32px; font-weight: 800; letter-spacing: .3px; margin-bottom: 10px; }
.sol-head p { color: var(--text-2); font-size: 15px; line-height: 1.8; }
.scat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.scat-card, .spack-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
    box-shadow: var(--shadow-sm);
}
.sol-sec--alt .spack-card { background: var(--bg-card); }
.scat-card { padding: 22px 22px 10px; }
.scat-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.scat-head h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.scat-head p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.scat-list { list-style: none; margin: 0; padding: 4px 0 12px; }
.scat-list li {
    display: flex; flex-direction: column; gap: 2px;
    position: relative; padding: 10px 4px 10px 18px;
    border-top: 1px solid var(--border);
}
.scat-list li::before {
    content: ''; position: absolute; left: 2px; top: 16px;
    width: 7px; height: 7px; border-radius: 50%; background: var(--sol-accent, var(--primary));
}
.scat-list strong { font-size: 14px; color: var(--text); }
.scat-list span { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.spack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spack-card {
    padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 220px;
}
.spack-card h3 { font-size: 16px; font-weight: 800; margin: 4px 0 0; line-height: 1.45; }
.spack-card > p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.75; flex: 1; }
.spack-fit { font-size: 12px; color: var(--text-2); line-height: 1.65; padding-top: 8px; border-top: 1px dashed var(--border); }
.spack-fit b { color: var(--sol-accent, var(--primary)); font-weight: 700; }
.tone-blue { --sol-accent: #3b6cff; --sol-soft: #e8f0ff; }
.tone-orange { --sol-accent: #f97316; --sol-soft: #fff4e8; }
.tone-green { --sol-accent: #16a34a; --sol-soft: #eaf8ef; }
.tone-purple { --sol-accent: #7c3aed; --sol-soft: #f1e9ff; }
.tone-cyan { --sol-accent: #0891b2; --sol-soft: #e6f7fb; }
.tone-pink { --sol-accent: #db2777; --sol-soft: #fde8f2; }
.tone-indigo { --sol-accent: #4f46e5; --sol-soft: #eef0ff; }
.tone-teal { --sol-accent: #0d9488; --sol-soft: #e6f7f4; }
.sol-ico {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    background: var(--sol-soft); color: var(--sol-accent);
    display: inline-flex; align-items: center; justify-content: center;
}
.sol-ico::before {
    content: ''; width: 22px; height: 22px; background: currentColor;
    -webkit-mask: var(--ico) center / contain no-repeat;
    mask: var(--ico) center / contain no-repeat;
}
.sol-ico--folder { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' viewBox='0 0 24 24'><path d='M3 7h6l2 2h10v10H3z'/></svg>"); }
.sol-ico--cart { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' viewBox='0 0 24 24'><path d='M6 6h15l-1.5 9h-12z'/><path d='M6 6L5 3H2'/><circle cx='9' cy='20' r='1.5'/><circle cx='18' cy='20' r='1.5'/></svg>"); }
.sol-ico--phone { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><rect x='7' y='2' width='10' height='20' rx='2'/><path d='M11 18h2'/></svg>"); }
.sol-ico--chip { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><rect x='7' y='7' width='10' height='10' rx='1'/><path d='M9 3v4M12 3v4M15 3v4M9 17v4M12 17v4M15 17v4M3 9h4M3 12h4M3 15h4M17 9h4M17 12h4M17 15h4'/></svg>"); }
.sol-ico--chart { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' viewBox='0 0 24 24'><path d='M4 20V10M10 20V4M16 20v-7M22 20H2'/></svg>"); }
.sol-ico--puzzle { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><path d='M8 4h3a2 2 0 114 0h3v3a2 2 0 110 4v3h-3a2 2 0 11-4 0H8v-3a2 2 0 110-4z'/></svg>"); }
.sol-ico--flow { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><circle cx='6' cy='6' r='2.5'/><circle cx='18' cy='12' r='2.5'/><circle cx='6' cy='18' r='2.5'/><path d='M8.5 7.5l7 3M8.5 16.5l7-3'/></svg>"); }
.sol-ico--users { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><circle cx='9' cy='8' r='3'/><path d='M3 19c0-3 2.5-5 6-5s6 2 6 5'/><circle cx='17' cy='9' r='2.5'/><path d='M21 19c0-2.2-1.6-3.8-4-4.5'/></svg>"); }
.sol-ico--factory { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' viewBox='0 0 24 24'><path d='M3 21V10l6 4V10l6 4V7l6-3v17z'/></svg>"); }
.sol-ico--box { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' viewBox='0 0 24 24'><path d='M3 7l9-4 9 4-9 4z'/><path d='M3 7v10l9 4 9-4V7'/><path d='M12 11v10'/></svg>"); }
.sol-ico--screen { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><rect x='3' y='4' width='18' height='12' rx='2'/><path d='M8 20h8M12 16v4'/></svg>"); }
.sol-ico--globe { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18'/></svg>"); }
.sol-ico--shop { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' viewBox='0 0 24 24'><path d='M4 10l1.5-6h13L20 10'/><path d='M4 10v10h16V10'/><path d='M9 20v-6h6v6'/></svg>"); }
.sol-ico--plug { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2' viewBox='0 0 24 24'><path d='M8 7V3M16 7V3M7 7h10v6a5 5 0 01-10 0zM12 18v3'/></svg>"); }
html[data-theme="dark"] .tone-blue,
html[data-theme="dark"] .tone-orange,
html[data-theme="dark"] .tone-green,
html[data-theme="dark"] .tone-purple,
html[data-theme="dark"] .tone-cyan,
html[data-theme="dark"] .tone-pink,
html[data-theme="dark"] .tone-indigo,
html[data-theme="dark"] .tone-teal { --sol-soft: color-mix(in srgb, var(--sol-accent) 22%, transparent); }

/* ---------- 关于我们 · 大气模板 ---------- */
.about-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 92px 0 108px; background: var(--navy);
}
.about-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(920px 340px at 88% -8%, rgba(91,140,255,.42), transparent 56%),
        radial-gradient(520px 240px at 6% 120%, rgba(34,211,238,.16), transparent 50%),
        linear-gradient(118deg, #06102c 0%, #0831cb 56%, #1c4de0 100%);
}
.about-hero-bg::after {
    content: ''; position: absolute; inset: 0; opacity: .16; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 56px 56px;
}
.about-hero-inner { position: relative; z-index: 1; }
.about-hero h1 { font-size: 52px; font-weight: 800; letter-spacing: .6px; margin: 8px 0 16px; line-height: 1.15; }
.about-hero-name { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.about-hero-tag { font-size: 15px; opacity: .82; max-width: 720px; }

.about-stats { margin-top: -42px; position: relative; z-index: 2; }
.about-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(8,49,203,.18); border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
.about-stats-grid div {
    background: var(--bg-card); padding: 26px 22px;
}
.about-stats-grid b { display: block; font-size: 28px; color: var(--primary); line-height: 1.2; margin-bottom: 6px; }
.about-stats-grid span { color: var(--text-2); font-size: 13px; }

.about-story { padding: 72px 0 28px; }
.about-story-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 56px; align-items: start; }
.about-story-aside {
    padding: 32px 28px; border-radius: 22px; color: #fff;
    background: linear-gradient(160deg, #0831cb, #1c4de0 52%, #06102c);
    box-shadow: var(--shadow);
}
.about-story-aside .sec-en { color: rgba(255,255,255,.7); }
.about-story-aside strong { display: block; font-size: 28px; line-height: 1.3; margin: 8px 0 10px; }
.about-story-aside p { opacity: .82; font-size: 14px; margin-bottom: 18px; }
.about-story-aside ul { list-style: none; }
.about-story-aside li {
    position: relative; padding: 8px 0 8px 16px; font-size: 14px; opacity: .9;
    border-top: 1px solid rgba(255,255,255,.12);
}
.about-story-aside li::before {
    content: ''; position: absolute; left: 0; top: 16px; width: 6px; height: 6px;
    border-radius: 50%; background: #22d3ee;
}
.about-story-body p { font-size: 16px; line-height: 2; color: var(--text-2); margin-bottom: 18px; }

.about-caps { padding: 28px 0 72px; }
.about-cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.about-cap-grid article {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.about-cap-grid article:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
.about-cap-grid span { display: block; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; }
.about-cap-grid h3 { font-size: 18px; margin-bottom: 8px; }
.about-cap-grid p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.about-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.about-chips span {
    padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--bg-card); color: var(--text-2); font-size: 13px; font-weight: 600;
}

.about-modes { padding: 0 0 80px; }
.about-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-mode-grid article {
    padding: 32px 28px; border-radius: 20px; color: #fff; min-height: 220px;
    background: linear-gradient(135deg, #0831cb, #2a5bdc);
}
.about-mode-grid article:last-child {
    background: linear-gradient(135deg, #06102c, #0b3d91);
}
.about-mode-grid p:first-child { font-size: 12px; letter-spacing: 2px; opacity: .72; font-weight: 700; margin-bottom: 12px; }
.about-mode-grid h3 { font-size: 24px; margin-bottom: 12px; }
.about-mode-grid p { font-size: 15px; line-height: 1.8; opacity: .9; }

/* ---------- 联系我们 ---------- */
.contact-body { padding: 72px 0 12px; }
.contact-body .sec-head { margin-bottom: 28px; }
.contact-body .sec-head h2 { font-size: 28px; }
.contact-intro { color: var(--text-2); font-size: 16px; line-height: 1.95; margin-top: 10px; }
.contact-intro p { margin-bottom: 12px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-cards article {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 22px 20px;
}
.contact-cards span { display: block; font-size: 12px; letter-spacing: .6px; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.contact-cards strong { font-size: 16px; line-height: 1.55; word-break: break-all; }
.contact-cards a { color: inherit; }
.contact-cards a:hover { color: var(--primary); }
.contact-flow { padding: 40px 0 80px; }
.contact-steps {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.contact-steps li {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px;
}
.contact-steps span { display: block; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.contact-steps h3 { font-size: 18px; margin-bottom: 8px; }
.contact-steps p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---------- 授权查询 ---------- */
.lic-query { padding: 48px 0 80px; }
.lic-query-form {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px;
    padding: 28px 28px 22px; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.lic-query-form label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 10px; }
.lic-query-row { display: flex; gap: 12px; flex-wrap: wrap; }
.lic-query-row input {
    flex: 1; min-width: 240px; height: 48px; padding: 0 16px; border-radius: 12px;
    border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font-size: 15px;
}
.lic-query-row input:focus { outline: none; border-color: var(--primary); }
.lic-query-row .btn-primary { height: 48px; padding: 0 28px; }
.lic-query-hint { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); }
.lic-result {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px;
    padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.lic-result--ok { border-color: color-mix(in srgb, #16a34a 45%, var(--border)); }
.lic-result--expired, .lic-result--none { border-color: color-mix(in srgb, #e11d48 35%, var(--border)); }
.lic-flag {
    display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: .4px;
    background: var(--primary-soft); color: var(--primary);
}
.lic-result--ok .lic-flag { background: #eaf8ef; color: #15803d; }
.lic-result--expired .lic-flag, .lic-result--none .lic-flag { background: #fde8ec; color: #be123c; }
.lic-result h2 { font-size: 24px; margin: 0 0 18px; }
.lic-result p { color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.lic-result dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; }
.lic-result dt { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.lic-result dd { margin: 0; font-size: 15px; font-weight: 700; }
.lic-result code { font-size: 14px; letter-spacing: .4px; }

/* ---------- 标签云 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud .tag { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 20px; padding: 6px 16px; font-size: 14px; color: var(--text-2); }
.tag-cloud .tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* ---------- 搜索 ---------- */
.search-box-wrap { display: flex; gap: 10px; margin-bottom: 24px; }
.search-box-wrap input { flex: 1; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-size: 15px; background: var(--bg-card); color: var(--text); }
.search-box-wrap input:focus { outline: none; border-color: var(--primary); }
.search-result-count { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }

/* ---------- 分页 ---------- */
.pagination { margin: 28px 0; text-align: center; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-2); font-size: 14px; background: var(--bg-card); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
    background:
        radial-gradient(1200px 280px at 12% -20%, rgba(8, 49, 203, .35), transparent 60%),
        var(--navy);
    color: rgba(255,255,255,.72);
    margin-top: 0;
    padding: 0;
}
.footer-cta {
    background: linear-gradient(120deg, #0831cb 0%, #1e4ed8 55%, #2a5bdc 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.is-index .footer-cta { display: none; }
.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 32px 0;
    flex-wrap: wrap;
}
.footer-cta-en {
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 6px;
    font-weight: 700;
}
.footer-cta h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .2px;
    margin: 0 0 6px;
}
.footer-cta-copy p { margin: 0; font-size: 14px; opacity: .82; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.footer-cta .btn-primary {
    min-height: 42px;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
}
.btn-primary--light { background: #fff; color: var(--primary) !important; box-shadow: 0 8px 20px rgba(6,16,44,.18); }
.footer-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
}
.footer-cta-ghost:hover { background: rgba(255,255,255,.1); color: #fff !important; }
.footer-main { padding-bottom: 28px; }
.footer-cols {
    display: grid;
    grid-template-columns: 1.35fr .9fr .95fr 1.15fr;
    gap: 40px 32px;
    padding: 44px 0 8px;
}
.footer-logo { margin-bottom: 14px; color: #fff !important; }
.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-sub { color: rgba(255,255,255,.5); }
.footer-lead {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,.62);
    margin: 0;
    max-width: 320px;
}
.footer-col h4 {
    font-size: 13px;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: 1.2px;
    font-weight: 800;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #4f7bf0;
}
.footer-nav { display: flex; flex-direction: column; gap: 2px; }
.footer-nav a {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    padding: 5px 0;
    width: fit-content;
}
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a,
.footer-contact p {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.55;
}
.footer-contact em {
    font-style: normal;
    font-size: 12px;
    color: rgba(255,255,255,.42);
    padding-top: 3px;
    font-weight: 700;
}
.footer-contact strong { font-weight: 700; color: #fff; word-break: break-all; }
.footer-contact a:hover strong { color: #93b4ff; }
.footer-muted {
    display: block !important;
    grid-template-columns: none !important;
    color: rgba(255,255,255,.45) !important;
    font-size: 13px;
}
.footer-extra { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-extra a { color: #93b4ff; }
.footer-extra p { margin: 0 0 6px; color: inherit; }
.footer-friends {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-friends-label {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255,255,255,.4);
    padding-top: 6px;
}
.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.7);
    font-size: 13px;
}
.footer-tags a:hover { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.42);
    font-size: 12px;
    padding: 16px 0 8px;
    margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-copy { line-height: 1.6; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.footer-meta a,
.footer-legal-btn { color: rgba(255,255,255,.42); }
.footer-meta a:hover,
.footer-legal-btn:hover { color: #fff; }
.footer-legal-btn {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}
.site-dialog {
    padding: 0;
    border: 0;
    background: transparent;
    max-width: min(560px, calc(100vw - 32px));
    width: 560px;
}
.site-dialog::backdrop {
    background: rgba(6, 16, 44, .58);
}
.site-dialog-card {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(6, 16, 44, .28);
    overflow: hidden;
}
.site-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #06102c;
    color: #fff;
}
.site-dialog-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}
.site-dialog-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 18px;
    line-height: 1;
}
.site-dialog-close:hover { background: rgba(255,255,255,.22); }
.site-dialog-body {
    padding: 18px 20px 8px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-2);
    max-height: min(52vh, 360px);
    overflow: auto;
}
.site-dialog-body p { margin: 0 0 12px; }
.site-dialog-body p:last-child { margin-bottom: 0; }
.site-dialog-actions {
    display: flex;
    justify-content: flex-end;
    padding: 12px 18px 18px;
}

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty .empty-icon { font-size: 48px; margin-bottom: 12px; }

/* ---------- 会员 / 商城 ---------- */
.member-link { color: var(--text-2); font-size: 14px; font-weight: 500; }
.member-link:hover { color: var(--primary); }
.btn-sm-primary {
    display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 20px;
    background: var(--primary-grad); color: #fff !important; font-size: 13px; font-weight: 600;
}
.btn-primary, .btn-default, .btn-danger {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
    font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--primary-grad); color: #fff !important; }
.btn-default { background: var(--bg-card); border-color: var(--border); color: var(--text-2) !important; }
.btn-danger { background: #f56c6c; color: #fff !important; }
.btn-block { width: 100%; }
.auth-wrap { max-width: 440px; margin: 56px auto 80px; }
.auth-card, .panel-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm);
}
.auth-card h1 { font-size: 22px; margin-bottom: 8px; }
.auth-card .muted, .muted { color: var(--text-muted); font-size: 13px; }

/* ---------- 会员登录 / 注册 ---------- */
.auth-page {
    position: relative;
    padding: 28px 24px 72px;
    overflow: hidden;
}
.auth-page::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 280px;
    background:
        radial-gradient(ellipse 60% 80% at 12% 0%, rgba(8, 49, 203, 0.14), transparent 70%),
        radial-gradient(ellipse 50% 70% at 88% 10%, rgba(34, 211, 238, 0.1), transparent 65%);
    pointer-events: none;
}
.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    max-width: 1080px;
    margin: 0 auto;
    min-height: min(640px, calc(100vh - 180px));
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    animation: authRise .55s ease both;
}
@keyframes authRise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
.auth-brand {
    position: relative;
    padding: 40px 44px 48px;
    color: #fff;
    background: linear-gradient(155deg, #06102c 0%, #0a1f5c 42%, #0831cb 78%, #1d4ed8 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    min-height: 480px;
    overflow: hidden;
}
.auth-brand__glow {
    position: absolute;
    width: 320px; height: 320px;
    right: -80px; top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 68%);
    animation: authGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes authGlow {
    from { transform: translate(0, 0) scale(1); opacity: .7; }
    to { transform: translate(-24px, 18px) scale(1.12); opacity: 1; }
}
.auth-brand__grid {
    position: absolute; inset: 0; opacity: .16; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.auth-brand__top,
.auth-brand__copy { position: relative; z-index: 1; }
.auth-brand__top {
    position: absolute;
    top: 40px;
    left: 44px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 0;
    animation: authFade .7s .08s ease both;
}
.auth-brand__mark {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    font-weight: 800; letter-spacing: .5px;
}
.auth-brand__site {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .2px;
}
.auth-brand__en {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: .72;
    font-weight: 700;
    margin-bottom: 12px;
}
.auth-brand__copy {
    animation: authFade .75s .16s ease both;
}
.auth-brand h1 {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 14px;
    max-width: 11em;
}
.auth-brand__desc {
    font-size: 15px;
    line-height: 1.7;
    opacity: .88;
    max-width: 360px;
    margin: 0 0 22px;
}
.auth-brand__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.auth-brand__list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
    opacity: .9;
}
.auth-brand__list li::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
    flex-shrink: 0;
}
@keyframes authFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    background: var(--bg-card);
}
.auth-panel__inner {
    width: 100%;
    max-width: 400px;
    animation: authFade .65s .12s ease both;
}
.auth-tabs {
    display: inline-flex;
    padding: 4px;
    margin-bottom: 22px;
    background: var(--bg-subtle);
    border-radius: 999px;
    border: 1px solid var(--border);
}
.auth-tabs a {
    min-width: 88px;
    padding: 8px 18px;
    border-radius: 999px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}
.auth-tabs a:hover { color: var(--primary); }
.auth-tabs a.is-active {
    background: var(--bg-card);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.auth-panel__title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 6px;
    color: var(--text);
}
.auth-panel__lead {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 26px;
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.auth-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-2);
}
.auth-optional {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border-radius: 999px;
    padding: 1px 8px;
}
.auth-input {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input__ico {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 13px;
    pointer-events: none;
}
.auth-input input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.auth-input--pwd input { padding-right: 72px; }
.auth-input input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px var(--primary-soft);
}
.auth-eye {
    position: absolute;
    right: 8px;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.auth-eye:hover { background: var(--primary-soft); }
.auth-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}
.auth-submit {
    margin-top: 6px;
    height: 50px;
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: var(--primary-grad);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(8, 49, 203, 0.24);
    transition: transform .15s, filter .2s, box-shadow .2s;
}
.auth-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 32px rgba(8, 49, 203, 0.3);
}
.auth-submit:active { transform: translateY(0); }
.auth-sms {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
}
.auth-sms-btn {
    min-width: 118px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: var(--bg-subtle);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, border-color .2s;
}
.auth-sms-btn:hover:not(:disabled) {
    background: var(--primary-soft);
    border-color: var(--primary);
}
.auth-sms-btn:disabled {
    cursor: not-allowed;
    color: var(--text-muted);
    opacity: .85;
}
.auth-captcha {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
}
.auth-captcha img {
    width: 110px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: var(--bg-subtle);
    cursor: pointer;
    object-fit: cover;
}
.auth-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    align-items: center;
}
.auth-switch a { font-weight: 700; }
.auth-mode-btn {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}
.auth-mode-btn:hover { text-decoration: underline; }
.auth-alert {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff1f0;
    color: #c0392b;
    font-size: 13px;
    line-height: 1.5;
}
html[data-theme="dark"] .auth-alert {
    background: rgba(192, 57, 43, .18);
    color: #ffb4ab;
}
.auth-oauth {
    margin-top: 28px;
}
.auth-oauth__split {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    font-size: 12px;
    color: var(--text-muted);
}
.auth-oauth__split::before,
.auth-oauth__split::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-oauth__btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.auth-oauth__btns:has(:only-child) {
    grid-template-columns: 1fr;
}
.auth-oauth__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s, border-color .2s, background .2s;
}
.auth-oauth__btn:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
}
.auth-oauth__btn--wechat {
    color: #07c160;
    border-color: rgba(7, 193, 96, .35);
    background: rgba(7, 193, 96, .08);
}
.auth-oauth__btn--qq {
    color: #12b7f5;
    border-color: rgba(18, 183, 245, .35);
    background: rgba(18, 183, 245, .08);
}
.auth-agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-2);
    cursor: pointer;
    user-select: none;
}
.auth-agree input {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}
.auth-agree a {
    font-weight: 700;
    white-space: nowrap;
}
.legal-doc {
    max-width: 820px;
    margin: 0 auto 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px 36px;
}
.legal-doc .article-content h2 { font-size: 18px; }
.legal-doc__back {
    margin-top: 28px;
    font-size: 13px;
}
.legal-doc__back a { font-weight: 700; }

html[data-theme="dark"] .auth-shell { box-shadow: 0 18px 48px rgba(0,0,0,.45); }
html[data-theme="dark"] .auth-input input { background: var(--bg-subtle); }

@media (max-width: 920px) {
    .auth-shell { grid-template-columns: 1fr; min-height: 0; }
    .auth-brand { min-height: 0; padding: 28px 24px 32px; }
    .auth-brand__top { top: 24px; left: 24px; }
    .auth-brand h1 { font-size: 28px; max-width: none; }
    .auth-brand__list { display: none; }
    .auth-panel { padding: 28px 22px 36px; }
    .auth-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .auth-page { padding: 16px 12px 48px; }
    .auth-shell { border-radius: 20px; }
    .auth-panel__title { font-size: 22px; }
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-2); }
.form-control {
    width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    background: var(--bg); color: var(--text); font-size: 14px;
}
.form-control:focus { outline: none; border-color: var(--primary); }
.member-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin: 36px auto 72px; }
.member-side { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.member-side a {
    display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-2); margin-bottom: 4px; font-size: 14px;
}
.member-side a:hover, .member-side a.active { background: var(--primary-soft); color: var(--primary); }
.member-main h1 { font-size: 22px; margin-bottom: 18px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.stat-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat-box .num { font-size: 24px; font-weight: 800; color: var(--primary); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-product-grid { margin-top: 8px; }
@media (max-width: 920px) {
    .home-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .home-product-grid { grid-template-columns: 1fr; }
}
.product-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    transition: transform .2s, box-shadow .2s; color: inherit;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 180px; object-fit: cover; background: var(--bg-subtle); display: block; }
.product-card .body { padding: 14px; }
.product-card .title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; height: 42px; overflow: hidden; }
.product-card .price { color: #e6a23c; font-size: 18px; font-weight: 800; margin-top: 8px; }
.product-card .market { color: var(--text-muted); font-size: 12px; text-decoration: line-through; margin-left: 6px; }
.product-detail { display: grid; grid-template-columns: 420px 1fr; gap: 28px; margin: 24px 0; }
.product-gallery img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-subtle); }
.price-lg { font-size: 28px; font-weight: 800; color: #e6a23c; }
.cart-table, .order-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td, .order-table th, .order-table td {
    padding: 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; vertical-align: middle;
}
.cart-table img, .order-item-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: var(--bg-subtle); }
.qty-input { width: 72px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); }
.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.pay-methods a, .pay-method {
    min-width: 140px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.pay-method--alipay, .pay-methods a.pay-method--alipay { background: #1677ff; color: #fff; }
.pay-method--wechat { background: #07c160; color: #fff; }
.pay-method--balance { background: #111827; color: #fff; }
.pay-method--demo { background: #fff; color: #111827; border-color: #d1d5db; }
.pay-card { max-width: none; }
.pay-card-amount { margin: 8px 0 12px; }
.qr-box { text-align: center; padding: 24px; }
.qr-box img { width: 220px; height: 220px; background: #fff; padding: 8px; border-radius: 8px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 6px 14px; border-radius: 20px; background: var(--bg-subtle); color: var(--text-2); font-size: 13px; }
.tabs a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.address-item { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px; cursor: pointer; }
.address-item.active { border-color: var(--primary); background: var(--primary-soft); }
.address-item label { cursor: pointer; display: block; }

/* ---------- 企业官网首页 ---------- */
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.45); color: #fff !important; font-weight: 700; font-size: 14px;
    background: rgba(255,255,255,.08);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-primary { border-radius: 999px; padding: 12px 22px; }

.home-hero {
    position: relative; overflow: hidden; background: #06102c;
    height: 450px;
    min-height: 450px;
    max-height: 450px;
}
.home-hero-slide {
    position: absolute; inset: 0; display: none;
    background: center/cover no-repeat #0831cb;
    animation: none;
}
.home-hero-slide.is-active { display: flex; align-items: center; }
.home-hero-slide--plain {
    background:
        radial-gradient(1000px 480px at 82% 8%, rgba(91,140,255,.42), transparent 52%),
        linear-gradient(125deg, #06102c 0%, #0831cb 48%, #2a5bdc 100%);
}
.home-hero-mask {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(6,16,44,.88) 0%, rgba(8,49,203,.42) 58%, rgba(6,16,44,.2) 100%);
}
.home-hero-grid {
    position: absolute; inset: 0; opacity: .16; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 72px 72px;
}
.home-hero-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 48px 24px 96px;
    color: #fff;
}
.home-hero-copy h1 { max-width: 820px; }
.home-kicker {
    display: inline-block; font-size: 12px; letter-spacing: 3.2px; text-transform: uppercase;
    opacity: .88; margin-bottom: 18px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px;
}
.home-hero-copy h1 { font-size: 42px; line-height: 1.18; font-weight: 800; margin-bottom: 14px; letter-spacing: .5px; }
.home-hero-desc { font-size: 16px; line-height: 1.75; opacity: .9; max-width: 580px; margin-bottom: 22px; }
.home-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero-dots {
    position: absolute; z-index: 2; right: 40px; bottom: 78px;
    display: flex; flex-direction: column; gap: 8px;
}
.home-hero-dots button {
    width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.4);
}
.home-hero-dots button.is-active { background: #fff; height: 28px; border-radius: 8px; }
.hero-nav {
    position: absolute; z-index: 3; top: 46%; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.28); background: rgba(6,16,44,.28); color: #fff;
    font-size: 26px; cursor: pointer; backdrop-filter: blur(8px);
}
.hero-nav:hover { background: rgba(8,49,203,.75); }
.hero-nav--prev { left: 24px; }
.hero-nav--next { right: 24px; }
.hero-metrics {
    position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(6,16,44,.72));
}
.hero-metrics-inner {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 10px 24px 16px; color: #fff;
}
.hero-metrics-inner div { border-left: 1px solid rgba(255,255,255,.16); padding-left: 18px; }
.hero-metrics-inner b { display: block; font-size: 26px; font-weight: 800; }
.hero-metrics-inner span { font-size: 12px; opacity: .75; }
.hero-scroll {
    position: absolute; z-index: 2; left: 50%; bottom: 64px; transform: translateX(-50%);
    color: rgba(255,255,255,.7) !important; font-size: 12px; letter-spacing: 2px;
}

.home-strip { background: var(--navy); color: #fff; padding: 36px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.strip-item span { display: block; color: #7ea2ff; font-size: 12px; letter-spacing: 2px; font-weight: 800; margin-bottom: 8px; }
.strip-item h3 { font-size: 18px; margin-bottom: 8px; }
.strip-item p { font-size: 13px; color: rgba(255,255,255,.68); }

.home-sec { padding: 88px 0; scroll-margin-top: calc(var(--header-h) + 8px); }
.home-sec--alt { background: var(--bg-card); }
.sec-head { margin-bottom: 32px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.sec-head--center { display: block; text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { font-size: 34px; font-weight: 800; letter-spacing: .4px; }
.sec-en { color: var(--primary); font-size: 12px; letter-spacing: 2.8px; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
.sec-lead { color: var(--text-2); font-size: 15px; margin-top: 10px; }
.sec-more { color: var(--primary); font-size: 14px; font-weight: 700; }
.sec-foot { text-align: center; margin-top: 32px; }

.home-about { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center; }
.home-about-visual {
    min-height: 360px; border-radius: 22px; padding: 22px;
    background: radial-gradient(circle at 18% 16%, #8bb4ff, transparent 42%),
                linear-gradient(160deg, #0831cb, #1c4de0 55%, #06102c);
    box-shadow: var(--shadow-lg);
}
.home-about-panel {
    height: 100%; min-height: 316px; border-radius: 16px; padding: 32px;
    background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; justify-content: flex-end;
}
.home-about-badge { font-size: 12px; letter-spacing: 2.4px; opacity: .8; margin-bottom: 12px; }
.home-about-panel strong { font-size: 30px; line-height: 1.35; }
.home-about-panel p { margin-top: 12px; opacity: .9; }
.home-about-rich { color: var(--text-2); font-size: 16px; line-height: 1.95; }
.home-about-rich p { margin-bottom: 12px; }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; counter-reset: svc; }
.svc-card {
    counter-increment: svc; display: flex; flex-direction: column; gap: 10px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 26px;
    color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.home-sec--alt .svc-card { background: var(--bg); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); }
.svc-index {
    width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800;
}
.svc-index::before { content: counter(svc, decimal-leading-zero); }
.svc-cover { width: 100%; height: 128px; object-fit: cover; border-radius: 12px; background: var(--bg-subtle); }
.svc-card h3 { font-size: 18px; color: var(--text); }
.svc-card p { color: var(--text-2); font-size: 14px; flex: 1; }
.svc-link { font-size: 13px; color: var(--primary); font-weight: 700; }
.svc-points, .about-cap-grid ul {
    margin: 8px 0 0; padding-left: 18px; color: var(--text-2); font-size: 13px; line-height: 1.8;
}

.sol-grid, .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-card, .case-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
    color: inherit; transition: transform .25s, box-shadow .25s;
}
.sol-card:hover, .case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sol-visual, .case-cover { height: 160px; background: center/cover no-repeat #1c3fa8; position: relative; }
.sol-visual span {
    position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: 1px;
    text-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.case-cover { height: 200px; display: flex; align-items: flex-end; padding: 14px 16px; }
.case-cover span {
    font-size: 12px; letter-spacing: 1px; color: #fff;
    background: rgba(8,49,203,.88); padding: 4px 10px; border-radius: 99px;
}
.sol-visual--1, .case-cover--1 { background: linear-gradient(135deg, #0831cb, #4f8cff); }
.sol-visual--2, .case-cover--2 { background: linear-gradient(135deg, #0b3d91, #27b4c4); }
.sol-visual--3, .case-cover--3 { background: linear-gradient(135deg, #1b2a8a, #7a5cff); }
.sol-visual--4, .case-cover--4 { background: linear-gradient(135deg, #123a7a, #2f80ed); }
.sol-visual--5, .case-cover--5 { background: linear-gradient(135deg, #0f4c81, #56c6a8); }
.sol-visual--6, .case-cover--6 { background: linear-gradient(135deg, #17315c, #f0b429); }
.sol-body, .case-body { padding: 18px 20px 22px; }
.sol-body h3, .case-body h3 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.sol-body p, .case-body p { font-size: 13px; color: var(--text-2); }

.news-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: stretch; }
.news-feature {
    display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 18px; overflow: hidden; color: inherit;
}
.news-feature-cover { height: 250px; background: center/cover no-repeat #14358f; }
.news-feature-cover--plain { background: linear-gradient(135deg, #0831cb, #5b8cff); }
.news-feature-body { padding: 22px 24px 26px; }
.news-feature-body time, .news-date span { color: var(--text-muted); font-size: 12px; }
.news-feature-body h3 { font-size: 22px; color: var(--text); margin: 8px 0; }
.news-feature-body p, .news-item p { color: var(--text-2); font-size: 14px; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
    display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; color: inherit;
}
.news-item h3 { font-size: 15px; color: var(--text); margin-bottom: 4px; }
.news-date { min-width: 54px; text-align: center; }
.news-date b { display: block; font-size: 24px; color: var(--primary); line-height: 1; }

.link-grid { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 10px 12px; }
.link-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border);
    background: var(--bg-card); color: var(--text-2); font-size: 14px; line-height: 1.4;
}
.home-sec--alt .link-chip { background: var(--bg); }
.link-chip img { width: 20px; height: 20px; object-fit: contain; }
.link-chip:hover { border-color: var(--primary); color: var(--primary); }
.home-links { padding: 56px 0; }
.home-links .sec-head { margin-bottom: 20px; align-items: flex-end; }
.home-links .sec-head h2 { font-size: 28px; }

.reveal { opacity: 0; transform: translateY(18px); animation: rise .7s ease forwards; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
    .header-cta, .topbar-addr { display: none; }
    .home-hero-copy h1 { font-size: 38px; }
    .strip-grid, .hero-metrics-inner { grid-template-columns: repeat(2, 1fr); }
    .spack-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-steps, .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
    .layout { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-cta h2 { font-size: 20px; }
    .footer-friends { flex-direction: column; gap: 8px; }
    .site-nav { display: none; z-index: 99; }
    .site-nav.is-open .nav-sub {
        position: static; display: block; box-shadow: none; border: none; min-width: 0; padding: 0 0 0 12px;
    }
    .nav-toggle { display: flex; }
    .site-search input { width: 72px; }
    .home-banner img { height: 200px; }
    .member-layout, .product-detail { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-row { grid-template-columns: 1fr; }
    .home-hero { height: 450px; min-height: 450px; max-height: 450px; }
    .home-hero-copy { padding: 40px 24px 88px; }
    .home-hero-copy h1 { font-size: 28px; }
    .page-banner { min-height: 320px; }
    .page-banner .home-hero-copy { padding: 56px 24px 48px; }
    .home-about, .svc-grid, .sol-grid, .case-grid, .news-layout, .home-stats, .home-cta-inner, .strip-grid,
    .about-stats-grid, .about-story-grid, .about-cap-grid, .about-mode-grid,
    .biz-list, .biz-steps, .biz-more-grid, .contact-cards {
        grid-template-columns: 1fr;
        display: grid;
    }
    .biz-page-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
    .about-hero { padding: 56px 0 88px; }
    .about-hero h1 { font-size: 32px; }
    .biz-row { grid-template-columns: 48px 1fr; padding: 20px; }
    .home-hero-dots { flex-direction: row; right: 50%; bottom: 72px; transform: translateX(50%); }
    .hero-nav { display: none; }
    .page-hero h1 { font-size: 26px; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .topbar-meta { display: none; }
}

.is-auth .footer-cta,
.is-member .footer-cta,
.is-cart .footer-cta,
.is-order .footer-cta,
.is-pay .footer-cta,
.is-address .footer-cta,
.is-license .footer-cta,
.is-invoice .footer-cta,
.is-contract .footer-cta,
.is-ticket .footer-cta,
.is-recharge .footer-cta { display: none; }

.topbar-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.cart-badge {
    min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px;
    background: #22d3ee; color: #06102c; font-size: 10px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.cart-badge.is-empty { display: none; }

.app-toast {
    position: fixed; z-index: 9999; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(12px);
    background: #06102c; color: #fff; padding: 12px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 600; box-shadow: 0 12px 32px rgba(6,16,44,.28);
    opacity: 0; pointer-events: none; transition: .25s;
    border: 1px solid rgba(34,211,238,.35);
}
.app-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.app-toast--error { background: #7f1d1d; border-color: rgba(255,255,255,.12); }
.app-toast--success { background: #0831cb; }

.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form em { color: #e11d48; font-style: normal; }
.inquiry-hint { margin-top: 10px; font-size: 12px; color: var(--text-muted); }
.contact-grid, .contact-page { display: grid; grid-template-columns: 1fr 1.08fr; gap: 36px; align-items: start; }
.home-contact { background: linear-gradient(180deg, #06102c, #0b1b4a); color: #fff; }
.home-contact .sec-en { color: #7dd3fc; }
.home-contact .sec-lead, .home-contact .inquiry-hint { color: rgba(255,255,255,.7); }
.home-contact .form-group label { color: rgba(255,255,255,.82); }
.home-contact .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.home-contact .form-control::placeholder { color: rgba(255,255,255,.4); }
.contact-points { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.contact-points li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid #22d3ee; }
.contact-points span { font-size: 12px; letter-spacing: 1px; opacity: .7; }
.contact-page .contact-points span { color: var(--text-muted); opacity: 1; }
.contact-panel {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
    padding: 28px; box-shadow: var(--shadow);
}
.home-contact .contact-panel {
    background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none;
}

.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb {
    width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px;
    overflow: hidden; cursor: pointer; background: var(--bg-subtle);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.is-active { border-color: var(--primary); }
.product-info-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.qty-row { margin: 20px 0; display: flex; gap: 10px; align-items: center; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-dark {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 999px; border: 1px solid var(--border);
    color: var(--text) !important; font-weight: 700; background: var(--bg-subtle);
}
.cart-product { display: flex; gap: 12px; align-items: center; }
.cart-foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-detail-wrap { max-width: 860px; }
.order-card { border-bottom: 1px solid var(--border); padding: 16px 0; }
.order-card-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 13px; color: var(--text-muted); }
.order-netdisk {
    margin: 14px 0;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(8, 49, 203, 0.04);
}
.order-netdisk h3 { font-size: 15px; margin: 0 0 8px; }
.order-netdisk p { margin: 4px 0; font-size: 14px; }
.order-netdisk a { word-break: break-all; }
.order-line { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.order-card-foot { text-align: right; margin-top: 8px; display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.order-preview { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.member-side-head { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.member-side-head strong { display: block; font-size: 14px; }
.member-side-head span { font-size: 12px; color: var(--text-muted); }
.member-side a em {
    float: right; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px;
    background: var(--primary); color: #fff; font-size: 10px; font-style: normal;
    display: inline-flex; align-items: center; justify-content: center;
}
.member-side-group {
    margin: 14px 0 6px;
    padding: 0 10px;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--text-muted);
    text-transform: uppercase;
}
.member-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.member-page-head h1 { margin-bottom: 6px; }
.member-form-card { max-width: 760px; }
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-bottom: 16px;
}
.form-grid-2 .full { grid-column: 1 / -1; }
.member-table-wrap { overflow-x: auto; }
.member-table { width: 100%; border-collapse: collapse; }
.member-table th, .member-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}
.member-table th { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.member-table-sub td { border-bottom: 1px solid var(--border); background: rgba(0,0,0,.02); padding-top: 0; }
.member-empty { text-align: center; padding: 36px 12px; }
.member-empty p { margin-bottom: 14px; color: var(--text-muted); }
.mc-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(100,116,139,.12);
    color: #475569;
}
.mc-badge--0 { background: rgba(245,158,11,.14); color: #b45309; }
.mc-badge--1 { background: rgba(34,197,94,.14); color: #15803d; }
.mc-badge--2 { background: rgba(59,130,246,.14); color: #1d4ed8; }
.mc-badge--3 { background: rgba(148,163,184,.18); color: #475569; }
.member-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}
.member-detail-grid > div { display: flex; flex-direction: column; gap: 4px; }
.member-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.member-shortcut {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    background: var(--bg-body, #fff);
    transition: border-color .2s, box-shadow .2s;
}
.member-shortcut:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(8,49,203,.08);
}
.member-shortcut strong { font-size: 15px; }
.member-shortcut span { font-size: 12px; color: var(--text-muted); }
.recharge-balance { display: flex; align-items: center; margin-bottom: 16px; }
.recharge-balance-num { font-size: 32px; font-weight: 700; margin-top: 4px; color: var(--primary); }
.recharge-presets { display: flex; flex-wrap: wrap; gap: 10px; }
.recharge-preset {
    min-width: 88px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}
.recharge-preset.is-active,
.recharge-preset:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft, rgba(8,49,203,.06));
}
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ticket-content { line-height: 1.7; white-space: pre-wrap; }
.ticket-reply {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
}
.ticket-reply.is-staff { background: var(--primary-soft, rgba(8,49,203,.05)); }
.ticket-reply-meta { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.head-actions-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.req { color: #dc2626; }
.text-warn { color: #d97706; font-weight: 600; }
@media (max-width: 900px) {
    .member-shortcuts { grid-template-columns: 1fr 1fr; }
    .form-grid-2, .member-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .member-shortcuts { grid-template-columns: 1fr; }
}

.panel-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm);
}
.muted { color: var(--text-muted); font-size: 13px; }

/* ===================== 商城详情（mall 样式） ===================== */
.mall-pd {
    display: grid;
    grid-template-columns: 440px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin: 0 0 28px;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.mall-pd__gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.mall-pd__stage {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
}
.mall-pd__stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mall-pd__hot,
.mall-pd__soldout {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}
.mall-pd__hot {
    background: linear-gradient(135deg, #ff5a36, #e4393c);
    box-shadow: 0 6px 16px rgba(228,57,60,.32);
}
.mall-pd__soldout {
    left: auto;
    right: 14px;
    background: rgba(18, 24, 38, .72);
}
.mall-pd__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.mall-pd__thumb {
    width: 68px; height: 68px; padding: 0;
    border: 2px solid transparent; border-radius: 10px; overflow: hidden;
    cursor: pointer; background: var(--bg-subtle); transition: border-color .2s;
}
.mall-pd__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mall-pd__thumb.is-active, .mall-pd__thumb:hover { border-color: var(--primary); }

.mall-pd__panel { padding: 4px 4px 0 0; }
.mall-pd__title { font-size: 26px; font-weight: 800; line-height: 1.35; color: var(--text); margin: 0; }
.mall-pd__sub { font-size: 14px; color: var(--text-muted); margin: 10px 0 18px; }
.mall-pd__price {
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(228,57,60,.08), rgba(8,49,203,.05));
    border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px;
}
.mall-pd__cur { color: #e4393c; font-size: 18px; font-weight: 700; }
.mall-pd__num { color: #e4393c; font-size: 34px; font-weight: 800; line-height: 1; }
.mall-pd__market { color: var(--text-muted); font-size: 14px; text-decoration: line-through; }
.mall-pd__tip {
    margin-left: auto; align-self: center; font-size: 12px; color: var(--primary);
    background: var(--primary-soft); padding: 3px 10px; border-radius: 999px; font-weight: 600;
}
.mall-pd__meta {
    display: flex; gap: 22px; font-size: 13px; color: var(--text-muted);
    padding-bottom: 16px; border-bottom: 1px dashed var(--border); margin-bottom: 18px;
}
.mall-pd__meta strong { color: var(--text); font-weight: 700; }
.mall-pd__qty { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mall-pd__label { font-size: 14px; color: var(--text-2); }
.stepper {
    display: inline-flex; align-items: center;
    border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; background: var(--bg-card);
}
.stepper button {
    width: 38px; height: 38px; border: 0; background: var(--bg-subtle);
    color: var(--text-2); font-size: 18px; cursor: pointer; transition: background .2s;
}
.stepper button:hover { background: var(--primary-soft); color: var(--primary); }
.stepper input {
    width: 56px; height: 38px; border: 0; text-align: center; font-size: 15px;
    color: var(--text); background: var(--bg-card); outline: none;
}
.stepper input:disabled { opacity: .55; }
.mall-pd__services { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 22px; padding: 0; }
.mall-pd__services li { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.mall-pd__services li::before { content: '\2713'; color: #16a34a; font-weight: 800; }
.mall-pd__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-cart, .btn-buy {
    height: 50px; padding: 0 34px; border: 0; border-radius: 999px;
    font-size: 16px; font-weight: 800; cursor: pointer;
    transition: transform .15s, box-shadow .2s, filter .2s, opacity .2s;
}
.btn-cart { background: var(--primary-grad); color: #fff; box-shadow: 0 10px 24px rgba(8,49,203,.22); }
.btn-buy { background: linear-gradient(135deg, #ff7a45, #e4393c); color: #fff; box-shadow: 0 10px 24px rgba(228,57,60,.28); }
.btn-cart:hover:not(:disabled), .btn-buy:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.04); }
.btn-cart:disabled, .btn-buy:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.mall-pd__inquiry { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--primary); font-weight: 600; }
.mall-pd__inquiry:hover { text-decoration: underline; }

.mall-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}
.mall-body__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mall-body__side {
    display: flex; flex-direction: column; gap: 16px;
    position: sticky; top: calc(var(--header-h) + 16px);
}
.mall-board {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px 26px;
}
.mall-board__title {
    font-size: 18px; font-weight: 800; margin: 0 0 8px; color: var(--text);
}
.mall-board__lead {
    font-size: 13px; color: var(--text-muted); margin: 0 0 18px;
}
.mall-tabs {
    display: flex; gap: 6px;
    border-bottom: 2px solid var(--border);
    margin: 0 0 20px;
}
.mall-tabs button {
    border: 0; background: none; padding: 12px 18px;
    font-size: 15px; font-weight: 700; color: var(--text-muted);
    cursor: pointer; position: relative;
}
.mall-tabs button.is-active { color: var(--primary); }
.mall-tabs button.is-active::after {
    content: ''; position: absolute; left: 18px; right: 18px; bottom: -2px;
    height: 3px; border-radius: 3px; background: var(--primary-grad);
}
.mall-tabpanel { display: none; }
.mall-tabpanel.is-active { display: block; animation: mallFade .3s ease; }
@keyframes mallFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mall-spec {
    width: 100%; border-collapse: collapse;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.mall-spec th, .mall-spec td {
    padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border);
}
.mall-spec th { width: 140px; background: var(--bg-subtle); color: var(--text-2); font-weight: 600; }
.mall-spec tr:last-child th, .mall-spec tr:last-child td { border-bottom: 0; }
.mall-spec td del { color: var(--text-muted); margin-left: 8px; }

.mall-side-products { display: flex; flex-direction: column; gap: 12px; }
.mall-side-item {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px;
    align-items: center; text-decoration: none; color: inherit;
}
.mall-side-item img {
    width: 64px; height: 64px; object-fit: cover; border-radius: 10px;
    background: var(--bg-subtle); border: 1px solid var(--border);
}
.mall-side-item__title {
    font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mall-side-item:hover .mall-side-item__title { color: var(--primary); }
.mall-side-item__price { margin-top: 4px; font-size: 14px; font-weight: 800; color: #e4393c; }
.mall-promise { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mall-promise li {
    position: relative; padding-left: 16px; font-size: 13px; color: var(--text-2); line-height: 1.5;
}
.mall-promise li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}

@media (max-width: 920px) {
    .mall-pd { grid-template-columns: 1fr; gap: 20px; padding: 16px; }
    .mall-pd__gallery { position: static; }
    .mall-pd__title { font-size: 22px; }
    .mall-body { grid-template-columns: 1fr; }
    .mall-body__side { position: static; }
    .btn-cart, .btn-buy { flex: 1; padding: 0 18px; }
}

@media (max-width: 920px) {
    .inquiry-grid, .contact-grid, .contact-page { grid-template-columns: 1fr; }
}

/* ===== Forum ===== */
.forum-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.forum-toolbar__copy { font-size:14px; color:var(--text-muted); }
.forum-search { flex:1; min-width:220px; margin:0; }
.forum-board-list { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; }
.forum-board { display:flex; align-items:center; gap:16px; padding:18px 20px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); text-decoration:none; color:inherit; transition:border-color .2s, transform .15s, box-shadow .2s; }
.forum-board:hover { border-color:var(--primary); transform:translateY(-1px); box-shadow:0 8px 22px rgba(8,49,203,.08); }
.forum-board__icon { width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:var(--primary-soft); font-size:22px; flex-shrink:0; }
.forum-board__body { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.forum-board__name { font-size:17px; font-weight:800; color:var(--text); }
.forum-board__desc { font-size:13px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.forum-board__stats { display:flex; gap:14px; font-size:12px; color:var(--text-muted); flex-shrink:0; }
.forum-board__stats strong { display:block; font-size:16px; color:var(--text); font-weight:800; }
.forum-thread-list { display:flex; flex-direction:column; gap:10px; }
.forum-thread { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px 18px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); text-decoration:none; color:inherit; transition:border-color .2s; }
.forum-thread:hover { border-color:var(--primary); }
.forum-thread__title { font-size:16px; font-weight:700; line-height:1.45; margin-bottom:6px; }
.forum-thread__meta, .forum-thread__stats { display:flex; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--text-muted); }
.forum-thread__stats { text-align:right; flex-shrink:0; }
.forum-thread__stats strong { color:var(--text); margin-right:2px; }
.forum-flag { display:inline-block; font-size:11px; font-weight:700; padding:2px 7px; border-radius:999px; margin-right:6px; vertical-align:middle; }
.forum-flag--top { background:#fff1e8; color:#d9480f; }
.forum-flag--hot { background:#fff8e1; color:#b45309; }
.forum-post-card { display:grid; grid-template-columns:140px 1fr; gap:0; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); margin-bottom:14px; overflow:hidden; }
.forum-post-card--op { border-color:rgba(8,49,203,.25); }
.forum-post-card__side { padding:22px 16px; background:var(--bg-subtle); text-align:center; border-right:1px solid var(--border); }
.forum-avatar { width:52px; height:52px; margin:0 auto 10px; border-radius:50%; background:var(--primary-grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; }
.forum-author { font-size:14px; font-weight:700; color:var(--text); word-break:break-all; }
.forum-floor { margin-top:6px; font-size:12px; color:var(--text-muted); }
.forum-post-card__body { padding:22px 24px; }
.forum-post-card__meta { display:flex; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--text-muted); margin-bottom:14px; }
.forum-body { font-size:15px; line-height:1.75; color:var(--text); white-space:pre-wrap; word-break:break-word; }
.forum-reply, .forum-compose { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:24px; margin-top:8px; }
.forum-reply__title { font-size:18px; font-weight:800; margin-bottom:14px; }
.forum-textarea { min-height:140px; resize:vertical; }
.forum-reply__actions { display:flex; gap:12px; margin-top:14px; align-items:center; }
.forum-reply__login { font-size:14px; color:var(--text-muted); }
.forum-reply__login a { color:var(--primary); font-weight:700; }
.forum-compose .form-group { margin-bottom:16px; }
.forum-compose label { display:block; font-size:13px; font-weight:700; margin-bottom:8px; color:var(--text-2); }
@media (max-width: 720px) {
  .scat-grid, .spack-grid { grid-template-columns: 1fr; }
  .sol-head h2 { font-size: 26px; }
  .lic-result dl { grid-template-columns: 1fr; }
  .lic-query-row .btn-primary { width: 100%; }
  .forum-board-list { grid-template-columns:1fr; }
  .forum-board { flex-wrap:wrap; }
  .forum-board__stats { width:100%; }
  .forum-thread { flex-direction:column; align-items:flex-start; }
  .forum-thread__stats { text-align:left; }
  .forum-post-card { grid-template-columns:1fr; }
  .forum-post-card__side { border-right:0; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:12px; text-align:left; padding:14px 16px; }
  .forum-avatar { margin:0; width:40px; height:40px; font-size:15px; }
  .forum-floor { margin-top:0; }
}

.kf-widget { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
.kf-fab {
    display: inline-flex; align-items: center; gap: 8px;
    height: 48px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; cursor: pointer;
    background: #0831cb; color: #fff; box-shadow: 0 10px 28px rgba(8,49,203,.35);
    font-size: 14px; font-weight: 700;
}
.kf-fab:hover { background: #0a3ae0; }
.kf-fab-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #94a3b8;
}
.kf-fab-dot.is-on { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.22); }
.kf-fab-dot.is-off { background: #f59e0b; }
.kf-fab-ico { font-size: 16px; }
.kf-panel {
    position: absolute; right: 0; bottom: 60px; width: 340px; max-width: calc(100vw - 32px);
    background: var(--bg-card); color: var(--text); border: 1px solid var(--border);
    border-radius: 16px; box-shadow: 0 18px 50px rgba(6,16,44,.22); overflow: hidden;
}
.kf-panel-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
    padding: 16px 16px 12px; background: #06102c; color: #fff;
}
.kf-panel-head strong { display: block; font-size: 16px; }
.kf-panel-head p { margin: 6px 0 0; font-size: 12px; opacity: .72; line-height: 1.5; }
.kf-close {
    width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.12); color: #fff; font-size: 18px; line-height: 1;
}
.kf-list { padding: 12px; display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow: auto; }
.kf-card { padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.kf-card-who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.kf-card-who img, .kf-avatar {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
}
.kf-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    background: #0831cb; color: #fff; font-weight: 800;
}
.kf-card-who b { display: block; font-size: 14px; }
.kf-card-who em { font-style: normal; font-size: 12px; color: var(--text-muted); }
.kf-card-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-card-acts a, .kf-copy, .kf-wechat {
    display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 8px;
    border: 1px solid var(--border); background: var(--bg-card); color: var(--primary);
    font-size: 12px; font-weight: 700; cursor: pointer;
}
.kf-wechat { flex-direction: column; gap: 6px; cursor: default; }
.kf-wechat img { width: 92px; height: 92px; object-fit: contain; }
.kf-time { margin: 8px 0 0; font-size: 12px; color: var(--text-muted); }
.kf-form { padding: 14px 16px 16px; }
.kf-form .form-group { margin-bottom: 12px; }
.kf-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.kf-form .btn-primary { width: 100%; }

.contract-paper { margin-top: 16px; }
.contract-paper-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.contract-doc {
    font-family: "Songti SC", "SimSun", serif;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
}
.contract-doc h1 { text-align: center; font-size: 22px; letter-spacing: 4px; margin: 0 0 12px; }
.contract-doc h3 { margin: 18px 0 8px; font-size: 16px; }
.contract-doc table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.contract-doc td, .contract-doc th { border: 1px solid #333; padding: 6px 8px; }
@media print {
    .site-header, .site-footer, .site-dialog, .member-side, .page-hero, .member-page-head, .contract-paper-head, .kf-launcher, .inquiry-fab { display: none !important; }
    .member-layout { display: block; }
    .member-main { width: 100%; }
    .contract-paper { box-shadow: none; border: 0; }
}

.contract-notice {
    margin-bottom: 16px;
    padding: 18px 20px 16px;
    border: 1px solid rgba(8, 49, 203, .16);
    border-radius: 14px;
    background: rgba(8, 49, 203, .04);
}
.contract-notice-head h2 {
    font-size: 16px;
    margin: 0 0 6px;
}
.contract-notice-head p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--text-muted);
}
.contract-notice-list {
    margin: 0;
    padding-left: 18px;
}
.contract-notice-list li {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
}
.contract-notice-list li:last-child { margin-bottom: 0; }
.contract-notice-list strong {
    display: inline;
    margin-right: 6px;
}
.contract-agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
}
.contract-agree input { margin-top: 3px; flex-shrink: 0; }
.vat-extra { display: none; }

.invoice-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}
.invoice-composer-form { padding: 22px 24px 24px; }
.invoice-section + .invoice-section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed var(--border);
}
.invoice-section-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.invoice-section-head span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.invoice-section-head h2 {
    margin: 0 0 2px;
    font-size: 16px;
}
.invoice-section-head p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}
.invoice-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.invoice-choice-card {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}
.invoice-choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.invoice-choice-card span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 76px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.invoice-choice--sm span { min-height: 64px; }
.invoice-choice-card strong { font-size: 14px; }
.invoice-choice-card em {
    font-style: normal;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}
.invoice-choice-card input:checked + span {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
}
.invoice-choice-card input:disabled + span {
    opacity: .45;
    cursor: not-allowed;
}
.invoice-choice-card:has(input:disabled) { cursor: not-allowed; }
.invoice-amount-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.invoice-amount-wrap > span {
    font-weight: 700;
    color: var(--text-muted);
}
.invoice-amount-wrap .form-control { flex: 1; }
.invoice-order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--primary-soft);
    font-size: 13px;
}
.invoice-order-meta strong { color: var(--primary); }
.invoice-order-meta span { color: var(--text-muted); }
.invoice-empty-order {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(245, 158, 11, .1);
    color: #92400e;
    font-size: 13px;
    line-height: 1.6;
}
.invoice-empty-order a { margin-left: 6px; }
.invoice-vat { display: none; }
.invoice-vat.is-show { display: block; }
.invoice-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.invoice-aside {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.invoice-preview {
    padding: 18px 16px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, var(--primary-soft), var(--bg-card));
}
.invoice-preview-kicker {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.invoice-preview-type {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.invoice-preview-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    word-break: break-all;
}
.invoice-preview-tax {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
    min-height: 18px;
}
.invoice-preview-amount {
    margin-top: 14px;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.02em;
}
.invoice-preview-content {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.invoice-notice-fold {
    border: 1px solid rgba(8, 49, 203, .16);
    border-radius: 14px;
    background: rgba(8, 49, 203, .04);
    padding: 12px 14px 14px;
}
.invoice-notice-fold summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    list-style: none;
    margin-bottom: 8px;
}
.invoice-notice-fold summary::-webkit-details-marker { display: none; }
.invoice-notice-fold .contract-notice {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}
.invoice-notice-fold .contract-notice-head { display: none; }
.invoice-notice-fold .contract-notice-list li { font-size: 12px; margin-bottom: 8px; }
html[data-theme="dark"] .invoice-empty-order { background: rgba(245,158,11,.16); color: #fbbf24; }
html[data-theme="dark"] .invoice-notice-fold {
    border-color: rgba(79, 123, 240, .28);
    background: rgba(79, 123, 240, .1);
}
@media (max-width: 1080px) {
    .invoice-composer { grid-template-columns: 1fr; }
    .invoice-aside { position: static; order: -1; }
    .invoice-preview { display: none; }
}
@media (max-width: 640px) {
    .invoice-choice { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

.page-hero-sub {
    margin: 8px 0 0;
    font-size: 14px;
    color: rgba(255,255,255,.78);
}
.checkout-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
}
.checkout-card + .checkout-card { margin-top: 16px; }
.checkout-tag {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 999px;
    padding: 2px 8px;
}
.checkout-tag--express {
    color: var(--text-muted);
    background: var(--bg-subtle);
}
.checkout-invoice {
    margin-top: 4px;
    padding-top: 4px;
}
.order-invoice-box {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}
.order-invoice-box h3 {
    font-size: 15px;
    margin: 0 0 8px;
}

@media print {
    .contract-notice { display: none !important; }
}
