/* =====================================================
   ChanCMS v3 统一浅色 SaaS 风格
   ===================================================== */

/* 基础覆盖 */
body {
  color: #374151;
}

/* 统一 section 头部（caption / 标题 / 副标题全部水平居中） */
.section-header {
  margin-bottom: 48px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(58,123,247,0.10) 0%, rgba(34,184,207,0.08) 100%);
  border: 1px solid rgba(58,123,247,0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #2f62c9;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: #6B7280;
}

/* Hero 居中布局（浅色版） */
/* 背景（网格 + 圆点 + 渐变 + 装饰环）用纯 CSS 多层实现，替代内联 SVG，风格与原 SVG 一致 */
/* ============================================================
   统一「有机光晕网格」背景（hero-banner / page-hero / page-banner 共用）
   光晕中心 / 装饰环位置 / 网格偏移均由变量控制，
   各页面通过 .bg-vN 变体改变取值 → 风格统一但每页位置各异，避免雷同与"假"
   ============================================================ */
.hero-banner,
.page-hero,
.page-banner {
  --g1: 16% 20%;   /* 主光晕（科技蓝）重心 */
  --g2: 84% 78%;   /* 次光晕（青）重心 */
  --g3: 78% 14%;   /* 点缀光晕（靛紫）重心 */
  --r1: 14% 26%;   /* 装饰环 1 中心 */
  --r2: 86% 70%;   /* 装饰环 2 中心 */
  --gx: 0px;       /* 网格横向偏移 */
  --gy: 0px;       /* 网格纵向偏移 */
  position: relative;
  overflow: hidden;
  background-color: #EFF4FF;
  background-image:
    /* 装饰环 1（细描边，极淡） */
    radial-gradient(circle at var(--r1), transparent 46px, rgba(147,197,253,0.26) 46.5px, rgba(147,197,253,0.26) 47.3px, transparent 47.8px),
    /* 装饰环 2（细描边，极淡） */
    radial-gradient(circle at var(--r2), transparent 64px, rgba(96,165,250,0.18) 64.5px, rgba(96,165,250,0.18) 65.3px, transparent 65.8px),
    /* 主光晕 - 科技蓝（柔边羽化，非硬光团） */
    radial-gradient(72% 62% at var(--g1), rgba(58,123,247,0.14) 0%, rgba(58,123,247,0) 72%),
    /* 次光晕 - 青 */
    radial-gradient(62% 66% at var(--g2), rgba(0,200,217,0.12) 0%, rgba(0,200,217,0) 72%),
    /* 点缀光晕 - 靛紫（极淡，制造层次） */
    radial-gradient(46% 52% at var(--g3), rgba(124,58,237,0.08) 0%, rgba(124,58,237,0) 72%),
    /* 点阵（自然点缀，非密集网格） */
    radial-gradient(circle, rgba(150,190,250,0.22) 1px, transparent 1.2px),
    /* 网格竖线 80px */
    linear-gradient(to right, rgba(190,216,254,0.5) 0.5px, transparent 0.5px),
    /* 网格横线 80px */
    linear-gradient(to bottom, rgba(190,216,254,0.5) 0.5px, transparent 0.5px),
    /* 基础渐变（浅蓝白，柔和过渡） */
    linear-gradient(135deg, #FFFFFF 0%, #F3F8FF 50%, #E9F1FF 100%);
  background-size:
    100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%,
    26px 26px,
    80px 80px, 80px 80px,
    100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat, repeat, no-repeat;
  background-position:
    center, center, center, center, center,
    var(--gx) var(--gy), var(--gx) var(--gy), var(--gx) var(--gy),
    center;
}
/* 光晕位置变体：每个页面引用其一，重心错落 + 网格偏移各异，自然不雷同 */
.bg-v1 { --g1: 14% 18%; --g2: 86% 80%; --g3: 80% 12%; --r1: 12% 24%; --r2: 88% 72%; --gx: 0px;  --gy: 0px; }
.bg-v2 { --g1: 82% 16%; --g2: 14% 84%; --g3: 18% 10%; --r1: 86% 22%; --r2: 12% 76%; --gx: 24px; --gy: -16px; }
.bg-v3 { --g1: 50% 6%;  --g2: 22% 90%; --g3: 88% 40%; --r1: 30% 30%; --r2: 78% 66%; --gx: -18px;--gy: 12px; }
.bg-v4 { --g1: 10% 88%; --g2: 90% 14%; --g3: 60% 90%; --r1: 16% 70%; --r2: 84% 28%; --gx: 40px; --gy: 28px; }
.bg-v5 { --g1: 26% 50%; --g2: 74% 52%; --g3: 50% 8%;  --r1: 42% 18%; --r2: 58% 84%; --gx: 8px;  --gy: -24px; }
.bg-v6 { --g1: 70% 30%; --g2: 30% 70%; --g3: 12% 40%; --r1: 72% 42%; --r2: 28% 58%; --gx: -32px;--gy: 8px; }

/* ============================================================
   bigmodel.cn 视觉基调 · banner 背景覆盖（Ant 蓝 · 素净克制）
   覆盖上方 .bg-v1~v6 的三层光晕，统一为 cms/bigmodel.css 同款；
   仅改背景，不动文字颜色与内边距
   ============================================================ */
.hero-banner,
.page-hero,
.page-banner {
  --g1: 24% 6%;
  --g2: 84% 92%;
  --g3: 74% 8%;
  --r1: 14% 20%;
  --r2: 88% 76%;
  background-color: #FFFFFF;
  background-image:
    radial-gradient(circle at var(--r1), transparent 44px, rgba(173,200,255,0.30) 44.5px, rgba(173,200,255,0.30) 45.3px, transparent 45.9px),
    radial-gradient(circle at var(--r2), transparent 60px, rgba(173,200,255,0.22) 60.5px, rgba(173,200,255,0.22) 61.3px, transparent 61.9px),
    radial-gradient(72% 62% at var(--g1), rgba(22,119,255,0.10) 0%, rgba(22,119,255,0) 72%),
    radial-gradient(60% 64% at var(--g2), rgba(22,119,255,0.06) 0%, rgba(22,119,255,0) 70%),
    linear-gradient(to right, rgba(226,232,240,0.60) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(226,232,240,0.60) 0.5px, transparent 0.5px),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%);
  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%,
    88px 88px, 88px 88px,
    100% 100%;
  background-repeat:
    no-repeat, no-repeat, no-repeat, no-repeat,
    repeat, repeat, no-repeat;
}

/* 各 hero 内边距（背景已统一，这里仅补间距） */
.hero-banner { padding: 150px 24px 100px; min-height: auto; }
.page-hero { padding: 142px 24px 76px; }
.page-banner { padding: 140px 24px 60px; text-align: center; }
.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: linear-gradient(135deg, rgba(58,123,247,0.12) 0%, rgba(34,184,207,0.10) 100%);
  border: 1px solid rgba(58,123,247,0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #2f62c9;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), inset 0 1px 0 rgba(255,255,255,0.6);
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5fd6ae 0%, #36C393 60%, #2ba67e 100%);
  box-shadow: 0 0 8px rgba(16,185,129,0.55);
  flex-shrink: 0;
}
.hero-title {
  font-size: 52px;
  line-height: 1.12;
  margin-bottom: 20px;
  text-align: center;
}
.hero-subtitle {
  font-size: 40px;
  font-weight: 800;
  color: #1F2937;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0 auto 18px;
  text-align: center;
}
.hero-desc {
  font-size: 17px;
  color: #4B5563;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}
.hero-actions {
  justify-content: center;
  margin-bottom: 32px;
}
.hero-tags {
  justify-content: center;
  margin-top: 0;
}
.hero-tag {
  padding: 8px 16px;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #2f62c9;
  line-height: 1;
}
.hero-stat-label {
  font-size: 14px;
  color: #6B7280;
  margin-top: 8px;
}

/* 按钮升级 */
.btn-primary {
  background: linear-gradient(135deg, #2f62c9 0%, #3A7BF7 100%);
  box-shadow: 0 2px 6px rgba(58,123,247, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2f62c9 0%, #2f62c9 100%);
  box-shadow: 0 4px 10px rgba(58,123,247, 0.28);
}
.btn-outline {
  border: 1px solid #D1D5DB;
  color: #374151;
  background: #fff;
}
.btn-outline:hover {
  border-color: #2f62c9;
  color: #2f62c9;
  background: rgba(58,123,247, 0.04);
}

/* 统计卡片 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58,123,247,0.08);
  border-color: rgba(58,123,247,0.2);
}
.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
}
.stat-card-num {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-card-label {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}
.stat-card-sublabel {
  font-size: 13px;
  color: #9CA3AF;
}

/* 核心特性 */
.feature-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-v2 {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 26px;
  transition: all 0.3s ease;
  text-align: left;
}
.feature-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58,123,247,0.08);
  border-color: rgba(58,123,247,0.2);
}
.feature-v2-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-v2-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.5;
}
.feature-v2-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
}

/* 功能栏目一级 Tabs */
.feature-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.feature-tab {
  padding: 12px 28px;
  background: #F3F4F6;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.2s ease;
}
.feature-tab:hover {
  background: #E5E7EB;
}
.feature-tab.active {
  background: #3A7BF7;
  color: #fff;
  box-shadow: 0 2px 6px rgba(58,123,247,0.22);
}
.feature-panel {
  display: none;
}
.feature-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* 功能模块二级 Tabs */
.subtabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.subtab-btn {
  padding: 8px 18px;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s ease;
}
.subtab-btn:hover {
  border-color: #2f62c9;
  color: #2f62c9;
}
.subtab-btn.active {
  background: rgba(58,123,247,0.08);
  border-color: #3A7BF7;
  color: #2f62c9;
}
.subtab-panel {
  display: none;
}
.subtab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* 模块卡片 */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.module-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 14px;
  padding: 22px;
  transition: all 0.3s ease;
  text-align: left;
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(58,123,247,0.07);
  border-color: rgba(58,123,247,0.2);
}
.module-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.module-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58,123,247,0.08);
}
.module-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.module-card-desc {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.65;
}
.module-mini-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #E5E7EB;
}
.module-mini-stat {
  text-align: center;
}
.module-mini-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #2f62c9;
  line-height: 1;
}
.module-mini-stat-label {
  font-size: 13px;
  color: #6B7280;
  margin-top: 6px;
}

/* 技术架构 */
.arch-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 32px;
}
.arch-flow-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 28px;
  text-align: left;
  transition: all 0.3s ease;
}
.arch-flow-card:hover {
  box-shadow: 0 12px 28px rgba(58,123,247,0.08);
  border-color: rgba(58,123,247,0.2);
}
.arch-flow-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 16px 0 12px;
}
.arch-flow-card ul {
  list-style: none;
}
.arch-flow-card li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.arch-flow-card li:last-child {
  border-bottom: none;
}
.arch-flow-card li span:first-child {
  color: #374151;
  font-weight: 500;
}
.arch-flow-card li span:last-child {
  color: #9CA3AF;
  font-size: 13px;
}
.arch-flow-arrow {
  color: #D1D5DB;
  display: flex;
  align-items: center;
}
.arch-stack {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.arch-stack-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}
.arch-stack-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* 适用场景 */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scenario-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 26px;
  transition: all 0.3s ease;
  text-align: left;
}
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58,123,247,0.08);
  border-color: rgba(58,123,247,0.2);
}
.scenario-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(58,123,247,0.08);
}
.scenario-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.scenario-card-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 16px;
}
.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scenario-tags .tag {
  background: #F3F4F6;
  color: #4B5563;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}

/* 案例展示 */
.case-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card-v2 {
  display: block;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.case-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58,123,247,0.08);
  border-color: rgba(58,123,247,0.2);
}
.case-card-image {
  height: 180px;
  background: linear-gradient(135deg, #e3ecfd 0%, #BFDBFE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card-body {
  padding: 20px;
  text-align: left;
}
.case-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.case-card-tags .tag {
  background: #e3ecfd;
  color: #2f62c9;
}
.case-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.case-card-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
}

/* ============================================================
   列表页（case-list.html / muban-list.html 等）卡片标题统一收紧
   解决用户反馈：标题下方"间距逆天"、字重与首页 feature 卡不一致
   - 全部标题统一 fw-700（与首页 feature-v2-title 一致）
   - 显式 line-height:1.4 + min-height:2 行高度，避免标题 1 行时
     卡片高度不一致 / 标题下方出现大空隙
   - line-clamp:2（已被全局 h2/h3/h4 规则覆盖，此处再保险一次）
   ============================================================ */
.case-card h3,
.template-card h3 {
  font-weight: 700 !important;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.case-card .pd-18,
.case-card .pd-20 {
  /* 收紧 .case-card 内部容器上下 padding，让标题到元素距离合理 */
  padding-top: 16px;
  padding-bottom: 16px;
}
.case-card .pd-18 p,
.case-card .pd-20 p {
  margin-top: 0;
  margin-bottom: 0;
}

/* 价格方案 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto 56px;
}
.pricing-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58,123,247,0.08);
}
.pricing-card.recommended {
  border-color: #3A7BF7;
  box-shadow: 0 0 0 1px #3A7BF7, 0 12px 28px rgba(58,123,247,0.12);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  background: linear-gradient(135deg, #6398fa, #2f62c9);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px -4px rgba(59,130,241,.55);
  letter-spacing: .5px;
  white-space: nowrap;
  z-index: 2;
}
.pricing-card-header {
  margin-bottom: 20px;
}
.pricing-card-name {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.pricing-card-desc {
  font-size: 13px;
  color: #9CA3AF;
}
.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}
.pricing-price span {
  font-size: 14px;
  font-weight: 500;
  color: #9CA3AF;
  margin-left: 4px;
}
.pricing-price-original {
  font-size: 14px;
  color: #9CA3AF;
  text-decoration: line-through;
  margin-bottom: 20px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #4B5563;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}
.pricing-features li svg {
  color: #36C393;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-btn {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s var(--ease);
  text-align: center;
  letter-spacing: .5px;
}
.pricing-btn-primary {
  background: linear-gradient(135deg, #6398fa 0%, #2f62c9 100%);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(59,130,241,.55);
}
.pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(59,130,241,.65);
  background: linear-gradient(135deg, #3A7BF7 0%, #2f62c9 100%);
}
.pricing-btn-secondary {
  background: #fff;
  color: #3A7BF7;
  border-color: #b3ccfb;
  box-shadow: 0 2px 6px -2px rgba(15,23,42,.04);
}
.pricing-btn-secondary:hover {
  background: #EFF6FF;
  border-color: #6398fa;
  color: #2f62c9;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -4px rgba(59,130,241,.25);
}

/* 版本对比表 */
.compare-table-wrap {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  overflow: hidden;
  
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #F3F4F6;
}
.compare-table thead th {
  background: #F9FAFB;
  font-weight: 600;
  color: #374151;
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table td:first-child {
  color: #6B7280;
  width: 22%;
}
.compare-table .check {
  color: #36C393;
  font-weight: 600;
}
.compare-table .cross {
  color: #9CA3AF;
}
.compare-table .highlight {
  color: #2f62c9;
  font-weight: 600;
}

/* 定制服务 */
.service-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card-v2 {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 26px;
  text-align: left;
  transition: all 0.3s ease;
}
.service-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58,123,247,0.08);
  border-color: rgba(58,123,247,0.2);
}
.service-card-v2-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card-v2-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.service-card-v2-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item:hover {
  border-color: rgba(58,123,247,0.3);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}
.faq-question svg {
  flex-shrink: 0;
  color: #6B7280;
  transition: transform 0.2s ease;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.8;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}

/* 快速开始 */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
.step-info {
  display: flex;
  gap: 14px;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #3A7BF7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.step-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}
.code-block-v2 {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}
.code-block-v2-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
}
.code-block-v2-dots {
  display: flex;
  gap: 6px;
}
.code-block-v2-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-block-v2-dots span:nth-child(1) { background: #EF4444; }
.code-block-v2-dots span:nth-child(2) { background: #F59E0B; }
.code-block-v2-dots span:nth-child(3) { background: #36C393; }
.code-block-v2-lang {
  font-size: 12px;
  color: #64748B;
}
.code-block-v2 pre {
  padding: 16px 20px;
  margin: 0;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
  color: #334155;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}
.code-block-v2 code {
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3A7BF7 0%, #22B8CF 100%);
  padding: 80px 24px;
  text-align: center;
}
.cta-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* v3 响应式 */
@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .feature-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .modules-grid,
  .scenario-grid,
  .case-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid,
  .service-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .arch-flow {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .arch-flow-arrow {
    transform: rotate(90deg);
    justify-content: center;
  }
  .step { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-banner { padding: 120px 16px 70px; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .hero-stats { gap: 32px; }
  .feature-grid-v2,
  .stats-row,
  .modules-grid,
  .scenario-grid,
  .case-grid-v2,
  .pricing-grid,
  .service-grid-v2 { grid-template-columns: 1fr; }
  .pricing-grid { margin-bottom: 40px; }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 14px; }
  .feature-tab,
  .subtab-btn { padding: 10px 18px; font-size: 13px; }
  .cta-title { font-size: 24px; }
}
@media (max-width: 480px) {
  .stat-card-num,
  .pricing-price { font-size: 28px; }
  .hero-stats { gap: 24px; }
}

/* v3 不使用滚动 reveal 动画，确保内容始终可见 */
.reveal,
.reveal-zoom,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
}

/* =====================================================
   列表页搜索框（案例 / 模板共享）
   ===================================================== */
.list-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.list-search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  box-shadow: 0 4px 14px rgba(58,123,247, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.list-search:focus-within {
  border-color: #3A7BF7;
  box-shadow: 0 4px 18px rgba(58,123,247, 0.14);
}
.list-search-icon {
  color: #9CA3AF;
  flex-shrink: 0;
  display: flex;
}
.list-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 8px 10px;
  font-size: 14px;
  color: #374151;
  background: transparent;
}
.list-search input::placeholder { color: #9CA3AF; }

/* 清空按钮 ×：有输入时显示，点击清空 */
.list-search-clear {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 6px;
  border: none;
  border-radius: 50%;
  background: #F1F5F9;
  color: #94A3B8;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
  opacity: .9;
}
.list-search-clear:hover {
  background: #E2E8F0;
  color: #475569;
}
.list-search:focus-within .list-search-clear { background: #EFF6FF; color: #3A7BF7; }

.list-search-btn {
  flex-shrink: 0;
  padding: 9px 22px;
  background: #2f62c9;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.list-search-btn:hover {
  background: #2f62c9;
}
[x-cloak] { display: none !important; }
.list-result {
  font-size: 13.5px;
  color: #64748B;
  margin: 4px 0 16px;
}
.list-result strong {
  color: #3A7BF7;
  font-weight: 700;
}
.list-empty {
  display: none;
  text-align: center;
  padding: 64px 20px;
  color: #6B7280;
  font-size: 15px;
}
.list-empty svg {
  color: #D1D5DB;
  margin-bottom: 14px;
}
.list-empty.show { display: block; }

/* ============================================================
   Site Enhancement Layer（统一令牌 / 微动效 / 按钮 / 模块）
   追加于 v3.css 末尾，全站 16 页自动生效
   ============================================================ */

/* ---- 统一设计令牌（间距 / 字号 / 圆角） ---- */
:root {
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px;
  --text-xs: 12px; --text-sm: 14px; --text-base: 16px; --text-lg: 18px;
  --text-xl: 20px; --text-2xl: 24px; --text-3xl: 30px; --text-4xl: 36px;
  --text-5xl: 44px;
  --media-h: 200px;            /* 案例 / 模板 / 视频 缩略图统一高度 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- 微动效：流光扫光 ---- */
@keyframes shine-sweep {
  0%   { transform: translateX(-130%) skewX(-20deg); }
  60%, 100% { transform: translateX(230%) skewX(-20deg); }
}

/* ============================================================
   1. 按钮统一升级
   ============================================================ */
.btn-primary,
.btn-white,
.pricing-btn-primary,
.btn-outline-white {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform .3s var(--ease), box-shadow .3s ease, background .3s ease;
}
.btn-primary::after,
.btn-white::after,
.pricing-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-130%) skewX(-20deg);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-white:hover::after,
.pricing-btn-primary:hover::after { animation: shine-sweep .9s ease; }

.btn-primary:active,
.btn-white:active,
.btn-outline:active,
.btn-outline-white:active,
.pricing-btn-primary:active { transform: scale(.97); }

/* 主按钮（基础已为科技渐变，这里统一圆角与按压） */
.btn-primary {
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(58,123,247,.22);
}
.btn-primary:hover { box-shadow: 0 4px 10px rgba(58,123,247,.30); transform: translateY(-1px); }

/* 次按钮（毛玻璃描边） */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 12px;
  border: 1.5px solid #BFD9FF;
  background: #ffffff;
  color: #0F172A;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(58,123,247,.18);
  transform: translateY(-1px);
}

/* 白色按钮（CTA 区） */
.btn-white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(58,123,247,.18);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(58,123,247,.24); }

/* 描边白按钮（CTA 区） */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }

/* 圆形「查看更多」按钮（hover：整体边框加粗 + 浅蓝填充 + 双层蓝色阴影） */
.btn-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e3ecfd;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  transition: background .35s var(--ease),
              border-color .25s var(--ease),
              border-width .25s var(--ease),
              box-shadow .35s var(--ease),
              transform .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-circle:hover {
  border-color: var(--color-primary);
  border-width: 2px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 100%);
  box-shadow: 0 12px 28px rgba(58,123,247,.22),
              0 0 0 4px rgba(58,123,247,.08);
  transform: translateY(-3px);
}
.btn-circle:active { transform: scale(.95); }
.more-wrap { text-align: center; margin-top: var(--space-10); }

/* ============================================================
   2. 卡片统一微动效（hover 上浮 + 阴影）
   ============================================================ */
.case-card,
.template-card,
.video-card,
.feature-v2,
.service-card-v2,
.stat-card,
.doc-card {
  overflow: hidden;                 /* 兜底：缩略图反向出血时不被裁溢出 */
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.case-card:hover,
.template-card:hover,
.video-card:hover,
.feature-v2:hover,
.service-card-v2:hover,
.stat-card:hover,
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -8px rgba(59,130,246,.12);
}
/* pricing-card 单独 visible：让顶部的 .pricing-badge「最受欢迎」能完整浮出不被卡片背景裁切 */
.pricing-card { overflow: visible; }

/* 列表页卡片内容区统一紧凑 */
.case-card .pd-18,
.template-card .pd-18,
.video-card .pd-18 {
  padding: 14px 18px;
}
.case-card h3,
.template-card h3,
.video-card h3 {
  margin-bottom: 4px !important;
}
.video-card .tag { margin-top: 10px; }
.template-card .template-desc { margin-bottom: 10px; }
.template-card .template-features { margin-bottom: 12px; }

/* ============================================================
   3. 案例 / 模板 / 视频 缩略图尺寸与对齐
   ============================================================
   历史问题：
   a) 第20轮为了"与文字左右对齐"给缩略图加 padding:0 18px，
      结果图片反而露出左右灰条（背景 #EEF2F7）。
   b) 缩略图顶部直角，与 .card 上圆角 (--radius-lg) 不贴合，
      不同 unsplash 图因宽高比差异出现 fill 不一致问题。

   解决方案：
   - 缩略图反向出血 (margin: 0 -24px)，覆盖 .card 的 24px 内边距
   - 使用 aspect-ratio 16:9 自适应高度，避免高度不一时图被拉变形
   - 顶部圆角贴合 .card；height 仍用 --media-h 作为最小值兜底
   - overflow:hidden + img width/height 100% object-fit:cover 保证无白边
   ============================================================ */
.case-thumb,
.template-thumb,
.video-thumb {
  position: relative;
  width: calc(100% + 48px);       /* 强制反向出血宽度（盖住 .card 左右 24px padding） */
  margin-left: -24px;
  margin-right: -24px;
  margin-bottom: 18px;            /* 底部留 18px 间隙与下方文字 */
  aspect-ratio: 16 / 9;            /* 自适应高度，比例统一 */
  min-height: var(--media-h);     /* 保底高度，避免图太少 */
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #EEF2F7;
}
.case-thumb img,
.template-thumb img,
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}
.case-card:hover .case-thumb img,
.template-card:hover .template-thumb img,
.video-card:hover .video-thumb img { transform: scale(1.06); }

/* 兜底：若 .card 不用 padding（如某些老页），缩略图保持原行为 */
.case-card.no-pad .case-thumb,
.template-card.no-pad .template-thumb,
.video-card.no-pad .video-thumb { margin: 0; border-radius: var(--radius-lg); }

/* ============================================================
   4. 筛选 / 分类切换按钮
   - 历史命名：.filter-bar / .filter-btn
   - 当前命名（统一）：.subtabs-nav / .subtab-btn
   - 三页（case-list / muban-list / video-list）已统一改用 .subtabs-nav + .subtab-btn，
     与 feature.html 的功能模块 tab 完全同款（药丸胶囊 + 灰底默认 + 渐变蓝填充 active + 微动）
   ============================================================ */
.subtabs-nav {
  gap: var(--space-3);
}
.subtab-btn {
  position: relative;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid transparent;
  box-shadow: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.subtab-btn:hover {
  color: var(--color-primary);
  background: #E0F2FE;
  transform: translateY(-2px);
}
.subtab-btn.active {
  color: #fff;
  background: var(--gradient-tech);
  box-shadow: 0 2px 6px rgba(58,123,247,.22);
}
.subtab-btn:active { transform: scale(.96); }

/* ============================================================
   5. 视频播放按钮：改细 + 隐藏时间
   ============================================================ */
.video-duration { display: none !important; }
.video-play-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: all .3s var(--ease);
}
.video-play-btn::before {
  content: '';
  width: 0; height: 0;
  border-left: 15px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.video-card:hover .video-play-btn {
  background: rgba(255,255,255,.32);
  border-color: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}
/* 保留 play-circle 图标兜底样式（若未替换为 .video-play-btn） */
.video-thumb .lucide-play-circle { transition: transform .3s var(--ease); }
.video-card:hover .video-thumb .lucide-play-circle { transform: scale(1.08); }

/* ============================================================
   6. Section 头部 / 列表页 Banner 背景（去纯色，加科技光晕）
   ============================================================ */
.section-header {
  position: relative;
  z-index: 1;
  /* 防御性：显式声明居中，避免任何祖先 text-align 失效时 capsule 靠左 */
  text-align: center;
}
/* .section-eyebrow 已在顶部定义（带渐变/边框/inset 高光），此处不再重复，避免覆盖样式 */
.section-header::before {
  content: '';
  position: absolute;
  top: -34px; left: 50%;
  transform: translateX(-50%);
  width: 170px; height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,123,247,.14), transparent 70%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

@keyframes auroraFlow {
  0% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  35% { transform: translate3d(3%,-4%,0) rotate(8deg) scale(1.08); }
  70% { transform: translate3d(-4%,3%,0) rotate(-6deg) scale(1.05); }
  100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
}
@keyframes auroraFlow2 {
  0% { transform: translate3d(0,0,0) rotate(0deg) scale(1.05); }
  50% { transform: translate3d(-4%,-3%,0) rotate(-10deg) scale(1); }
  100% { transform: translate3d(0,0,0) rotate(0deg) scale(1.05); }
}

/* 列表页 hero（case / muban / video / doc） */
/* 列表页 / 内页 hero 背景已由上方统一「有机光晕网格」块提供（含 bg-vN 变体）
   此处仅保留内容层级，避免 ::before/::after 大光团造成的雷同与"假"感 */
.page-hero-content { position: relative; z-index: 1; }
.page-banner h1, .page-banner p { position: relative; z-index: 2; }

/* ============================================================
   7. 定制流程模块（hezuo.html）
   ============================================================ */
.process-section { background: var(--color-white); }
.process-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}
.process-step {
  position: relative;
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 62%);
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 26px 18px 24px;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-tech);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(58,123,247,.25);
}
.process-step-title { font-size: 16px; font-weight: 700; color: #0F172A; margin-bottom: 6px; }
.process-step-desc { font-size: 13px; color: #64748B; line-height: 1.6; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px; right: -12px;
  width: 24px; height: 2px;
  background: linear-gradient(90deg, #b3ccfb, #e3ecfd);
}
@media (max-width: 1024px) {
  .process-flow { grid-template-columns: repeat(3, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .process-flow { grid-template-columns: 1fr; }
}

/* ============================================================
   8. 最新动态模块（index.html）
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.news-card {
  display: block;
  background: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-cover {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.news-body { padding: 20px; }
.news-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(58,123,247,.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.news-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
  line-height: 1.5;
}
.news-desc { font-size: 14px; color: #64748B; line-height: 1.7; margin-bottom: 14px; }
.news-meta { font-size: 13px; color: #94A3B8; display: flex; gap: 12px; align-items: center; }
.news-arrow { transition: transform .3s var(--ease); color: var(--color-primary); }
.news-card:hover .news-arrow { transform: translateX(4px); }
@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   11. 工具类补齐（原 saduo.css 移除后的兼容层）
   ============================================================ */
.f-10 { font-size: 10px; }
.f-11 { font-size: 11px; }
.f-12 { font-size: 12px; }
.f-13 { font-size: 13px; }
.f-14 { font-size: 14px; }
.f-15 { font-size: 15px; }
.f-16 { font-size: 16px; }
.f-17 { font-size: 17px; }
.f-18 { font-size: 18px; }
.f-19 { font-size: 19px; }
.f-20 { font-size: 20px; }
.f-21 { font-size: 21px; }
.f-22 { font-size: 22px; }
.f-23 { font-size: 23px; }
.f-24 { font-size: 24px; }
.f-25 { font-size: 25px; }
.f-26 { font-size: 26px; }
.f-27 { font-size: 27px; }
.f-28 { font-size: 28px; }
.f-29 { font-size: 29px; }
.f-30 { font-size: 30px; }
.f-31 { font-size: 31px; }
.f-32 { font-size: 32px; }
.f-33 { font-size: 33px; }
.f-34 { font-size: 34px; }
.f-35 { font-size: 35px; }
.f-36 { font-size: 36px; }
.f-37 { font-size: 37px; }
.f-38 { font-size: 38px; }
.f-39 { font-size: 39px; }
.f-40 { font-size: 40px; }

/* ============================================================
   FAQ 折叠：JS 计算真实高度动画（main.js initAccordion）
   同组互斥；展开后 max-height:none 解除限制，窗口缩放不截断
   ============================================================ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer {
  max-height: none;
}
.faq-item.active {
  box-shadow: 0 10px 28px rgba(58,123,247,0.12);
}
.faq-question {
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-item.active .faq-question {
  color: #3A7BF7;
}

.c-000, .c-000 a { color: #111827; }
.c-333, .c-333 a { color: #374151; }
.c-666, .c-666 a { color: #4B5563; }
.c-999, .c-999 a { color: #6B7280; }
.c-fff, .c-fff a { color: #ffffff; }

/* ============================================================
   文档页布局：目录左排 + 正文区，整体限宽 1200px 与导航栅格对齐
  ============================================================ */
.doc-section-full { padding: 28px 0 56px; }

/* 步骤：纵向排列，占满正文宽度、左对齐（不区分屏幕宽度，所有断点一致） */
.doc-section-full .steps {
  max-width: none;
  margin: 0;
}

@media (min-width: 1025px) {
  /* 书籍式布局：与 header/container 同宽（1200px）居中，阅读行长舒适 */
  .doc-section-full .doc-layout {
    grid-template-columns: 236px minmax(0, 1fr) !important;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .doc-section-full .doc-aside {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 108px);
  }
}

/* 目录卡片：白底 + 柔和阴影（覆盖 style.css 灰底）
   去掉自定义滚动条（影响观感且与全站"克制"风格冲突），保留原生滚动 */
.doc-section-full .doc-aside {
  background: #fff;
  border: 1px solid #EEF2F7;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px -16px rgba(58,123,247,.15);
  border-radius: 14px;
  padding: 12px 6px;
  overflow-y: auto;
  /* Firefox：默认完全透明，hover 时显示半透明灰；hover 时显示 */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.doc-section-full .doc-aside:hover { scrollbar-color: rgba(15,23,42,.22) transparent; }
/* WebKit：默认 0 宽隐藏，hover 时显出 6px 细柱 */
.doc-section-full .doc-aside::-webkit-scrollbar { width: 0; background: transparent; }
.doc-section-full .doc-aside:hover::-webkit-scrollbar { width: 6px; }
.doc-section-full .doc-aside::-webkit-scrollbar-track { background: transparent; }
.doc-section-full .doc-aside::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
  transition: background .2s ease;
}
.doc-section-full .doc-aside:hover::-webkit-scrollbar-thumb {
  background: rgba(15,23,42,.18);
}
.doc-section-full .doc-aside::-webkit-scrollbar-thumb:hover {
  background: rgba(15,23,42,.32);
}

/* 内容区：书籍式阅读宽度加大到 960px，紧跟目录左排（内容为主） */
.doc-section-full .doc-main {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  padding: 32px 44px;
  min-height: auto;
  /* 与目录卡片视觉对齐：白底 + 细边 + 双层阴影 */
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px -16px rgba(58,123,247,.15);
}

/* 正文段落：紧凑版式（覆盖 .mb-32 让导语不再和下方隔 128px） */
.doc-section-full .doc-main > p {
  margin: 0 0 14px;
  line-height: 1.75;
  color: #4B5563;
}
/* 最后一个段落紧贴下个章节，不要再补空白 */
.doc-section-full .doc-main > p:last-child { margin-bottom: 0; }

/* 列表：行高 1.7，与正文节奏一致 */
.doc-section-full ul.doc-list { line-height: 1.75; margin: 0 0 16px; }

/* ---- 目录导航优化 ---- */
.doc-section-full .doc-nav-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 4px;
  font-size: 12px;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}
.doc-section-full .doc-nav-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3A7BF7, #22B8CF);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(58,123,247,.45);
}
.doc-section-full .doc-nav-item {
  position: relative;
  display: block;
  padding: 5px 16px 5px 22px;
  margin: 1px 6px;
  border-left: 3px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #4B5563;
  transition: color .2s ease;
}
.doc-section-full .doc-nav-item:hover {
  color: #3A7BF7;
}
.doc-section-full .doc-nav-item.active {
  color: #3A7BF7;
  font-weight: 600;
}

/* 文档内容标题与代码块细节优化 */
.doc-section-full .doc-h2 {
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 18px;
}
.doc-section-full .code-block-v2 {
  box-shadow: var(--shadow-md);
}

/* ============================================================
   移动端文档页：收紧留白，避免手机上"空荡荡"
   ============================================================ */
@media (max-width: 768px) {
  .doc-section-full { padding: 14px 0 32px; }

  .doc-section-full .doc-main {
    padding: 18px 16px;
    border-radius: 13px;
  }
  .doc-section-full .doc-main > p { margin: 0 0 12px; }

  .doc-section-full .doc-h2 {
    margin: 20px 0 10px;
    font-size: 17px;
  }
  .doc-section-full ul.doc-list { margin: 0 0 12px; }

  /* 步骤块更紧凑 */
  .doc-section-full .steps { gap: 14px; }
  .doc-section-full .step { gap: 14px; }
  .doc-section-full .step-info { gap: 10px; }

  /* 代码块 / 目录树 内空收紧，保留横向滚动 */
  .doc-section-full .code-block-v2 { margin: 10px 0 4px; }
  .doc-section-full .code-block-v2 pre { font-size: 12.5px; line-height: 1.55; }
  .doc-section-full .dir-structure { padding: 12px 14px; margin: 8px 0 12px; }
}

/* 超小屏进一步压实 */
@media (max-width: 480px) {
  .doc-section-full .doc-main { padding: 16px 14px; }
  .doc-section-full .doc-h2 { font-size: 16px; margin: 18px 0 8px; }
  .doc-section-full .doc-main > p { font-size: 14px; }
  .doc-section-full .steps { gap: 12px; }
  .doc-section-full .step { gap: 12px; }
}



/* ---- 搜索框按钮统一（渐变 + 微动），与模板/案例页一致 ---- */
.list-search-btn {
  background: linear-gradient(135deg, #3A7BF7, #22B8CF);
  box-shadow: 0 2px 6px rgba(58,123,247,.22);
  transition: all .2s ease;
}
.list-search-btn:hover {
  background: linear-gradient(135deg, #1a4fd8, #00b8c4);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(58,123,247,.28);
}
.list-search-btn:active { transform: scale(.96); }

/* ============================================================
   标题统一约束：最多 2 行，超出显示省略号（…）
   - 覆盖站内所有卡片 / 列表 / 组件标题（h2/h3/h4）
   - 排除：居中大标题（hero / banner / section / cta / about）与文档章节标题
     原因：这些靠 text-align:center 居中，且文档章节截断会丢失正文内容
   ============================================================ */
h2, h3, h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.hero-banner h1, .hero-banner h2,
.page-banner h1, .page-banner h2,
.page-hero h1, .page-hero h2,
.page-banner-doc h1,
.section-header h2,
.cta-title,
.about-h2,
.doc-h1, .doc-h2, .doc-h3, .doc-h4 {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* ============================================================
   文档详情页：上一篇 / 下一篇 卡片（用户反馈"应该有"）
   - 左右两张白卡：标签(上一篇/下一篇)+ 章标题 + 文档名 + 箭头
   - hover 蓝边 + 轻浮
   - 移动端上下堆叠
   ============================================================ */
.doc-nav-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.doc-prev,
.doc-next {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all .2s ease;
  min-height: 72px;
}
.doc-prev:hover,
.doc-next:hover {
  border-color: #BFD9FF;
  box-shadow: 0 8px 22px -12px rgba(58,123,247,.22);
  transform: translateY(-1px);
}
.doc-next { justify-content: flex-end; text-align: right; }
.doc-prev .arrow,
.doc-next .arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(58,123,247,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3A7BF7;
  flex-shrink: 0;
  transition: all .2s ease;
}
.doc-prev:hover .arrow,
.doc-next:hover .arrow {
  background: #3A7BF7;
  color: #fff;
}
.doc-prev .body,
.doc-next .body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.doc-prev .body { align-items: flex-start; }
.doc-next .body { align-items: flex-end; }
.doc-prev .label,
.doc-next .label {
  font-size: 12px;
  color: #94A3B8;
  letter-spacing: .5px;
  font-weight: 500;
}
.doc-prev .chapter,
.doc-next .chapter {
  font-size: 12px;
  color: #3A7BF7;
  font-weight: 500;
}
.doc-prev .title,
.doc-next .title {
  font-size: 14px;
  color: #111827;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 640px) {
  .doc-nav-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .doc-prev, .doc-next { min-height: 0; padding: 12px 14px; }
}

/* ============================================================
   case-detail.html 案例详情页（轮播 + 工期 + 独立模型 + 部署规格）
   ============================================================ */

/* 案例数据概览条（嵌入右栏内容流：lead 段后 → 「开发工期」块前） */
.case-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 32px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 14px;
  box-shadow: 0 8px 24px -18px rgba(15,23,42,.2);
}
.case-ov-item { flex: 1; min-width: 72px; text-align: center; }
.case-ov-num {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.case-ov-num span { font-size: 13px; font-weight: 600; color: #6B7280; margin-left: 2px; }
.case-ov-label { font-size: 12px; color: #6B7280; margin-top: 3px; }
.case-ov-item--tag { flex: 0 0 auto; }
.case-ov-real {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(5,150,105,.10));
  border: 1px solid rgba(16,185,129,.25);
  color: #2ba67e; font-size: 13px; font-weight: 600;
  border-radius: 999px;
}

/* 轮播图集 */
/* ============================================================
   位置导航（面包屑）—— 详情页统一标配
   极简：去掉了原本"返回列表"按钮和巨大 home icon，
   改为纯文字面包屑，首页图标用 13px 内联 SVG
   3 个详情页（case-detail / muban-detail / video-detail）共用。
   ============================================================ */
.crumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.crumb-nav a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #64748B;
  transition: color .2s var(--ease);
}
.crumb-nav a:hover { color: var(--color-primary); }
.crumb-nav .sep { color: #CBD5E1; margin: 0 2px; }
.crumb-nav .cur { color: #0F172A; font-weight: 600; }
.crumb-nav .crumb-home svg { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; }
.crumb-nav .crumb-home:hover svg { stroke: var(--color-primary); }

/* ============================================================
   模板详情页预览轮播（原生，零依赖，替代已移除的 Swiper）
   ============================================================ */
.tpl-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #EEF2F7;
  background: #F1F5F9;
}
.tpl-track {
  display: flex;
  transition: transform .5s var(--ease);
  will-change: transform;
}
.tpl-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.tpl-slide-inner {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.tpl-slide-inner svg { display: block; }
.tpl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.88); border: none;
  color: #111827; font-size: 24px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 12px rgba(15,23,42,.15);
  transition: background .2s var(--ease);
}
.tpl-arrow:hover { background: #fff; }
.tpl-arrow--prev { left: 14px; }
.tpl-arrow--next { right: 14px; }
.tpl-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 8px;
}
.tpl-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.6);
  transition: all .2s var(--ease);
}
.tpl-dot.active { background: #fff; width: 22px; border-radius: 5px; }

.case-gallery { margin-bottom: 40px; }
.case-gallery__head { margin-bottom: 14px; }
.case-gallery__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #94A3B8; }
.case-gallery__main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #EEF2F7;
  aspect-ratio: 16 / 9;
  background: #F1F5F9;
}
.case-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  cursor: zoom-in;
}
.case-gallery__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: none;
  color: #111827;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15,23,42,.18);
  transition: background .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  opacity: 0;                 /* 默认隐藏，hover 主图时淡入 */
}
.case-gallery__main:hover .case-gallery__arrow { opacity: 1; }
.case-gallery__arrow:hover {
  background: #fff;
  box-shadow: 0 8px 22px rgba(59,130,241,.30);
  color: var(--color-primary);
}
.case-gallery__arrow:active { transform: translateY(-50%) scale(.92); }
.case-gallery__arrow svg { width: 20px; height: 20px; display: block; }
.case-gallery__arrow:hover svg { animation: arrowBounceX .55s ease; }
@keyframes arrowBounceX {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}
.case-gallery__arrow--prev:hover svg { animation-name: arrowBounceXRev; }
@keyframes arrowBounceXRev {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-3px); }
}
.case-gallery__arrow--prev { left: 14px; }
.case-gallery__arrow--next { right: 14px; }
.case-gallery__badge {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 14px;
  background: rgba(15,23,42,.7); color: #fff;
  font-size: 13px; font-weight: 500; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.case-gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.case-gallery__thumb {
  width: 96px; height: 60px; border-radius: 8px;
  overflow: hidden; border: 2px solid transparent;
  padding: 0; background: none; cursor: pointer;
  opacity: .7; transition: all .2s var(--ease);
}
.case-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-gallery__thumb:hover { opacity: 1; }
.case-gallery__thumb.active { border-color: #3A7BF7; opacity: 1; }

/* 全屏灯箱 */
.case-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,23,42,.92);
  display: none; align-items: center; justify-content: center;
}
.case-lightbox.open, .case-lightbox.show { display: flex; }
.case-lightbox__stage { max-width: 92vw; max-height: 82vh; }
.case-lightbox__stage img {
  max-width: 92vw; max-height: 82vh;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.case-lightbox__close, .case-lightbox__nav {
  position: absolute; border: none; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff;
  border-radius: 50%; transition: background .2s var(--ease);
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.case-lightbox__close:hover, .case-lightbox__nav:hover {
  background: rgba(255,255,255,.28);
  box-shadow: 0 0 0 1px rgba(255,255,255,.45);
}
.case-lightbox__close { top: 24px; right: 24px; width: 44px; height: 44px; }
.case-lightbox__close svg, .case-lightbox__nav svg { width: 22px; height: 22px; display: block; }
.case-lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.case-lightbox__nav:hover svg { animation: arrowBounceX .55s ease; }
.case-lightbox__nav--prev:hover svg { animation-name: arrowBounceXRev; }
.case-lightbox__nav--prev { left: 24px; }
.case-lightbox__nav--next { right: 24px; }
.case-lightbox__counter { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: 14px; }
.case-lightbox__caption { position: absolute; bottom: 28px; width: 100%; text-align: center; color: rgba(255,255,255,.8); font-size: 14px; }

/* 内容区块（工期 / 模型 / 规格 / 说明） */
.case-block { margin-top: 40px; padding-top: 36px; border-top: 1px solid #EEF2F7; }
.case-block__head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.case-block__head i { color: #3A7BF7; }

/* 工期时间轴 */
.case-timeline {
  position: relative;
  border-left: 2px solid #E2E8F0;
  margin: 8px 0 8px 10px;
  padding-left: 28px;
}
.case-tl-item { position: relative; padding-bottom: 24px; }
.case-tl-item:last-child { padding-bottom: 0; }
.case-tl-dot {
  position: absolute; left: -36px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #3A7BF7; border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(58,123,247,.25);
}
.case-tl-date { font-size: 13px; color: #3A7BF7; font-weight: 600; }
.case-tl-title { font-size: 16px; font-weight: 700; color: #111827; margin: 4px 0 6px; }
.case-tl-desc { font-size: 14px; color: #6B7280; line-height: 1.65; }
.case-period {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 14px 18px;
  background: linear-gradient(135deg, rgba(58,123,247,.06), rgba(0,200,217,.05));
  border: 1px solid rgba(58,123,247,.15); border-radius: 12px;
  font-size: 14px; color: #475569;
}
.case-period i { color: #3A7BF7; flex-shrink: 0; }
.case-period strong { color: #111827; }

/* 独立开发模型 */
.case-models { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case-model {
  padding: 22px;
  background: #fff; border: 1px solid #EEF2F7; border-radius: 14px;
  transition: all .25s var(--ease);
}
.case-model:hover { border-color: #BFD9FF; box-shadow: 0 10px 24px -14px rgba(58,123,247,.3); transform: translateY(-2px); }
.case-model__name { font-size: 17px; font-weight: 700; color: #111827; letter-spacing: -0.2px; }
.case-model__meta { font-size: 12.5px; color: #3A7BF7; font-weight: 500; margin: 6px 0 12px; }
.case-model__desc { font-size: 13.5px; color: #6B7280; line-height: 1.7; margin-bottom: 12px; }
.case-model__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.case-model__list li { font-size: 13px; color: #475569; padding-left: 16px; position: relative; line-height: 1.55; }
.case-model__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: #3A7BF7;
}

/* 部署规格 */
.case-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case-spec {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  background: #F8FAFC; border: 1px solid #EEF2F7; border-radius: 10px;
  font-size: 14px;
}
.case-spec .k { color: #94A3B8; flex-shrink: 0; }
.case-spec .v { color: #334155; font-weight: 500; text-align: right; }
.case-deploy-note { line-height: 1.7; }

/* 案例引导段 */
.case-lead { border-left: 3px solid #3A7BF7; padding-left: 16px; }

/* 移动端 */
@media (max-width: 768px) {
  .detail-layout { grid-template-columns: 1fr; }
  .case-overview { gap: 12px; padding: 18px; }
  .case-ov-num { font-size: 22px; }
  .case-models { grid-template-columns: 1fr; }
  .case-spec-grid { grid-template-columns: 1fr; }
  .case-block { margin-top: 32px; padding-top: 28px; }

  /* ===== case-overview 紧凑 2 列网格 ===== */
  .case-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    padding: 16px;
  }
  .case-ov-item { min-width: 0; flex: none; }
  .case-ov-num { font-size: 18px; letter-spacing: -.2px; }
  .case-ov-num span { font-size: 12px; }
  .case-ov-label { font-size: 11px; }
  .case-ov-item--tag {
    grid-column: 1 / -1;     /* "真实上线项目" chip 单独占整行 */
    text-align: center !important;
    margin-top: 4px;
  }
  .case-ov-real {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 12px; font-size: 12px;
  }

  /* ===== case-gallery 主图缩高 ===== */
  .case-gallery__main { max-height: 240px; }
  .case-gallery__thumbs { gap: 8px; }
  .case-gallery__hint { font-size: 12px; }
  .case-gallery__arrow { width: 38px; height: 38px; }
  .case-gallery__arrow svg { width: 18px; height: 18px; }

  /* ===== case-lead 段落缩进收紧 ===== */
  .case-lead { padding-left: 12px; font-size: 14px; line-height: 1.8; }

  /* ===== case-spec / 部署规格表字号小一些 ===== */
  .case-spec { padding: 12px 14px; }
  .case-spec .k, .case-spec .v { font-size: 13px; }
  .case-deploy-note { font-size: 13px; }

  /* ===== crumb-nav 移动端 ===== */
  .crumb-nav { font-size: 12px; gap: 6px; margin-bottom: 16px; }
  .crumb-nav .crumb-home svg { width: 12px; height: 12px; }
}
@media (max-width: 480px) {
  .case-ov-item { min-width: 40%; }
  .case-gallery__thumb { width: 76px; height: 48px; }
  .case-overview { grid-template-columns: repeat(2, 1fr); padding: 14px; gap: 10px 8px; }
  .case-ov-num { font-size: 16px; }
}

/* hezuo.html 定价卡版本标签（Lite / Pro / Plus） */
.pricing-card-name .text-accent {
  color: #3A7BF7;
}
.pricing-card-tag {
  display: inline-block;
  margin: 6px 0 2px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #3A7BF7;
  background: rgba(58,123,247,.10);
  border: 1px solid rgba(58,123,247,.18);
  border-radius: 999px;
}
.pricing-card.recommended .pricing-card-tag {
  color: #3A7BF7;
  background: rgba(58,123,247,.10);
  border-color: rgba(58,123,247,.18);
}

/* ============================================================
   模板详情页 v2 — 产品图风格主图 + 5 个内容 section
   完全重做：去掉内联 SVG 假图，改为「浏览器 chrome + 真实 mock」
   风格遵循 01.静态网站开发规范.md：柔和圆角 + 轻量化阴影 + 极简 hover
   ============================================================ */

/* 标签 chip 多色版 */
.tag-blue  { color:#2f62c9; background:rgba(59,130,241,.10);  border:1px solid rgba(59,130,241,.20); }
.tag-gray  { color:#475569; background:rgba(100,116,139,.08); border:1px solid rgba(100,116,139,.15); }
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  line-height: 1; white-space: nowrap;
}

/* ============ 搜索/标签结果卡片列表 ============
   a.card 默认 inline，块级子元素会把白底切成碎片浮在内容上（遮挡）；
   .flex/.ml-auto 工具类本页未引入 saduo.css，这里按需补齐 */
.card-list { display: grid; gap: 16px; }
.card-list .card { display: block; }
.card-list .card > .flex { display: flex; align-items: center; }
.card-list .card .ml-auto { margin-left: auto; }

/* ============ 产品图主图区 ============ */
.product-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.product-main {
  position: relative;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 4px 16px -8px rgba(15,23,42,.10);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.product-main:hover {
  box-shadow: 0 12px 36px -8px rgba(15,23,42,.18);
  transform: translateY(-2px);
}
.browser-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #F8FAFC, #F1F5F9);
  border-bottom: 1px solid #E5E7EB;
}
.browser-chrome .dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.browser-chrome .dot-r { background: #FF5F57; }
.browser-chrome .dot-y { background: #FEBC2E; }
.browser-chrome .dot-g { background: #28C840; }
.browser-chrome .browser-url {
  flex: 1; text-align: center;
  font-size: 12px; color: #94A3B8;
  background: #fff;
  border-radius: 6px;
  padding: 5px 12px;
  border: 1px solid #E5E7EB;
  margin: 0 8px;
  max-width: 380px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.product-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F8FAFC;
  overflow: hidden;
}

/* ============ Mock 页面通用 ============ */
.mock-page {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  font-size: 8px;
  background: #fff;
  color: #475569;
}
.mock-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid #EEF2F7;
}
.mock-logo { font-weight: 700; font-size: 11px; color: #0E7490; }
.mock-nav-links { display: flex; gap: 12px; font-size: 8px; color: #94A3B8; }
.mock-nav-links span.active { color: #0E7490; font-weight: 600; }
.mock-cta {
  font-size: 8px; font-weight: 600;
  padding: 4px 10px; border-radius: 4px;
  background: #0E7490; color: #fff;
}

/* Mock 通用"占位"小元素 */
.mock-h1, .mock-p, .mock-line, .l1, .l2, .mini-hero, .mini-card,
.mini-line, .form-row, .form-btn, .art-h, .art-line, .art-meta,
.form-h, .g-item, .member .l1, .member .l2, .art-cover {
  background: linear-gradient(90deg, #E2E8F0 0%, #F1F5F9 50%, #E2E8F0 100%);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: shimmer 2.4s ease-in-out infinite;
}
.mock-h1 { height: 18px; width: 70%; margin: 6px 0; }
.mock-h1.short { width: 50%; }
.mock-h1.mid  { width: 35%; height: 14px; }
.mock-p { height: 6px; width: 85%; margin: 4px 0; }
.mock-p.short { width: 60%; }
.l1, .l2 { height: 5px; width: 60%; margin: 3px 0; border-radius: 2px; }
.l2 { width: 40%; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Home ---------- */
.mock-hero {
  flex: 1;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 16px; padding: 24px 32px;
  background: linear-gradient(135deg, #ECFEFF 0%, #F0FDFA 100%);
}
.mock-hero-text { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mock-buttons { display: flex; gap: 8px; margin-top: 12px; }
.mock-btn { display: inline-block; width: 80px; height: 22px; border-radius: 11px; }
.mock-btn.primary { background: #0E7490; }
.mock-btn.ghost   { background: rgba(14,116,144,.15); }
.mock-hero-img {
  background:
    linear-gradient(135deg, rgba(14,116,144,.15) 0%, rgba(20,184,166,.10) 100%),
    linear-gradient(90deg, #E2E8F0 0%, #F1F5F9 50%, #E2E8F0 100%);
  background-size: auto, 200% 100%;
  border-radius: 8px;
  animation: shimmer 2.4s ease-in-out infinite;
}
.mock-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 12px 24px 18px;
  background: #fff;
}
.mock-card {
  height: 36px; border-radius: 4px;
  background: linear-gradient(135deg, #F0FDFA, #ECFEFF);
  border: 1px solid #E5E7EB;
}

/* ---------- List (科室介绍) ---------- */
.mock-banner { padding: 24px 32px; background: linear-gradient(135deg, #ECFEFF, #F0FDFA); }
.mock-grid6 {
  flex: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 18px 32px;
  background: #fff;
}
.g-item {
  height: 64px; border-radius: 6px;
  background: linear-gradient(135deg, #F0FDFA, #ECFEFF);
  border: 1px solid #E5E7EB;
}

/* ---------- Team (医生团队) ---------- */
.mock-team4 {
  flex: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 20px 32px;
  background: #fff;
}
.member {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 12px 8px;
  text-align: center;
}
.member .avatar {
  width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 8px;
  background: linear-gradient(135deg, #0E7490, #14B8A6);
}
.member .l1 { margin: 4px auto; width: 70%; }
.member .l2 { margin: 4px auto; }

/* ---------- Form (在线预约) ---------- */
.mock-form-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #F0FDFA, #ECFEFF);
}
.form-card {
  width: 60%;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(15,23,42,.06);
}
.form-h { height: 12px; width: 40%; margin-bottom: 14px; }
.form-row { height: 24px; border-radius: 4px; margin-bottom: 10px; width: 100%; }
.form-row.half { display: inline-block; width: 48%; margin-right: 4px; }
.form-btn { height: 30px; border-radius: 4px; margin-top: 8px; background: #0E7490 !important; animation: none; width: 40%; }

/* ---------- Article (文章详情) ---------- */
.mock-article-body { flex: 1; padding: 24px 32px; max-width: 60%; margin: 0 auto; }
.art-cover { width: 100%; height: 80px; border-radius: 6px; margin-bottom: 14px; }
.art-h { height: 14px; width: 80%; margin: 8px 0; }
.art-meta { height: 6px; width: 30%; margin-bottom: 14px; }
.art-line { height: 5px; width: 100%; margin: 6px 0; }
.art-line.short { width: 70%; }

/* ============ 缩略图列表 ============ */
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.product-thumb {
  position: relative;
  background: #fff;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-align: left;
  display: flex; flex-direction: column;
}
.product-thumb:hover {
  border-color: #b3ccfb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(59,130,241,.30);
}
.product-thumb.active {
  border-color: #3A7BF7;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.thumb-inner {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #F8FAFC;
  display: flex; flex-direction: column;
  padding: 6px;
  gap: 3px;
}
.mini-nav { height: 4px; background: #CBD5E1; border-radius: 1px; margin-bottom: 2px; }
.mini-hero { height: 28px; background: linear-gradient(135deg, #ECFEFF, #F0FDFA); border-radius: 2px; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; flex: 1; }
.mini-cards > div { background: #F1F5F9; border-radius: 1px; }
.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; flex: 1; }
.mini-list > div { background: #F1F5F9; border-radius: 1px; }
.mini-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; align-items: center; flex: 1; padding: 4px 0; }
.mini-team .circle { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, #0E7490, #14B8A6); border-radius: 50%; }
.mini-form { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 4px 6px; }
.mini-form .form-row { height: 4px; background: #E2E8F0; border-radius: 1px; }
.mini-form .form-row.short { width: 60%; }
.mini-form .form-btn { height: 6px; background: #0E7490 !important; width: 40%; animation: none; }
.mini-article { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 4px 0; }
.mini-article .art-h { height: 5px; background: #CBD5E1; border-radius: 1px; animation: none; }
.mini-article .art-line { height: 3px; background: #E2E8F0; border-radius: 1px; animation: none; }
.thumb-label {
  display: block;
  padding: 6px 8px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  text-align: center;
  border-top: 1px solid #F1F5F9;
  background: #fff;
}
.product-thumb.active .thumb-label { color: #3A7BF7; font-weight: 600; }

/* ============ Section Block（统一 5 段） ============ */
.section-block {
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid #EEF2F7;
}
.section-head {
  margin-bottom: 24px;
}
.section-no {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #b3ccfb;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* ============ Section 1: 页面清单 ============ */
.page-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.page-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  transition: all .3s var(--ease);
  overflow: hidden;
}
.page-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #6398fa, #06B6D4);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.page-card:hover {
  border-color: #BFDBFE;
  box-shadow: 0 12px 30px -10px rgba(59,130,241,.18);
}
.page-card:hover::before { opacity: 1; }
.page-card__no {
  font-size: 12px;
  font-weight: 700;
  color: #b3ccfb;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom: 4px;
}
.page-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 6px;
}
.page-card__desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 12px;
}
.page-card__meta {
  display: inline-block;
  font-size: 12px;
  color: #3A7BF7;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============ Section 2: 功能列表 ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 22px;
  transition: all .3s var(--ease);
}
.feature-card:hover {
  border-color: #BFDBFE;
  box-shadow: 0 12px 30px -10px rgba(59,130,241,.20);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.icon-blue   { background: #e3ecfd; color: #3A7BF7; }
.icon-green  { background: #d8f7ec; color: #2ba67e; }
.icon-purple { background: #EDE9FE; color: #7C3AED; }
.icon-amber  { background: #FEF3C7; color: #D97706; }
.icon-rose   { background: #FFE4E6; color: #E11D48; }
.icon-cyan   { background: #CFFAFE; color: #0891B2; }
.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
}

/* ============ Section 3: 测试图片 ============ */
.test-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.test-img-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.test-img-card:hover {
  border-color: #BFDBFE;
  box-shadow: 0 12px 30px -10px rgba(59,130,241,.18);
  transform: translateY(-2px);
}
.test-img-cover {
  position: relative;
  aspect-ratio: 16 / 7;
  display: flex; align-items: flex-end;
  padding: 12px;
  overflow: hidden;
}
.cover-1 { background: linear-gradient(135deg, #06B6D4 0%, #0891B2 60%, #0E7490 100%); }
.cover-2 { background: linear-gradient(135deg, #818CF8 0%, #6366F1 100%); }
.cover-3 { background: linear-gradient(135deg, #5fd6ae 0%, #36C393 100%); }
.cover-4 { background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%); }
.test-img-cover::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 50%);
}
.test-img-tag {
  position: relative;
  background: rgba(255,255,255,.92);
  color: #0F172A;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.test-img-info {
  padding: 16px 18px;
}
.test-img-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.test-img-info p {
  font-size: 12px;
  color: #64748B;
}

/* ============ Section 4: 测试数据库 ============ */
.db-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 0;
}
.db-tab {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color .2s var(--ease);
}
.db-tab:hover { color: #2f62c9; }
.db-tab.active { color: #2f62c9; font-weight: 600; }
.db-tab.active::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: -1px;
  height: 2px;
  background: #3A7BF7;
  border-radius: 2px;
}
.db-panel { display: none; }
.db-panel.active { display: block; }
.db-code {
  background: #0F172A;
  color: #E2E8F0;
  border-radius: 0 0 12px 12px;
  padding: 24px 28px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}
.db-code code { display: block; white-space: pre; }
.db-code .c-k { color: #C084FC; }   /* keyword */
.db-code .c-t { color: #38BDF8; }   /* type */
.db-code .c-n { color: #FBBF24; }   /* number */
.db-code .c-s { color: #86EFAC; }   /* string */
.db-code .c-c { color: #64748B; font-style: italic; }  /* comment */

/* ============ Section 5: 支持依赖版本 ============ */
.deps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.dep-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all .3s var(--ease);
}
.dep-item:hover {
  border-color: #BFDBFE;
  box-shadow: 0 8px 22px -10px rgba(59,130,241,.20);
  transform: translateY(-2px);
}
.dep-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.dep-icon-blue   { background: linear-gradient(135deg, #6398fa, #2f62c9); }
.dep-icon-green  { background: linear-gradient(135deg, #36C393, #047857); }
.dep-icon-cyan   { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.dep-icon-amber  { background: linear-gradient(135deg, #F59E0B, #D97706); }
.dep-icon-purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.dep-icon-rose   { background: linear-gradient(135deg, #F43F5E, #BE123C); }
.dep-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 2px;
}
.dep-ver {
  font-size: 12px;
  font-weight: 500;
  color: #3A7BF7;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============ 侧栏：获取此模板 ============ */
.detail-sidebar-wrap {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.sidebar-box {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 16px -8px rgba(15,23,42,.10);
}
.sidebar-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e3ecfd, #CFFAFE);
  color: #3A7BF7;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.sidebar-divider {
  height: 1px;
  background: #EEF2F7;
  margin: 22px 0 16px;
}
.sidebar-meta {
  list-style: none;
  padding: 0; margin: 0;
  text-align: left;
}
.sidebar-meta li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-size: 13px;
}
.sidebar-meta li span { color: #94A3B8; }
.sidebar-meta li b { color: #0F172A; font-weight: 500; }

/* ============ 产品图灯箱 ============ */
.case-lightbox__inner {
  position: relative;
  width: 88vw;
  max-width: 1100px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.case-lightbox__img {
  background: #F8FAFC;
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.case-lightbox__img .mock-page { font-size: 10px; }
.case-lightbox__img .mock-h1 { height: 22px; }
.case-lightbox__img .mock-p   { height: 8px; }
.case-lightbox__img .mock-card { height: 50px; }
.case-lightbox__img .g-item   { height: 80px; }
.case-lightbox__img .member .avatar { width: 50px; height: 50px; }
.case-lightbox__img .art-cover { height: 120px; }
.case-lightbox__img .form-h   { height: 16px; }
.case-lightbox__img .form-row { height: 32px; }
.case-lightbox__img .form-btn { height: 40px; }
.case-lightbox.show { display: flex; }

/* 缩略图与灯箱的元信息不显示在 lightbox */
.case-lightbox__img .thumb-label,
.case-lightbox__img .browser-chrome { display: none; }
.case-lightbox__img .product-main { border: none; box-shadow: none; cursor: default; }

/* 灯箱内的 caption：在白底卡内，用深色文字；counter 在右上 */
.case-lightbox__inner .case-lightbox__caption {
  position: relative; bottom: auto; width: auto;
  text-align: left; color: #0F172A;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #EEF2F7;
  font-size: 14px;
  background: #fff;
}
.case-lightbox__inner .case-lightbox__counter { color: #94A3B8; font-size: 13px; }
.case-lightbox__inner .case-lightbox__close {
  top: 14px; right: 14px;
  background: rgba(15,23,42,.5);
}
.case-lightbox__inner .case-lightbox__nav {
  top: 50%; transform: translateY(-50%);
  background: rgba(15,23,42,.55);
}

/* ============ 响应式：移动端 ============ */
@media (max-width: 1024px) {
  .page-list, .feature-grid, .deps-grid { grid-template-columns: repeat(2, 1fr); }
  .test-images { grid-template-columns: 1fr; }
  .product-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .tpl-carousel { padding: 12px; }
  .product-thumbs { grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
  .product-thumb { aspect-ratio: 16/10; min-height: 56px; }
  .product-thumb .thumb-label { font-size: 10px; padding: 2px 0; }
  .section-block { padding: 20px 0; margin: 32px 0; }
  .section-block__head h3 { font-size: 18px; }
  .page-card, .feature-card, .dep-item { padding: 16px; }
  .page-card__title { font-size: 14px; }
  .page-card__desc { font-size: 12px; }
  .feature-card__title { font-size: 15px; }
  .feature-card__desc { font-size: 12.5px; }
  .test-img-card { padding: 14px; }
  .test-img-tag { font-size: 10.5px; padding: 3px 10px; }
  .dep-item__icon { width: 40px; height: 40px; }
  .dep-item__name { font-size: 14px; }
  .dep-item__version { font-size: 13px; }
  .code-block { font-size: 12px; padding: 14px; line-height: 1.7; }
  .data-tabs .data-tab { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 640px) {
  .page-list, .feature-grid, .deps-grid { grid-template-columns: 1fr; }
  .product-thumbs { grid-template-columns: repeat(2, 1fr); }
  .case-lightbox__inner { width: 96vw; }
  .case-lightbox__nav--prev { left: 8px; }
  .case-lightbox__nav--next { right: 8px; }
}

/* ============================================================
   模板详情页 v2：头部元信息 chip + 底部双按钮 CTA + 弹窗标题
   ============================================================ */

/* ---- 头部标题 / 副文案 ---- */
.tpl-title {
  font-size: 30px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.3px;
}
.tpl-sub {
  font-size: 14.5px;
  color: #64748B;
  line-height: 1.85;
  margin-top: 10px;
  max-width: 760px;
}

/* ---- 元信息 chip ---- */
.tpl-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.tpl-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 5px 11px;
  border-radius: 8px;
  transition: all .2s var(--ease);
}
.tpl-meta-chip:hover {
  border-color: #e3ecfd;
  background: #F0F7FF;
  color: #2f62c9;
}
.tpl-meta-chip svg {
  width: 14px; height: 14px;
  color: #94A3B8;
}
.tpl-meta-chip svg.c-F59E0B { color: #F59E0B; }

/* ---- Section 编号升级为胶囊徽章 ---- */
.section-head { margin-bottom: 26px; }
.section-no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #3A7BF7;
  background: #EFF6FF;
  border: 1px solid #e3ecfd;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.section-head h3 { position: relative; }
.section-head h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -10px;
  width: 42px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #6398fa, #06B6D4);
  opacity: .7;
}
.section-head p { margin-top: 14px; }

/* ---- 底部 CTA：获取模板（两个按钮） ---- */
.template-cta {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #EEF2F7;
}
.template-cta__inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(6,182,212,.08), transparent 45%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 48px 32px 40px;
  box-shadow: 0 8px 30px -12px rgba(15,23,42,.10);
}
.template-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #3A7BF7;
  background: #EFF6FF;
  border: 1px solid #e3ecfd;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.template-cta__title {
  font-size: 26px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}
.template-cta__desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 26px;
}
.template-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.template-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 12px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.template-cta__btn svg { width: 17px; height: 17px; }
.template-cta__btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #6398fa, #2f62c9);
  border: none;
  box-shadow: 0 10px 24px -10px rgba(59,130,241,.55);
}
.template-cta__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(59,130,241,.65);
}
.template-cta__btn--outline {
  color: #3A7BF7;
  background: #fff;
  border: 1.5px solid #b3ccfb;
}
.template-cta__btn--outline:hover {
  background: #EFF6FF;
  border-color: #6398fa;
  transform: translateY(-2px);
}
.template-cta__btn:active { transform: translateY(0) scale(.98); }
/* 单按钮模式：去掉右侧按钮后居中显示、宽度自适应 */
.template-cta__btn--solo {
  width: auto;
  min-width: 220px;
  padding: 14px 36px;
}
.template-cta__tip {
  margin-top: 20px;
  font-size: 12.5px;
  color: #94A3B8;
}

/* ---- 微信弹窗标题 ---- */
.wechat-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin-top: 18px;
  margin-bottom: 4px;
}
.wechat-modal-content p {
  font-size: 13px;
  line-height: 1.7;
  color: #64748B;
  margin-top: 6px;
}

/* ---- 底部 CTA / 弹窗 移动端 ---- */
@media (max-width: 640px) {
  .tpl-title { font-size: 24px; }
  .tpl-sub { font-size: 13.5px; }
  .template-cta__inner { padding: 36px 18px 32px; }
  .template-cta__title { font-size: 21px; }
  .template-cta__btn { width: 100%; justify-content: center; padding: 13px 16px; }
  .template-cta__actions { flex-direction: column; }
  .wechat-modal-content { padding: 26px 20px; }
  .wechat-modal-content img { width: 180px; height: 180px; }
}

/* ---- CDN 工具类本地兜底（断网不崩） ---- */
.flex-wrap { flex-wrap: wrap; }
.c-64748B { color: #64748B; }
.mt-6 { margin-top: 24px; }
.hover-lift {
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.hover-lift:hover { transform: translateY(-6px); }

/* ---- 主图"点击放大"提示角标 ---- */
.product-main::after {
  content: '点击放大';
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.product-main:hover::after { opacity: 1; }
@media (hover: none) {
  .product-main::after { opacity: 1; }
}

/* ============================================================
   doc.html：建设中 badge + 移动端目录开关 + 库切换 toast
   ============================================================ */
.doc-toc-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.doc-toc-toggle svg { width: 15px; height: 15px; }
.doc-toc-toggle:hover {
  color: #3A7BF7;
  border-color: #BFDBFE;
  background: #EFF6FF;
}
@media (max-width: 768px) {
  .doc-toc-toggle { display: inline-flex; }
}
.doc-nav-tip {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(8px);
  z-index: 10001;
  background: rgba(15,23,42,.88);
  color: #fff;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.doc-nav-tip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   右侧浮动工具条（参考截图：白底蓝图标 + 垂直排列）
   包含：电话 / 微信 / 邮件 / 返回顶部
   ============================================================ */
.floating-tools {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.tool-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #6398fa;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 18px -8px rgba(15,23,42,.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .25s var(--ease);
}

.tool-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.tool-btn:hover {
  background: #6398fa;
  color: #fff;
  border-color: #6398fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -8px rgba(59,130,246,.45);
}

.tool-btn:active { transform: translateY(-1px) scale(.96); }

/* 返回顶部默认隐藏，滚动后显示 */
.tool-btn--top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}
.tool-btn--top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 480px) {
  .floating-tools {
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }
  .tool-btn {
    width: 42px;
    height: 42px;
  }
  .tool-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   case-detail 侧栏紧凑变体：去掉顶部图标后，padding 收紧
   ============================================================ */
.sidebar-box--compact {
  padding: 24px 22px;
  text-align: left;
}
.sidebar-box--compact p { text-align: left; }

/* ============================================================
   标准面包屑（参考手册第 11 章：内容详情页使用，最后一级不可点）
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 18px;
}
.breadcrumb a {
  color: #3A7BF7;
  transition: color .2s var(--ease);
}
.breadcrumb a:hover { color: #2f62c9; }
.breadcrumb__sep { color: #CBD5E1; }
.breadcrumb__current { color: #475569; font-weight: 500; }

/* ============================================================
   内容详情页 section：去掉大顶部 padding（详情页不需要 banner 大间距）
   ============================================================ */
.section--detail {
  padding-top: 32px;
}
@media (max-width: 768px) {
  .section--detail { padding-top: 24px; }
}


/* ============================================================
   内容详情页统一标题样式（4 个详情页：muban/case/video/doc-detail）
   与 .tpl-title 等价，让各页用各自语义类名、视觉统一
   ============================================================ */
.case-title,
.video-title,
.doc-title,
.tpl-title {
  font-size: 30px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .case-title,
  .video-title,
  .doc-title,
  .tpl-title { font-size: 24px; }
}

/* ============================================================
   video-detail 元信息：用 chip 风格替代 lucide 横排（解决"挤"问题）
   ============================================================ */
.video-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 28px;
}

/* ============================================================
   定制需求 CTA（白底 + 顶部渐变条 + 单按钮）
   应用：案例详情 / 模板详情 / 视频详情 底部
   ============================================================ */
.custom-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3A7BF7 0%, #22B8CF 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px 60px;
  margin-top: 0;
  border-radius: 0;
}
/* 装饰圆环，呼应首页 CTA 的描边圆装饰 */
.custom-cta::before {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  top: -70px; left: 4%;
  pointer-events: none;
}
.custom-cta::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  bottom: -120px; right: 5%;
  pointer-events: none;
}
.custom-cta__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.custom-cta__title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.custom-cta__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: 0 auto 24px;
}
.custom-cta__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.custom-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s ease,
              background .25s var(--ease), border-color .25s ease;
  text-decoration: none;
  line-height: 1;
}
.custom-cta__btn--primary {
  background: #fff;
  color: var(--color-primary);
  border: none;
  box-shadow: 0 2px 6px rgba(58,123,247,.18);
}
.custom-cta__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(58,123,247,.24);
}
.custom-cta__btn:active { transform: translateY(0) scale(.98); }

@media (max-width: 640px) {
  .custom-cta { padding: 40px 18px 36px; }
  .custom-cta__title { font-size: 22px; }
  .custom-cta__desc { font-size: 13.5px; }
  .custom-cta__btn { width: 100%; justify-content: center; padding: 12px 18px; }
}

/* ============================================================
   主导航下拉菜单（hover 弹出紧凑菜单）—— 参考截图 2 风格
   应用：nav-item--has-dropdown（任何页面"文档"等带二级入口的菜单）
   ============================================================ */
.nav-item--has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-item__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-item__chev {
  transition: transform .2s var(--ease);
  opacity: .65;
}
.nav-item--has-dropdown:hover .nav-item__chev { transform: rotate(180deg); opacity: 1; }

/* hover 间隙桥接：从 tab 到下拉菜单中间 8px 透明（必须响应鼠标，否则一离开 tab 菜单就消失） */
.nav-item--has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  pointer-events: auto;
  z-index: 101;
}

/* 紧凑下拉菜单 */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  padding: 6px;
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(15,23,42,.18),
              0 4px 8px -4px rgba(15,23,42,.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease),
              visibility .18s;
  z-index: 100;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 下拉菜单项 */
.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.nav-dropdown__item svg { color: #94A3B8; flex-shrink: 0; }
.nav-dropdown__item:hover {
  background: #EFF6FF;
  color: #3A7BF7;
}
.nav-dropdown__item:hover svg { color: #3A7BF7; }
.nav-dropdown__item.active {
  background: #EFF6FF;
  color: #3A7BF7;
}
.nav-dropdown__item.active svg { color: #3A7BF7; }
.nav-dropdown__tag {
  margin-left: auto;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 500;
  color: #64748B;
  background: #F1F5F9;
  border-radius: 10px;
  letter-spacing: .5px;
}
.nav-dropdown__item:hover .nav-dropdown__tag {
  background: rgba(58,123,247,.08);
  color: #3A7BF7;
}

/* ============================================================
   移动端（<=768px 与汉堡菜单同断点）：点击"文档"展开手风琴子菜单
   ============================================================ */
@media (max-width: 768px) {
  .nav-item--has-dropdown {
    display: block;
    width: 100%;
    padding: 0;
    background: none;
  }
  .nav-item--has-dropdown:hover,
  .nav-item--has-dropdown.active { background: none; }

  .nav-item__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-600);
    cursor: pointer;
  }
  .nav-item--has-dropdown.open .nav-item__label,
  .nav-item--has-dropdown.open .nav-item__chev { color: var(--color-primary); }
  .nav-item--has-dropdown.open .nav-item__chev { transform: rotate(180deg); }

  /* 点击后展开：手风琴面板 */
  .nav-dropdown {
    position: static;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    margin: 0 10px 10px;
    padding: 4px;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    border-radius: 10px;
    box-shadow: none;
  }
  .nav-item--has-dropdown.open .nav-dropdown { display: block; }

  .nav-dropdown__item { padding: 9px 12px; font-size: 14px; white-space: normal; }
  .nav-dropdown__tag { font-size: 10px; padding: 0 6px; }
}

/* ============================================================
   右侧浮动工具条（参考截图：白底蓝图标 + 垂直排列）
   包含：电话 / 微信 / 邮件 / 返回顶部
   ============================================================ */
.floating-tools {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.tool-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #6398fa;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 18px -8px rgba(15,23,42,.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .25s var(--ease);
}

.tool-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.tool-btn:hover {
  background: #6398fa;
  color: #fff;
  border-color: #6398fa;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -8px rgba(59,130,246,.45);
}

.tool-btn:active { transform: translateY(-1px) scale(.96); }

/* 返回顶部默认隐藏，滚动后显示 */
.tool-btn--top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}
.tool-btn--top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 480px) {
  .floating-tools {
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }
  .tool-btn {
    width: 42px;
    height: 42px;
  }
  .tool-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   hezuo-detail · 定制服务标准报价明细
   复用站点 token：主色 #3A7BF7 / #2f62c9，青 #06B6D4，
   圆角 16-18px，阴影 --shadow-md，动效 --ease
   ============================================================ */

/* ---- Banner 下的关键数字条 ---- */
.quote-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 26px auto 0;
}
.quote-stat {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(0, 123, 255, .14);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.quote-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: #2f62c9;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.quote-stat-label { margin-top: 4px; font-size: 12px; color: #64748B; }
@media (max-width: 768px) { .quote-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- 方案快速跳转 chips ---- */
.quote-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.quote-jump__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E5E7EB;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .25s var(--ease);
}
.quote-jump__btn:hover {
  color: #2f62c9;
  border-color: rgba(0, 123, 255, .45);
  background: rgba(0, 123, 255, .05);
  transform: translateY(-2px);
}
.quote-jump__no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #b3ccfb;
}

/* ---- 方案总览卡片网格 ---- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 30px 24px 22px;
  box-shadow: 0 8px 24px -12px rgba(17, 24, 39, .08);
  transition: all .3s var(--ease);
}
.quote-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 123, 255, .28);
  box-shadow: 0 16px 34px -14px rgba(0, 123, 255, .28);
}
.quote-card--hot {
  border: 1.5px solid #3A7BF7;
  box-shadow: 0 14px 32px -14px rgba(37, 99, 235, .35);
}
.quote-card--hot .quote-card__flag {
  top: -13px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 2;
  background: linear-gradient(135deg, #3A7BF7, #6398fa);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .35);
  white-space: nowrap;
}
.quote-card__flag {
  position: absolute;
  top: 14px; right: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f62c9, #3A7BF7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.quote-card__no {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #b3ccfb;
  letter-spacing: 1px;
}
.quote-card__name {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -.2px;
}
.quote-card__scene {
  margin-top: 8px;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.75;
  min-height: 48px;
}
.quote-card__price {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #E5E7EB;
  font-size: 28px;
  font-weight: 700;
  color: #2f62c9;
  letter-spacing: -.6px;
  font-variant-numeric: tabular-nums;
}
.quote-card__price small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  letter-spacing: 0;
}
.quote-card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.quote-card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2f62c9;
  text-decoration: none;
}
.quote-card__link svg { transition: transform .25s var(--ease); }
.quote-card__link:hover svg { transform: translateX(4px); }
@media (max-width: 1024px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .quote-grid { grid-template-columns: 1fr; } }

/* ---- 方案明细：A/B 双栏并排 ---- */
.quote-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .quote-duo { grid-template-columns: 1fr; } }

/* ---- 方案明细面板 ---- */
.quote-panel {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 28px 26px 24px;
}
.quote-panel__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.quote-panel__no {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2f62c9, #3A7BF7);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.quote-panel__title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -.3px;
  line-height: 1.35;
}
.quote-panel__sub { margin-top: 3px; font-size: 13px; color: #6B7280; }
.quote-panel__scene {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #EEF2F7;
  font-size: 13px;
  line-height: 1.75;
  color: #475569;
}
.quote-panel__scene svg { flex: none; margin-top: 2px; color: #6398fa; }

/* ---- 明细表格：横向滚动 + 金额右对齐 ---- */
.quote-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid #F1F5F9;
}
.quote-table { width: 100%; min-width: 460px; border-collapse: collapse; }
.quote-table th,
.quote-table td {
  padding: 13px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid #F3F4F6;
  white-space: nowrap;
}
.quote-table thead th { background: #F9FAFB; font-weight: 600; color: #374151; font-size: 13px; }
.quote-table td:first-child { color: #475569; white-space: normal; }
.quote-table td:nth-child(2) { color: #94A3B8; font-size: 13px; }
.quote-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #111827;
  font-weight: 600;
}
.quote-table tbody tr:last-child td { border-bottom: none; }
.quote-table tfoot td {
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(58,123,247,.06), rgba(6,182,212,.05));
  border-bottom: none;
  font-weight: 700;
  color: #111827;
}
.quote-table tfoot .num { color: #2f62c9; font-size: 18px; letter-spacing: -.3px; }

/* ---- 工期 / 备注条 ---- */
.quote-sum {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, .07);
  border: 1px solid rgba(16, 185, 129, .18);
  font-size: 13px;
  color: #065F46;
}
.quote-sum strong { font-weight: 700; }
.quote-note {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: #94A3B8;
}
.quote-note svg { flex: none; margin-top: 3px; }

/* ---- 年度托管：主推面板 ---- */
.quote-host {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quote-host__price {
  position: relative;
  padding: 32px 28px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(140deg, #2f62c9 0%, #3A7BF7 55%, #00b8c4 100%);
}
.quote-host__price::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.quote-host__label { position: relative; font-size: 13px; opacity: .85; }
.quote-host__num {
  position: relative;
  margin-top: 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.quote-host__num span { font-size: 16px; font-weight: 500; opacity: .85; }
.quote-host__tip {
  position: relative;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
  line-height: 1.7;
  opacity: .9;
}
.quote-host__body { padding: 28px 28px 24px; }
.quote-host__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.quote-host__list li { display: flex; gap: 8px; font-size: 14px; line-height: 1.7; color: #475569; }
.quote-host__list svg { flex: none; margin-top: 4px; color: #36C393; }
@media (max-width: 900px) {
  .quote-host { grid-template-columns: 1fr; }
  .quote-host__list { grid-template-columns: 1fr; }
}

/* ---- 选型建议 ---- */
.quote-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quote-pick__item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--shadow-md);
  transition: all .3s var(--ease);
}
.quote-pick__item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 123, 255, .28);
  box-shadow: 0 14px 30px -14px rgba(0, 123, 255, .3);
}
.quote-pick__when { font-size: 12px; font-weight: 600; color: #94A3B8; letter-spacing: .4px; }
.quote-pick__do { margin-top: 8px; font-size: 17px; font-weight: 700; color: #2f62c9; }
.quote-pick__desc { margin-top: 8px; font-size: 13px; line-height: 1.75; color: #6B7280; }
@media (max-width: 1024px) { .quote-pick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .quote-pick { grid-template-columns: 1fr; } }

/* ---- 锚点平滑滚动 + 吸顶偏移（内容详情页锚点跳转） ---- */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }

/* =====================================================
   GEO 生成式引擎优化专区（首页 + 功能页）
   ===================================================== */
.geo-section { position: relative; overflow: hidden; color: #0F172A; background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%); }
.geo-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(15,23,42,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%); }
.geo-section::after { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -160px; top: -160px; background: radial-gradient(circle, rgba(56,189,248,.20), transparent 70%); pointer-events: none; }
.geo-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 96px 24px; }
.geo-head { text-align: center; max-width: 780px; margin: 0 auto 54px; }
.geo-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px; background: rgba(58,123,247,.08); border: 1px solid rgba(58,123,247,.2); font-size: 13px; font-weight: 600; letter-spacing: .4px; color: #3A7BF7; }
.geo-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #38BDF8; animation: geoPulse 2s infinite; }
@keyframes geoPulse { 0% { box-shadow: 0 0 0 0 rgba(56,189,248,.55); } 70% { box-shadow: 0 0 0 9px rgba(56,189,248,0); } 100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); } }
.geo-title { margin-top: 18px; font-size: 40px; line-height: 1.18; font-weight: 800; color: #0F172A; letter-spacing: -.5px; }
.geo-title em { font-style: normal; background: linear-gradient(90deg,#38BDF8,#818CF8,#C084FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.geo-desc { margin-top: 16px; font-size: 17px; line-height: 1.75; color: #4B5563; }
.geo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.geo-card { position: relative; padding: 30px 26px; border-radius: 18px; background: #fff; border: 1px solid #E5E7EB; box-shadow: 0 1px 3px rgba(15,23,42,.04); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.geo-card:hover { transform: translateY(-6px); border-color: rgba(58,123,247,.4); box-shadow: 0 12px 28px rgba(58,123,247,.10); }
.geo-card-icon { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(58,123,247,.10), rgba(99,102,241,.10)); border: 1px solid rgba(58,123,247,.18); color: #3A7BF7; margin-bottom: 18px; }
.geo-card-title { font-size: 18px; font-weight: 700; color: #0F172A; margin-bottom: 10px; }
.geo-card-desc { font-size: 14.5px; line-height: 1.75; color: #4B5563; }
.geo-card-tag { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 6px; font-size: 12px; background: rgba(58,123,247,.08); color: #3A7BF7; border: 1px solid rgba(58,123,247,.18); }
.geo-engines { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.geo-engines-label { font-size: 13px; color: #94A3B8; letter-spacing: 1px; margin-right: 6px; }
.geo-engine { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #334155; background: #F1F5F9; border: 1px solid #E2E8F0; transition: all .25s; }
.geo-engine:hover { background: rgba(58,123,247,.10); border-color: rgba(58,123,247,.4); color: #3A7BF7; transform: translateY(-2px); }
.geo-cta { margin-top: 52px; text-align: center; }
@media (max-width: 1200px) { .geo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .geo-grid { grid-template-columns: 1fr; } .geo-inner { padding: 72px 20px; } .geo-title { font-size: 30px; } }

/* SEO × GEO 并行双翼（功能页） */
.geo-wings { margin-top: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.geo-wing { padding: 28px 26px; border-radius: 20px; background: #fff; border: 1px solid #E5E7EB; box-shadow: 0 1px 3px rgba(15,23,42,.04); }
.geo-wing--geo { border-color: rgba(99,102,241,.30); }
.geo-wings-link { display: flex; align-items: center; justify-content: center; padding: 0 18px; }
.geo-wings-link span { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #3A7BF7, #6366F1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; letter-spacing: 2px; box-shadow: 0 10px 24px rgba(37,99,235,.30); }
.geo-wing-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.geo-wing-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.geo-wing--seo .geo-wing-icon { background: rgba(58,123,247,.08); color: #3A7BF7; border: 1px solid rgba(58,123,247,.18); }
.geo-wing--geo .geo-wing-icon { background: rgba(129,140,248,.12); color: #6366F1; border: 1px solid rgba(129,140,248,.28); }
.geo-wing-title { font-size: 18px; font-weight: 800; color: #0F172A; letter-spacing: -.2px; }
.geo-wing-sub { font-size: 12.5px; font-weight: 600; margin-top: 3px; }
.geo-wing--seo .geo-wing-sub { color: #3A7BF7; }
.geo-wing--geo .geo-wing-sub { color: #6366F1; }
.geo-wing-list { list-style: none; margin: 0; }
.geo-wing-list li { position: relative; padding: 7px 0 7px 24px; font-size: 14px; line-height: 1.65; color: #64748B; }
.geo-wing-list li b { color: #0F172A; font-weight: 600; }
.geo-wing-list li::before { content: "✓"; position: absolute; left: 0; top: 7px; font-weight: 700; }
.geo-wing--seo .geo-wing-list li::before { color: #3A7BF7; }
.geo-wing--geo .geo-wing-list li::before { color: #6366F1; }
.geo-wing-tag { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 6px; font-size: 12px; }
.geo-wing--seo .geo-wing-tag { background: rgba(58,123,247,.06); color: #3A7BF7; border: 1px solid rgba(58,123,247,.15); }
.geo-wing--geo .geo-wing-tag { background: rgba(99,102,241,.08); color: #6366F1; border: 1px solid rgba(129,140,248,.28); }
.geo-wings-note { margin: 20px 0 0; text-align: center; font-size: 14px; line-height: 1.7; color: #64748B; }
.geo-wings-note b { color: #0F172A; }
@media (max-width: 900px) { .geo-wings { grid-template-columns: 1fr; gap: 14px; } .geo-wings-link { padding: 4px 0; } }

/* 价格卡片：名称与标签同行，标签靠右 */
.pricing-card-header { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; }
.pricing-card-name { margin-bottom: 0; margin-right: auto; }
.pricing-card-tag { margin: 0; }
.pricing-card-desc { flex-basis: 100%; margin-top: 8px; }

/* 对比表分组行 */
.compare-table td.compare-group {
  background: #F1F5F9;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: .5px;
  padding: 10px 24px;
}
.compare-table td.compare-group:hover { background: #E8EEF5; }

/* ============ 模板详情：页面预览平铺网格 ============ */
.pages-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.preview-card {
  border: 1px solid #E5E7EB; border-radius: 14px; overflow: hidden;
  background: #fff; cursor: zoom-in;
  box-shadow: 0 4px 16px -8px rgba(15,23,42,.10);
  transition: transform .3s ease, box-shadow .3s ease;
}
.preview-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px -10px rgba(15,23,42,.18); }
.preview-card .browser-chrome { border-radius: 0; }
.preview-canvas { position: relative; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(180deg, #F8FAFC, #EEF2F7); overflow: hidden; }
.preview-canvas .mock-page { font-size: 7px; }
.preview-label { padding: 10px 14px; font-size: 13px; font-weight: 600; color: #334155; border-top: 1px solid #F1F5F9; text-align: center; background: #fff; }
@media (max-width: 900px) { .pages-preview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pages-preview { grid-template-columns: 1fr; } }

/* ============ 文档上/下一页（开源文档模式） ============ */
.doc-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid #EEF2F7; }
.doc-pager__item {
  flex: 1; max-width: 48%; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 0;
  border: none; background: none; text-decoration: none;
  transition: color .2s ease;
}
.doc-pager__item--next { align-items: flex-end; text-align: right; }
.doc-pager__dir { font-size: 12px; color: #9CA3AF; }
.doc-pager__title { font-size: 14px; font-weight: 500; color: #4B5563; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.doc-pager__item:hover .doc-pager__dir,
.doc-pager__item:hover .doc-pager__title { color: #3A7BF7; }
@media (max-width: 640px) {
  .doc-pager { flex-direction: column; }
  .doc-pager__item { max-width: 100%; }
}

/* ============ 文档中心（book 书籍模型） ============ */
.book-page-title { font-size: 32px; font-weight: 700; color: #111827; margin: 0 0 12px; line-height: 1.25; }
.book-page-desc { font-size: 15px; line-height: 1.8; color: #6B7280; max-width: 720px; margin: 0 0 32px; }

.book-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.book-filter__item { padding: 6px 14px; font-size: 13.5px; color: #4B5563; background: #F8FAFC; border: 1px solid #EEF2F7; border-radius: 999px; transition: all .2s ease; }
.book-filter__item:hover { color: #3A7BF7; border-color: #BFDBFE; }
.book-filter__item.active { color: #3A7BF7; background: #EFF6FF; border-color: #BFDBFE; font-weight: 600; }

.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.book-card { display: block; padding: 24px; background: #fff; border: 1px solid #EEF2F7; border-radius: 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px -18px rgba(58,123,247,.18); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.book-card:hover { transform: translateY(-2px); border-color: #BFDBFE; box-shadow: 0 2px 6px rgba(15,23,42,.06), 0 16px 36px -18px rgba(58,123,247,.3); }
.book-card__title { font-size: 17px; font-weight: 700; color: #111827; margin: 0 0 8px; }
.book-card__desc { font-size: 14px; line-height: 1.7; color: #6B7280; margin: 0 0 16px; min-height: 48px; }
.book-card__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #9CA3AF; }
.book-empty { padding: 60px 0; text-align: center; font-size: 14px; color: #9CA3AF; }

.book-hero { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; padding: 32px; background: #fff; border: 1px solid #EEF2F7; border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px -18px rgba(58,123,247,.18); margin: 0 0 24px; }
.book-cover { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg,#EEF4FF,#E0EBFF); color: #3A7BF7; display: flex; align-items: center; justify-content: center; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-hero__title { font-size: 26px; font-weight: 700; color: #111827; margin: 0 0 12px; line-height: 1.3; }
.book-hero__desc { font-size: 15px; line-height: 1.8; color: #4B5563; margin: 0 0 16px; }
.book-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: #9CA3AF; }

.book-toc { background: #fff; border: 1px solid #EEF2F7; border-radius: 14px; padding: 24px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.book-toc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid #EEF2F7; }
.book-toc__head h2 { font-size: 17px; font-weight: 700; color: #111827; margin: 0; }
.book-toc__head span { font-size: 13px; color: #9CA3AF; }
.book-toc__group { padding: 14px 0 6px; font-size: 13px; font-weight: 600; color: #374151; }
.book-toc__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 4px; font-size: 14.5px; color: #4B5563; border-radius: 8px; transition: color .2s ease, background .2s ease; }
.book-toc__item:hover { color: #3A7BF7; background: #F8FAFC; }
.book-toc__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.book-toc__words { flex-shrink: 0; font-size: 12.5px; color: #9CA3AF; }

/* 章节页左栏书籍头 + 正文排版 */
.doc-book-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 20px 12px; margin-bottom: 4px; border-bottom: 1px solid #EEF2F7; }
.doc-book-name { font-size: 14px; font-weight: 700; color: #111827; }
.doc-book-count { font-size: 12px; color: #9CA3AF; }
.doc-title { font-size: 26px; font-weight: 700; color: #111827; margin: 0 0 10px; line-height: 1.35; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #9CA3AF; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid #EEF2F7; }
.doc-meta a { color: #6B7280; }
.doc-meta a:hover { color: #3A7BF7; }

.doc-body { font-size: 15px; line-height: 1.85; color: #374151; word-break: break-word; }
.doc-body h2 { font-size: 19px; font-weight: 600; color: #111827; margin: 28px 0 12px; padding-bottom: 6px; border-bottom: 1px solid #E5E7EB; }
.doc-body h3 { font-size: 16px; font-weight: 600; color: #1F2937; margin: 22px 0 10px; }
.doc-body p { margin: 0 0 14px; }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 22px; }
.doc-body ul { list-style: disc; }
.doc-body ol { list-style: decimal; }
.doc-body li { margin: 6px 0; }
.doc-body li::marker { color: #3A7BF7; }
.doc-body a { color: #3A7BF7; text-decoration: underline; text-underline-offset: 2px; }
.doc-body strong { font-weight: 600; color: #111827; }
.doc-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.doc-body p code, .doc-body li code, .doc-body td code { background: #F1F5F9; color: #334155; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.doc-body pre { background: #0F172A; color: #E2E8F0; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 13.5px; line-height: 1.65; margin: 0 0 18px; }
.doc-body pre code { color: inherit; background: none; padding: 0; }
.doc-body blockquote { margin: 0 0 18px; padding: 12px 16px; background: #F8FAFC; border-left: 3px solid #3A7BF7; border-radius: 0 8px 8px 0; color: #475569; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.doc-body th, .doc-body td { border: 1px solid #E5E7EB; padding: 8px 12px; text-align: left; vertical-align: top; }
.doc-body th { background: #F8FAFC; font-weight: 600; color: #111827; }
.doc-body img { max-width: 100%; border-radius: 8px; }

@media (max-width: 768px) {
  .book-hero { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .book-cover { max-width: 120px; }
  .book-page-title { font-size: 24px; }
  .doc-title { font-size: 21px; }
  .book-toc { padding: 18px; }
}
