/* ========================================================================
   鼓楼Token工厂 - 全局样式
   主色: 支付宝蓝 #1677FF | 现代政务科技风 | 禁用渐变
   ======================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 主色系 */
  --primary: #1677FF;
  --primary-dark: #0958D9;
  --primary-light: #4096FF;
  --primary-bg: #E6F4FF;
  --primary-bg-hover: #BAE0FF;

  /* 辅色 */
  --accent: #00B4A0;       /* 青色点缀 */
  --accent-bg: #E6FFFB;
  --success: #52C41A;
  --warning: #FAAD14;
  --danger: #FF4D4F;

  /* 中性色 */
  --text-1: #1A1A1A;       /* 主文字 */
  --text-2: #595959;       /* 次要文字 */
  --text-3: #8C8C8C;       /* 辅助文字 */
  --text-4: #BFBFBF;       /* 禁用/占位 */
  --border: #E8E8E8;       /* 边框 */
  --border-dark: #D9D9D9;
  --bg-page: #F5F7FA;      /* 页面背景 */
  --bg-card: #FFFFFF;      /* 卡片背景 */
  --bg-dark: #001529;      /* 深色区块 */

  /* 圆角 */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-blue: 0 4px 16px rgba(22,119,255,0.20);

  /* 间距 */
  --container: 1800px;

  /* 字体 - 全部使用跨平台最通用的常用字体 */
  --font: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB",
          "Heiti SC", "WenQuanYi Micro Hei", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-1);
  background: var(--bg-page);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

ul, ol { list-style: none; }

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

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

.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ---------- 文字工具 ---------- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-3); }
.text-sm { font-size: 13px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 28px; }
.fw-bold { font-weight: 600; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
}

/* ========================================================================
   导航栏
   ======================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  letter-spacing: .5px;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(22,119,255,0.30);
}

.nav-logo .logo-icon svg { width: 26px; height: 26px; }

.nav-logo .logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.nav-logo .logo-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-1);
}

.nav-logo .logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
  margin-top: 1px;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 56px;
  flex: 1;
}

.nav-menu a {
  padding: 9px 18px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all .2s;
  position: relative;
}

.nav-menu a:hover { color: var(--primary); background: var(--primary-bg); }
.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-bg);
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--border-dark);
  color: var(--text-2);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-sm { padding: 5px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ========================================================================
   页脚
   ======================================================================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 24px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }

.footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.65); font-size: 13px; }
.footer ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ========================================================================
   首页 Hero 区
   ======================================================================== */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* 用纯色+网格点阵装饰，不用渐变 */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(22,119,255,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .6;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(22,119,255,0.15);
  border: 1px solid rgba(22,119,255,0.3);
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero h1 .highlight { color: var(--primary-light); }

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat .num {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}
.hero-stat .num .unit { font-size: 18px; color: var(--primary-light); margin-left: 2px; }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ========================================================================
   通用区块
   ======================================================================== */
.section { padding: 72px 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-1);
  margin: 16px 0 12px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto;
}

.section-light { background: #fff; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .3s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.card-icon svg { width: 26px; height: 26px; color: var(--primary); }
.card-icon.accent { background: var(--accent-bg); }
.card-icon.accent svg { color: var(--accent); }
.card-icon.orange { background: #FFF7E6; }
.card-icon.orange svg { color: #D48806; }

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-1);
}

.card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* 网格布局 - 响应式自适应列数 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* 大屏(≥1400px)：宽容器下列数自动增加，避免单卡片过宽 */
@media (min-width: 1400px) {
  .grid-3 { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(5, 1fr); }
}

/* 首页五路径：5列响应式 */
.path-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1200px) { .path-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .path-grid { grid-template-columns: 1fr; } }

/* ========================================================================
   架构图
   ======================================================================== */
.arch-diagram {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
}

.arch-layer {
  text-align: center;
  margin-bottom: 16px;
}

.arch-layer-title {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.arch-box {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
}

.arch-box.primary { background: var(--primary); color: #fff; }
.arch-box.accent { background: var(--accent); color: #fff; }
.arch-box.outline { background: #fff; border: 2px solid var(--primary); color: var(--primary); }

.arch-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.arch-module {
  background: var(--primary-bg);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: all .2s;
}

.arch-module:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.arch-module .icon { font-size: 28px; margin-bottom: 8px; }
.arch-module .name { font-size: 14px; font-weight: 600; }
.arch-module .desc { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.arch-module:hover .desc { color: rgba(255,255,255,0.8); }

.arch-connector {
  width: 2px;
  height: 24px;
  background: var(--border-dark);
  margin: 0 auto;
}

/* ========================================================================
   路线图时间轴
   ======================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.timeline-phase {
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin: 0 auto 20px;
  position: relative;
}

.timeline-phase:nth-child(2) .timeline-dot { border-color: var(--accent); color: var(--accent); }
.timeline-phase:nth-child(3) .timeline-dot { border-color: var(--warning); color: var(--warning); }

.timeline-phase.done .timeline-dot { background: var(--primary); color: #fff; }

.timeline-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  border-top: 3px solid var(--primary);
}

.timeline-phase:nth-child(2) .timeline-card { border-top-color: var(--accent); }
.timeline-phase:nth-child(3) .timeline-card { border-top-color: var(--warning); }

.timeline-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-card .period {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 16px;
}

.timeline-card .tl-section { margin-bottom: 14px; }
.timeline-card .tl-section:last-child { margin-bottom: 0; }

.timeline-card .tl-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.timeline-card ul { padding-left: 0; }
.timeline-card ul li {
  font-size: 13px;
  color: var(--text-2);
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}
.timeline-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  background: var(--primary-light);
  border-radius: 50%;
}

/* ========================================================================
   数字滚动卡片
   ======================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.stat-card .stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.stat-card .stat-num {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
  font-family: "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.2;
}

.stat-card .stat-num .unit {
  font-size: 18px;
  color: var(--text-2);
  margin-left: 2px;
}

.stat-card .stat-label {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 8px;
}

.stat-card .stat-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}

/* ========================================================================
   进度条成效
   ======================================================================== */
.progress-list { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.progress-item { margin-bottom: 24px; }

.progress-item .pi-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.progress-item .pi-title { font-size: 14px; color: var(--text-1); font-weight: 500; }
.progress-item .pi-value { font-size: 18px; font-weight: 700; color: var(--primary); }

.progress-bar {
  height: 10px;
  background: var(--bg-page);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 5px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================================================
   模型卡片 / 通用商品卡片
   ======================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-chip {
  padding: 7px 18px;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .2s;
}

.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.product-card .pc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-card .pc-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.product-card .pc-title { font-size: 16px; font-weight: 600; }
.product-card .pc-provider { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.product-card .pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
}
.tag-blue { background: var(--primary-bg); color: var(--primary); }
.tag-green { background: var(--accent-bg); color: var(--accent); }
.tag-orange { background: #FFF7E6; color: #D48806; }
.tag-gray { background: var(--bg-page); color: var(--text-3); }

.product-card .pc-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.product-card .pc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.product-card .pc-price { font-size: 13px; color: var(--text-3); }
.product-card .pc-price strong {
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
}

/* ========================================================================
   模型详情页 - 价格表
   ======================================================================== */
.detail-head {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.detail-head .dh-icon {
  width: 80px; height: 80px;
  border-radius: var(--radius-lg);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th {
  background: var(--bg-page);
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.price-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--primary-bg); }

.price-table .price-num { font-weight: 700; color: var(--primary); }

/* ========================================================================
   政策卡片
   ======================================================================== */
.policy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .2s;
}

.policy-card:hover { box-shadow: var(--shadow); }

.policy-card .pc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  margin-right: 10px;
  vertical-align: middle;
}

.policy-card h3 {
  display: inline;
  font-size: 16px;
  font-weight: 600;
}

.policy-card .policy-amount {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 12px;
  background: #FFF1F0;
  color: var(--danger);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.policy-card .policy-body {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}

/* 三券体系 */
.voucher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.voucher-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  position: relative;
  transition: all .3s;
}

.voucher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.voucher-card .vc-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.voucher-card:nth-child(1) .vc-icon { background: var(--primary-bg); color: var(--primary); }
.voucher-card:nth-child(2) .vc-icon { background: var(--accent-bg); color: var(--accent); }
.voucher-card:nth-child(3) .vc-icon { background: #FFF7E6; color: #D48806; }

.voucher-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.voucher-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* ========================================================================
   弹窗表单 - 大尺寸、品牌化、层次清晰
   ======================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,21,41,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.show { display: flex; animation: fadeIn .2s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.20);
  animation: slideUp .35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* 弹窗品牌头部 - 蓝色顶栏 */
.modal-hero {
  background: var(--primary);
  padding: 32px 36px 28px;
  border-radius: 16px 16px 0 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}

.modal-hero-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.modal-hero-icon svg { width: 28px; height: 28px; color: #fff; }

.modal-hero-text { position: relative; z-index: 1; flex: 1; }
.modal-hero-text h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.modal-hero-text p { font-size: 13px; color: rgba(255,255,255,0.75); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  border: none;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,0.30); }
.modal-close svg { width: 18px; height: 18px; color: #fff; }

/* 弹窗内容区 */
.modal-body { padding: 32px 36px; }

/* 表单分组标题 */
.form-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ---------- 表单字段 ---------- */
.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 8px;
}

.form-group label .required { color: var(--danger); margin-left: 2px; }
.form-group label .label-hint { font-size: 12px; color: var(--text-3); font-weight: 400; margin-left: 6px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-1);
  transition: all .2s;
  background: #fff;
}

.form-control::placeholder { color: var(--text-4); }

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(22,119,255,0.10);
}

.form-control:hover:not(:focus) { border-color: var(--primary-light); }

textarea.form-control { resize: vertical; min-height: 96px; line-height: 1.6; }

/* 两列布局 */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 单选/多选 - 按钮卡片样式 */
.form-radio-group, .form-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-radio, .form-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: all .2s;
  user-select: none;
}

.form-radio:hover, .form-check:hover {
  border-color: var(--primary-light);
  background: var(--primary-bg);
}

.form-radio input, .form-check input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-radio:has(input:checked), .form-check:has(input:checked) {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 500;
}

/* 提交按钮区 */
.form-submit {
  margin-top: 28px;
}

.form-agreement {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}
.form-agreement a { color: var(--primary); }

/* 成功页面放大 */
.form-success {
  text-align: center;
  padding: 56px 32px;
}

.form-success .success-icon {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #F6FFED;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
}

.form-success h3 { font-size: 24px; margin-bottom: 10px; font-weight: 700; }
.form-success p { font-size: 15px; color: var(--text-2); line-height: 1.8; max-width: 380px; margin: 0 auto; }

/* ========================================================================
   面包屑 / 页头
   ======================================================================== */
.page-banner {
  background: var(--bg-dark);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(22,119,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .5;
}

.page-banner .container { position: relative; }

.page-banner h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-4); }

/* ========================================================================
   响应式
   ======================================================================== */
/* ========================================================================
   响应式 - 从1800px大屏到手机全尺寸自适应
   断点: 1440 / 1200 / 992 / 768 / 480
   ======================================================================== */

/* ---------- 超大屏(≥1441px)：充分利用1800px宽度 ---------- */
@media (min-width: 1441px) {
  .container { padding: 0 48px; }
  body { font-size: 15px; }
  .hero h1 { font-size: 52px; }
  .hero-desc { font-size: 18px; }
  .section-header h2 { font-size: 34px; }
  .hero-stat .num { font-size: 42px; }
  .stat-card .stat-num { font-size: 44px; }
}

/* ---------- 中大屏(1025-1440px)：标准桌面 ---------- */
@media (max-width: 1440px) {
  .container { padding: 0 32px; }
}

/* ---------- 平板横屏(993-1200px)：网格适度收列 ---------- */
@media (max-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
}

/* ---------- 平板竖屏(769-992px)：导航折叠准备、网格2列 ---------- */
@media (max-width: 992px) {
  .nav-menu { margin-left: 16px; gap: 0; }
  .nav-menu a { padding: 8px 10px; font-size: 13px; }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }

  .hero h1 { font-size: 36px; }
  .arch-modules { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 手机(≤768px)：单列堆叠 ---------- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* 导航 */
  .nav-menu { display: none; }
  .nav-logo .logo-sub { display: none; }
  .nav-logo { font-size: 15px; }
  .nav-logo .logo-icon { width: 32px; height: 32px; font-size: 16px; }

  /* Hero */
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 26px; line-height: 1.4; }
  .hero-desc { font-size: 14px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; padding-top: 32px; }
  .hero-stat .num { font-size: 26px; }
  .hero-stat .label { font-size: 12px; }

  /* 区块 */
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 22px; }
  .section-header p { font-size: 14px; }
  .section-tag { font-size: 12px; }

  /* 网格全部单列 */
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr !important; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 24px 16px; }
  .stat-card .stat-num { font-size: 32px; }
  .stat-card .stat-icon { width: 48px; height: 48px; font-size: 22px; }

  /* 架构 */
  .arch-diagram { padding: 24px 16px; }
  .arch-modules { grid-template-columns: 1fr 1fr; gap: 12px; }
  .arch-module { padding: 16px 12px; }
  .arch-box { padding: 12px 20px; font-size: 14px; }

  /* 时间轴 */
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .timeline-dot { width: 52px; height: 52px; font-size: 20px; }
  .timeline-card { padding: 20px; }

  /* 进度条 */
  .progress-list { grid-template-columns: 1fr; gap: 32px; }

  /* 券 */
  .voucher-grid { grid-template-columns: 1fr; gap: 16px; }
  .voucher-card { padding: 24px 20px; }

  /* 详情头 */
  .detail-head { flex-direction: column; text-align: center; padding: 24px; gap: 16px; }
  .detail-head .dh-icon { width: 64px; height: 64px; font-size: 28px; }
  .detail-head h1 { font-size: 20px; }

  /* 政策卡片 */
  .policy-card { padding: 20px; }

  /* 页脚 */
  .footer { padding: 40px 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* 表格 */
  .price-table { font-size: 12px; }
  .price-table th, .price-table td { padding: 10px 12px; }

  /* 页面横幅 */
  .page-banner { padding: 40px 0 32px; }
  .page-banner h1 { font-size: 24px; }

  /* 弹窗 */
  .modal { max-width: calc(100vw - 32px); }
  .modal-body { padding: 20px; }
}

/* ---------- 小手机(≤480px)：进一步紧凑 ---------- */
@media (max-width: 480px) {
  .hero h1 { font-size: 22px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-grid { grid-template-columns: 1fr; }
  .arch-modules { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 20px; }
  .btn-lg { padding: 10px 20px; font-size: 14px; }
}

/* ========================================================================
   SVG 图标系统 - 替代所有emoji，保证全环境一致显示
   用法: <span class="icon-svg" data-icon="building"></span>
   JS渲染时用 getIcon('building')
   ======================================================================== */

/* SVG 图标统一尺寸 */
.icon-svg {
  display: inline-flex;
  vertical-align: middle;
}
.icon-svg svg { display: block; }

/* 各图标容器适配 SVG */
.stat-icon svg { width: 28px; height: 28px; color: var(--primary); }
.stat-icon { font-size: 0; } /* 清除残留 emoji 字号影响 */

.arch-module .icon { margin-bottom: 8px; }
.arch-module .icon svg { width: 32px; height: 32px; color: var(--primary); }
.arch-module:hover .icon svg { color: #fff; }

.voucher-card .vc-icon svg { width: 32px; height: 32px; }
.voucher-card:nth-child(1) .vc-icon svg { color: var(--primary); }
.voucher-card:nth-child(2) .vc-icon svg { color: var(--accent); }
.voucher-card:nth-child(3) .vc-icon svg { color: #D48806; }
.voucher-card .vc-icon { font-size: 0; }

.product-card .pc-icon svg { width: 24px; height: 24px; color: var(--primary); }
.product-card .pc-icon { font-size: 0; font-weight: 400; }

.detail-head .dh-icon svg { width: 40px; height: 40px; color: var(--primary); }
.detail-head .dh-icon { font-size: 0; font-weight: 400; }

/* 成功/关闭图标 */
.form-success .success-icon svg { width: 36px; height: 36px; color: var(--success); }
.form-success .success-icon { font-size: 0; background: #F6FFED; }

.modal-close { font-size: 0; }
.modal-close svg { width: 16px; height: 16px; color: var(--text-2); }
.modal-close:hover svg { color: var(--text-1); }

/* 按钮内图标 */
.btn svg { width: 16px; height: 16px; }

/* 列表项勾选图标 */
.about-list-icon svg { width: 16px; height: 16px; color: var(--primary); }


