/* ============================================================
   一元科技官网 - 全局样式
   ============================================================ */

:root {
  --primary: #0A5EB5;
  --primary-dark: #084A94;
  --primary-darker: #063A73;
  --primary-light: #E8F2FC;
  --primary-lighter: #F4F9FE;
  --accent: #00A8CC;
  --accent-light: #E0F7FB;
  --dark: #0A2540;
  --dark-2: #123A5C;
  --text: #1F2937;
  --text-2: #4B5563;
  --text-3: #6B7280;
  --text-4: #9CA3AF;
  --border: #E5E7EB;
  --border-2: #D1D5DB;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-soft-2: #F1F5F9;
  --success: #16A34A;
  --warning: #EA580C;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, .06);
  --shadow: 0 4px 16px rgba(10, 37, 64, .08);
  --shadow-md: 0 8px 32px rgba(10, 37, 64, .10);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, .14);
  --maxw: 1200px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Source Han Sans SC", "Noto Sans CJK SC", -apple-system,
               BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .18s; }
a:hover { color: var(--primary-dark); }
ul, ol { padding-left: 1.4em; }

/* ============ 布局 ============ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }

.section { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.section-soft { background: var(--bg-soft); }
.section-soft-2 { background: var(--bg-soft-2); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, .78); }
.section-gradient {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-darker) 55%, var(--primary) 100%);
  color: #fff;
}
.section-gradient h1, .section-gradient h2, .section-gradient h3 { color: #fff; }
.section-gradient p { color: rgba(255, 255, 255, .82); }

/* ============ 标题 ============ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-dark .eyebrow, .section-gradient .eyebrow { color: #7DD3FC; }
h1 { font-size: 40px; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; color: var(--dark); }
h2 { font-size: 30px; font-weight: 700; line-height: 1.35; color: var(--dark); margin-bottom: 16px; }
h3 { font-size: 20px; font-weight: 650; line-height: 1.45; color: var(--dark); margin-bottom: 10px; }
h4 { font-size: 17px; font-weight: 650; color: var(--dark); margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--text-2); line-height: 1.8; }
.section-head .lead { margin-top: 12px; }
.text-sm { font-size: 14px; }
.text-muted { color: var(--text-3); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; transition: all .18s;
  font-family: inherit; line-height: 1.4; text-align: center; white-space: nowrap;
}
.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; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-lighter); }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: var(--primary-light); color: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.20); border-color: #fff; color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }
.btn + .btn { margin-left: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn + .btn { margin-left: 0; }

/* ============ 导航 ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow .2s, background .2s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  display: block; object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-cn { font-size: 17px; font-weight: 700; color: var(--dark); letter-spacing: .01em; }
.logo-en { font-size: 10px; color: var(--text-4); letter-spacing: .14em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 8px 15px; font-size: 15px; font-weight: 500; color: var(--text-2);
  border-radius: var(--radius-sm); transition: all .16s;
}
.nav-menu > li > a:hover { color: var(--primary); background: var(--primary-lighter); }
.nav-menu > li > a.active { color: var(--primary); font-weight: 600; }
.nav-menu > li > a.active::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: -2px;
  height: 2px; background: var(--primary); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--border);
  background: #fff; border-radius: var(--radius-sm); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text-2); border-radius: 2px; transition: all .2s; }

/* 下拉 */
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 200px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden;
  transition: all .18s; list-style: none; margin: 0;
}
.nav-menu > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: block; padding: 9px 14px; font-size: 14px; color: var(--text-2); border-radius: var(--radius-sm);
  white-space: nowrap; transition: all .14s;
}
.dropdown-menu a:hover { background: var(--primary-lighter); color: var(--primary); }

/* ============ Hero ============ */
.hero {
  padding: calc(var(--nav-h) + 88px) 0 88px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 1000px 500px at 78% 8%, rgba(0,168,204,.20), transparent 62%),
    radial-gradient(ellipse 800px 420px at 12% 82%, rgba(10,94,181,.24), transparent 60%),
    linear-gradient(150deg, #071B30 0%, #0A2540 42%, #0E4E8C 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .28;
  background-image:
    linear-gradient(rgba(125,211,252,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,211,252,.10) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 35%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: 46px; line-height: 1.24; letter-spacing: -.02em; }
.hero h1 .hl { color: #7DD3FC; }
.hero-sub { font-size: 19px; color: rgba(255,255,255,.86); margin-top: 20px; line-height: 1.78; max-width: 580px; }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.66); margin-top: 14px; }
.hero-cta { margin-top: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  border-radius: 100px; font-size: 13px; color: rgba(255,255,255,.92); backdrop-filter: blur(4px);
}
.hero-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #7DD3FC; }

/* 首页首屏：满屏高度，核心信息一屏呈现 */
.hero-full { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-bottom: 56px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.hero-points li {
  position: relative; padding-left: 74px; font-size: 15.5px; color: rgba(255,255,255,.82); line-height: 1.6;
}
.hero-points li b {
  position: absolute; left: 0; top: 0; width: 58px; height: 26px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(125,211,252,.16); border: 1px solid rgba(125,211,252,.42);
  color: #7DD3FC; font-size: 13px; font-weight: 650; letter-spacing: .06em;
}
.hero-scroll { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: 40px; }
.hero-scroll span {
  width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.42); border-radius: 12px; position: relative;
}
.hero-scroll span::after {
  content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  background: rgba(255,255,255,.78); border-radius: 2px; animation: scrollHint 1.9s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(9px); opacity: .35; }
}

/* 产品入口卡（首页紧凑入口） */
.entry-card {
  display: flex; align-items: center; gap: 18px; padding: 24px 26px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all .22s; color: inherit;
}
.entry-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: transparent; color: inherit;
}
.entry-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-lighter); color: var(--primary);
}
.entry-icon svg { width: 24px; height: 24px; }
.entry-card h3 { font-size: 17px; margin: 0 0 3px; }
.entry-card p { font-size: 13.5px; color: var(--text-4); margin: 0; line-height: 1.55; }
.entry-arrow {
  margin-left: auto; flex-shrink: 0; font-size: 18px; color: var(--primary);
  transition: transform .22s;
}
.entry-card:hover .entry-arrow { transform: translateX(4px); }

.quick-links {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px;
}
.quick-links a {
  padding: 8px 20px; border: 1px solid var(--border-2); border-radius: 100px;
  font-size: 14px; color: var(--text-2); transition: all .18s;
}
.quick-links a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-lighter); }

.section-tight { padding: 56px 0; }

/* Hero 视觉面板 */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(10px);
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
}
.hero-card-bar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.hero-card-bar i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.hero-card-bar i:nth-child(1) { background: #FF5F57; }
.hero-card-bar i:nth-child(2) { background: #FEBC2E; }
.hero-card-bar i:nth-child(3) { background: #28C840; }
.hero-card-bar span { margin-left: 6px; font-size: 12px; color: rgba(255,255,255,.55); }
.viewer-frame {
  background: #000; border-radius: var(--radius); aspect-ratio: 4/3; position: relative;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.viewer-frame::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.14) 0%, rgba(255,255,255,.05) 26%, transparent 52%),
    radial-gradient(circle at 50% 48%, transparent 30%, rgba(0,168,204,.16) 30.5%, transparent 31%);
}
.viewer-label {
  position: absolute; z-index: 2; font-size: 11px; color: rgba(255,255,255,.72);
  font-family: "SF Mono", Consolas, monospace; letter-spacing: .04em;
}
.viewer-label.tl { top: 12px; left: 12px; }
.viewer-label.tr { top: 12px; right: 12px; }
.viewer-label.bl { bottom: 12px; left: 12px; }
.viewer-label.br { bottom: 12px; right: 12px; text-align: right; }
.viewer-crosshair {
  position: absolute; inset: 0; z-index: 1; opacity: .30;
  background:
    linear-gradient(to right, transparent calc(50% - .5px), rgba(125,211,252,.5) calc(50% - .5px), rgba(125,211,252,.5) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(to bottom, transparent calc(50% - .5px), rgba(125,211,252,.5) calc(50% - .5px), rgba(125,211,252,.5) calc(50% + .5px), transparent calc(50% + .5px));
}
.hero-tools { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.hero-tool {
  flex: 1; min-width: 66px; padding: 9px 6px; text-align: center; font-size: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); color: rgba(255,255,255,.82);
}
.hero-tool.on { background: rgba(0,168,204,.28); border-color: rgba(125,211,252,.5); color: #fff; }

/* ============ 数据条 ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; }
.stat-num { font-size: 38px; font-weight: 700; color: var(--primary); line-height: 1.15; letter-spacing: -.02em; }
.stat-num small { font-size: 18px; font-weight: 600; margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--text-3); margin-top: 6px; }
.section-dark .stat-num, .section-gradient .stat-num { color: #7DD3FC; }
.section-dark .stat-label, .section-gradient .stat-label { color: rgba(255,255,255,.68); }

/* ============ 网格 ============ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ 卡片 ============ */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .22s; height: 100%;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px; background: var(--primary-light); color: var(--primary);
}
.card-icon svg { width: 24px; height: 24px; }
.card p { font-size: 14.5px; color: var(--text-2); }
.card-soft { background: var(--bg-soft); border-color: transparent; }
.section-dark .card, .section-gradient .card {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); color: #fff;
}
.section-dark .card p, .section-gradient .card p { color: rgba(255,255,255,.74); }
.section-dark .card-icon, .section-gradient .card-icon { background: rgba(125,211,252,.18); color: #7DD3FC; }

/* 产品卡 */
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .24s; height: 100%; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-visual {
  height: 156px; position: relative; display: flex; align-items: center; justify-content: center;
  color: #fff; overflow: hidden;
}
.product-visual.pacs { background: linear-gradient(135deg, #0A2540 0%, #0A5EB5 100%); }
.product-visual.cloud { background: linear-gradient(135deg, #0E4E8C 0%, #00A8CC 100%); }
.product-visual.qc { background: linear-gradient(135deg, #123A5C 0%, #16A34A 100%); }
.product-visual::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle at 26% 32%, rgba(255,255,255,.20), transparent 44%);
}
.product-visual-inner { position: relative; z-index: 1; text-align: center; }
.product-visual svg { width: 46px; height: 46px; opacity: .95; }
.product-visual-tag { font-size: 12px; margin-top: 8px; opacity: .85; letter-spacing: .08em; }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { margin-bottom: 8px; }
.product-body > p { font-size: 14.5px; color: var(--text-2); margin-bottom: 16px; }
.product-features { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.product-features li {
  font-size: 13.5px; color: var(--text-2); padding: 5px 0 5px 20px; position: relative;
}
.product-features li::before {
  content: ''; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--primary);
}
.product-link {
  font-size: 14px; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
}
.product-link:hover { gap: 10px; }

/* ============ 特性行 ============ */
.feature-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; align-items: center;
}
.feature-row.reverse .feature-visual { order: -1; }
.feature-visual {
  background: var(--bg-soft-2); border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--border); min-height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; }
.feature-list li {
  font-size: 15px; color: var(--text-2); padding: 9px 0 9px 30px; position: relative; line-height: 1.65;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 13px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--primary-light);
}
.feature-list li::after {
  content: ''; position: absolute; left: 6px; top: 19px; width: 6px; height: 3px;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* ============ 徽章 ============ */
.badge {
  display: inline-block; padding: 4px 11px; border-radius: 100px; font-size: 12px;
  font-weight: 600; background: var(--primary-light); color: var(--primary); line-height: 1.6;
}
.badge-accent { background: var(--accent-light); color: #047FA6; }
.badge-success { background: #DCFCE7; color: #15803D; }
.badge-warning { background: #FFEDD5; color: #C2410C; }
.badge-outline { background: transparent; border: 1px solid var(--border-2); color: var(--text-2); }
.section-dark .badge, .section-gradient .badge { background: rgba(125,211,252,.16); color: #7DD3FC; }

/* ============ 信创生态 ============ */
.eco-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.eco-item {
  padding: 22px 16px; text-align: center; border: 1px solid var(--border);
  border-radius: var(--radius); background: #fff; transition: all .2s;
}
.eco-item:hover { border-color: var(--primary); background: var(--primary-lighter); transform: translateY(-2px); }
.eco-item-name { font-size: 15px; font-weight: 650; color: var(--dark); }
.eco-item-type { font-size: 12px; color: var(--text-4); margin-top: 4px; }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
thead th {
  background: var(--primary-lighter); color: var(--primary-dark); font-weight: 650;
  text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
tbody td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text-2); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-soft); }
.table-center th, .table-center td { text-align: center; }

/* ============ 流程步骤 ============ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-size: 15px; font-weight: 700; color: var(--primary);
  font-family: "SF Mono", Consolas, monospace;
}
.step::after {
  content: ''; position: absolute; top: 28px; left: 0; width: 34px; height: 2px; background: var(--primary);
}
.step h4 { margin-top: 12px; }
.step p { font-size: 14px; color: var(--text-3); }

/* ============ 表单 ============ */
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.form-group label .req { color: #DC2626; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff; transition: all .16s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,94,181,.10);
}
.form-group textarea { min-height: 104px; resize: vertical; }
.form-hint { font-size: 12.5px; color: var(--text-4); }
.form-note { font-size: 13px; color: var(--text-3); margin-top: 18px; line-height: 1.7; }
.form-msg { padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-top: 18px; display: none; }
.form-msg.ok { display: block; background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.form-msg.err { display: block; background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }

/* ============ 文档中心 ============ */
.doc-list { display: flex; flex-direction: column; gap: 14px; }
.doc-item {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); transition: all .2s;
}
.doc-item:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateX(3px); }
.doc-icon {
  width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary);
}
.doc-icon svg { width: 21px; height: 21px; }
.doc-main { flex: 1; min-width: 0; }
.doc-title { font-size: 16px; font-weight: 650; color: var(--dark); }
.doc-meta { font-size: 13px; color: var(--text-4); margin-top: 3px; }
.doc-action { flex-shrink: 0; }

/* ============ 授权中心 ============ */
.license-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px;
}
.code-block {
  background: var(--dark); color: #E2E8F0; border-radius: var(--radius); padding: 20px 24px;
  font-family: "SF Mono", Consolas, "Courier New", monospace; font-size: 13.5px;
  line-height: 1.75; overflow-x: auto; margin: 16px 0;
}
.code-block .c-key { color: #7DD3FC; }
.code-block .c-str { color: #86EFAC; }
.code-block .c-num { color: #FCD34D; }
.code-block .c-cmt { color: #64748B; }

/* ============ 提示框 ============ */
.callout {
  padding: 18px 22px; border-radius: var(--radius); border-left: 4px solid var(--primary);
  background: var(--primary-lighter); font-size: 14.5px; color: var(--text-2); line-height: 1.75;
}
.callout strong { color: var(--primary-dark); }
.callout-warn { border-left-color: var(--warning); background: #FFF7ED; }
.callout-warn strong { color: #C2410C; }
.callout-tip { border-left-color: var(--success); background: #F0FDF4; }
.callout-tip strong { color: #15803D; }

/* ============ CTA 区 ============ */
.cta-panel {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 60%, var(--accent) 100%);
  border-radius: var(--radius-lg); padding: 56px 48px; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ''; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(circle at 82% 18%, #fff, transparent 42%);
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 28px; font-size: 17px; }
.cta-contacts { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; margin-top: 32px; }
.cta-contact { font-size: 14px; color: rgba(255,255,255,.86); }
.cta-contact b { display: block; font-size: 20px; color: #fff; font-weight: 700; margin-top: 4px; letter-spacing: .02em; }

/* 表格中的强调数值（如折扣、返利比例） */
.td-strong { color: var(--primary); font-weight: 700; }

/* 宽表格在窄屏横向滚动：外层负责滚动，内层保证表头与内容对齐 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 640px; }
/* 首列（权益项）在滚动时吸附左侧 */
.table-sticky-first th:first-child,
.table-sticky-first td:first-child {
  position: sticky; left: 0; z-index: 2;
  background: #fff; box-shadow: 1px 0 0 var(--border);
}
.table-sticky-first thead th:first-child { z-index: 3; }

/* ============ 资质卡片 ============ */
.qual-grid { gap: 20px; }
.qual-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 22px 26px; text-align: center; transition: all .22s; height: 100%;
}
.qual-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent;
}
.qual-icon {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, rgba(125,211,252,.28) 100%);
  color: var(--primary); border: 1px solid rgba(13,110,253,.14);
  transition: all .22s;
}
.qual-card:hover .qual-icon { background: var(--primary); color: #fff; border-color: var(--primary); }
.qual-icon svg { width: 29px; height: 29px; }
.qual-card h3 { font-size: 16px; margin: 0 0 8px; }
.qual-card p { font-size: 13px; color: var(--text-4); line-height: 1.7; margin: 0; }

/* ============ 产品分类卡片 ============ */
.cat-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cat-summary-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 100px; font-size: 13px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.90);
}
.cat-summary-item b { font-size: 16px; color: #7DD3FC; font-weight: 700; }

.cat-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.cat-head > div { max-width: 760px; }
.cat-head .lead { margin-top: 10px; margin-bottom: 0; }
.cat-more { flex-shrink: 0; }

.cat-grid { display: grid; gap: 20px; }
.cat-grid-5 { grid-template-columns: repeat(5, 1fr); }
.cat-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cat-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cat-grid-1 { grid-template-columns: 1fr; }

.cat-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 22px; display: flex; flex-direction: column;
  transition: all .22s; height: 100%;
}
.cat-item:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent;
}
.cat-item-icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-lighter); color: var(--primary);
}
.cat-item-icon svg { width: 22px; height: 22px; }
.cat-item h3 { font-size: 16.5px; margin: 0 0 10px; }
.cat-item-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.72; margin: 0 0 14px; }
.cat-item-points { list-style: none; padding: 0; margin: auto 0 0; }
.cat-item-points li {
  font-size: 12.5px; color: var(--text-4); padding: 4px 0 4px 16px;
  position: relative; line-height: 1.6;
}
.cat-item-points li::before {
  content: ''; position: absolute; left: 2px; top: 11px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--primary); opacity: .6;
}

/* ============ 区域销售联系块 ============ */
.sales-item {
  display: flex; align-items: baseline; gap: 10px; padding: 7px 0;
}
.sales-region {
  flex-shrink: 0; width: 40px; padding: 3px 0; text-align: center;
  border-radius: 5px; font-size: 12px; font-weight: 650;
  background: rgba(125,211,252,.16); color: #7DD3FC;
}
.sales-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sales-name { font-size: 14px; font-weight: 600; color: #fff; }
.sales-tel {
  font-size: 14px; font-weight: 650; color: #7DD3FC; letter-spacing: .02em;
}
.sales-tel.is-pending { color: rgba(255,255,255,.42); font-weight: 500; font-size: 13px; }
.sales-note {
  font-size: 11.5px; padding: 2px 7px; border-radius: 4px;
  background: rgba(245,158,11,.18); color: #FCD34D;
}
a.sales-tel:hover { text-decoration: underline; }

/* 浅底容器内的销售板（关于页） */
.sales-board { display: flex; flex-direction: column; gap: 2px; }
.sales-board .sales-item { padding: 9px 0; border-bottom: 1px solid var(--border); }
.sales-board .sales-item:last-child { border-bottom: none; }
.sales-board .sales-region { background: var(--primary-lighter); color: var(--primary); }
.sales-board .sales-name { color: var(--dark); }
.sales-board .sales-tel { color: var(--primary); }
.sales-board .sales-tel.is-pending { color: var(--text-4); }

/* 页脚销售区 */
.footer-sales { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.10); }
.footer-sales-title { font-size: 13px; color: rgba(255,255,255,.52); margin-bottom: 4px; }
.footer-sales .sales-item { padding: 5px 0; }

/* CTA 区销售块 */
.cta-sales {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; margin-top: 26px;
}
.cta-sales .sales-region { background: rgba(255,255,255,.16); color: #fff; }
.cta-sales .sales-name { color: #fff; }
.cta-sales .sales-tel { color: #7DD3FC; }
.cta-sales .sales-tel.is-pending { color: rgba(255,255,255,.45); }

/* ============ 轮播图 ============ */
.carousel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: #0A2540; box-shadow: var(--shadow-lg);
}
.carousel-track {
  display: flex; transition: transform .58s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%; min-width: 100%; position: relative;
  aspect-ratio: 3 / 2; overflow: hidden;
}
/* 幻灯片为整图：铺满容器并按比例裁切，避免不同尺寸图片被拉伸变形 */
.carousel-slide img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

/* 箭头 */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 25, 45, .46); border: 1px solid rgba(255,255,255,.28);
  color: #fff; backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .22s, background .18s;
}
.carousel:hover .carousel-arrow, .carousel:focus-within .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: rgba(10, 25, 45, .78); }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-arrow svg { width: 17px; height: 17px; }

/* 圆点 */
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3;
  display: flex; justify-content: center; gap: 7px;
}
.carousel-dot {
  width: 7px; height: 7px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.40); border: none; transition: all .24s;
}
.carousel-dot.active { width: 22px; border-radius: 4px; background: #7DD3FC; }

.carousel:focus { outline: none; }
.carousel:focus-visible { outline: 2px solid #7DD3FC; outline-offset: 3px; }

/* 菜单内嵌的转化按钮：桌面端隐藏（用右上角按钮），窄屏展开菜单时显示 */
.nav-menu-actions { display: none; }

/* ============ 首页一屏与入口卡 ============ */
/* 首屏：满屏高度，核心信息完整呈现 */
.hero-full { min-height: 100vh; display: flex; align-items: center; padding-bottom: 72px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 13px; }
.hero-points li {
  position: relative; padding-left: 72px; font-size: 15.5px;
  color: rgba(255,255,255,.84); line-height: 1.65;
}
.hero-points li b {
  position: absolute; left: 0; top: 1px; width: 58px; height: 25px; border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(125,211,252,.16); border: 1px solid rgba(125,211,252,.44);
  color: #7DD3FC; font-size: 13px; font-weight: 650; letter-spacing: .05em;
}
.hero-scroll { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: 44px; }
.hero-scroll span {
  width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.40);
  border-radius: 12px; position: relative;
}
.hero-scroll span::after {
  content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px;
  margin-left: -1.5px; background: rgba(255,255,255,.80); border-radius: 2px;
  animation: scrollHint 1.9s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(9px); opacity: .32; }
}

/* 产品入口卡（首页紧凑导航） */
.entry-card {
  display: flex; align-items: center; gap: 18px; padding: 24px 26px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all .22s; color: inherit;
}
.entry-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: transparent; color: inherit;
}
.entry-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-lighter); color: var(--primary);
}
.entry-icon svg { width: 24px; height: 24px; }
.entry-card h3 { font-size: 17px; margin: 0 0 3px; }
.entry-card p { font-size: 13.5px; color: var(--text-4); margin: 0; line-height: 1.55; }
.entry-arrow { margin-left: auto; flex-shrink: 0; font-size: 18px; color: var(--primary); transition: transform .22s; }
.entry-card:hover .entry-arrow { transform: translateX(4px); }

/* 快捷链接行 */
.quick-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.quick-links a {
  padding: 8px 20px; border: 1px solid var(--border-2); border-radius: 100px;
  font-size: 14px; color: var(--text-2); transition: all .18s;
}
.quick-links a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-lighter); }

/* 紧凑区块 */
.section-tight { padding: 60px 0; }

/* ============ 页脚 ============ */
.footer { background: var(--dark); color: rgba(255,255,255,.68); padding: 64px 0 0; font-size: 14px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 650; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; }
.footer-about p { font-size: 13.5px; line-height: 1.85; margin: 14px 0 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.66); font-size: 13.5px; }
.footer-links a:hover { color: #7DD3FC; }
.footer-contact { font-size: 13.5px; line-height: 2; }
.footer-contact a { color: rgba(255,255,255,.82); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #7DD3FC; }

/* ============ 页面头部 ============ */
.page-head {
  padding: calc(var(--nav-h) + 60px) 0 0;
  background: linear-gradient(160deg, var(--bg-soft) 0%, var(--primary-lighter) 100%);
  border-bottom: 1px solid var(--border);
}
.page-head-inner { padding-bottom: 48px; max-width: 800px; }
.breadcrumb { font-size: 13.5px; color: var(--text-4); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 7px; color: var(--text-4); }

/* ============ 其他 ============ */
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; } .mt-4 { margin-top: 40px; } .mb-0 { margin-bottom: 0; }
.todo {
  display: inline-block; padding: 1px 8px; border-radius: 4px; font-size: 12px;
  background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; font-weight: 500;
}
.anchor-nav {
  position: sticky; top: var(--nav-h); z-index: 100; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); padding: 0;
}
.anchor-nav-inner { display: flex; gap: 4px; overflow-x: auto; }
.anchor-nav a {
  padding: 14px 16px; font-size: 14px; color: var(--text-3); white-space: nowrap;
  border-bottom: 2px solid transparent; font-weight: 500;
}
.anchor-nav a:hover { color: var(--primary); }
.anchor-nav a.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* ============ 三大核心卡片（信创 / 国密 / AI） ============ */
.core-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg); padding: 30px 26px; height: 100%;
  transition: all .24s; position: relative; overflow: hidden;
}
.core-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #7DD3FC, #3B82F6); opacity: .85;
}
.core-card:hover {
  background: rgba(255, 255, 255, .09); border-color: rgba(125, 211, 252, .42);
  transform: translateY(-4px);
}
.core-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px;
  background: rgba(125, 211, 252, .14); color: #7DD3FC;
}
.core-icon svg { width: 26px; height: 26px; }
.core-key {
  font-size: 13px; font-weight: 700; letter-spacing: .22em;
  color: #7DD3FC; text-transform: uppercase; margin-bottom: 6px;
}
.core-title { color: #fff; font-size: 19px; margin-bottom: 10px; }
.core-desc { font-size: 14.5px; color: rgba(255, 255, 255, .74); line-height: 1.8; margin-bottom: 16px; }
.core-list { list-style: none; padding: 0; margin: 0; }
.core-list li {
  font-size: 13.5px; color: rgba(255, 255, 255, .70); padding: 5px 0 5px 20px;
  position: relative; line-height: 1.65;
}
.core-list li::before {
  content: ''; position: absolute; left: 2px; top: 12px; width: 5px; height: 5px;
  border-radius: 50%; background: #7DD3FC;
}

/* ============ 区域用户分布 ============ */
.region-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.region-list { display: flex; flex-direction: column; gap: 14px; }
.region-item {
  display: grid; grid-template-columns: 92px 1fr 72px;
  align-items: center; gap: 16px;
}
.region-name {
  font-size: 15px; font-weight: 600; color: var(--dark);
  white-space: nowrap; overflow: visible; text-overflow: clip;
}
.region-bar-track {
  height: 22px; background: var(--bg-soft-2); border-radius: 100px; overflow: hidden;
}
.region-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: width .6s cubic-bezier(.4, 0, .2, 1);
}
.region-item.is-empty .region-bar-fill { background: var(--border); }
.region-value {
  font-size: 17px; font-weight: 700; color: var(--primary); text-align: right;
}
.region-item.is-empty .region-value { color: var(--text-4); }

.region-summary {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border);
}
.region-total { text-align: center; }
.region-total-k { font-size: 13px; color: var(--text-4); }
.region-total-v { font-size: 26px; font-weight: 700; color: var(--primary); margin-top: 4px; }

/* 案例指标：数值在上、名称在下 */
.case-metrics-4 { grid-template-columns: repeat(4, 1fr); }
.case-metrics-4 .case-metric-v {
  font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 3px;
}
.case-metrics-4 .case-metric-k { font-size: 12px; }
.case-card .news-meta { margin-bottom: 10px; }
.case-card h3 { font-size: 17px; margin: 0; line-height: 1.5; }
.region-tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-4);
}
.region-tag svg { width: 13px; height: 13px; }

/* ============ 全国用户分布地图 ============ */
.map-panel {
  display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px;
}
.map-canvas { position: relative; }
.china-map { width: 100%; height: auto; display: block; overflow: visible; }
.map-tile { transition: all .18s; cursor: pointer; }
.map-tile:hover { filter: brightness(1.12); }
.map-tile.is-empty:hover { filter: none; }
.map-label { pointer-events: none; }
/* 名称文字：强制单行、近黑、加粗半透明白边描边，在任何深浅瓦片上均清晰可读；
   「西北+新疆」等长名称也不换行，始终一行显示；
   stroke 用 rgba 半透明白，既留瓦片色底又让文字边缘与瓦片形成明暗反差 */
.map-label-name {
  font-size: 13px; font-weight: 700; fill: #0A1A2F; text-anchor: middle;
  white-space: nowrap; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 4px; stroke-linejoin: round;
}
.map-label-val {
  font-size: 15px; font-weight: 800; fill: #0A1A2F; text-anchor: middle;
  paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 4px; stroke-linejoin: round;
}
.is-empty ~ .map-label .map-label-val { fill: var(--text-4); }

.map-legend {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-4);
}
.map-legend-scale { display: inline-flex; gap: 3px; }
.map-legend-scale i {
  width: 22px; height: 11px; border-radius: 2px; border: 1px solid; display: block;
}
.map-legend-k { font-weight: 600; color: var(--text-3); }
.map-legend-v { color: var(--text-3); }
.map-legend-empty { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; }

/* 通用间距与文本工具类 */
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 16px; }
.text-xs { font-size: 12px; }
.map-legend-empty i {
  width: 14px; height: 11px; border-radius: 2px; border: 1px solid; display: block;
}

.map-side { display: flex; flex-direction: column; gap: 20px; }
.map-total {
  background: var(--primary-lighter); border-radius: var(--radius);
  padding: 18px 22px; text-align: center;
}
.map-total-k { font-size: 13px; color: var(--text-3); }
.map-total-v { font-size: 34px; font-weight: 700; color: var(--primary); line-height: 1.2; }

.map-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.map-stats > div { text-align: center; }
.map-stat-v { font-size: 16px; font-weight: 700; color: var(--dark); }
.map-stat-k { font-size: 11.5px; color: var(--text-4); margin-top: 2px; }

.map-tooltip {
  position: absolute; z-index: 200; pointer-events: none; opacity: 0;
  transform: translateY(-4px); transition: opacity .14s, transform .14s;
  background: rgba(11, 31, 58, .95); color: #fff; border-radius: 6px;
  padding: 7px 12px; font-size: 13px; line-height: 1.5; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.map-tooltip.is-on { opacity: 1; transform: translateY(0); }
.map-tooltip strong { font-weight: 600; }
.map-tooltip span { margin-left: 8px; color: #7DD3FC; }
.map-tooltip span.muted { color: rgba(255, 255, 255, .55); }

/* ============ 筛选按钮（案例墙当前无 tab，样式预留供复用） ============ */
.case-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.case-filter-btn {
  padding: 8px 18px; border: 1px solid var(--border-2); background: #fff;
  border-radius: 100px; font-size: 14px; color: var(--text-2); cursor: pointer;
  font-family: inherit; transition: all .16s; line-height: 1.5;
}
.case-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.case-filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

/* ============ 案例卡片 ============ */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .22s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.case-head { padding: 24px 24px 18px; border-bottom: 1px solid var(--border); }
.case-head h3 { margin-top: 12px; font-size: 19px; margin-bottom: 0; }
.case-org { font-size: 13.5px; color: var(--text-4); margin-top: 6px; }
.case-body { padding: 20px 24px 24px; }
.case-block { margin-bottom: 16px; }
.case-label {
  font-size: 12.5px; font-weight: 650; color: var(--primary);
  letter-spacing: .04em; margin-bottom: 5px;
}
.case-block p { font-size: 14.5px; color: var(--text-2); }
.case-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.case-metric { text-align: center; }
.case-metric-k { font-size: 12px; color: var(--text-4); }
.case-metric-v { font-size: 17px; font-weight: 700; color: var(--primary); margin-top: 3px; }

.quote-mark {
  font-size: 42px; line-height: 1; color: var(--primary);
  opacity: .26; font-family: Georgia, serif; margin-bottom: 6px;
}

/* ============ 资讯列表 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all .22s; color: inherit;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; color: inherit; }
.news-card-body { padding: 24px; display: flex; flex-direction: column; height: 100%; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.news-date { font-size: 13px; color: var(--text-4); }
.news-card h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--text-2); flex: 1; }
.news-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-4);
}
.news-read { white-space: nowrap; }

/* ============ 文章正文 ============ */
.article-body h2 {
  font-size: 22px; color: var(--dark); margin: 38px 0 14px; font-weight: 650; line-height: 1.45;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  font-size: 16.5px; line-height: 1.95; color: var(--text-2); margin-bottom: 18px;
}
.article-body ul, .article-body ol { margin: 0 0 20px; }
.article-body li {
  font-size: 16.5px; line-height: 1.9; color: var(--text-2); margin-bottom: 9px;
}
.article-body blockquote {
  border-left: 3px solid var(--primary); padding: 4px 0 4px 20px;
  margin: 24px 0; font-size: 16.5px; line-height: 1.85; color: var(--text-2);
}
.article-body .callout { margin: 26px 0; font-size: 15px; line-height: 1.8; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-nav-item {
  display: block; padding: 18px 22px; border: 1px solid var(--border);
  border-radius: var(--radius); transition: all .2s; color: inherit;
}
.article-nav-item:hover { border-color: var(--primary); background: var(--primary-lighter); color: inherit; }
.article-nav-label { display: block; font-size: 12.5px; color: var(--text-4); margin-bottom: 5px; }
.article-nav-title {
  display: block; font-size: 15px; font-weight: 600; color: var(--dark); line-height: 1.5;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  /* 窄屏与横屏受限时不做满屏，避免内容被截断 */
  .hero-full { min-height: 0; padding-bottom: 72px; }
  .hero-scroll { display: none; }
  @media (max-height: 720px) {
    .hero-full { min-height: 0; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 56px; }
    .hero-scroll { display: none; }
  }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-menu { display: none; }
  .case-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; gap: 12px; }
  .article-nav-item[style*="right"] { text-align: left !important; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute;
    top: var(--nav-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); padding: 12px 16px 20px; gap: 2px;
    /* 菜单项较多时可滚动，避免超出屏幕无法触达底部的转化按钮 */
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open > li > a { padding: 11px 12px; font-size: 15.5px; }
  .nav-menu.open > li > a.active::after { display: none; }
  /* 菜单内嵌按钮：窄屏展开菜单时显示在底部，替代被隐藏的右上角按钮 */
  .nav-menu.open > .nav-menu-actions {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--border);
  }
  .nav-menu.open > .nav-menu-actions .btn { min-height: 46px; display: flex; align-items: center; justify-content: center; }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; padding: 0 0 0 12px; background: transparent; min-width: 0;
  }
  .nav-actions .btn:not(.nav-toggle) { display: none; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: calc(var(--nav-h) + 56px) 0 60px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16.5px; }
  h1 { font-size: 28px; } h2 { font-size: 24px; } h3 { font-size: 18px; }
  .cta-panel { padding: 38px 24px; }
  .cta-contacts { gap: 22px; }
  .stat-num { font-size: 30px; }
  .page-head { padding-top: calc(var(--nav-h) + 36px); }
  .hero-points li { padding-left: 0; padding-top: 30px; }
  .hero-points li b { top: 0; left: 0; }
  .entry-card { padding: 20px; gap: 14px; }
  .entry-arrow { display: none; }
  .quick-links { gap: 8px; }
  .quick-links a { padding: 7px 15px; font-size: 13.5px; }
  .cat-grid-5, .cat-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cat-head { flex-direction: column; align-items: flex-start; }
}
/* 中等屏幕：5 列改为 3 列，避免卡片过窄 */
@media (max-width: 1100px) and (min-width: 861px) {
  .cat-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .cat-grid-5, .cat-grid-3, .cat-grid-2 { grid-template-columns: 1fr; }
  .cat-summary-item { font-size: 12.5px; padding: 5px 12px; }
}
/* ============ 移动端适配 ============ */

/* 1. 阻止横向溢出：个别装饰元素超出视口时不会带出横向滚动条 */
html, body { overflow-x: clip; }
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* 2. 触摸设备：无 hover 状态下的可用性修正 */
@media (hover: none) {
  /* 轮播箭头在触屏上无法靠 hover 唤出，改为常显 */
  .carousel-arrow { opacity: 1; background: rgba(10, 25, 45, .40); }
  /* 卡片 hover 位移在触屏上易造成误触发，改为仅保留阴影 */
  .card-hover:hover, .cat-item:hover, .qual-card:hover, .entry-card:hover, .case-card:hover {
    transform: none;
  }
}

/* 3. 刘海屏 / 手势条安全区 */
@supports (padding: env(safe-area-inset-left)) {
  .container { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .footer { padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 860px) {
  /* 4. 全屏首屏改用 dvh，避免移动端浏览器地址栏导致高度跳动 */
  .hero-full { min-height: 100dvh; }

  /* 5. 触摸目标不小于 44px */
  .nav-toggle { width: 44px; height: 44px; }
  .footer-links a { display: inline-block; padding: 4px 0; }

  /* 6. 轮播比例与图片原始比例一致（3:2），窄屏不做额外调整，避免裁切差异 */
  .carousel-dots { bottom: 12px; }

  /* 7. 锚点导航横向滚动，避免换行堆叠遮挡内容 */
  .anchor-nav-inner {
    overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; justify-content: flex-start;
  }
  .anchor-nav-inner::-webkit-scrollbar { display: none; }
  .anchor-nav-inner a { white-space: nowrap; flex-shrink: 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .case-metrics, .case-metrics-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .region-item { grid-template-columns: 48px 1fr 56px; gap: 10px; }
  .region-name { font-size: 14px; }
  .region-value { font-size: 15px; }
  .region-summary { grid-template-columns: repeat(2, 1fr); }
  .region-total-v { font-size: 22px; }
  .map-panel { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .map-label-name { font-size: 15px; }
  .map-label-val { font-size: 16px; }
  .map-total-v { font-size: 28px; }
  .btn { padding: 12px 20px; font-size: 14.5px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero-points li { padding-left: 0; padding-top: 32px; }
  .hero-points li b { top: 0; left: 0; }
  .entry-card { padding: 20px; gap: 14px; }
  .entry-arrow { display: none; }
  .quick-links { gap: 8px; }
  .quick-links a { padding: 7px 15px; font-size: 13.5px; }
  .doc-item { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .doc-action { width: 100%; }
  .doc-action .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

  /* —— 小屏细节 —— */
  .hero { padding: calc(var(--nav-h) + 40px) 0 52px; }
  .hero h1 { font-size: 27px; }
  .hero-sub { font-size: 15.5px; }
  .hero-points li { font-size: 14.5px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; }

  /* 数据条 / 统计 */
  .stats { gap: 22px 12px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 12.5px; }
  .map-stats { gap: 10px; }
  .map-stat-v { font-size: 14px; }
  .map-stat-k { font-size: 11px; }
  .map-total-v { font-size: 26px; }

  /* 卡片内边距收紧，提高单屏信息密度 */
  .cat-item { padding: 22px 18px; }
  .qual-card { padding: 26px 18px 22px; }
  .qual-icon { width: 54px; height: 54px; margin-bottom: 14px; }
  .qual-icon svg { width: 25px; height: 25px; }
  .case-card { padding: 18px; }
  .case-metric-v { font-size: 18px; }

  /* 表单：输入框加高，避免 iOS 聚焦时缩放与误触 */
  .form-card { padding: 20px 18px; }
  .form-group input, .form-group select, .form-group textarea {
    font-size: 16px; min-height: 46px; padding: 11px 13px;
  }
  .form-group textarea { min-height: 110px; }

  /* CTA 区联系方式改为纵向排列 */
  .cta-contacts { flex-direction: column; align-items: center; gap: 14px; }
  .cta-panel { padding: 34px 20px; }
  .cta-sales { flex-direction: column; align-items: center; gap: 10px; }

  /* 页面头 */
  .page-head { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 28px; }
  .page-head h1 { font-size: 26px; }

  /* 流程步骤在小屏强制单列：内联 minmax(230px) 会在 360px 屏上撑出横向滚动 */
  .steps { grid-template-columns: 1fr !important; gap: 16px; }

  /* 长段落字号略降，行高略增，提升小屏可读性 */
  p, .card p, .feature-list li, .cat-item-desc { font-size: 14.5px; line-height: 1.78; }

  /* 表格首列吸附时留出更窄的宽度 */
  .table-sticky-first th:first-child,
  .table-sticky-first td:first-child { max-width: 116px; }
}

/* 超窄屏（≤380px，如 iPhone SE 一代） */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .logo-cn { font-size: 15.5px; }
  .hero h1 { font-size: 24px; }
  .btn { padding: 11px 16px; font-size: 14px; }
  .stat-num { font-size: 23px; }
  .quick-links a { padding: 6px 12px; font-size: 13px; }
}

/* ===== 客户案例墙（医院 / 医共体 logo 卡片） =====
   宽度策略：不铺满整页，而是与上方「地图 + 成效指标」等内容列宽对齐，
   整体收窄、居中，视觉更克制、不喧宾夺主。 */
.wall-wrap {
  max-width: 1100px;      /* 容纳 4 列卡片，与上方内容列宽协调对齐 */
  margin: 0 auto;
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .wall-wrap { overflow-x: auto; }
  .wall-grid { min-width: 560px; }  /* 窄屏可横向滑动，保证始终 4 列 */
}
.wall-card {
  background: #fff;
  border-radius: 9px;
  padding: 11px 13px;     /* 整体更紧凑 */
  display: flex;
  align-items: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  transition: transform .15s, box-shadow .15s;
}
.wall-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.wall-logo {
  width: 40px; height: 40px; flex-shrink: 0;  /* 头像缩小 */
  border-radius: 50%;
  background: #eef2f5;
  display: flex; align-items: center; justify-content: center;
  margin-right: 11px;
  border: 1px solid #e3e8ef;
  overflow: hidden;
}
.wall-logo-ph {
  color: #4a90e2;
  font-size: 16px;
  font-weight: 700;
}
.wall-logo { position: relative; }
.wall-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.wall-info { flex: 1; min-width: 0; }
.wall-name {
  font-size: 13px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.wall-level {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  color: #fff;
  font-weight: 600;
}
.wall-level.lv-3a { background: #d93025; }   /* 三甲 红 */
.wall-level.lv-3b { background: #f5a623; }   /* 三级 橙 */
.wall-level.lv-yg { background: #4a90e2; }   /* 医共体 蓝 */

/* 案例墙说明小字（位于列表上方） */
.wall-note {
  margin: 0 2px 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-3);
  letter-spacing: .01em;
  text-align: center;
}
/* 固定每行 4 个，连续排列；窄屏整体等比缩放，不改变列数 */
@media (max-width: 1100px) {
  .wall-wrap { max-width: 100%; }
}
