/* ==========================================================================
   base.css — 7 套本地静态站点共用的设计系统
   站点专属配色请在 assets/css/site.css 中覆盖 :root 变量
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌（默认值 = 浅色模式，深色模式在 site.css 中整体覆盖）
   -------------------------------------------------------------------------- */
:root {
  /* 品牌 */
  --brand: #1e5eff;
  --brand-2: #00c2ff;
  --brand-rgb: 30, 94, 255;

  /* 文字 */
  --ink: #16202f;
  --ink-soft: #62708a;
  --ink-faint: #93a0b5;

  /* 背景 */
  --page: #ffffff;
  --page-alt: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --line: #e5e9f2;

  /* 深色区块 */
  --dark: #0b1a3a;
  --dark-2: #132a5c;
  --hero-ink: #ffffff;

  /* 形状 */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(16, 26, 43, .06);
  --shadow: 0 10px 30px rgba(16, 26, 43, .08);
  --shadow-lg: 0 22px 60px rgba(16, 26, 43, .14);

  /* 其它 */
  --header-h: 74px;
  --sec-py: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --------------------------------------------------------------------------
   2. 基础排版
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--page);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: inherit; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.2rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: .95rem; }

p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
a:hover { color: var(--brand-2); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1rem; padding-left: 1.1rem; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); opacity: 1; margin: 2rem 0; }

::selection { background: rgba(var(--brand-rgb), .18); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 滚动条（桌面端） */
@media (min-width: 992px) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--page-alt); }
  ::-webkit-scrollbar-thumb { background: #c3cbd9; border-radius: 6px; border: 2px solid var(--page-alt); }
  ::-webkit-scrollbar-thumb:hover { background: var(--brand); }
}

/* --------------------------------------------------------------------------
   3. 通用工具
   -------------------------------------------------------------------------- */
.text-brand { color: var(--brand) !important; }
.text-brand-2 { color: var(--brand-2) !important; }
.text-soft { color: var(--ink-soft) !important; }
.text-faint { color: var(--ink-faint) !important; }
.bg-brand { background: var(--brand) !important; }
.bg-page-alt { background: var(--page-alt) !important; }
.bg-surface { background: var(--surface) !important; }
.bg-dark-soft { background: var(--dark) !important; }
.bg-grad-brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important; }
.bg-grad-dark { background: linear-gradient(150deg, var(--dark), var(--dark-2)) !important; }
.rounded-brand { border-radius: var(--radius) !important; }
.rounded-pill-brand { border-radius: var(--radius-pill) !important; }
.shadow-soft { box-shadow: var(--shadow) !important; }
.border-line { border-color: var(--line) !important; }
.maxw-680 { max-width: 680px; }
.maxw-900 { max-width: 900px; }
.maxw-1100 { max-width: 1100px; }
.lh-lg2 { line-height: 1.95; }
.fs-15 { font-size: .94rem; }
.fs-14 { font-size: .875rem; }
.fs-13 { font-size: .81rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 3rem 0; }
.link-quiet { color: var(--ink-soft); }
.link-quiet:hover { color: var(--brand); }

/* 按钮 */
.btn-brand {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--brand-2);
  --bs-btn-hover-border-color: var(--brand-2);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-2);
  --bs-btn-active-border-color: var(--brand-2);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: var(--brand-rgb);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .58rem 1.4rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--brand-rgb), .32); }
.btn-brand-lg { padding: .8rem 1.9rem; font-size: 1.02rem; }

.btn-ghost {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-bg: var(--page-alt);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: var(--brand);
  border-radius: var(--radius-pill);
  padding: .58rem 1.4rem;
  font-weight: 600;
  background: transparent;
}
.sec-dark .btn-ghost,
.hero .btn-ghost {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-bg: rgba(255, 255, 255, .12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
}

/* --------------------------------------------------------------------------
   4. 顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.site-header .navbar { width: 100%; padding: 0; }

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0;
  margin-right: 1rem;
}
.navbar-brand img { height: 40px; width: auto; }
.brand-text { font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }

.site-header .nav-link {
  position: relative;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem .9rem !important;
  border-radius: var(--radius-sm);
}
.site-header .nav-link:hover { color: var(--brand); }
.site-header .nav-link.active { color: var(--brand); }
.site-header .nav-link.active::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .1rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .35rem .5rem;
  color: var(--ink);
}
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(var(--brand-rgb), .25); }
.navbar-toggler-icon {
  width: 1.4em;
  height: 1.4em;
  background-image: none !important;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23000' stroke-width='2.6' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23000' stroke-width='2.6' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 991.98px) {
  .site-header { height: auto; min-height: var(--header-h); }
  .site-header .navbar-collapse {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: .6rem;
    padding: .8rem;
  }
  .site-header .nav-link { padding: .6rem .8rem !important; }
  .site-header .nav-link.active { background: rgba(var(--brand-rgb), .1); }
  .site-header .nav-link.active::after { display: none; }
}

/* --------------------------------------------------------------------------
   5. 区块骨架
   -------------------------------------------------------------------------- */
.sec { padding: var(--sec-py) 0; background: var(--page); }
.sec-tight { padding: calc(var(--sec-py) * .58) 0; }
.sec-alt { background: var(--page-alt); }
.sec-surface { background: var(--surface); }
.sec-dark { background: var(--dark); color: var(--hero-ink); }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4, .sec-dark h5, .sec-dark h6 { color: #fff; }
.sec-dark p { color: rgba(255, 255, 255, .74); }
.sec-dark a:not(.btn) { color: var(--brand-2); }
.sec-grad { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.sec-grad h1, .sec-grad h2, .sec-grad h3, .sec-grad h4 { color: #fff; }
.sec-grad p { color: rgba(255, 255, 255, .85); }
.sec-layered { position: relative; overflow: hidden; }
.sec-layered::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .16), transparent 62%);
  pointer-events: none;
}

.sec-head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.sec-head.text-start { margin-left: 0; text-align: left; }
.sec-title { margin-bottom: .7rem; }
.sec-sub { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.sec-dark .sec-sub { color: rgba(255, 255, 255, .7); }
.eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .28rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand);
  background: rgba(var(--brand-rgb), .1);
  border-radius: var(--radius-pill);
}
.sec-dark .eyebrow, .sec-grad .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

/* --------------------------------------------------------------------------
   6. 卡片 / 图标 / 媒体
   -------------------------------------------------------------------------- */
.card-soft {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card-soft p:last-child { margin-bottom: 0; }
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--brand-rgb), .4);
}
.card-glow {
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  transition: transform .28s var(--ease), background-color .28s var(--ease), border-color .28s var(--ease);
}
.card-glow:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(var(--brand-rgb), .6);
}
.card-glow h1, .card-glow h2, .card-glow h3, .card-glow h4, .card-glow h5, .card-glow h6 { color: #fff; }
.card-glow p { color: rgba(255, 255, 255, .72); }

.tile {
  height: 100%;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sec-dark .tile { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.sec-dark .tile:hover { background: rgba(255, 255, 255, .09); }

.icon-round, .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.icon-round { width: 54px; height: 54px; border-radius: 50%; font-size: 1.2rem; }
.icon-badge { width: 54px; height: 54px; border-radius: var(--radius-sm); font-size: 1.2rem; }
.icon-lg { width: 66px; height: 66px; font-size: 1.5rem; }
.icon-soft {
  color: var(--brand);
  background: rgba(var(--brand-rgb), .12);
}
.icon-plain { background: none; color: var(--brand); }

.media-16x9, .media-4x3, .media-1x1 {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--page-alt);
}
.media-16x9 { aspect-ratio: 16 / 9; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-1x1 { aspect-ratio: 1 / 1; }
.media-16x9 > img, .media-4x3 > img, .media-1x1 > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hover-zoom img { transition: transform .55s var(--ease); }
.hover-zoom:hover img { transform: scale(1.06); }

.overlay-grad { position: relative; }
.overlay-grad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 12, 24, .78));
  pointer-events: none;
}
.overlay-grad > * { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   7. 首屏 / 下载按钮
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--sec-py) * .82) 0;
  background: linear-gradient(150deg, var(--dark), var(--dark-2));
  color: var(--hero-ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 82% 18%, rgba(var(--brand-rgb), .34), transparent 66%),
    radial-gradient(46% 46% at 8% 88%, rgba(var(--brand-rgb), .2), transparent 66%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1, .hero h2 { color: #fff; }
.hero .lead, .hero p { color: rgba(255, 255, 255, .78); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }
.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .14);
}
.hero-media img { width: 100%; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .68rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.store-btn i, .store-btn-icon { font-size: 1.5rem; color: var(--brand); flex: none; }
.store-btn-text { display: flex; flex-direction: column; }
.store-btn-text small { font-size: .72rem; color: var(--ink-soft); font-weight: 500; }
.store-btn-text strong { font-size: .98rem; }
.sec-dark .store-btn, .hero .store-btn {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}
.sec-dark .store-btn small, .hero .store-btn small { color: rgba(255, 255, 255, .6); }
.sec-dark .store-btn i, .hero .store-btn i,
.sec-dark .store-btn-icon, .hero .store-btn-icon { color: var(--brand-2); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
}
.rating-badge i { color: #ffc107; }

.qr-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.qr-box img { width: 132px; height: 132px; }
.qr-box span { font-size: .82rem; color: #62708a; }

/* --------------------------------------------------------------------------
   8. 资讯
   -------------------------------------------------------------------------- */
.news-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.news-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(var(--brand-rgb), .4); }
.news-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--page-alt); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.news-item:hover .news-thumb img { transform: scale(1.06); }
.news-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-title { font-size: 1.03rem; margin-bottom: .55rem; color: var(--ink); }
.news-item:hover .news-title { color: var(--brand); }
.news-sum { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1rem; flex: 1; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .81rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: .8rem;
}
.news-meta i { margin-right: .3rem; }
.news-tag {
  display: inline-block;
  padding: .2rem .6rem;
  font-size: .74rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  color: var(--brand);
  background: rgba(var(--brand-rgb), .1);
}

.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 2rem;
}
.list-toolbar .count { font-size: .9rem; color: var(--ink-soft); }
.list-grid { --bs-gutter-y: 1.6rem; }

.pager { display: flex; justify-content: center; gap: .45rem; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .92rem;
  background: var(--surface);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .is-disabled { opacity: .45; pointer-events: none; }

/* --------------------------------------------------------------------------
   9. 业务组件
   -------------------------------------------------------------------------- */
.dept-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); height: 100%; }
.dept-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.dept-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.dept-card:hover .dept-card-img img { transform: scale(1.07); }
.dept-card-body { padding: 1.2rem 1.3rem 1.35rem; }
.dept-card-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.dept-card-body p { color: var(--ink-soft); font-size: .89rem; margin: 0; }

.honor-card { height: 100%; text-align: center; padding: 1.4rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.honor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.honor-img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: .6rem; }
.honor-card h3 { font-size: .99rem; margin: .7rem 0 .35rem; }
.honor-card p { color: var(--ink-soft); font-size: .85rem; margin: 0; }

.review-card { height: 100%; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.sec-dark .review-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.review-text { flex: 1; color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.3rem; }
.sec-dark .review-text { color: rgba(255, 255, 255, .76); }
.review-who { display: flex; align-items: center; gap: .8rem; }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(var(--brand-rgb), .35); }
.review-who strong { display: block; font-size: .95rem; }
.review-who span { font-size: .8rem; color: var(--ink-faint); }
.stars { color: #ffc107; font-size: .82rem; margin-bottom: .9rem; letter-spacing: .1em; }

.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); opacity: .35; }
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -2.2rem; top: .35rem; width: 14px; height: 14px; margin-left: .28rem; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .18); }
.tl-year { display: inline-block; font-weight: 800; color: var(--brand); font-size: 1.02rem; margin-bottom: .2rem; }
.tl-card { padding: 1.15rem 1.35rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.sec-dark .tl-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.tl-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.tl-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.stat-tile { text-align: center; padding: 1.7rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); height: 100%; }
.sec-dark .stat-tile { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.sec-grad .stat-tile { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); }
.stat-value { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-grad .stat-value, .sec-dark .stat-value { background: none; -webkit-text-fill-color: currentColor; color: #fff; }
.stat-label { margin-top: .45rem; font-size: .88rem; color: var(--ink-soft); }
.sec-dark .stat-label, .sec-grad .stat-label { color: rgba(255, 255, 255, .76); }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: .85rem; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--brand); }
.faq-q[aria-expanded="true"] { color: var(--brand); }
.faq-q i { flex: none; color: var(--brand); transition: transform .28s var(--ease); }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem 1.25rem; color: var(--ink-soft); font-size: .93rem; }

.tab-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; border: 0; margin-bottom: 2.6rem; }
.tab-btn {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-pill) !important;
  background: var(--surface) !important;
  color: var(--ink-soft) !important;
  font-weight: 600;
  padding: .5rem 1.25rem !important;
}
.tab-btn:hover { color: var(--brand) !important; border-color: var(--brand) !important; }
.tab-btn.active { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.tab-panel { color: var(--ink-soft); }

.spec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.spec-item { display: flex; gap: 1rem; align-items: flex-start; }
.spec-icon { flex: none; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: rgba(var(--brand-rgb), .12); color: var(--brand); font-size: 1.08rem; }
.spec-item h4 { font-size: 1rem; margin-bottom: .25rem; }
.spec-item p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.sec-dark .spec-item p { color: rgba(255, 255, 255, .72); }
.sec-dark .spec-icon { background: rgba(255, 255, 255, .12); color: #fff; }

.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; counter-reset: step; }
.step-item { position: relative; padding-left: 3.6rem; }
.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.step-item h4 { font-size: 1rem; margin-bottom: .25rem; }
.step-item p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.breadcrumb-bar { background: var(--page-alt); border-bottom: 1px solid var(--line); padding: 1.4rem 0; }
.breadcrumb-bar h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .5rem; }
.breadcrumb { margin: 0; font-size: .88rem; }
.breadcrumb-item a { color: var(--ink-soft); }
.breadcrumb-item a:hover { color: var(--brand); }
.breadcrumb-item.active { color: var(--brand); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   10. 文章页
   -------------------------------------------------------------------------- */
.art-hero { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2.6rem; }
.art-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.art-head h1 { font-size: clamp(1.5rem, 3.1vw, 2.25rem); margin-bottom: 1rem; }
.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: .88rem;
  color: var(--ink-faint);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.art-meta i { margin-right: .35rem; }
.art-body { font-size: 1.03rem; line-height: 2; color: var(--ink); }
.art-body p { margin-bottom: 1.5rem; color: var(--ink-soft); }
.art-body h2 { font-size: 1.3rem; margin: 2.4rem 0 1rem; }
.art-body blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--brand);
  background: var(--page-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
}
.art-nav { display: grid; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.art-nav a { display: block; padding: 1.1rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: all .25s var(--ease); }
.art-nav a:hover { border-color: var(--brand); background: var(--page-alt); color: var(--brand); }
.art-nav small { display: block; color: var(--ink-faint); font-size: .8rem; margin-bottom: .25rem; }
.art-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.side-item { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.side-item:last-child { border-bottom: 0; }
.side-item img { width: 84px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.side-item h4 { font-size: .92rem; margin: 0 0 .25rem; }
.side-item span { font-size: .78rem; color: var(--ink-faint); }
.side-item:hover h4 { color: var(--brand); }

/* --------------------------------------------------------------------------
   11. 法务页
   -------------------------------------------------------------------------- */
.legal-update {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .86rem;
  color: var(--ink-soft);
  background: var(--page-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .35rem 1rem;
  margin-bottom: 2rem;
}
.legal-toc { padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-toc h5 { font-size: .95rem; margin-bottom: .9rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 1.8rem; }
.legal-toc li { margin-bottom: .4rem; font-size: .9rem; break-inside: avoid; }
.legal-toc a { color: var(--ink-soft); }
.legal-toc a:hover { color: var(--brand); }
@media (max-width: 575.98px) { .legal-toc ol { columns: 1; } }

.legal-body { font-size: 1rem; line-height: 1.95; }
.legal-body h2 { font-size: 1.24rem; margin: 2.8rem 0 1rem; padding-left: .9rem; border-left: 4px solid var(--brand); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul { padding-left: 1.3rem; }
.legal-body li { margin-bottom: .5rem; }
.legal-note { margin-top: 3rem; padding: 1.5rem 1.7rem; border-radius: var(--radius); background: var(--page-alt); border: 1px solid var(--line); }
.legal-note h5 { margin-bottom: .7rem; }
.legal-note p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. 页脚
   -------------------------------------------------------------------------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .74); padding: 4.2rem 0 1.6rem; position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), .18), transparent 64%);
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 2; }
.ft-title { color: #fff; font-size: .98rem; margin-bottom: 1.1rem; letter-spacing: .01em; }
.ft-desc { font-size: .9rem; color: rgba(255, 255, 255, .62); margin-bottom: .8rem; }
.ft-note { font-size: .84rem; color: rgba(255, 255, 255, .45); }
.ft-list { list-style: none; padding: 0; margin: 0; }
.ft-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; margin-bottom: .75rem; color: rgba(255, 255, 255, .62); }
.ft-list i { color: var(--brand-2); margin-top: .3rem; flex: none; }
.ft-list a { color: rgba(255, 255, 255, .62); }
.ft-list a:hover { color: #fff; }
.ft-links li { display: block; margin-bottom: .6rem; }
.ft-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.4rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .28s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* --------------------------------------------------------------------------
   13. 滚动入场动画（main.js 添加 .is-in）
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------------------------------------
   14. 响应式微调
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  :root { --sec-py: 62px; }
  .sec-head { margin-bottom: 2.4rem; }
  .art-side { position: static; }
  .hero { padding: calc(var(--sec-py) * .9) 0; }
}
@media (max-width: 575.98px) {
  :root { --sec-py: 50px; --radius: 12px; --radius-lg: 16px; }
  body { font-size: 15px; }
  .card-soft, .card-glow, .tile { padding: 1.3rem; }
  .ft-bottom { justify-content: flex-start; }
  .to-top { right: 14px; bottom: 14px; }
}
