/* ============================================================
   坐标转换助手 PC 展示站样式(品牌蓝 #1677FF,与小程序导航栏一致)
   设计变量来源:小程序 app.json 导航栏色 #1677FF
   ============================================================ */

:root {
  --brand-blue: #1677FF;            /* 政务主蓝:标题、链接、强调 */
  --brand-blue-bright: #4096FF;     /* 亮蓝点缀 */
  --brand-gold: #FFC53D;            /* 金色辅色 */
  --bg-blue-light: #F0F7FF;       /* 浅蓝底 */

  --text-main: #333333;           /* 主文字 */
  --text-sub: #666666;            /* 次级文字 */
  --text-light: #999999;          /* 辅助文字 */

  --bg-page: #f7f7f7;             /* 页面底色 */
  --bg-card: #ffffff;             /* 卡片底色 */
  --border: #dedede;              /* 分隔线 */

  --nav-grad: linear-gradient(180deg, #2F8CFF 0%, #1677FF 100%);
  --hero-grad: linear-gradient(180deg, #1677FF 0%, #0E5ED6 100%);
  --featured-grad: linear-gradient(135deg, #F0F7FF 0%, #E6F2FF 100%);

  --shadow-card: 0 4px 16px rgba(22, 119, 255, 0.08);
  --shadow-float: 0 8px 24px rgba(22, 119, 255, 0.28);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px; /* 锚点跳转避开固定导航栏 */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", "SimSun", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==================== 顶部导航栏(固定,政务蓝渐变) ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: var(--nav-grad);
  transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(9, 63, 166, 0.35);
}

.navbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > a,
.nav-drop-toggle {
  position: relative;
  padding: 4px 0;
  text-decoration: none;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.nav-links > a::after,
.nav-drop-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links > a:hover,
.nav-drop-toggle:hover {
  color: #ffffff;
}

.nav-links > a:hover::after,
.nav-drop:hover .nav-drop-toggle::after {
  transform: scaleX(1);
}

/* 查询服务下拉菜单 */
.nav-drop {
  position: relative;
}

.nav-drop-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}

.nav-drop-arrow {
  font-size: 11px;
  opacity: 0.8;
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 110;
  min-width: 208px;
  padding: 8px 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(22, 119, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 9px 20px;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-main);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-drop-menu a:hover {
  background: var(--bg-blue-light);
  color: var(--brand-blue);
}

.nav-qr-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffffff;
  border: none;
  border-radius: 4px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-qr-btn .icon {
  width: 16px;
  height: 16px;
}

.nav-qr-btn:hover {
  background: #E8F3FF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* 移动端菜单开关与下拉面板(按钮与面板由 main.js 注入,样式在此) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.22);
  padding: 6px 24px 16px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
  color: var(--text-main);
  font-size: 15px;
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--brand-blue);
}

/* 移动端:隐藏「查询服务」一级入口,直接平铺 9 个服务链接 */
.mobile-nav .nav-drop-toggle {
  display: none;
}

.mobile-nav .nav-drop-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  min-width: 0;
  padding: 0 0 0 14px;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.mobile-nav .nav-drop-menu::before {
  content: "全部工具";
  display: block;
  padding: 14px 0 2px;
  font-size: 13px;
  color: var(--text-light);
}

/* ==================== 首页顶部蓝色横幅 ==================== */
.hero {
  position: relative;
  padding: 150px 0 96px;
  background: var(--hero-grad);
  overflow: hidden;
}

/* 右下角大「码」字水印(与小程序首页同款) */
.hero-watermark {
  position: absolute;
  right: -30px;
  bottom: -64px;
  font-size: 280px;
  line-height: 1;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
}

.hero-title {
  position: relative;
  font-size: 44px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 6px;
}

.hero-slogan {
  position: relative;
  margin-top: 16px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 8px;
}

.hero-sub {
  position: relative;
  margin-top: 20px;
  max-width: 780px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.hero-note {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  position: relative;
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: #ffffff;
  border: none;
  color: var(--brand-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ==================== 内页横幅(小号,含面包屑) ==================== */
.page-hero {
  position: relative;
  padding: 124px 0 60px;
  background: var(--hero-grad);
  overflow: hidden;
}

.page-hero::after {
  content: "标";
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-size: 220px;
  line-height: 1;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}

.breadcrumb {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.crumb-here {
  color: rgba(255, 255, 255, 0.95);
}

.page-title {
  position: relative;
  margin-top: 16px;
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 2px;
}

.page-lead {
  position: relative;
  margin-top: 14px;
  max-width: 760px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .btn {
  position: relative;
  margin-top: 26px;
}

/* ==================== 公告栏(首页,跑马灯) ==================== */
.notice {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  margin-top: -32px;
  padding: 14px 20px;
  background: var(--bg-blue-light);
  border: 1px solid #D6E8FF;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.08);
}

.notice-tag {
  flex-shrink: 0;
  padding: 2px 12px;
  margin-right: 16px;
  background: var(--brand-blue);
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.8;
}

.notice-scroll {
  flex: 1;
  min-width: 0;
}

.notice-text {
  font-size: 14px;
  line-height: 1.6;
  color: #2E5AA8;
}

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

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

/* gov.cn 栏目标题:蓝色标题 + 蓝色左侧竖条 */
.section-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--brand-blue);
  border-left: 4px solid var(--brand-blue);
  padding-left: 12px;
}

.section-count {
  font-size: 13px;
  color: var(--text-light);
}

/* ==================== 数据概览(蓝色渐变数字带) ==================== */
.stats-band {
  display: flex;
  padding: 30px 12px;
  background: var(--nav-grad);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.18);
}

.stat-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 图标(半透明白圆底) */
.stat-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.22);
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

/* ==================== 关于知码查(左文右卡) ==================== */
.about-grid {
  display: flex;
  gap: 36px;
  align-items: stretch;
}

.about-text {
  flex: 1.5;
  min-width: 0;
}

.about-text p {
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-main);
}

.about-text strong {
  color: var(--brand-blue);
}

.about-sub {
  margin: 26px 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-blue);
  border-left: 4px solid var(--brand-blue);
  padding-left: 12px;
}

/* 数据来源清单(两列对齐) */
.source-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px 28px;
}

.source-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--text-sub);
}

.source-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--brand-gold);
  border-radius: 2px;
}

/* 产品名片卡 */
.brand-card {
  flex: 1;
  min-width: 280px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-blue);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(22, 119, 255, 0.1);
  text-align: center;
}

.brand-card-mark {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-grad);
  border-radius: 14px;
  color: #ffffff;
  font-size: 34px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.3);
}

.brand-card-name {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: 4px;
}

.brand-card-slogan {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.brand-card-list {
  width: 100%;
  margin-top: 22px;
}

.brand-card-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--border);
}

.brand-card-list div:last-child {
  border-bottom: none;
}

.brand-card-list dt {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

.brand-card-list dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

.brand-card-btn {
  margin-top: 24px;
  width: 100%;
  padding: 12px 0;
  background: var(--nav-grad);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.3);
}

/* ==================== 热门查询(2×2 横排大卡片) ==================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.featured-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  background: var(--featured-grad);
  border: 1px solid #ADC6FF;
  border-left: 4px solid var(--brand-blue);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover,
.featured-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(22, 119, 255, 0.18);
  outline: none;
}

.featured-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid #ADC6FF;
  border-radius: 50%;
  color: var(--brand-blue);
}

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

.featured-body {
  flex: 1;
  min-width: 0;
}

.featured-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--brand-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-desc {
  margin-top: 6px;
  font-size: 14px;
  color: #4A6DA6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 「全部服务」栏目标题与上方热门查询卡片之间留白 */
.featured-grid + .section-head {
  margin-top: 44px;
}

/* ==================== 全部服务(首页,白底卡片 + 统一浅蓝底边) ==================== */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.service-card {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  padding: 28px 24px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: 3px solid #A8C8FF;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.14);
  border-bottom-color: var(--brand-blue);
  outline: none;
}

/* 悬停显现的「扫码体验」角标 */
.service-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 10px;
  background: var(--brand-blue);
  border-radius: 3px;
  color: #ffffff;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover .service-chip,
.service-card:focus-visible .service-chip {
  opacity: 1;
}

.service-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-blue-light);
  border: 1px solid #D6E8FF;
  border-radius: 8px;
  color: var(--brand-blue);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-title {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-blue);
}

.service-desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-light);
}

.service-excerpt {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-sub);
}

.service-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
}

.service-more:hover {
  text-decoration: underline;
}

/* ==================== 为什么选择知码查(浅蓝通栏) ==================== */
.value-band {
  padding: 52px 0 56px;
  background: var(--featured-grad);
  border-top: 1px solid #ADC6FF;
  border-bottom: 1px solid #ADC6FF;
}

.value-grid {
  display: flex;
  gap: 48px;
}

.value-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #ADC6FF;
  border-radius: 50%;
  color: var(--brand-blue);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.12);
}

.value-icon svg {
  width: 30px;
  height: 30px;
}

.value-item h3 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-blue);
}

.value-item p {
  margin-top: 8px;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.85;
  color: #4A6DA6;
}

/* ==================== 使用指引(三步卡片 + 箭头) ==================== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 22px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}

.step-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: #EAF2FF;
  user-select: none;
}

.step-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-blue-light);
  border: 1px solid #D6E8FF;
  border-radius: 50%;
  color: var(--brand-blue);
}

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

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-blue);
}

.step-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
}

.step-arrow {
  align-self: center;
  color: #ADC6FF;
  font-size: 34px;
  line-height: 1;
  user-select: none;
}

/* ==================== 内页文章正文 ==================== */
/* 主体两栏:左正文 + 右粘性侧栏(小程序码 + 相关服务),统一对齐 1200 版心 */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.article {
  min-width: 0;
  padding-bottom: 8px;
}

.article-aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
}

.aside-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-blue);
}

.aside-card > p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
}

.aside-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* 用双类选择器压过 .aside-card h3 的 margin: 0,保证标题与列表之间有间距 */
.aside-card .aside-title {
  align-self: flex-start;
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-blue);
  border-left: 3px solid var(--brand-blue);
  padding-left: 10px;
}

/* 相关服务列表(左侧竖线小卡 + 右侧箭头,与标题留白分离) */
.aside-related {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.aside-related .related-card {
  position: relative;
  flex: none;
  min-width: 0;
  display: block;
  padding: 14px 32px 14px 16px;
  border: 1px solid var(--border);
  border-left: 3px solid #A8C8FF;
  border-bottom: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.aside-related .related-card:hover {
  transform: none;
  border-left-color: var(--brand-blue);
  background: var(--bg-blue-light);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.12);
}

.aside-related .related-card::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #c3c9d2;
  font-size: 18px;
  line-height: 1;
}

.aside-related .related-card h3 {
  font-size: 15px;
}

.aside-related .related-card p {
  margin-top: 2px;
  font-size: 12.5px;
}

.article-section {
  margin-top: 44px;
}

.article-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-blue);
  border-left: 4px solid var(--brand-blue);
  padding-left: 12px;
  margin-bottom: 16px;
}

.article-section p {
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-main);
}

.article-section strong {
  color: var(--brand-blue);
}

/* 勾选要点列表 */
.point-list {
  list-style: none;
}

.point-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
}

.point-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-blue-light);
  border: 1px solid #D6E8FF;
  border-radius: 50%;
  color: var(--brand-blue);
  font-size: 12px;
}

/* 适用场景列表 */
.scenario-list {
  list-style: none;
}

.scenario-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  border-bottom: 1px dashed var(--border);
}

.scenario-list li:last-child {
  border-bottom: none;
}

.scenario-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--brand-gold);
  border-radius: 2px;
}

/* 使用步骤(竖排序号+连接线) */
.howto-steps {
  counter-reset: step;
  list-style: none;
}

.howto-steps li {
  position: relative;
  padding: 0 0 22px 54px;
  counter-increment: step;
}

.howto-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

.howto-steps li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 4px;
  width: 2px;
  background: #C2D6F0;
}

.howto-steps li:last-child::after {
  display: none;
}

.howto-steps h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-blue);
}

.howto-steps p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-sub);
}

/* 示例数据表 */
.table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.styled-table th {
  padding: 12px 16px;
  background: var(--bg-blue-light);
  border-bottom: 1px solid #D6E8FF;
  color: var(--brand-blue);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.styled-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}

.styled-table tr:last-child td {
  border-bottom: none;
}

.styled-table tr:nth-child(even) td {
  background: #fafbfc;
}

/* ==================== FAQ 折叠问答(Q 徽标) ==================== */
/* 首页双栏;内页单列 */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.faq-grid .faq-item {
  margin-bottom: 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 12px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  margin-left: auto;
  color: var(--brand-blue);
  font-size: 20px;
  font-weight: 400;
}

.faq-item[open] summary {
  color: var(--brand-blue);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 16px 54px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
}

/* 相关服务 */
.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.related-card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 200px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: 3px solid #A8C8FF;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.14);
  border-bottom-color: var(--brand-blue);
}

.related-card h3 {
  font-size: 16px;
  color: var(--brand-blue);
}

.related-card p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-light);
}

/* ==================== 扫码体验区(PC 引流核心位) ==================== */
.qr-wrap {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 48px;
  background: var(--featured-grad);
  border: 1px solid #ADC6FF;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.1);
}

.qr-img {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(22, 119, 255, 0.12);
}

.qr-body {
  flex: 1;
  min-width: 0;
}

.qr-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--brand-blue);
}

.qr-sub {
  margin-top: 12px;
  font-size: 15px;
  color: #4A6DA6;
}

.qr-points {
  margin-top: 20px;
  list-style: none;
}

.qr-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-sub);
}

.qr-points .icon {
  width: 16px;
  height: 16px;
  color: var(--brand-blue);
}

.qr-tip {
  margin-top: 22px;
  padding: 12px 16px;
  background: #ffffff;
  border-left: 4px solid var(--brand-gold);
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  color: var(--text-sub);
}

/* ==================== 页脚(政务深蓝主题,与顶部横幅呼应) ==================== */
.footer {
  margin-top: 72px;
  padding: 48px 0 36px;
  background: var(--hero-grad);
}

.footer-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-about {
  flex: 1 1 320px;
  min-width: 260px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 4px;
}

.footer-about p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

/* 「查询服务」链接较多,双栏排布以平衡页脚左右高度 */
.footer-grid .footer-col:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, auto));
  grid-auto-rows: min-content;
  column-gap: 32px;
  row-gap: 10px;
}

.footer-grid .footer-col:nth-child(2) .footer-col-title {
  grid-column: 1 / -1;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* 备案与版号行 */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}


/* ==================== 悬浮扫码入口 ==================== */
.float-qr {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--nav-grad);
  border: none;
  border-radius: 6px;
  box-shadow: var(--shadow-float);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-2px);
}

/* 悬停显现的小程序码预览卡 */
.float-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(22, 119, 255, 0.24);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.float-popover::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
}

.float-pop-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 4px;
}

.float-pop-text {
  font-size: 13px;
  color: var(--text-sub);
}

.float-qr:hover .float-popover,
.float-qr:focus-within .float-popover {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== 扫码弹窗 ==================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 42, 110, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 40px 36px 32px;
  background: #ffffff;
  border-radius: 8px;
  text-align: center;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.25s ease;
}

.modal.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--text-light);
  font-size: 26px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-page);
  color: var(--text-main);
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-blue);
}

.modal-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.modal-sub {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-sub);
}

.modal-steps {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.modal-arrow {
  color: #c3c9d2;
  font-size: 16px;
}

/* ==================== 滚动显现动画 ==================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .service-card {
    flex: 1 1 calc(50% - 20px);
  }

  .qr-wrap {
    gap: 36px;
    padding: 36px;
  }

  .about-grid {
    flex-direction: column;
  }

  .brand-card {
    min-width: 0;
  }

  .value-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding-top: 48px;
  }

  .hero {
    padding: 128px 0 88px;
  }

  .hero-title {
    font-size: 30px;
    letter-spacing: 3px;
  }

  .hero-slogan {
    font-size: 15px;
    letter-spacing: 4px;
  }

  .hero-watermark {
    font-size: 200px;
  }

  .page-hero {
    padding: 112px 0 48px;
  }

  .page-title {
    font-size: 28px;
  }

  .stats-band {
    flex-wrap: wrap;
    gap: 18px 0;
  }

  .stat-item {
    flex: 1 1 50%;
    min-width: 140px;
    padding: 8px 0;
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    flex-direction: column;
    gap: 32px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* 内页两栏在移动端折叠为单列,侧栏不再粘性 */
  .article-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-aside {
    position: static;
  }

  .qr-wrap {
    flex-direction: column;
    padding: 28px;
  }

  .qr-img {
    width: 220px;
    height: 220px;
  }

  .float-qr {
    right: 16px;
    bottom: 16px;
  }

  /* 移动端无悬停,收起悬浮预览卡 */
  .float-popover {
    display: none;
  }
}

@media (max-width: 520px) {
  .service-card {
    flex: 1 1 100%;
    min-width: 0;
  }

  .nav-qr-btn span {
    display: none;
  }

  .nav-qr-btn {
    padding: 8px 12px;
  }

  .hero-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .related-card {
    flex: 1 1 100%;
    min-width: 0;
  }

  .source-list {
    grid-template-columns: 1fr;
  }
}

/* ==================== 坐标转换助手新增 ==================== */
/* 顶部导航「全部工具」宽下拉(两列分组) */
.nav-drop-menu--wide {
  width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 12px 6px;
}

.nav-drop-menu--wide .nav-group-title {
  padding: 8px 20px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

.nav-drop-menu--wide .nav-group-divider {
  grid-column: 1 / -1;
  margin: 6px 14px 0;
  border-top: 1px dashed var(--border);
}

.nav-drop-menu--wide a.nav-full {
  grid-column: 1 / -1;
}

/* 移动端:宽下拉改为单列,分组标题保留 */
.mobile-nav .nav-drop-menu {
  display: block;
  padding: 0 0 0 14px;
}

.mobile-nav .nav-drop-menu--wide .nav-group-title {
  display: block;
  padding: 14px 0 2px;
  font-size: 13px;
  color: var(--text-light);
}

/* 行业场景区段 */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  padding: 26px 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: 3px solid #A8C8FF;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.14);
  border-bottom-color: var(--brand-blue);
}

.industry-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-blue);
}

.industry-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-sub);
}

.industry-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-links a {
  padding: 4px 12px;
  background: var(--bg-blue-light);
  border: 1px solid #D6E8FF;
  border-radius: 999px;
  font-size: 13px;
  color: #2E5AA8;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.industry-links a:hover {
  background: #ffffff;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* 页脚工具链接列双栏排布(16 项分两列,每列 8 项) */
.footer-col--split {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, auto));
  grid-auto-rows: min-content;
  column-gap: 28px;
  row-gap: 10px;
}

.footer-col--split .footer-col-title {
  grid-column: 1 / -1;
}

/* 扫码弹窗移动端补丁(防小屏撑破) */
@media (max-width: 520px) {
  .modal {
    padding: 16px;
  }

  .modal-card {
    max-width: min(92vw, 380px);
    padding: 32px 16px 24px;
  }

  .modal-img {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* 数据概览区块:上下间距收紧(默认 .section 上边距 72px 过大) */
.stats-section {
  padding-top: 36px;
}

.stats-section + .section {
  padding-top: 36px;
}
