/* ==========================================================================
   数宝盒官网 · 全站样式
   依赖：bootstrap.min.css、bootstrap-icons.min.css
   层级：1.设计令牌 2.基础 3.按钮 4.导航 5.通用区块 6.组件 7.页脚 8.工具类 9.响应式
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --brand: #0066cc;
  --brand-dark: #002bcc;
  --brand-soft: #eaf3fd;
  --brand-contrast: #ffffff;
  --gradient: linear-gradient(135deg, #0066cc 0%, #002bcc 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0, 102, 204, .12) 0%, rgba(0, 43, 204, .06) 100%);

  --bg: #ffffff;
  --bg-subtle: #f6f9fd;
  --surface: #ffffff;
  --text: #0f1b2d;
  --text-muted: #5b6b7f;
  --border: #e3ebf5;
  --shadow: 0 8px 30px rgba(0, 43, 204, .08);
  --shadow-lg: 0 16px 44px rgba(0, 43, 204, .14);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --header-h: 72px;

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;

  /* Bootstrap 变量映射（浅色） */
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font-sans);
  --bs-border-color: var(--border);
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-dark);
  --bs-emphasis-color: var(--text);
  --bs-secondary-color: var(--text-muted);
}

html[data-bs-theme="dark"] {
  --brand: #3b8ff3;
  --brand-dark: #2f6be0;
  --brand-soft: rgba(59, 143, 243, .14);
  --brand-contrast: #ffffff;
  --gradient: linear-gradient(135deg, #2f6be0 0%, #1b3fbf 100%);
  --gradient-soft: linear-gradient(135deg, rgba(59, 143, 243, .16) 0%, rgba(59, 143, 243, .06) 100%);

  --bg: #0a1120;
  --bg-subtle: #0e1729;
  --surface: #111c31;
  --text: #e8eef8;
  --text-muted: #9baac2;
  --border: #1e2c45;
  --shadow: 0 8px 30px rgba(0, 0, 0, .45);
  --shadow-lg: 0 16px 44px rgba(0, 0, 0, .55);
}

/* ---------- 2. 基础 ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: .2px;
}

p { margin-bottom: 1rem; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover, a:focus { color: var(--brand-dark); }

img { max-width: 100%; height: auto; }

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden-focusable:focus {
  z-index: 1100;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1200;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---------- 3. 按钮 ---------- */
.btn {
  --bs-btn-font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .7rem 1.5rem;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn-brand {
  background: var(--gradient);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 22px rgba(0, 43, 204, .28);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 43, 204, .38);
}

.btn-outline-brand {
  color: var(--brand);
  border: 1px solid var(--brand);
  background: transparent;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--surface);
}

.btn-lg { padding: .9rem 2rem; font-size: 1.02rem; }

/* ---------- 4. 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--bg); /* 旧浏览器回退 */
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 43, 204, .07);
}

.site-header .navbar {
  padding: .55rem 0;
}

.brand-logo {
  width: 38px;
  height: auto;
  border-radius: 9px;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: 1.4px;
  color: var(--text-muted);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .35rem .55rem;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230066cc' stroke-linecap='round' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

html[data-bs-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23e8eef8' stroke-linecap='round' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.site-header .nav-link {
  color: var(--text);
  font-size: .94rem;
  font-weight: 500;
  padding: .5rem .78rem !important;
  border-radius: var(--radius-sm);
  position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--brand);
  background: var(--brand-soft);
}

.site-header .nav-link.active {
  color: var(--brand);
  font-weight: 700;
}

.site-header .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--gradient);
}

.site-header .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .4rem;
  background: var(--surface);
  min-width: 10rem;
}

.site-header .dropdown-item {
  border-radius: 8px;
  font-size: .92rem;
  color: var(--text);
  padding: .5rem .75rem;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  background: var(--brand-soft);
  color: var(--brand);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 38px;
  padding: 0 .7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: .85rem;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus {
  border-color: var(--brand);
  color: var(--brand);
}

.theme-toggle i { font-size: 1.05rem; line-height: 1; }

/* ---------- 5. 通用区块 ---------- */
main { display: block; }

.section {
  padding: 96px 0;
  position: relative;
}

.section-sm { padding: 64px 0; }

.section-subtle { background: var(--bg-subtle); }

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head.text-center { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--radius-pill);
  padding: .32rem .85rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.divider-gradient {
  height: 3px;
  width: 64px;
  border-radius: 3px;
  background: var(--gradient);
  margin: 1.25rem 0;
}

.text-center .divider-gradient { margin-left: auto; margin-right: auto; }

.text-brand { color: var(--brand) !important; }
.text-muted-2 { color: var(--text-muted) !important; }
.bg-soft { background: var(--brand-soft) !important; }
.bg-subtle { background: var(--bg-subtle) !important; }

.tag-pill {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  margin: 0 .35rem .35rem 0;
}

/* ---------- 6.1 Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -12%, rgba(0, 102, 204, .16), transparent 62%),
    radial-gradient(760px 460px at -8% 104%, rgba(0, 43, 204, .12), transparent 60%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
  opacity: .7;
  pointer-events: none;
}

.hero > .container { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(1.9rem, 1.15rem + 2.9vw, 3.25rem);
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 1.25rem;
}

.hero-title .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, .95rem + .3vw, 1.12rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2rem;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .92rem;
  color: var(--text-muted);
}

.hero-contact a { color: var(--text); font-weight: 600; }
.hero-contact a:hover { color: var(--brand); }
.hero-contact .bi { color: var(--brand); margin-right: .35rem; }

.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

/* 页面级 Hero（内页） */
.page-hero {
  position: relative;
  padding: 64px 0 56px;
  background:
    radial-gradient(720px 380px at 92% -20%, rgba(0, 102, 204, .14), transparent 62%),
    var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--brand); }
.page-hero .breadcrumb-item.active { color: var(--brand); }

.page-hero h1 {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  margin-bottom: .85rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 0;
}

/* ---------- 6.2 图片占位 ---------- */
.img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(0, 102, 204, .035) 12px 24px),
    var(--brand-soft);
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
  cursor: help;
  transition: border-color .2s ease, color .2s ease;
}

.img-placeholder:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.img-placeholder .bi {
  font-size: 1.7rem;
  color: var(--brand);
  opacity: .85;
}

.img-placeholder span {
  font-size: .78rem;
  letter-spacing: .5px;
  line-height: 1.5;
}

.img-placeholder--wide { aspect-ratio: 16 / 9; }
.img-placeholder--tall { aspect-ratio: 4 / 5; }
.img-placeholder--square { aspect-ratio: 1 / 1; }
.img-placeholder--hero { aspect-ratio: 4 / 3; min-height: 320px; }

/* ---------- 6.3 统计 ---------- */
.stat {
  text-align: center;
  padding: 1.6rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 100%;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-suffix { font-size: .9rem; color: var(--brand); font-weight: 700; }

/* 深色模式下渐变文字需提亮，否则对比度不足 */
html[data-bs-theme="dark"] .hero-title .grad,
html[data-bs-theme="dark"] .stat-num {
  background: linear-gradient(135deg, #9dcdff 0%, #4c9df5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { font-size: .92rem; color: var(--text); margin: .5rem 0 .15rem; font-weight: 600; }

.stat-note { font-size: .74rem; color: var(--text-muted); }

/* ---------- 6.4 特性卡 ---------- */
.feature-card {
  /* 默认随内容高度，需要等高时在 HTML 上加 .h-100（避免在 aside/纵向堆叠场景被拉满） */
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: .6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .93rem;
  margin-bottom: 0;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(0, 43, 204, .22);
}

.icon-box--soft {
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: none;
}

/* ---------- 6.5 产品卡 ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--border));
}

.product-card__media { padding: .75rem .75rem 0; }
.product-card__media .img-placeholder { border-radius: 10px; }

.product-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }

.product-card__body h3 { font-size: 1.1rem; margin-bottom: .5rem; }

.product-card__body p { font-size: .92rem; color: var(--text-muted); flex: 1 1 auto; }

.product-card__body .link-more {
  font-size: .88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

/* ---------- 6.6 方案卡 ---------- */
.solution-card {
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.solution-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }

.solution-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.solution-block {
  border-left: 3px solid var(--border);
  padding: .1rem 0 .1rem .85rem;
  margin-bottom: .9rem;
}

.solution-block:last-child { margin-bottom: 0; }

.solution-block dt,
.solution-block .label {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: .15rem;
}

.solution-block dd,
.solution-block p {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.solution-block--pain { border-left-color: #e0a800; }
.solution-block--plan { border-left-color: var(--brand); }
.solution-block--value { border-left-color: #17a673; }

.solution-block--pain .label { color: #c08a00; }
.solution-block--value .label { color: #12855c; }

html[data-bs-theme="dark"] .solution-block--pain .label { color: #ffc93c; }
html[data-bs-theme="dark"] .solution-block--value .label { color: #4ee0ae; }
html[data-bs-theme="dark"] .solution-block--pain { border-left-color: #b8860b; }
html[data-bs-theme="dark"] .solution-block--value { border-left-color: #1f9d73; }

/* ---------- 6.7 案例 / 新闻卡 ---------- */
.case-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.case-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }

.case-card__body h3 { font-size: 1.05rem; margin-bottom: .35rem; }

.case-card__client { font-size: .82rem; color: var(--text-muted); margin-bottom: .9rem; }

.case-fact { font-size: .88rem; color: var(--text-muted); margin-bottom: .5rem; }

.case-fact strong { color: var(--text); font-weight: 600; }

.case-result {
  margin-top: auto;
  padding: .7rem .9rem;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .85rem;
  font-weight: 600;
}

.news-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}

.news-card__thumb { flex: 0 0 148px; }
.news-card__thumb .img-placeholder { height: 100%; aspect-ratio: 4 / 3; border-radius: 10px; }
.news-card__body { min-width: 0; }
.news-card__meta { font-size: .78rem; color: var(--text-muted); margin-bottom: .35rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.news-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.news-card p { font-size: .87rem; color: var(--text-muted); margin-bottom: 0; }

/* ---------- 6.8 定价卡 ---------- */
.pricing-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-card.is-featured {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 20px 48px rgba(0, 43, 204, .32);
}

.pricing-card.is-featured h3,
.pricing-card.is-featured .price,
.pricing-card.is-featured .price-unit { color: #fff; }

.pricing-card.is-featured .pricing-desc,
.pricing-card.is-featured .pricing-list li { color: rgba(255, 255, 255, .9); }

.pricing-card.is-featured .pricing-list i { color: #fff; }

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--brand-dark);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: .22rem .8rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.pricing-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }

.pricing-card .price {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.pricing-card .price-unit { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

.pricing-desc { font-size: .88rem; color: var(--text-muted); margin: .75rem 0 1.25rem; }

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: .9rem;
  color: var(--text-muted);
  flex: 1 1 auto;
}

.pricing-list li {
  display: flex;
  gap: .5rem;
  margin-bottom: .6rem;
  line-height: 1.6;
}

.pricing-list i { color: var(--brand); font-size: .95rem; margin-top: .18rem; }

.pricing-card.is-featured .btn-ghost {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
}

/* ---------- 6.9 时间轴 ---------- */
.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 12%, transparent));
}

.timeline-item {
  position: relative;
  padding: 0 0 2rem 3rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: .2rem;
}

.timeline-item h3 { font-size: 1.02rem; margin-bottom: .3rem; }

.timeline-item p { font-size: .91rem; color: var(--text-muted); margin-bottom: 0; }

/* ---------- 6.10 折叠面板 ---------- */
.accordion {
  --bs-accordion-border-color: var(--border);
  --bs-accordion-border-radius: 14px;
  --bs-accordion-inner-border-radius: 12px;
  --bs-accordion-bg: var(--surface);
  --bs-accordion-color: var(--text);
  --bs-accordion-btn-color: var(--text);
  --bs-accordion-active-color: var(--brand);
  --bs-accordion-active-bg: var(--brand-soft);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
  --bs-accordion-body-color: var(--text-muted);
}

.accordion-item {
  margin-bottom: .85rem;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-button {
  font-weight: 600;
  font-size: 1rem;
  padding: 1.15rem 1.3rem;
}

.accordion-button:not(.collapsed) { box-shadow: none; }

.accordion-body {
  font-size: .93rem;
  color: var(--text-muted);
  padding: 0 1.3rem 1.3rem;
}

/* ---------- 6.11 表单 ---------- */
.form-label { font-size: .88rem; font-weight: 600; margin-bottom: .35rem; }

.form-control,
.form-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  font-size: .94rem;
}

.form-control::placeholder { color: color-mix(in srgb, var(--text-muted) 78%, transparent); }

.form-control:focus,
.form-select:focus {
  background: var(--surface);
  color: var(--text);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}

.form-text { font-size: .78rem; color: var(--text-muted); }

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

/* ---------- 6.12 联系信息块 ---------- */
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  height: 100%;
}

.contact-item .icon-box { margin-bottom: 0; flex: 0 0 auto; width: 42px; height: 42px; font-size: 1.15rem; }

.contact-item h3 { font-size: .92rem; margin-bottom: .15rem; }

.contact-item p,
.contact-item a { font-size: .92rem; color: var(--text-muted); margin-bottom: 0; word-break: break-all; }

.contact-item a:hover { color: var(--brand); }

/* 数据表 */
.data-table { font-size: .92rem; margin-bottom: 0; }
.data-table th { color: var(--text); font-weight: 600; background: var(--bg-subtle); }
.data-table tbody th[scope="row"] { width: 32%; }
.data-table thead th { white-space: nowrap; }
.data-table th,
.data-table td { vertical-align: middle; padding: .85rem 1rem; border-color: var(--border); color: var(--text-muted); }
.data-table td { color: var(--text); }

/* CTA 带 */
.cta-band {
  position: relative;
  border-radius: 22px;
  padding: 3rem 2.25rem;
  background: var(--gradient);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 43, 204, .3);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: .75rem; }
.cta-band p { color: rgba(255, 255, 255, .88); margin-bottom: 0; position: relative; }
.cta-band .btn-light-brand { background: #fff; color: var(--brand-dark); border: 0; font-weight: 700; }
.cta-band .btn-light-brand:hover { background: #eef4ff; color: var(--brand-dark); }
.cta-band .btn-outline-light-2 { border: 1px solid rgba(255, 255, 255, .65); color: #fff; }
.cta-band .btn-outline-light-2:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* 提示条（JSON 加载失败等） */
.notice-bar {
  display: none;
  font-size: .85rem;
  border-radius: 10px;
  border: 1px solid #f0c36d;
  background: #fff8e6;
  color: #8a6100;
  padding: .6rem .9rem;
}

html[data-bs-theme="dark"] .notice-bar {
  border-color: #6b5520;
  background: #251d09;
  color: #ffd97a;
}

.notice-bar.is-visible { display: block; }

.pending-hint {
  color: inherit;
  opacity: .9;
  border-bottom: 1px dashed color-mix(in srgb, var(--brand) 55%, transparent);
  cursor: help;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  background: #071022;
  color: #b9c6da;
  padding: 64px 0 0;
  font-size: .9rem;
}

html[data-bs-theme="light"] .site-footer { background: #061024; }

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}

.site-footer a { color: #b9c6da; }
.site-footer a:hover { color: #fff; }

.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #7d8ca6; }

.footer-about { color: #93a3bd; font-size: .87rem; line-height: 1.9; }

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: .55rem; }
.footer-links a { font-size: .88rem; }

.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .88rem; }

.footer-contact li { display: flex; gap: .55rem; margin-bottom: .6rem; line-height: 1.7; }

.footer-contact .bi { color: #4b9bf5; margin-top: .28rem; }

.footer-keywords {
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 1rem 0;
  margin-top: 2.5rem;
  font-size: .8rem;
  color: #7d8ca6;
}

.footer-keywords .kw { color: #9fb0c9; }

.footer-bottom {
  padding: 1.25rem 0;
  font-size: .8rem;
  color: #7d8ca6;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a { color: #7d8ca6; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 8. 回到顶部 / 动效 ---------- */
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 10px 26px rgba(0, 43, 204, .32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .2s ease;
}

#backToTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover { box-shadow: 0 14px 32px rgba(0, 43, 204, .45); }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

[data-reveal].is-visible { opacity: 1; transform: none; }

html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* JS 渲染的列表容器在数据到达前保持占位高度，减少布局抖动 */
#vue-stats:empty,
#vue-values:empty,
#vue-cases:empty,
#vue-news:empty { min-height: 140px; }

/* ---------- 9. 响应式 ---------- */
/* 大间距行在小屏上会超出容器内边距（负外边距 > container padding），用 clamp 收敛 */
.row.g-5 { --bs-gutter-x: clamp(1.5rem, 0.75rem + 2vw, 3rem); }

@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    margin-top: .75rem;
    padding: .75rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-header .nav-link { padding: .6rem .75rem !important; }
  .site-header .nav-link.active::after { display: none; }
  .site-header .nav-link.active { background: var(--brand-soft); }
  /* 折叠菜单内：主题切换按钮保持在导航最右侧，不与菜单项同宽 */
  .navbar-nav > .nav-item:last-child { text-align: right; }
  .site-header .theme-toggle { margin-top: .5rem; width: auto; }
  .site-header .dropdown-menu { border: 0; box-shadow: none; background: transparent; padding-left: .75rem; }
}

@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .section-sm { padding: 52px 0; }
  .hero { padding: 56px 0 72px; }
  .section-head { margin-bottom: 40px; }
  .cta-band { padding: 2.25rem 1.5rem; }
  .news-card { flex-direction: row; }
  .news-card__thumb { flex: 0 0 116px; }
}

@media (max-width: 767.98px) {
  body { line-height: 1.75; }
  .section { padding: 56px 0; }
  .hero-title { letter-spacing: 0; }
  .hero-actions .btn { width: 100%; }
  .hero-contact { gap: .75rem; flex-direction: column; }
  .news-card { flex-direction: column; gap: .9rem; }
  .news-card__thumb { flex: 0 0 auto; }
  .news-card__thumb .img-placeholder { aspect-ratio: 16 / 9; }
  .stat { padding: 1.2rem .75rem; }
  #backToTop { right: 14px; bottom: 16px; width: 42px; height: 42px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
  .img-placeholder span { font-size: .72rem; }
  .pricing-card { padding: 1.6rem 1.25rem; }
  .cta-band { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* 打印 */
@media print {
  .site-header, .site-footer, #backToTop, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
}
