/* ==========================================================================
   赢彩科技官网 · 设计系统
   北京赢彩科技有限公司 | www.82608000.com
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 品牌主色 —— 沉稳科技蓝 */
  --brand-950: #06183a;
  --brand-900: #0a2450;
  --brand-800: #0f3268;
  --brand-700: #164080;
  --brand-600: #1d5299;
  --brand-500: #2569b3;
  --brand-400: #4a8ad0;
  --brand-300: #86b3e4;
  --brand-200: #bcd7f2;
  --brand-100: #dcebfb;
  --brand-50:  #f0f7ff;

  /* 强调色 —— 价格与行动 */
  --gold-700: #9a5b06;
  --gold-600: #c2740a;
  --gold-500: #e8930c;
  --gold-100: #fdf0d9;

  /* 中性色 */
  --ink-900: #0d1526;
  --ink-800: #1c2739;
  --ink-700: #33415c;
  --ink-600: #4d5c78;
  --ink-500: #6b7a94;
  --ink-400: #94a1b5;
  --ink-300: #c3ccda;
  --ink-200: #e0e6ee;
  --ink-100: #eef2f7;
  --ink-50:  #f6f8fb;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;

  --ok-600: #15803d;
  --ok-50:  #ecfdf3;
  --warn-600: #b45309;
  --warn-50: #fffbeb;
  --err-600:  #b91c1c;
  --err-50:  #fef2f2;

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 999px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(13, 21, 38, .05);
  --sh-sm: 0 1px 3px rgba(13, 21, 38, .07), 0 1px 2px rgba(13, 21, 38, .04);
  --sh-md: 0 4px 14px rgba(13, 21, 38, .08), 0 2px 4px rgba(13, 21, 38, .04);
  --sh-lg: 0 12px 32px rgba(13, 21, 38, .10), 0 4px 10px rgba(13, 21, 38, .05);
  --sh-xl: 0 24px 60px rgba(13, 21, 38, .14);

  /* 布局 */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --header-h: 64px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
          "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-num: "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.1rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.15rem, 1.02rem + .6vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color .16s ease;
}
a:hover { color: var(--brand-800); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }
li { margin: .3em 0; }

hr { border: 0; border-top: 1px solid var(--ink-200); margin: 2.5rem 0; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand-700); color: #fff;
  padding: 10px 18px; border-radius: var(--r-md);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-600); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-600);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 5px 13px; border-radius: var(--r-full);
  margin-bottom: 16px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: .97rem; font-weight: 600;
  line-height: 1.2; padding: 13px 26px;
  border: 1px solid transparent; border-radius: var(--r-md);
  cursor: pointer; text-align: center;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .1s ease, box-shadow .16s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--brand-700); color: #fff; box-shadow: var(--sh-md); }

.btn-accent { background: var(--gold-500); color: #3d2500; }
.btn-accent:hover { background: var(--gold-600); color: #fff; }

.btn-ghost { background: #fff; color: var(--brand-700); border-color: var(--brand-200); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-300); color: var(--brand-800); }

.btn-quiet { background: transparent; color: var(--ink-600); border-color: var(--ink-200); }
.btn-quiet:hover { background: var(--ink-50); color: var(--ink-900); }

.btn-sm { font-size: .88rem; padding: 9px 18px; }
.btn-lg { font-size: 1.05rem; padding: 16px 34px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-200);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-800));
  color: #fff; font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center;
  box-shadow: var(--sh-sm); letter-spacing: -.03em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 1.02rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.01em; }
.brand-sub  { font-size: .68rem; color: var(--ink-500); letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 600; color: var(--ink-600);
  white-space: nowrap;
}
.nav a:hover { background: var(--ink-50); color: var(--brand-700); }
.nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--ink-200);
  background: #fff; border-radius: var(--r-md); cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink-700);
}
.nav-toggle svg { width: 21px; height: 21px; }

/* 顶部信息条 */
.topbar {
  background: var(--brand-900); color: #cddcf0;
  font-size: .82rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: #cddcf0; }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; opacity: .75; flex-shrink: 0; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 460px at 12% -8%, #1c4f96 0%, transparent 58%),
    radial-gradient(900px 420px at 92% 8%, #123a7a 0%, transparent 55%),
    linear-gradient(160deg, var(--brand-950) 0%, var(--brand-900) 52%, #0d2a55 100%);
  color: #fff;
  padding: 84px 0 92px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .hl {
  background: linear-gradient(96deg, #7fb3f0, #ffd479);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: 1.1rem; color: #c5d7ee; max-width: 560px; margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stat-num {
  font-size: 1.75rem; font-weight: 800; color: #fff;
  line-height: 1.15; letter-spacing: -.02em;
}
.hero-stat-num span { font-size: .95rem; font-weight: 600; color: #ffd479; margin-left: 2px; }
.hero-stat-label { font-size: .82rem; color: #9db8d8; margin-top: 2px; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.97);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.hero-card-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 15px; background: var(--ink-100);
  border-bottom: 1px solid var(--ink-200);
}
.hero-card-dot { width: 11px; height: 11px; border-radius: 50%; }
.hero-card-title {
  margin-left: 8px; font-size: .8rem; color: var(--ink-500); font-weight: 600;
}
.hero-card img { width: 100%; display: block; }
.hero-card-cap {
  padding: 12px 16px; font-size: .82rem; color: var(--ink-500);
  border-top: 1px solid var(--ink-100); background: var(--bg-soft);
}

.float-badge {
  position: absolute; z-index: 3;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 14px 18px;
  display: flex; align-items: center; gap: 11px;
}
.float-badge-1 { top: 26px; left: -26px; }
.float-badge-2 { bottom: 34px; right: -20px; }
.float-badge-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
}
.float-badge-icon svg { width: 20px; height: 20px; }
.float-badge strong { display: block; font-size: 1.05rem; color: var(--ink-900); line-height: 1.2; }
.float-badge span { font-size: .76rem; color: var(--ink-500); }

/* ---------- 信任条 ---------- */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--ink-200); padding: 26px 0; }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
  border: 1px solid var(--brand-100);
}
.trust-icon svg { width: 21px; height: 21px; }
.trust-item strong { display: block; font-size: .95rem; color: var(--ink-900); line-height: 1.3; }
.trust-item span { font-size: .8rem; color: var(--ink-500); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); padding: 26px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card-hover:hover { border-color: var(--brand-300); box-shadow: var(--sh-md); transform: translateY(-2px); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
  border: 1px solid var(--brand-100);
}
.card-icon svg { width: 23px; height: 23px; }

/* ---------- 产品卡 ---------- */
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-card:hover { border-color: var(--brand-300); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.product-thumb {
  position: relative; aspect-ratio: 16 / 10;
  background: var(--ink-50); border-bottom: 1px solid var(--ink-200);
  overflow: hidden; display: block;
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .3s ease;
}
/* 硬件照片：完整显示不裁切 */
.product-card[data-cat="device"] .product-thumb { background: #fff; }
.product-card[data-cat="device"] .product-thumb img {
  object-fit: contain; object-position: center; padding: 14px;
}
.product-card:hover .product-thumb img { transform: scale(1.03); }
.product-card[data-cat="device"]:hover .product-thumb img { transform: scale(1.04); }
.product-tag {
  position: absolute; top: 11px; left: 11px; z-index: 2;
  background: rgba(13,36,80,.86); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  padding: 4px 10px; border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}
.product-tag-hot { background: var(--gold-500); color: #3d2500; }
.product-tag-free { background: var(--ok-600); color: #fff; }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; color: var(--ink-900); }
.product-meta { font-size: .8rem; color: var(--ink-500); margin-bottom: 12px; }
.product-meta code {
  font-family: var(--font-num); font-size: .95rem;
  color: var(--brand-700); font-weight: 600;
}
.product-desc {
  font-size: .88rem; color: var(--ink-600); line-height: 1.7;
  margin-bottom: 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 15px; border-top: 1px solid var(--ink-100);
}
.price {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 1.45rem; font-weight: 800; color: var(--gold-600);
  line-height: 1; letter-spacing: -.02em;
}
.price small { font-size: .82rem; font-weight: 600; }
.price-free { color: var(--ok-600); font-size: 1.2rem; }

/* ---------- 特性列表 ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  position: relative; padding-left: 30px; margin: 11px 0;
  color: var(--ink-700);
}
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--brand-500);
  border-bottom: 2.5px solid var(--brand-500);
  transform: rotate(-45deg);
}
.feature-list strong { color: var(--ink-900); }

/* 规格键值表 */
.spec-list { margin: 0; display: grid; gap: 0; }
.spec-row {
  display: grid; grid-template-columns: 148px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--ink-100);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { font-weight: 600; color: var(--ink-600); font-size: .9rem; margin: 0; }
.spec-row dd { margin: 0; color: var(--ink-800); font-size: .93rem; }

/* ---------- 数据表 ---------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.data {
  width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px;
}
table.data caption {
  caption-side: top; text-align: left; padding: 16px 20px 0;
  font-size: .9rem; color: var(--ink-500);
}
table.data th, table.data td {
  padding: 13px 18px; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--ink-100);
}
table.data thead th {
  background: var(--ink-50); color: var(--ink-900);
  font-weight: 700; font-size: .85rem; white-space: nowrap;
  border-bottom: 1px solid var(--ink-200);
  position: sticky; top: 0; z-index: 1;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--brand-50); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 徽章 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 700; padding: 3px 10px;
  border-radius: var(--r-full); white-space: nowrap;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.badge-ok   { background: var(--ok-50); color: var(--ok-600); border-color: #bbf7d0; }
.badge-warn { background: var(--warn-50); color: var(--warn-600); border-color: #fde68a; }
.badge-err  { background: var(--err-50); color: var(--err-600); border-color: #fecaca; }
.badge-gold { background: var(--gold-100); color: var(--gold-700); border-color: #f5d99a; }

/* ---------- 筛选条 ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 7px; background: var(--ink-50);
  border: 1px solid var(--ink-200); border-radius: var(--r-lg);
  margin-bottom: 30px;
}
.filter-chip {
  font-family: inherit; font-size: .9rem; font-weight: 600;
  padding: 8px 17px; border-radius: var(--r-md);
  border: 1px solid transparent; background: transparent;
  color: var(--ink-600); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.filter-chip:hover { background: #fff; color: var(--brand-700); }
.filter-chip[aria-pressed="true"] {
  background: var(--brand-600); color: #fff; box-shadow: var(--sh-sm);
}

/* ---------- 搜索 ---------- */
.search-box { position: relative; max-width: 560px; margin-inline: auto; }
.search-box input {
  width: 100%; font-family: inherit; font-size: .98rem;
  padding: 14px 46px 14px 18px;
  border: 1px solid var(--ink-300); border-radius: var(--r-md);
  background: #fff; color: var(--ink-900);
}
.search-box input:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.search-box svg {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--ink-400); pointer-events: none;
}
.search-hint { font-size: .84rem; color: var(--ink-500); margin-top: 10px; text-align: center; }
.search-hint b { color: var(--brand-700); }

/* ---------- FAQ 手风琴 ---------- */
.faq-item {
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); margin-bottom: 10px;
  overflow: hidden; transition: border-color .16s ease, box-shadow .16s ease;
}
.faq-item[open] { border-color: var(--brand-300); box-shadow: var(--sh-sm); }
.faq-q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 17px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1rem; color: var(--ink-900);
  transition: background .15s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--brand-50); }
.faq-q::after {
  content: ""; flex-shrink: 0; margin-top: 5px;
  width: 10px; height: 10px;
  border-right: 2.2px solid var(--brand-500);
  border-bottom: 2.2px solid var(--brand-500);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] .faq-q::after { transform: rotate(-135deg); }
.faq-a {
  padding: 0 22px 20px; color: var(--ink-700);
  font-size: .95rem; line-height: 1.8;
}
.faq-a > :last-child { margin-bottom: 0; }
.faq-a ul, .faq-a ol { margin-bottom: .8em; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { position: relative; padding-left: 62px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-600); color: #fff;
  display: grid; place-items: center;
  font-size: 1.05rem; font-weight: 800;
  box-shadow: 0 0 0 5px var(--brand-50);
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-600); margin-bottom: 0; font-size: .95rem; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--brand-300), var(--ink-200));
}
.tl-item { position: relative; margin-bottom: 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand-500);
}
.tl-year {
  font-family: var(--font-num); font-size: .84rem; font-weight: 700;
  color: var(--brand-700); letter-spacing: .02em;
}
.tl-item p { margin: 3px 0 0; color: var(--ink-600); font-size: .95rem; }

/* ---------- 引述 ---------- */
.quote {
  background: var(--brand-50); border-left: 4px solid var(--brand-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 22px 26px; margin: 26px 0;
  color: var(--ink-700); font-size: .98rem;
}
.quote p:last-child { margin-bottom: 0; }
.quote cite { display: block; margin-top: 12px; font-size: .86rem; color: var(--ink-500); font-style: normal; }

/* ---------- 提示框 ---------- */
.note {
  border-radius: var(--r-md); padding: 17px 20px; margin: 22px 0;
  font-size: .93rem; border: 1px solid;
}
.note-title { font-weight: 700; display: block; margin-bottom: 5px; }
.note p:last-child { margin-bottom: 0; }
.note-info { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-900); }
.note-warn { background: var(--warn-50); border-color: #fde68a; color: #7c4a03; }
.note-ok   { background: var(--ok-50); border-color: #bbf7d0; color: #14532d; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .89rem; font-weight: 600; color: var(--ink-700); }
.field label .req { color: var(--err-600); margin-left: 3px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink-900);
  padding: 12px 15px; border: 1px solid var(--ink-300);
  border-radius: var(--r-md); background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.7; }
.field-hint { font-size: .8rem; color: var(--ink-500); }

.form-status {
  padding: 13px 17px; border-radius: var(--r-md); font-size: .92rem;
  display: none; align-items: flex-start; gap: 9px;
}
.form-status.show { display: flex; }
.form-status-ok { background: var(--ok-50); color: var(--ok-600); border: 1px solid #bbf7d0; }
.form-status-err { background: var(--err-50); color: var(--err-600); border: 1px solid #fecaca; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* ---------- 联系卡 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); padding: 24px; text-align: center;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100);
}
.contact-icon svg { width: 23px; height: 23px; }
.contact-label { font-size: .82rem; color: var(--ink-500); margin-bottom: 5px; }
.contact-value { font-size: 1.02rem; font-weight: 700; color: var(--ink-900); word-break: break-word; }
.contact-note { font-size: .78rem; color: var(--ink-400); margin-top: 5px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--brand-950); color: #9db3ce;
  padding: 64px 0 28px; font-size: .9rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 44px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7d97b8; }
.footer-brand p { margin: 14px 0 0; color: #8ba4c4; font-size: .88rem; line-height: 1.75; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 15px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 9px 0; }
.footer-col a { color: #9db3ce; font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: .82rem; color: #6f89ad;
}
.footer-bottom a { color: #6f89ad; }
.footer-bottom a:hover { color: #a9c1dc; }
.footer-records { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .85rem; color: var(--ink-500); padding: 16px 0;
}
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--brand-600); }
.crumbs .sep { color: var(--ink-300); }
.crumbs [aria-current] { color: var(--ink-800); font-weight: 600; }

/* ---------- 文章排版 ---------- */
.prose { max-width: var(--wrap-narrow); }
.prose h2 {
  margin-top: 2.2em; padding-top: .3em;
  border-top: 1px solid var(--ink-200);
  font-size: 1.5rem;
}
.prose h2:first-child { margin-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.16rem; }
.prose h4 { margin-top: 1.4em; font-size: 1.02rem; color: var(--ink-800); }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li { margin: .45em 0; }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose img { border-radius: var(--r-md); margin: 1.5em 0; border: 1px solid var(--ink-200); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .84rem; color: var(--ink-500); text-align: center; margin-top: 9px; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--brand-300); color: var(--ink-600);
}
.prose code {
  font-family: var(--font-num); font-size: .88em;
  background: var(--ink-100); padding: 2px 7px; border-radius: 4px;
  color: var(--brand-800);
}

/* ---------- 目录 ---------- */
.toc {
  background: var(--bg-soft); border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); padding: 22px 26px; margin: 0 0 36px;
}
.toc-title { font-size: .82rem; font-weight: 700; color: var(--ink-500); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 7px 0; }
.toc a { font-size: .93rem; color: var(--ink-700); display: flex; gap: 9px; }
.toc a::before { content: counter(toc) "."; color: var(--brand-500); font-weight: 700; font-family: var(--font-num); }
.toc a:hover { color: var(--brand-600); }

/* ---------- 文章元信息 ---------- */
.article-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: var(--ink-500);
  padding-bottom: 20px; margin-bottom: 28px;
  border-bottom: 1px solid var(--ink-200);
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }

/* ---------- 定价卡 ---------- */
.price-card {
  background: #fff; border: 2px solid var(--brand-200);
  border-radius: var(--r-xl); padding: 32px; text-align: center;
  box-shadow: var(--sh-md); position: relative;
}
.price-card-featured { border-color: var(--gold-500); }
.price-card-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: #3d2500;
  font-size: .76rem; font-weight: 800; padding: 4px 16px;
  border-radius: var(--r-full); white-space: nowrap;
}
.price-card-label { font-size: .95rem; color: var(--ink-600); margin-bottom: 10px; }
.price-card .price { font-size: 2.6rem; justify-content: center; margin-bottom: 6px; }
.price-card-note { font-size: .84rem; color: var(--ink-500); margin-bottom: 22px; }
.price-card .btn { width: 100%; }

/* ---------- CTA 区块 ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, #1c4f96 0%, transparent 60%),
    linear-gradient(120deg, var(--brand-900), var(--brand-800));
  color: #fff; border-radius: var(--r-xl);
  padding: 48px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c0d4ec; max-width: 620px; margin-inline: auto; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-700); color: #fff; border: 0;
  box-shadow: var(--sh-lg); cursor: pointer;
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease, transform .2s ease, background .15s ease;
}
.to-top.show { display: flex; opacity: 1; }
.to-top:hover { background: var(--brand-800); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 加载态 ---------- */
.loading {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  padding: 44px; color: var(--ink-500); font-size: .92rem;
}
.spinner {
  width: 19px; height: 19px; border-radius: 50%;
  border: 2.5px solid var(--ink-200); border-top-color: var(--brand-600);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center; padding: 52px 24px; color: var(--ink-500);
  background: var(--bg-soft); border: 1px dashed var(--ink-300);
  border-radius: var(--r-lg);
}
.empty-state svg { width: 42px; height: 42px; opacity: .35; margin-bottom: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 620px; }
  .float-badge-1 { left: 8px; }
  .float-badge-2 { right: 8px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  /* 内联多栏布局在窄屏强制单列（行内样式需 !important 覆盖） */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 28px !important; }
  /* 关键：backdrop-filter 会使内部的 position:fixed 抽屉被锁定在页头内，必须去掉 */
  .site-header {
    background: #fff;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 84px 20px 28px; gap: 3px; overflow-y: auto;
    box-shadow: var(--sh-xl); transform: translateX(100%);
    transition: transform .24s ease; margin-left: 0; z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(6, 24, 58, .45);
    opacity: 0; pointer-events: none; transition: opacity .24s ease; z-index: 98;
  }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }

  .section { padding: 52px 0; }
  .section-lg { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 62px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .cta-band { padding: 34px 22px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar-list .topbar-item:not(.keep) { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .trustbar-inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .hero-actions .btn { width: 100%; }
  .cta-band-actions .btn { width: 100%; }
}

@media print {
  .site-header, .topbar, .site-footer, .to-top, .nav-scrim, .hero-actions, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .card, .product-card, .table-wrap { break-inside: avoid; border: 1px solid #ccc; box-shadow: none; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
/* ---------- 联系页：加微信直连 ---------- */
.wx-cta { display: flex; gap: 32px; align-items: flex-start; }
.wx-qr { flex: 0 0 190px; }
.wx-qr img {
  display: block; width: 190px; height: 190px; box-sizing: content-box;
  padding: 6px; background: #fff; border: 1px solid var(--ink-200, #e5e7eb);
  border-radius: 14px;
}
.wx-qr > span { display: block; text-align: center; margin-top: 8px; font-size: .86rem; color: var(--ink-600); }
.wx-info { flex: 1 1 auto; min-width: 0; }
.wx-line {
  display: flex; align-items: center; gap: 14px; padding: 9px 0;
  border-bottom: 1px dashed var(--ink-200, #e5e7eb); font-size: 1.02rem;
}
.wx-line > span { flex: 0 0 3.4em; color: var(--ink-600); font-size: .92rem; }
.wx-line b, .wx-line a { color: var(--ink-900); font-weight: 700; letter-spacing: .4px; text-decoration: none; }
.wx-btns { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.wx-tip { margin: 14px 0 0; font-size: .88rem; line-height: 1.75; color: var(--ink-600); }
.wx-toast {
  position: fixed; left: 50%; bottom: 44px; z-index: 999;
  transform: translateX(-50%) translateY(14px);
  background: rgba(17, 24, 39, .92); color: #fff;
  padding: 10px 20px; border-radius: 999px; font-size: .95rem;
  opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
}
.wx-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 700px) {
  .wx-cta { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .wx-line { justify-content: center; }
  .wx-btns { justify-content: center; }
}
