/* ========================================
   ChanCMS 官网 - 全局样式
   主色调: 深灰(#374151) + 浅蓝(#3A7BF7)
   字体: Inter(正文) + Roboto(标题)
   ======================================== */

@import url('../font/fonts.css');

/* CSS 变量 */
:root {
  /* 主色调：参考 demo（#3A7BF7 科技蓝 + 青色点缀 + 蓝青渐变） */
  --color-primary: #3A7BF7;
  --color-primary-dark: #2f62c9;
  --color-primary-light: #6398fa;
  --color-cyan: #22B8CF;
  --gradient-tech: linear-gradient(135deg, #3A7BF7 0%, #22B8CF 100%);
  --gradient-blue: linear-gradient(135deg, #3A7BF7 0%, #22B8CF 100%);

  --color-gray-900: #111827;      /* 深灰 - 标题 */
  --color-gray-700: #374151;      /* 深灰 - 正文 */
  --color-gray-600: #4B5563;
  --color-gray-500: #6B7280;
  --color-gray-400: #9CA3AF;
  --color-gray-200: #E5E7EB;      /* 浅灰 - 极淡分隔线 */
  --color-gray-100: #F3F4F6;      /* 浅灰 - 背景 */
  --color-white: #FFFFFF;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', 'Helvetica Neue', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Inter', 'Helvetica Neue', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  /* 柔和蓝色阴影（替代边框，营造层次） */
  --shadow-sm: 0 2px 10px rgba(58,123,247,0.06);
  --shadow-md: 0 6px 20px rgba(58,123,247,0.09);
  --shadow-lg: 0 8px 30px rgba(58,123,247,0.12);   /* demo card-shadow */
  --shadow-xl: 0 16px 40px rgba(58,123,247,0.16);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-gray-900);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

/* ========================================
   Header 导航栏
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: none; box-shadow: 0 1px 2px rgba(17,24,39,0.05);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-gray-900);
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 32px;
  width: auto;
}

.logo-text {
  margin-left: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--color-gray-900);
}

.logo-text span {
  font-weight: 800;
}

.logo span {
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: var(--color-primary);
  background-color: rgba(58,123,247,0.06);
}

/* .nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
} */

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-gray-700);
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* ========================================
   浮动工具条样式已迁移到 v3.css .floating-tools
   ======================================== */

/* 微信二维码弹窗 */
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}

.wechat-modal.show {
  display: flex;
}

.wechat-modal-content {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  position: relative;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.wechat-modal-content .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: none;
  background: var(--color-gray-100);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  font-size: 18px;
  transition: all 0.2s;
}

.wechat-modal-content .close-btn:hover {
  background: var(--color-gray-200);
  color: var(--color-gray-700);
}

.wechat-modal-content img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.wechat-modal-content p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-gray-600);
  font-weight: 500;
}

/* 微信弹窗里的微信号一行（与上方扫码提示拉开距离，字号略小） */
.wechat-modal-content p.wechat-modal-wx {
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-gray-700);
}
.wechat-modal-wx strong {
  font-weight: 600;
  color: #111827;
}

/* 在线留言弹窗：与微信弹窗同一套遮罩/进出场动画，内容改为表单 */
.wechat-modal-content.message-modal-content {
  width: 480px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 28px;
  text-align: left;
}
.message-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}
.message-modal-desc {
  margin: 6px 0 18px;
  font-size: 14px;
  color: var(--color-gray-500);
  line-height: 1.6;
}
.message-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.message-field {
  display: block;
  margin-bottom: 12px;
}
.message-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}
.message-field > span i {
  font-style: normal;
  color: #EF4444;
}
.message-field input,
.message-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-body);
  color: #111827;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.message-field textarea {
  min-height: 84px;
  resize: vertical;
}
.message-field input:focus,
.message-field textarea:focus {
  border-color: #3A7BF7;
  box-shadow: 0 0 0 3px rgba(58, 123, 247, 0.12);
}
.message-field input::placeholder,
.message-field textarea::placeholder {
  color: #9CA3AF;
}
.btn.message-modal-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 20px;
}
@media (max-width: 480px) {
  .message-modal-grid { grid-template-columns: 1fr; gap: 0; }
  .wechat-modal-content.message-modal-content { padding: 22px 18px; }
}

/* ========================================
   Footer 底部
   ======================================== */
.footer {
  background: linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%);
  border-top: 1px solid #EEF2F7;
  color: var(--color-gray-600);
  padding: 56px 24px 36px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--color-primary);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 28px;
  color: var(--color-gray-500);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--color-gray-600);
  font-size: 14px;
  transition: all 0.2s;
  padding: 6px 12px;
  border-radius: 6px;
}

.footer-link:hover {
  color: var(--color-primary);
  background: rgba(58,123,247, 0.08);
}

.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(58,123,247, 0.08);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-wechat:hover {
  background: rgba(58,123,247, 0.15);
  transform: translateY(-1px);
}

.footer-divider {
  height: 1px;
  background: var(--color-gray-200);
  margin: 24px auto;
  max-width: 400px;
}

.footer-copy {
  font-size: 13px;
  color: var(--color-gray-400);
}

/* ========================================
   通用组件
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-gray-900);
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-500);
  font-size: 16px;
  margin-bottom: 48px;
}

/* 卡片基础样式 */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: none; box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: transparent;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-gray-100);
  color: var(--color-gray-600);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.tag:hover,
.tag.active {
  background: var(--color-primary);
  color: white;
}

/* 按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-tech);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(58,123,247,0.22);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(58,123,247,0.38);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-item {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none; box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--color-gray-600);
  cursor: pointer;
  transition: all 0.2s;
}

.page-item:hover,
.page-item.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 0 16px;
  max-width: 480px;
  width: 100%;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 8px;
  font-size: 14px;
  outline: none;
  color: var(--color-gray-700);
  font-family: var(--font-body);
}

.search-box input::placeholder {
  color: var(--color-gray-400);
}

.search-box button {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-gray-500);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.search-box button:hover {
  color: var(--color-primary);
}

/* 页面头部横幅 */
/* ============================================================
   统一「有机光晕网格」背景（与 v3.css 保持一致）
   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%; --r2: 86% 70%;
  --gx: 0px; --gy: 0px;
  position: relative;
  overflow: hidden;
  background-color: #EFF4FF;
  background-image:
    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),
    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),
    linear-gradient(to right, rgba(190,216,254,0.5) 0.5px, transparent 0.5px),
    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; }
.hero-banner { padding: 120px 24px 80px; min-height: auto; }
.page-hero { padding: 110px 24px 48px; }
.page-banner { padding: 110px 24px 44px; text-align: center; }

.page-banner h1 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0F172A;
  position: relative;
  z-index: 1;
}

.page-banner p {
  color: #64748B;
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-banner a {
  color: #2f62c9;
}

/* 面包屑/页脚链接颜色（banner 现为浅色背景，原为白色文字会看不见） */
.page-banner span {
  color: #475569;
}

/* 列表页 banner 背景已统一到上方「有机光晕网格」块（含 bg-vN 变体），此处不再重复定义 */
.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(58,123,247,0.10);
  border: 1px solid rgba(58,123,247,0.20);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #2f62c9;
  margin-bottom: 22px;
}
.page-hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36C393;
}
.page-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.page-hero-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .page-hero { padding: 112px 24px 52px; }
  .page-hero-title { font-size: 30px; }
  .page-hero-desc { font-size: 15px; }
}

/* 卡片缩略图轻快渐变 */
.card-thumb-blue   { background: linear-gradient(135deg, #e3ecfd 0%, #BFDBFE 40%, #b3ccfb 100%); }
.card-thumb-green  { background: linear-gradient(135deg, #d8f7ec 0%, #c2f3e2 50%, #8fe9c8 100%); }
.card-thumb-orange { background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 45%, #FCA5A5 100%); }
.card-thumb-purple { background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 48%, #C4B5FD 100%); }
.card-thumb-cyan   { background: linear-gradient(135deg, #CFFAFE 0%, #A5F3FC 46%, #67E8F9 100%); }
.card-thumb-pink   { background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 44%, #F472B6 100%); }
.card-thumb-red    { background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 42%, #FDA4AF 100%); }
.card-thumb-indigo { background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 47%, #A5B4FC 100%); }
.card-thumb-teal   { background: linear-gradient(135deg, #CCFBF1 0%, #99F6E4 49%, #5EEAD4 100%); }
.card-thumb-slate  { background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 45%, #CBD5E1 100%); }
.card-thumb-yellow { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 46%, #FCD34D 100%); }

/* 缩略图图标颜色适配浅底 */
.card-thumb-blue i,
.card-thumb-green i,
.card-thumb-orange i,
.card-thumb-purple i,
.card-thumb-cyan i,
.card-thumb-pink i,
.card-thumb-red i,
.card-thumb-indigo i,
.card-thumb-teal i,
.card-thumb-slate i,
.card-thumb-yellow i {
  opacity: 0.35 !important;
}

.card-thumb-blue svg { color: #2f62c9; }
.card-thumb-green svg { fill: #2ba67e; }
.card-thumb-orange svg { fill: #EA580C; }
.card-thumb-purple svg { fill: #7C3AED; }
.card-thumb-cyan svg { fill: #0891B2; }
.card-thumb-pink svg { fill: #BE185D; }
.card-thumb-red svg { fill: #DC2626; }
.card-thumb-indigo svg { fill: #4338CA; }
.card-thumb-teal svg { fill: #0D9488; }
.card-thumb-slate svg { fill: #475569; }
.card-thumb-yellow svg { fill: #D97706; }

/* 视频卡片深色渐变（保持稍深但活泼） */
.video-thumb-1 { background: linear-gradient(-30deg, #6398fa 0%, #818CF8 55%, #A78BFA 100%); }
.video-thumb-2 { background: linear-gradient(-25deg, #38BDF8 0%, #5fd6ae 52%, #A78BFA 100%); }
.video-thumb-3 { background: linear-gradient(-35deg, #4ADE80 0%, #22D3EE 48%, #6398fa 100%); }
.video-thumb-4 { background: linear-gradient(-28deg, #FB923C 0%, #F43F5E 50%, #A78BFA 100%); }
.video-thumb-5 { background: linear-gradient(-32deg, #C084FC 0%, #6398fa 54%, #5fd6ae 100%); }
.video-thumb-6 { background: linear-gradient(-26deg, #2DD4BF 0%, #3A7BF7 48%, #818CF8 100%); }

/* 筛选栏（统一到 .subtabs-nav + .subtab-btn——见 v3.css 第 4 节；
   与 feature.html 的功能模块 tab 完全同款：药丸胶囊 + 灰底默认 + 渐变蓝填充 active + 微动） */

/* ========================================
  超大屏适配 (>= 1920px)
  ======================================== */
@media (min-width: 1920px) {
  .header-inner,
  .footer-inner,
  .container {
    max-width: 1760px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .header-inner {
    height: 80px;
  }

  .logo {
    font-size: 28px;
  }

  .nav-item {
    padding: 8px 26px;
    font-size: 16px;
  }

  .section-title {
    font-size: 42px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  /* 首页 Banner 更大 */
  [data-page="home"] .hero-banner {
    min-height: 620px !important;
    padding: 180px 48px 110px !important;
  }

  [data-page="home"] .hero-title {
    font-size: 72px !important;
    letter-spacing: -2.5px !important;
  }

  [data-page="home"] .hero-desc {
    font-size: 20px !important;
    max-width: 760px !important;
  }

  .page-banner h1 {
    font-size: 44px !important;
  }

  .page-banner {
    padding: 170px 48px 64px !important;
  }

  .section {
    padding: 100px 0 !important;
  }

  /* 特色卡片 */
  .feature-grid {
    gap: 32px !important;
  }

  .feature-card {
    padding: 44px !important;
  }

  /* 网格间距 */
  .card-grid {
    gap: 28px !important;
  }

  .template-grid {
    gap: 30px !important;
  }

  .service-grid {
    gap: 32px !important;
  }

  /* 左侧导航 */
  .sub-nav-layout {
    grid-template-columns: 260px 1fr !important;
    gap: 64px !important;
  }

  .doc-layout {
    grid-template-columns: 280px 1fr !important;
  }

  .detail-layout {
    gap: 64px !important;
  }

  /* 视频播放器 */
  .video-player-wrap {
    max-width: 1100px !important;
  }
}

/* ========================================
  大屏适配 (1440px ~ 1919px)
  ======================================== */
@media (max-width: 1919px) and (min-width: 1440px){
  :root {
    --radius-xl: 18px;
  }

  .header-inner,
  .footer-inner,
  .container {
    max-width: 1320px;
  }

  .header-inner {
    height: 74px;
  }

  .logo {
    font-size: 26px;
  }

  .nav-item {
    padding: 8px 22px;
    font-size: 15.5px;
  }

  .section-title {
    font-size: 38px;
  }

  .section-subtitle {
    font-size: 17px;
  }

  .page-banner h1 {
    font-size: 40px;
  }

  /* 首页 Banner 标题放大 */
  [data-page="home"] .hero-title {
    font-size: 64px !important;
    letter-spacing: -2px !important;
  }

  [data-page="home"] .hero-desc {
    font-size: 19px !important;
    max-width: 680px !important;
  }

  /* 首页 Banner 区域放大 */
  [data-page="home"] .hero-banner {
    min-height: 560px !important;
    padding: 160px 32px 96px !important;
  }

  /* 特色卡片间距加大 */
  .feature-grid {
    gap: 28px !important;
  }

  .feature-card {
    padding: 38px !important;
  }

  /* 模板卡片网格 */
  .template-grid {
    gap: 26px !important;
  }

  /* 列表页网格 */
  .card-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }

  /* 关于页左侧导航 */
  .sub-nav-layout {
    grid-template-columns: 240px 1fr !important;
    gap: 56px !important;
  }

  /* 文档侧栏 */
  .doc-layout {
    grid-template-columns: 260px 1fr !important;
  }

  /* 详情页双栏 */
  .detail-layout {
    gap: 56px !important;
  }

  /* 页面 Banner 放大 */
  .page-banner {
    padding: 150px 32px 56px !important;
  }

  .page-banner h1 {
    font-size: 40px !important;
  }

  /* 区块放大 */
  .section {
    padding: 88px 0 !important;
  }

  /* 视频播放器区域 */
  .video-player-wrap {
    max-width: 1000px !important;
  }
}

/* 平板适配 (1024px ~ 1439px) */
@media (max-width: 1439px) and (min-width: 1025px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 小平板/大手机 (768px ~ 1024px) */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .template-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .sub-nav-layout {
    grid-template-columns: 200px 1fr !important;
    gap: 30px !important;
  }

  .doc-layout {
    grid-template-columns: 220px 1fr !important;
  }

  .detail-layout {
    grid-template-columns: 1.8fr 1fr !important;
    gap: 36px !important;
  }

  [data-page="home"] .hero-title {
    font-size: 46px !important;
  }

  /* 页面 Banner 缩小 */
  .page-banner {
    padding: 130px 20px 50px !important;
  }

  .page-banner h1 {
    font-size: 34px !important;
  }
}

/* 移动端 (< 768px) */
@media (max-width: 768px) {
  :root {
    --radius-lg: 10px;
    --radius-md: 6px;
  }

  body {
    font-size: 15px;
  }

  /* 导航 */
  .header-inner {
    height: 60px;
  }

  .logo {
    font-size: 20px;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 12px;
    gap: 2px;
    border-bottom: none; box-shadow: 0 1px 2px rgba(17,24,39,0.05);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 999;
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-item {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
  }

  /* 容器 */
  .container {
    padding: 0 16px;
  }

  /* 区块 */
  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 32px;
  }

  /* 页面 Banner */
  .page-banner {
    padding: 110px 16px 44px;
  }

  .page-banner h1 {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .page-banner p {
    font-size: 14px;
  }

  /* 首页 Banner */
  [data-page="home"] .hero-banner {
    min-height: 380px !important;
    padding: 110px 16px 60px !important;
  }

  [data-page="home"] .hero-title {
    font-size: 36px !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 12px !important;
  }

  [data-page="home"] .hero-desc {
    font-size: 14.5px !important;
    line-height: 1.75 !important;
    max-width: 95% !important;
  }

  /* 特色板块 */
  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .feature-card {
    padding: 24px !important;
  }

  /* 模板网格 */
  .template-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 16px !important;
  }

  /* 卡片列表 */
  .card-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 卡片缩略图 */
  .card-thumb-blue,
  .card-thumb-green,
  .card-thumb-orange,
  .card-thumb-purple,
  .card-thumb-cyan,
  .card-thumb-pink,
  .card-thumb-red,
  .card-thumb-indigo,
  .card-thumb-teal,
  .card-thumb-slate,
  .card-thumb-yellow {
    height: 160px !important;
  }

  /* 按钮 */
  .btn-primary,
  .btn-outline {
    padding: 10px 22px;
    font-size: 14px;
  }

  /* 筛选栏（统一到 .subtabs-nav + .subtab-btn，参考 feature.html） */
  .subtabs-nav {
    gap: 8px;
    margin-bottom: 20px;
  }

  .subtab-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* 搜索框 */
  .search-box {
    max-width: 100%;
  }

  /* 分页 */
  .pagination {
    gap: 6px;
    margin-top: 28px;
  }

  .page-item {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  /* 子页面左侧导航变顶部Tab */
  .sub-nav-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .sub-nav-layout aside {
    position: static !important;
    display: flex;
    overflow-x: auto;
    gap: 0;
    padding: 8px !important;
    -webkit-overflow-scrolling: touch;
  }

  .sub-nav-layout aside a {
    white-space: nowrap;
    border-left: none !important;
    border-bottom: 2px solid transparent;
    padding: 8px 16px !important;
    font-size: 14px;
  }

  .sub-nav-layout aside a.active-style {
    color: #3A7BF7 !important;
    background: rgba(58,123,247,0.08) !important;
    border-bottom-color: #3A7BF7 !important;
    border-radius: 8px !important;
  }

  /* 文档侧栏隐藏，改用下拉 */
  .doc-layout {
    grid-template-columns: 1fr !important;
  }

  /* 详情页双栏堆叠 */
  .detail-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Footer */
  .footer {
    padding: 32px 16px 20px;
    margin-top: 48px;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-desc {
    font-size: 13px;
  }

  .footer-links {
    gap: 16px;
    margin-bottom: 18px;
  }

  .footer-link {
    font-size: 13px;
  }

  /* 微信弹窗 */
  .wechat-modal-content {
    padding: 24px;
    margin: 16px;
    width: calc(100% - 32px);
    max-width: 300px;
  }

  .wechat-modal-content img {
    width: 160px;
    height: 160px;
  }

  /* 视频缩略图 */
  .video-thumb-1,
  .video-thumb-2,
  .video-thumb-3,
  .video-thumb-4,
  .video-thumb-5,
  .video-thumb-6 {
    height: 180px !important;
  }

  /* 定制服务卡片 */
  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 表格响应式 */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* 超小屏 (< 480px) */
@media (max-width: 480px) {
  [data-page="home"] .hero-title {
    font-size: 30px !important;
  }

  [data-page="home"] .hero-desc {
    font-size: 13.5px !important;
  }

  .template-grid {
    grid-template-columns: 1fr !important;
  }

  .section-title {
    font-size: 22px;
  }

  /* 详情页 banner 顶部 padding 紧凑 */
  .page-banner { padding: 80px 16px 28px !important; }
  .page-banner h1 { font-size: 24px !important; }
  .page-banner p { font-size: 13px !important; }

  /* 详情页 crumb-nav 字号 */
  .crumb-nav { font-size: 12px; gap: 5px; margin-bottom: 14px; }

  /* footer 多列在 480px 以下进一步紧凑 */
  .footer { padding: 28px 16px 18px !important; margin-top: 32px !important; }
  .footer-grid { gap: 20px !important; padding-bottom: 28px !important; }
  .footer-brand .footer-logo { font-size: 20px !important; margin-bottom: 10px !important; }
  .footer-desc { font-size: 12.5px !important; line-height: 1.7 !important; margin-bottom: 12px !important; }
  .footer-social a { width: 32px !important; height: 32px !important; }
  .footer-links-col h4 { font-size: 14px !important; margin-bottom: 10px !important; }
  .footer-links-col a { font-size: 13px !important; padding: 4px 0 !important; }
  .footer-bottom-inner { font-size: 12px !important; }
  .footer-bottom { padding: 14px 0 !important; }

  /* case-overview 中部字号 */
  .case-overview { padding: 14px !important; }
  .case-ov-num { font-size: 16px !important; }
}

/* ========================================
  Reveal 滚动显现动画（替代 AOS）
  ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 延迟层级（通过 style="transition-delay" 控制） */
.reveal[] { transition-delay: 0.05s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[] { transition-delay: 0.2s; }
.reveal[] { transition-delay: 0.28s; }
.reveal[] { transition-delay: 0.36s; }

/* 缩放变体 */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* 左侧滑入 */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.55s ease-out,
              transform 0.55s ease-out;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右侧滑入 */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.55s ease-out,
              transform 0.55s ease-out;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
  Saduo 扩展类（项目专用）
  ======================================== */
/* 文字颜色 */
.c-111827, .c-111827 a { color: #111827; }
.c-374151, .c-374151 a { color: #374151; }
.c-4B5563, .c-4B5563 a { color: #4B5563; }
.c-6B7280, .c-6B7280 a { color: #6B7280; }
.c-9CA3AF, .c-9CA3AF a { color: #9CA3AF; }
.c-3B82F6, .c-3B82F6 a { color: #3A7BF7; }
.c-10B981, .c-10B981 a { color: #36C393; }
.c-F59E0B, .c-F59E0B a { color: #F59E0B; }
.c-8B5CF6, .c-8B5CF6 a { color: #8B5CF6; }
.c-EF4444, .c-EF4444 a { color: #EF4444; }
.c-2563EB, .c-2563EB a { color: #2f62c9; }
.c-0891B2, .c-0891B2 a { color: #0891B2; }
.c-059669, .c-059669 a { color: #2ba67e; }
.c-7C3AED, .c-7C3AED a { color: #7C3AED; }
.c-DC2626, .c-DC2626 a { color: #DC2626; }
.c-BE185D, .c-BE185D a { color: #BE185D; }

/* 背景颜色 */
.bg-3B82F6 { background-color: #3A7BF7; }
.bg-10B981 { background-color: #36C393; }
.bg-F59E0B { background-color: #F59E0B; }
.bg-8B5CF6 { background-color: #8B5CF6; }
.bg-EF4444 { background-color: #EF4444; }
.bg-EA580C { background-color: #EA580C; }
.bg-DC2626 { background-color: #DC2626; }
.bg-BE185D { background-color: #BE185D; }
.bg-0891B2 { background-color: #0891B2; }
.bg-059669 { background-color: #2ba67e; }
.bg-7C3AED { background-color: #7C3AED; }
.bg-2563EB { background-color: #2f62c9; }
.bg-475569 { background-color: #475569; }
.bg-4338CA { background-color: #4338CA; }
.bg-0D9488 { background-color: #0D9488; }
.bg-06B6D4 { background-color: #06B6D4; }
.bg-111827 { background-color: #111827; }
.bg-374151 { background-color: #374151; }
.bg-6B7280 { background-color: #6B7280; }
.bg-9CA3AF { background-color: #9CA3AF; }
.bg-F3F4F6 { background-color: #F3F4F6; }
.bg-F9FAFB { background-color: #F9FAFB; }
.bg-FFFFFF { background-color: #FFFFFF; }

/* 背景透明度 */
.bg-opacity-8 { background-color: rgba(58,123,247, 0.08); }
.bg-opacity-10 { background-color: rgba(58,123,247, 0.1); }

/* 特定颜色背景透明度 */
.bg-3B82F6.bg-opacity-8 { background-color: rgba(58,123,247, 0.08); }
.bg-3B82F6.bg-opacity-10 { background-color: rgba(58,123,247, 0.1); }
.bg-10B981.bg-opacity-8 { background-color: rgba(16, 185, 129, 0.08); }
.bg-10B981.bg-opacity-10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-F59E0B.bg-opacity-8 { background-color: rgba(245, 158, 11, 0.08); }
.bg-F59E0B.bg-opacity-10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-8B5CF6.bg-opacity-8 { background-color: rgba(139, 92, 246, 0.08); }
.bg-8B5CF6.bg-opacity-10 { background-color: rgba(139, 92, 246, 0.1); }
.bg-0891B2.bg-opacity-8 { background-color: rgba(8, 145, 178, 0.08); }
.bg-0891B2.bg-opacity-10 { background-color: rgba(8, 145, 178, 0.1); }
.bg-059669.bg-opacity-8 { background-color: rgba(5, 150, 105, 0.08); }
.bg-059669.bg-opacity-10 { background-color: rgba(5, 150, 105, 0.1); }
.bg-7C3AED.bg-opacity-8 { background-color: rgba(124, 58, 237, 0.08); }
.bg-7C3AED.bg-opacity-10 { background-color: rgba(124, 58, 237, 0.1); }

/* indigo 6366F1（企业名录卡片图标色） */
.c-6366F1, .c-6366F1 a { color: #6366F1; }
.bg-6366F1.bg-opacity-8 { background-color: rgba(99, 102, 241, 0.08); }
.bg-6366F1.bg-opacity-10 { background-color: rgba(99, 102, 241, 0.1); }

/* margin-top */
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }

/* font-size */
.f-12 { font-size: 12px; }
.f-14 { font-size: 14px; }
.f-15 { font-size: 15px; }
.f-16 { font-size: 16px; }
.f-17 { font-size: 17px; }
.f-19 { font-size: 19px; }
.f-26 { font-size: 26px; }
.f-28 { font-size: 28px; }

/* 尺寸 */
.w-64 { width: 64px; }
.h-64 { height: 64px; }

/* padding 复合 */
.pd-14-36 { padding: 14px 36px; }
.pd-36 { padding: 36px; }
.pd-40 { padding: 40px; }

/* margin */
.mt-56 { margin-top: 56px; }
.mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }

/* 文字颜色 */
.c-fff { color: #fff; }

/* CTA 区域 */
.cta-box {
  background: linear-gradient(135deg, #111827 0%, #24498f 100%);
}

/* 文档页面样式 */
.doc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

.doc-aside {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 0;
}

.doc-nav-title {
  padding: 10px 20px;
  font-weight: 600;
  color: #374151;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doc-nav-item {
  display: block;
  padding: 8px 24px;
  color: var(--color-gray-600);
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.doc-nav-item:hover,
.doc-nav-item.active {
  background: rgba(58,123,247, 0.08);
  border-color: #3A7BF7;
  color: #3A7BF7;
}

.doc-main {
  background: #fff;
  border-radius: var(--radius-lg);
  border: none; box-shadow: var(--shadow-md);
  padding: 32px 40px;
  min-height: auto;
}

.doc-h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #E5E7EB;
}

.doc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  line-height: 1.75;
  font-size: 15px;
  color: var(--color-gray-700);
}

.code-block {
  background: #1E293B;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 12px 0 4px;
  overflow-x: auto;
}

.code-pre {
  color: #b3ccfb;
  font-size: 13.5px;
  line-height: 1.65;
  font-family: 'Monaco', 'Menlo', monospace;
}

.dir-structure {
  background: #F9FAFB;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.8;
  font-family: monospace;
  color: var(--color-gray-700);
  margin: 8px 0 16px;
}

.doc-tip {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(58,123,247, 0.06);
  border-radius: var(--radius-md);
  border-left: 3px solid #3A7BF7;
  font-size: 14px;
  line-height: 1.7;
}

/* 搜索框 */
.search-box {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}

.search-box input {
  flex: 1;
  padding: 10px 16px;
  border: none; box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  font-size: 14px;
}

.search-box button {
  padding: 10px 16px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* 搜索表单（Banner 内使用）- 优化版 */
.search-form {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 15px;
  outline: none;
  color: #374151;
  min-width: 0;
}

.search-input::placeholder {
  color: #9CA3AF;
}

.search-btn {
  padding: 14px 22px;
  background: #3A7BF7;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: #2f62c9;
}

/* 文档页 Banner 变体（去掉背景色，与通用 banner 一致） */
.page-banner-doc {
  background: transparent;
}

@media (max-width: 768px) {
  .doc-layout {
    grid-template-columns: 1fr;
  }
  
  .doc-aside {
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    right: auto;
    width: 80%;
    max-width: 300px;
    z-index: 99;
    max-height: none;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .doc-aside.show {
    display: block;
  }
}

/* 关于页面样式 */
.about-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

/* 关于页侧边导航：白卡 + 简洁顶部小标题 + 单色蓝激活态
   风格统一优先于"装饰"——刻意去掉了之前的渐变装饰条、发光左条，避免"乱糟糟" */
.about-nav {
  position: sticky;
  top: 84px;
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -16px rgba(58,123,247,.15);
  overflow: hidden;
}

.about-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 2px;
  color: #475569;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
  position: relative;
}
.about-nav-item:last-child { margin-bottom: 0; }

/* lucide 图标（替换后为 svg，兼容 i 标签） */
.about-nav-item > svg,
.about-nav-item > i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #94A3B8;
  transition: color .2s ease;
}

.about-nav-item:hover {
  color: #3A7BF7;
  background: rgba(58,123,247,.06);
}
.about-nav-item:hover > svg,
.about-nav-item:hover > i {
  color: #3A7BF7;
}

/* 激活态：浅蓝胶囊底 + 蓝字（现代做法，不用左侧竖条） */
.about-nav-item.active {
  color: #3A7BF7;
  font-weight: 600;
  background: rgba(58,123,247,.09);
}
.about-nav-item.active > svg,
.about-nav-item.active > i {
  color: #3A7BF7;
}

.about-main {
  min-height: auto;
}

.about-h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -.3px;
}

.about-text {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.85;
  margin-bottom: 32px;
}

.about-chart {
  padding: 20px;
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.advantage-card {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all .2s ease;
}
.advantage-card:hover {
  border-color: #BFD9FF;
  box-shadow: 0 8px 22px -10px rgba(58,123,247,.25);
  transform: translateY(-1px);
}

.advantage-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.advantage-desc {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.65;
}

.about-quote {
  position: relative;
  padding: 22px 26px 20px 66px;
  background: linear-gradient(135deg, rgba(58,123,247,.05), rgba(58,123,247,.02));
  border: 1px solid rgba(58,123,247,.10);
  border-radius: 16px;
  font-style: normal;
  margin-bottom: 32px;
}
/* 大引号装饰（现代引用卡，替代老式左侧竖线） */
.about-quote::before {
  content: '\201C';
  position: absolute;
  left: 22px;
  top: 8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 46px;
  line-height: 1;
  color: rgba(58,123,247,.30);
}

.about-cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #3A7BF7;
  font-style: normal;
}

@media (max-width: 768px) {
  /* 移动端布局上下叠，不再分左右两栏 */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* 移动端取消 sticky，避免侧栏浮盖 main 内容（截图反馈"重叠"） */
  .about-nav {
    position: static;
    top: auto;
  }
}

/* 作者页面样式 */
.author-info {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px -20px rgba(58,123,247,.18);
}

/* 头像：克制方块，不再用大块蓝色渐变色块（避免与整体白底风格割裂） */
.author-avatar {
  width: 88px;
  height: 88px;
  background: linear-gradient(180deg, #F8FAFF 0%, #EFF4FF 100%);
  border: 1px solid #DBE5FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #3A7BF7;
  font-weight: 700;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Roboto', system-ui, sans-serif;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.flex-1 { flex: 1; }
.min-w-280 { min-width: 280px; }
.mt-18 { margin-top: 18px; }
.mb-4 { margin-bottom: 4px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }

.philosophy-box {
  padding: 20px 22px;
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
/* 哲学盒内 h3 mb 收紧 */
.philosophy-box .mb-16 { margin-bottom: 12px; }

/* author-info 内 mb 收紧（"ChanCMS 作者"标题 mb-4 仍是 4px；副标题/段间距都收紧） */
.author-info .mb-4 { margin-bottom: 6px; }
.author-info .mb-14 { margin-bottom: 10px; }
.author-info .mb-16 { margin-bottom: 12px; }

.philosophy-item {
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  border-left: 3px solid #3A7BF7;
}

.philosophy-item:nth-child(2) {
  border-left-color: #36C393;
}

.philosophy-item:nth-child(3) {
  border-left-color: #8B5CF6;
}

.message-form {
  padding: 20px 22px;
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}
/* 表单内各项间距收紧（用户截图红框标注"留白过多"） */
.message-form .mb-16 { margin-bottom: 12px; }
.message-form .mb-20 { margin-bottom: 14px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: none; box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  font-family: var(--font-body);
}

.form-input:focus {
  border-color: #3A7BF7;
}

.success-message {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #2ba67e;
  font-size: 14px;
  text-align: center;
}

.message-item {
  padding: 14px 18px;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  font-size: 14px;
}

.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.flex-col { flex-direction: column; }

@media (max-width: 768px) {
  .author-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* 案例列表页面 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.case-card {
  padding: 0;
  overflow: hidden;
  display: block;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(58,123,247, 0.10);
  border-color: rgba(58,123,247, 0.25);
}

.case-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #EEF2F7;
}
.case-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-card:hover .case-thumb img { transform: scale(1.06); }

.card-thumb-red { background: #FEE2E2; }
.card-thumb-pink { background: #FCE7F3; }
.card-thumb-teal { background: #CCFBF1; }

.pd-20 { padding: 20px; }
.ml-6 { margin-left: 6px; }

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* 详情页样式 */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.case-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none; box-shadow: var(--shadow-md);
  cursor: pointer;
}

.case-preview-inner {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #3A7BF7 0%, #2f62c9 50%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.case-info {
  margin-top: 36px;
  padding: 28px;
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
}

.tech-specs {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 14px;
  color: var(--color-gray-600);
}

.detail-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-box {
  background: var(--color-gray-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
}

.c-93C5FD { color: #b3ccfb; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-8 { margin-bottom: 8px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; }
.f-13 { font-size: 13px; }
.f-18 { font-size: 18px; }
.justify-center { justify-content: center; }

@media (max-width: 768px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  
  .detail-sidebar {
    position: static;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* 文档详情页扩展 */
.doc-section-title {
  font-size: 22px;
  font-weight: 600;
  margin: 32px 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-number {
  width: 28px;
  height: 28px;
  background: #3A7BF7;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.c-92400E { color: #92400E; }
.c-374151 { color: #374151; }

.doc-warning {
  margin-top: 32px;
  padding: 24px;
  background: #FEF3C7;
  border-radius: var(--radius-md);
  border-left: 4px solid #F59E0B;
}

.doc-nav-footer {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
}

.gap-4 { gap: 4px; }

/* 视频列表 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.video-card {
  padding: 0;
  overflow: hidden;
  display: block;
}

.video-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb-1 { background: linear-gradient(135deg, #3A7BF7, #2f62c9); }
.video-thumb-2 { background: linear-gradient(135deg, #36C393, #2ba67e); }
.video-thumb-3 { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.video-thumb-4 { background: linear-gradient(135deg, #F59E0B, #D97706); }
.video-thumb-5 { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.video-thumb-6 { background: linear-gradient(135deg, #EC4899, #BE185D); }

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
}

.opacity-85 { opacity: 0.85; }
.mt-10 { margin-top: 10px; }
.inline-block { display: inline-block; }
.f-13 { font-size: 13px; }

.justify-center { justify-content: center; }

/* 视频详情页 */
.video-player-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.video-player {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.video-player iframe {
  border: none;
}

.video-player video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.video-intro {
  margin-top: 28px;
  padding: 24px;
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
}

.video-list {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
  line-height: 2;
  font-size: 15px;
  color: var(--color-gray-600);
}

.video-nav-footer {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.c-374151 { color: #374151; }
.pt-36 { padding-top: 36px; }
.gap-16 { gap: 16px; }

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .video-nav-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 服务网格 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* margin/padding 特殊值（saduo.css 没有的单位） */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-18 { margin-bottom: 18px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.mb-32 { margin-bottom: 32px; }
.mb-36 { margin-bottom: 36px; }
.mb-44 { margin-bottom: 44px; }
.mb-56 { margin-bottom: 56px; }

.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }

.ml-8 { margin-left: 8px; }
.ml-12 { margin-left: 12px; }
.mr-8 { margin-right: 8px; }
.mr-12 { margin-right: 12px; }

.pd-18 { padding: 18px; }
.pd-20 { padding: 20px; }
.pd-24 { padding: 24px; }
.pd-28 { padding: 28px; }
.pd-32 { padding: 32px; }
.pd-36 { padding: 36px; }
.pd-40 { padding: 40px; }

/* font-size 特殊值 */
.f-15 { font-size: 15px; }
.f-17 { font-size: 17px; }
.f-19 { font-size: 19px; }
.f-22 { font-size: 22px; }
.f-24 { font-size: 24px; }
.f-26 { font-size: 26px; }
.f-28 { font-size: 28px; }
.f-30 { font-size: 30px; }
.f-36 { font-size: 36px; }
.f-42 { font-size: 42px; }

/* line-height */
.lh-18 { line-height: 1.8; }
.lh-19 { line-height: 1.9; }
.lh-20 { line-height: 2; }
.lh-22 { line-height: 2.2; }

/* letter-spacing */
.ls--1 { letter-spacing: -1px; }
.ls--2 { letter-spacing: -2px; }

/* flex gap */
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-18 { gap: 18px; }
.gap-20 { gap: 20px; }
.gap-22 { gap: 22px; }
.gap-24 { gap: 24px; }
.gap-28 { gap: 28px; }
.gap-32 { gap: 32px; }
.gap-36 { gap: 36px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }
.gap-56 { gap: 56px; }

/* border-radius */
.radius-10 { border-radius: 10px; }
.radius-12 { border-radius: 12px; }
.radius-16 { border-radius: 16px; }
.radius-18 { border-radius: 18px; }

/* 特殊复合类 */
.card-shadow {
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.card-shadow:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.card-shadow-blue:hover {
  box-shadow: 0 12px 28px rgba(58,123,247, 0.12);
}
.card-shadow-green:hover {
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
}
.card-shadow-orange:hover {
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.12);
}
.card-shadow-purple:hover {
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.12);
}

/* 组件类 */
.hero-banner {
  position: relative;
  overflow: hidden;
  background-color: #EFF6FF;
  background-image:
    /* 装饰环 1：左上 (12%,22%) r≈48 */
    radial-gradient(circle at 12% 22%, transparent 47.4px, rgba(147,197,253,0.35) 47.8px, rgba(147,197,253,0.35) 48.6px, transparent 49px),
    /* 装饰环 2：右下 (88%,72%) r≈72 */
    radial-gradient(circle at 88% 72%, transparent 71.4px, rgba(96,165,250,0.25) 71.8px, rgba(96,165,250,0.25) 72.6px, transparent 73px),
    /* 圆点阵列 24x24 */
    radial-gradient(circle, rgba(147,197,253,0.35) 1.2px, transparent 1.3px),
    /* 网格竖线 72px */
    linear-gradient(to right, rgba(191,219,254,0.6) 0.5px, transparent 0.5px),
    /* 网格横线 72px */
    linear-gradient(to bottom, rgba(191,219,254,0.6) 0.5px, transparent 0.5px),
    /* 基础渐变（左上→右下，与原 SVG heroGrad 一致） */
    linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 45%, #e3ecfd 100%);
  background-size:
    100% 100%,
    100% 100%,
    24px 24px,
    72px 72px,
    72px 72px,
    100% 100%;
  background-repeat: no-repeat, no-repeat, repeat, repeat, repeat, no-repeat;
  padding: 140px 24px 80px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 12px 28px rgba(58,123,247,0.12);
  transform: translateY(-3px);
}

.feature-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  line-height: 1.85;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.template-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.template-card:hover {
  box-shadow: 0 14px 30px rgba(58,123,247, 0.10);
  border-color: rgba(58,123,247, 0.25);
  transform: translateY(-4px);
}

.template-thumb {
  height: 180px;
  overflow: hidden;
  background: #EEF2F7;
}
.template-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.template-card:hover .template-thumb img { transform: scale(1.06); }

.template-body {
  padding: 18px;
}

/* 模板卡片：升级信息密度（描述 + 特性 + 元信息） */
.template-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.template-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.template-features .feat {
  font-size: 11px;
  color: #475569;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
  padding: 3px 9px;
  border-radius: 5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border: 1px solid rgba(148,163,184,.18);
}
.template-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed #E5E7EB;
  font-size: 12px;
  color: #6B7280;
}
.template-meta-left { display: inline-flex; align-items: center; gap: 5px; }
.template-meta-left i { stroke-width: 2.2; color: #3A7BF7; }
.template-meta-right {
  color: #3A7BF7;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap .2s;
}
.template-card:hover .template-meta-right { gap: 7px; }

/* 移动端：模板卡片信息紧凑（避免拉得过高） */
@media (max-width: 640px) {
  .template-desc { font-size: 12.5px; min-height: 38px; margin-bottom: 10px; }
  .template-features { gap: 4px; margin-bottom: 10px; }
  .template-features .feat { font-size: 10.5px; padding: 2px 7px; }
  .template-meta { padding-top: 10px; font-size: 11.5px; }
}

.template-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.bg-gradient-blue { background: linear-gradient(135deg, #3A7BF7 0%, #2f62c9 50%, #111827 100%); }
.bg-gradient-cyan { background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%); }
.bg-gradient-green { background: linear-gradient(135deg, #36C393 0%, #2ba67e 100%); }
.bg-gradient-purple { background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%); }

.card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-thumb-blue { background: #e3ecfd; }
.card-thumb-cyan { background: #CFFAFE; }
.card-thumb-green { background: #d8f7ec; }
.card-thumb-purple { background: #EDE9FE; }

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 56px 0;
}

.bg-white { background-color: #fff; }
.bg-gray-100 { background-color: #F3F4F6; }
.bg-gray-50 { background-color: #F9FAFB; }

/* z-index */
.z-1 { z-index: 1; }

/* position */
.pos-r { position: relative; }
.pos-a { position: absolute; }

/* 其他工具类 */
.overflow-h { overflow: hidden; }
.block { display: block; }
.inline-b { display: inline-block; }

/* 响应式调整 */
@media (max-width: 768px) {
  .hero-banner {
    padding: 110px 16px 60px;
    min-height: 380px;
  }
  
  .hero-title {
    font-size: 36px;
    letter-spacing: -0.5px;
  }
  
  .hero-desc {
    font-size: 14.5px;
    max-width: 95%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .template-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 48px 16px;
  }

  /* 搜索框移动端 */
  .search-form {
    max-width: 100%;
    margin: 0 16px;
  }

  .search-input,
  .search-btn {
    padding: 12px 16px;
  }

  .page-banner-doc h1 {
    font-size: 22px !important;
  }
}

/* 标签 */
.tag-blue { background: #e3ecfd; color: #2f62c9; }
.tag-cyan { background: #CFFAFE; color: #0891B2; }
.tag-green { background: #d8f7ec; color: #2ba67e; }
.tag-purple { background: #EDE9FE; color: #7C3AED; }
.tag-orange { background: #FED7AA; color: #D97706; }
.tag-red { background: #FEE2E2; color: #DC2626; }
.tag-gray { background: #F3F4F6; color: #4B5563; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* 缩略图背景色 */
.card-thumb-slate { background: #E2E8F0; }
.card-thumb-pink { background: #FCE7F3; }
.card-thumb-teal { background: #CCFBF1; }

/* 文本下划线 */
.underline { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================
   ChanCMS 新版首页 - 蓝色系区块样式（按 design.md 应用）
   ===================================================== */

/* 颜色工具类扩展 */
.bg-60A5FA { background-color: #6398fa; }
.bg-1E3A8A { background-color: #24498f; }
.bg-60A5FA.bg-opacity-8 { background-color: rgba(96, 165, 250, 0.08); }
.bg-2563EB.bg-opacity-8 { background-color: rgba(58,123,247, 0.08); }
.c-1E3A8A, .c-1E3A8A a { color: #24498f; }
.c-60A5FA, .c-60A5FA a { color: #6398fa; }
.tag-dark { background: #24498f; color: #fff; }

/* 渐变文字 */
.text-gradient-blue {
  background: linear-gradient(135deg, #2f62c9 0%, #3A7BF7 50%, #6398fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Hero 内容 & 按钮组 */
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 数据统计区 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  border: none; box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(58,123,247, 0.3);
}
.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.stat-num {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  font-family: var(--font-heading);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 14px;
  color: var(--color-gray-500);
  font-weight: 500;
}

/* 技术架构区 */
.arch-layers {
  max-width: 880px;
  margin: 0 auto;
}
.arch-layer {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  transition: all 0.3s ease;
}
.arch-layer:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(58,123,247, 0.3);
  transform: translateY(-2px);
}
.arch-layer-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--color-primary);
  color: #fff;
  margin-bottom: 16px;
}
.arch-layer-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.arch-layer-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(58,123,247, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.arch-layer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.arch-layer-desc {
  font-size: 14px;
  margin-bottom: 14px;
}
.arch-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.arch-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--color-gray-600);
}
.arch-list li svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.arch-connector {
  width: 2px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(58,123,247, 0.5), rgba(96, 165, 250, 0.2));
}

/* 后台管理预览 */
.admin-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.admin-mockup {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(90deg, #24498f, #2f62c9);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.mockup-tab {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 12px;
  border-radius: 6px;
}
.mockup-tab.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.mockup-body {
  display: flex;
}
.mockup-menu {
  width: 130px;
  flex-shrink: 0;
  background: #F8FAFF;
  border-right: 1px solid var(--color-gray-200);
  padding: 14px 10px;
}
.mockup-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--color-gray-500);
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
}
.mockup-menu-item.active {
  background: rgba(58,123,247, 0.1);
  color: var(--color-primary);
  font-weight: 600;
}
.mockup-content {
  flex: 1;
  padding: 16px;
}
.mockup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.mockup-card {
  background: #F8FAFF;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 10px;
  padding: 14px;
}
.mockup-card-label {
  display: block;
  font-size: 12px;
  color: var(--color-gray-400);
  margin-bottom: 4px;
}
.mockup-card-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
}
.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding: 12px;
  background: #F8FAFF;
  border-radius: 10px;
  border: none; box-shadow: var(--shadow-md);
}
.mockup-chart .bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #6398fa, #2f62c9);
}
.admin-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.admin-highlight:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: rgba(58,123,247, 0.3);
}
.admin-highlight-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-highlight-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.admin-highlight-desc {
  font-size: 14px;
  line-height: 1.6;
}

/* CTA 行动召唤区 */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3A7BF7 0%, #22B8CF 100%);
  padding: 80px 24px;
  text-align: center;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 70% at 12% 15%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(45% 70% at 88% 85%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.cta-deco {
  position: absolute;
  width: 320px;
  height: 320px;
  opacity: 0.6;
  pointer-events: none;
}
.cta-deco-1 { top: -80px; right: -60px; }
.cta-deco-2 { bottom: -100px; left: -40px; }
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.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;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: #2f62c9;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-white:hover {
  background: #F3F4F6;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* 新版区块响应式 */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-preview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .arch-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .hero-actions {
    margin-top: 24px;
  }
  .stat-num {
    font-size: 36px;
  }
  .stat-item {
    padding: 24px 12px;
  }
  .arch-layer {
    padding: 22px;
  }
  .arch-layer-body {
    flex-direction: column;
    gap: 12px;
  }
  .cta-section {
    padding: 56px 20px;
  }
  .cta-title {
    font-size: 24px;
  }
  .cta-desc {
    font-size: 14px;
  }
  .stats-grid {
    gap: 14px;
  }
  .mockup-menu {
    width: 100px;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mockup-body {
    flex-direction: column;
  }
  .mockup-menu {
    width: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }
  .mockup-menu-item {
    white-space: nowrap;
    margin-bottom: 0;
  }
}

/* =====================================================
   ChanCMS 设计刷新 v2（基于参考截图，浅色蓝色系）
   ===================================================== */

/* —— 01. 全局组件升级 —— */
.card,
.feature-card,
.template-card,
.case-card,
.service-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(58,123,247,0.03);
  transition: all 0.3s ease;
}
.card:hover,
.feature-card:hover,
.template-card:hover,
.case-card:hover,
.service-card:hover {
  box-shadow: 0 12px 28px rgba(58,123,247,0.08), 0 4px 8px rgba(0,0,0,0.04);
  transform: translateY(-4px);
  border-color: rgba(58,123,247,0.2);
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #111827;
}
.section-subtitle {
  font-size: 16px;
  color: #6B7280;
  margin-bottom: 48px;
}

/* —— 02. Hero 升级 —— */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(58,123,247,0.1);
  border: 1px solid rgba(58,123,247,0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #2f62c9;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36C393;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}
.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 统计条 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #2f62c9;
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px;
  color: #6B7280;
  margin-top: 6px;
}

/* —— 03. 统计卡片行 —— */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  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: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(58,123,247,0.08);
}
.stat-card-num {
  font-size: 34px;
  font-weight: 800;
  color: #2f62c9;
  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;
}

/* —— 04. 核心特性卡片 —— */
.feature-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-v2 {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}
.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;
}
.feature-v2-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
}

/* —— 05. Tabs / 标签页 —— */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.tab-btn {
  padding: 10px 22px;
  background: #F3F4F6;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab-btn:hover {
  background: #E5E7EB;
}
.tab-btn.active {
  background: #3A7BF7;
  color: #fff;
  box-shadow: 0 4px 12px rgba(58,123,247,0.25);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— 06. 功能模块卡片 —— */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.module-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s ease;
}
.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: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58,123,247,0.08);
}
.module-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.module-card-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
}

/* —— 07. 技术架构 —— */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.arch-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}
.arch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(58,123,247,0.08);
  border-color: rgba(58,123,247,0.2);
}
.arch-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}
.arch-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58,123,247,0.08);
}
.arch-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}
.arch-card-list {
  list-style: none;
}
.arch-card-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.arch-card-list li:last-child {
  border-bottom: none;
}
.arch-card-list li span:first-child {
  color: #374151;
  font-weight: 500;
}
.arch-card-list li span:last-child {
  color: #9CA3AF;
  font-size: 13px;
}

/* —— 08. 适用场景 —— */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scenario-card {
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}
.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: 48px;
  height: 48px;
  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: 18px;
  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;
}

/* —— 09. 案例展示 —— */
.case-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.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;
}
.case-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.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;
}

/* —— 10. 价格方案 —— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 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: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: #3A7BF7;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
}
.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{,.pricing-btn-primary,.pricing-btn-secondary} 以 v3.css 末尾为准（含 outline 蓝边 + 16px 圆角），此处不再重复定义 */

/* —— 11. 版本对比表 —— */
.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;
}

/* —— 12. 快速开始 —— */
.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: #111827;
  border-radius: 12px;
  overflow: hidden;
}
.code-block-v2-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #1F2937;
  border-bottom: 1px solid #374151;
}
.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: #9CA3AF;
}
.code-block-v2-copy {
  background: transparent;
  border: none;
  color: #9CA3AF;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.code-block-v2 pre {
  padding: 16px 20px;
  margin: 0;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
  color: #E2E8F0;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}
.code-block-v2 code {
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
}

/* —— 13. 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;
}

/* —— 14. Footer v2 多栏 —— */
.footer {
  background: #F8FAFF;
  border-top: 1px solid #E5E7EB;
  padding: 48px 0 0;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 140px;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.footer-brand .footer-logo span {
  color: #3A7BF7;
}
.footer-desc {
  font-size: 13.5px;
  color: #6B7280;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a,
.footer-social button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: none; box-shadow: var(--shadow-md);
  color: #6B7280;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.footer-social a:hover,
.footer-social button:hover {
  background: #3A7BF7;
  color: #fff;
  border-color: #3A7BF7;
}
.footer-links-wrap {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-links-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
}
.footer-links-col a {
  display: block;
  font-size: 14px;
  color: #6B7280;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-links-col a:hover {
  color: #3A7BF7;
}
.footer-qr {
  text-align: center;
}
.footer-qr img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  border: none; box-shadow: var(--shadow-md);
  margin-bottom: 6px;
  background: #fff;
}
.footer-qr span {
  font-size: 12px;
  color: #6B7280;
}
.footer-bottom {
  border-top: 1px solid #E5E7EB;
  padding: 16px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #9CA3AF;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-bottom-inner a {
  color: #9CA3AF;
}
.footer-bottom-inner a:hover {
  color: #3A7BF7;
}

/* 平板：品牌占满，links 3 列，二维码下移 */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 32px;
  }
  .footer-brand { text-align: center; }
  .footer-desc { max-width: 480px; margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-links-wrap {
    grid-column: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
  }
  .footer-qr { display: none; }
}

/* 手机：links 区域 2 列，更紧凑 */
@media (max-width: 560px) {
  .footer { padding: 32px 0 0; margin-top: 48px; }
  .footer-grid { gap: 22px; padding-bottom: 24px; }
  .footer-brand .footer-logo { font-size: 20px; }
  .footer-desc { font-size: 12.5px; margin-bottom: 12px; }
  .footer-links-wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    text-align: left;
  }
  .footer-links-col h4 {
    font-size: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 8px;
  }
  .footer-links-col a {
    font-size: 13px;
    padding: 4px 0;
  }
  .footer-bottom { padding: 12px 0; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* —— 15. v2 响应式 —— */
@media (max-width: 1200px) {
  .feature-grid-v2,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  .stats-row,
  .arch-grid,
  .scenario-grid,
  .case-grid-v2,
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-qr {
    display: none;
  }
  .step {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .feature-grid-v2,
  .stats-row,
  .arch-grid,
  .scenario-grid,
  .case-grid-v2,
  .modules-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 14px; margin-bottom: 32px; }
  .hero-tags { gap: 8px; }
  .hero-tag { padding: 6px 12px; font-size: 12px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .tabs-nav {
    gap: 8px;
  }
  .tab-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .stat-card-num { font-size: 28px; }
  .pricing-price { font-size: 28px; }
}

/* v2 补充颜色工具类 */
.c-06B6D4, .c-06B6D4 a { color: #06B6D4; }
.bg-06B6D4 { background-color: #06B6D4; }
.bg-06B6D4.bg-opacity-8 { background-color: rgba(6, 182, 212, 0.08); }
.bg-EF4444.bg-opacity-8 { background-color: rgba(239, 68, 68, 0.08); }

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

/* 统一 section 头部（caption / 标题 / 副标题全部水平居中） */
.section-header {
  margin-bottom: 48px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(58,123,247,0.08);
  border: 1px solid rgba(58,123,247,0.15);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #2f62c9;
  margin-bottom: 16px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: #6B7280;
}

/* Hero 居中布局（浅色版） */
.hero-banner {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 45%, #EFF6FF 100%);
  padding: 150px 24px 100px;
  min-height: auto;
}
.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(58,123,247,0.1);
  border: 1px solid rgba(58,123,247,0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #2f62c9;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36C393;
}
.hero-title {
  font-size: 52px;
  line-height: 1.12;
  margin-bottom: 20px;
  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: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.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 4px 12px rgba(58,123,247,0.25);
}
.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;
}
.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;
}
