/* =====================================================================
   融仁医疗 · 爱医者 企业官网
   纯原生 CSS · 无构建 · 移动优先
   ===================================================================== */

/* ---------- 设计系统 / CSS 变量 ---------- */
:root {
  /* 品牌色 */
  --navy-900: #0b2a4a;
  --navy-800: #0f3a5f;
  --brand: #1769aa;
  --cyan: #38bdf8;
  --cyan-bright: #22d3ee;
  --white: #ffffff;
  --bg-light: #f5f8fc;
  --bg-light-2: #eaf1fa;

  /* 文字 */
  --ink: #0f1b2a;
  --ink-2: #5b6b7b;
  --ink-on-dark: #e9f2fb;
  --ink-on-dark-2: #a9c2db;

  /* 线 / 玻璃 */
  --line: rgba(15, 27, 42, 0.10);
  --line-dark: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.10);

  /* 渐变 */
  --grad-cyan: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  --grad-deep: linear-gradient(160deg, #0b2a4a 0%, #0f3a5f 55%, #103a63 100%);
  --grad-hero: linear-gradient(125deg, #08203c 0%, #0b2a4a 45%, #0f3a5f 100%);

  /* 尺度 */
  --radius: 16px;
  --radius-lg: 22px;
  /* 间距刻度(统一卡片/网格节奏) */
  --gap-sm: 16px;
  --gap: 20px;
  --gap-lg: 24px;
  --shadow-sm: 0 4px 18px rgba(11, 42, 74, 0.08);
  --shadow-md: 0 14px 40px rgba(11, 42, 74, 0.14);
  --shadow-cyan: 0 10px 30px rgba(34, 211, 238, 0.28);
  --maxw: 1180px;
  --header-h: 68px;

  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--cyan-bright);
  color: var(--navy-900);
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--cyan-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head.light .eyebrow,
.platform .eyebrow,
.results .eyebrow { color: var(--cyan-bright); }

.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title.light { color: var(--white); }
.section-title .accent { color: var(--brand); }
.section-head.light .section-title,
.platform .section-title { color: var(--white); }

.grad-text {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cyan-bright);
}

.section-lead {
  margin-top: 16px;
  max-width: 640px;
  color: var(--ink-2);
  font-size: 1.05rem;
}
.section-head.light .section-lead,
.platform .section-lead { color: var(--ink-on-dark-2); }

.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 5vw, 60px); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--grad-cyan);
  color: var(--navy-900);
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(34,211,238,.4); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--white);
  border-color: var(--line-dark);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* =====================================================================
   导航
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(8, 25, 44, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: var(--white);
  font-size: 1.12rem;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-cyan);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(34,211,238,.45);
  flex: none;
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-text b { font-weight: 800; font-size: 1.04rem; }
.brand-text small { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-on-dark-2); margin-top: 1px; }
.brand-text small em { color: var(--cyan-bright); font-style: normal; }
.brand-text i { color: var(--cyan-bright); font-style: normal; padding: 0 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--ink-on-dark);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--cyan-bright); }
.nav-cta {
  margin-left: 8px;
  background: var(--grad-cyan);
  color: var(--navy-900) !important;
  font-weight: 700;
  box-shadow: var(--shadow-cyan);
}
.nav-cta:hover { background: var(--grad-cyan) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 24px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 70px;
  background: var(--grad-hero);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: .45;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% 30%, rgba(34,211,238,.20), transparent 60%),
    linear-gradient(100deg, var(--navy-900) 30%, rgba(11,42,74,.82) 62%, rgba(11,42,74,.42) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(56,189,248,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(closest-side at 75% 40%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(closest-side at 75% 40%, #000 40%, transparent 85%);
}
.hero-content { max-width: 720px; }
.hero-eyebrow {
  display: inline-block;
  color: var(--cyan-bright);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  padding: 7px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  margin-bottom: 22px;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 6.4vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.hero-sub {
  color: var(--ink-on-dark-2);
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  margin-top: 22px;
  max-width: 600px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.hero-stats li { display: flex; flex-direction: column; }
.stat-num {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat-label {
  color: var(--ink-on-dark-2);
  font-size: 0.9rem;
  margin-top: 6px;
}
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  z-index: 2;
}
.scroll-hint span {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--cyan-bright);
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}
.br-mobile { display: none; }

/* =====================================================================
   痛点
   ===================================================================== */
.pain { background: var(--bg-light); }
.pain .section-title .accent { color: #d9534f; }
.pain-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 4vw, 50px);
  align-items: start;
}
.pain-figure { margin: 0; position: sticky; top: 100px; }
.pain-figure figcaption {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.9rem;
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.pain-card {
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid #e05a52;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pain-figure-num {
  display: block;
  font-size: 2.35rem;
  font-weight: 800;
  color: #c33b33;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pain-figure-num i { font-size: 1.4rem; font-style: normal; padding-left: 2px; }
.pain-desc { margin-top: 10px; font-size: 0.97rem; color: var(--ink); }
.pain-desc strong { color: var(--ink); font-weight: 700; }
.pain-source {
  display: block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-2);
  opacity: .85;
}
.pain-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(204,59,51,.06);
  border-left: 3px solid #c33b33;
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  font-size: 0.98rem;
}

/* =====================================================================
   解决方案 · 生态闭环
   ===================================================================== */
.solution { background: var(--white); }
.ecoloop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.4vw, 20px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.eco-step {
  min-width: 0;
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.eco-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23,105,170,.4);
}
.eco-index {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand); /* 浅底上用品牌蓝保证对比度(青色在浅底对比不足) */
  letter-spacing: 0.1em;
}
.eco-icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--grad-deep);
  color: var(--cyan-bright);
  margin-bottom: 16px;
}
.eco-icon svg { width: 26px; height: 26px; }
.eco-step h3 { font-size: 1.08rem; color: var(--ink); font-weight: 700; padding-right: 34px; }
.eco-step p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); }
/* 五步改用 grid 等宽排列;连接箭头在网格换行时会悬空,故隐藏,流程由序号 01–05 表达 */
.eco-arrow { display: none; }
.data-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.app-card {
  max-width: 100%;
  background: var(--grad-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.app-card::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.4), transparent 70%);
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.app-card h3 { font-size: 1.18rem; color: var(--white); position: relative; }
.app-card p { margin-top: 10px; color: var(--ink-on-dark-2); font-size: 0.95rem; position: relative; }

/* =====================================================================
   核心产品
   ===================================================================== */
.products { background: var(--bg-light); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
}
.product-card {
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.product-card.feature { border: 1.5px solid rgba(23,105,170,.35); }
.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-media.transparent img { object-fit: contain; padding: 18px; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  background: rgba(11,42,74,.9);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.product-badge.cyan { background: var(--grad-cyan); color: var(--navy-900); }
.product-badge.muted { background: rgba(15,27,42,.55); }
.product-body { padding: 22px 24px 26px; }
.product-body h3 { font-size: 1.22rem; font-weight: 700; color: var(--ink); }
.product-body p { margin-top: 10px; color: var(--ink-2); font-size: 0.97rem; }
.product-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
}
.product-icon svg { width: 64px; height: 64px; }

/* =====================================================================
   旗舰创新 · 悬挂减负装置
   ===================================================================== */
.flagship { background: linear-gradient(180deg, #ffffff, var(--bg-light-2)); }
.flagship-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.flagship-media {
  background: radial-gradient(circle at 50% 38%, #ffffff, #e7eef7 78%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  text-align: center;
}
.flagship-media img { max-width: 100%; max-height: 460px; object-fit: contain; }
.reg-badge {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.flagship-points { margin: 22px 0 28px; display: grid; gap: 14px; }
.flagship-points li { position: relative; padding-left: 32px; color: var(--ink-2); line-height: 1.55; }
.flagship-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--grad-cyan); color: var(--navy-900);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flagship-points b { color: var(--ink); margin-right: 6px; }
.flagship-videos {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-lg);
  margin-top: clamp(36px, 5vw, 56px);
}
.video-card { margin: 0; }
.video-card video {
  width: 100%; aspect-ratio: 16 / 9;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}
.video-card figcaption { margin-top: 12px; text-align: center; color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 860px) {
  .flagship-hero { grid-template-columns: 1fr; }
  .flagship-videos { grid-template-columns: 1fr; }
}

/* =====================================================================
   客户与机构
   ===================================================================== */
.clients { background: #fff; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 16px; padding: 4px 0; }
.logo-cell { background: #fff; border: 1px solid var(--line); border-radius: 14px; height: 84px; display: flex; align-items: center; justify-content: center; padding: 12px 18px; box-shadow: var(--shadow-sm); }
.logo-cell img { max-height: 42px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.25s, opacity 0.25s; }
.logo-cell:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) { .logo-wall { grid-template-columns: repeat(auto-fit, minmax(102px, 1fr)); } .logo-cell { height: 70px; } }
.inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); margin-top: clamp(36px, 5vw, 52px); }
.inst-col { background: var(--bg-light); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.inst-col h3 { font-size: 1.05rem; color: var(--brand); font-weight: 700; margin-bottom: 12px; padding-left: 12px; border-left: 3px solid var(--cyan); }
.inst-col p { color: var(--ink-2); line-height: 1.85; font-size: 0.95rem; }
@media (max-width: 760px) { .inst-grid { grid-template-columns: 1fr; } .logo-wall img { height: 34px; } }

/* =====================================================================
   医生说 · 仁心仁术
   ===================================================================== */
.doctor { background: var(--grad-deep); color: var(--ink-on-dark); }
.doctor-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.doctor-video { margin: 0; }
.doctor-video video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.doctor-copy .eyebrow { color: var(--cyan-bright); }
.doctor-copy > p { color: var(--ink-on-dark-2); margin-top: 14px; line-height: 1.7; }
.doctor-copy blockquote { margin: 18px 0 0; padding-left: 18px; border-left: 3px solid var(--cyan); font-size: 1.12rem; line-height: 1.7; color: var(--ink-on-dark); font-style: italic; }
@media (max-width: 860px) { .doctor-layout { grid-template-columns: 1fr; } }

/* =====================================================================
   证书画廊 + 创始人寄语
   ===================================================================== */
.cert-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(28px, 4vw, 40px); }
.cert-gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.cert-gallery img { width: 100%; height: 220px; object-fit: contain; }
.cert-gallery figcaption { text-align: center; color: var(--ink-2); font-size: 0.86rem; margin-top: 10px; }
.founder-quote { margin: 18px 0; padding-left: 16px; border-left: 3px solid var(--cyan); color: var(--ink); font-style: italic; line-height: 1.7; }
.founder-quote cite { display: block; margin-top: 6px; color: var(--ink-2); font-style: normal; font-size: 0.9rem; }
@media (max-width: 760px) { .cert-gallery { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   检测平台 (深色)
   ===================================================================== */
.platform { background: var(--grad-deep); color: var(--white); overflow: hidden; }
.platform::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 500px at 15% 10%, rgba(34,211,238,.14), transparent 60%);
  pointer-events: none;
}
.platform .container { position: relative; }
.platform-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  column-gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.platform-visual { position: relative; margin-bottom: 40px; }
.media-app {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
}
.media-app img { width: 100%; height: 100%; object-fit: contain; }
.media-apron {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: absolute;
  right: -6px; bottom: -20px;
  width: 48%;
  z-index: 3;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-md);
}
.media-apron img { width: 100%; height: 100%; object-fit: cover; }
.visual-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(8,25,44,.96) 60%);
  color: var(--cyan-bright);
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 600;
  padding: 26px 12px 10px;
  text-align: center;
}
.platform-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 4;
}
.platform-points li {
  display: flex;
  gap: 16px;
  padding: 18px 18px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line-dark);
  transition: background .3s ease, transform .3s ease;
}
.platform-points li:hover { background: var(--glass-strong); transform: translateX(4px); }
.pt-num {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-cyan);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
}
.platform-points h3 { font-size: 1.1rem; color: var(--white); }
.platform-points p { margin-top: 5px; color: var(--ink-on-dark-2); font-size: 0.94rem; }
.platform-points strong { color: var(--cyan-bright); font-weight: 700; }

.qr-placeholder {
  margin-top: clamp(50px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.qr-box {
  width: 132px; height: 132px;
  border-radius: 18px;
  border: 2px dashed rgba(56,189,248,.5);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
}
.qr-box svg { width: 60px; height: 60px; }
.qr-placeholder p { color: var(--ink-on-dark); font-weight: 600; }
.qr-placeholder small { color: var(--ink-on-dark-2); font-weight: 400; font-size: 0.8rem; }

/* =====================================================================
   数据与成果
   ===================================================================== */
.results {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.results-texture {
  position: absolute; inset: 0;
  background-image: url('../assets/img/texture-grid.png');
  background-size: 320px;
  opacity: .10;
  mix-blend-mode: screen;
}
.results::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(34,211,238,.10), transparent 55%),
    linear-gradient(0deg, rgba(11,42,74,.6), rgba(11,42,74,.6));
}
.results .container { position: relative; }
.results-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap) var(--gap-lg);
}
.results-band li {
  text-align: center;
  padding: 22px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--glass);
  transition: transform .3s ease, background .3s ease;
}
.results-band li:hover { transform: translateY(-4px); background: var(--glass-strong); }
.rb-num {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.rb-text { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.rb-label { display: block; margin-top: 8px; color: var(--ink-on-dark-2); font-size: 0.92rem; }

/* =====================================================================
   发展历程 timeline
   ===================================================================== */
.timeline-section { background: var(--white); }
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--brand), var(--line));
}
.tl-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 14px 0;
  padding-left: 0;
}
.tl-year {
  flex: none;
  position: relative;
  width: 40px;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.82rem;
  padding-top: 16px;
  z-index: 2;
}
.tl-year::before {
  content: "";
  position: absolute;
  left: 11px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(56,189,248,.18);
}
.tl-item.highlight .tl-year::before { background: var(--grad-cyan); border-color: var(--cyan-bright); }
.tl-item.future .tl-year::before { border-color: var(--ink-2); border-style: dashed; }
.tl-card {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  margin-left: 30px;
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tl-item.highlight .tl-card {
  border-color: rgba(23,105,170,.4);
  background: linear-gradient(135deg, #eaf6fd, #f5f8fc);
}
.tl-card:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.tl-card h3 { font-size: 1.12rem; color: var(--ink); font-weight: 700; }
.tl-card p { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }

/* =====================================================================
   资质与荣誉
   ===================================================================== */
.honors { background: var(--bg-light); }
.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge-chip {
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease;
}
.badge-chip::before {
  content: "✓";
  color: var(--brand); /* 白底上提高对勾对比度 */
  font-weight: 800;
  margin-right: 8px;
}
.badge-chip:hover { transform: translateY(-3px); border-color: rgba(23,105,170,.4); }
.badge-chip.strong {
  background: var(--grad-deep);
  color: var(--white);
  border-color: transparent;
}
.badge-chip.strong::before { color: var(--cyan-bright); }
.badge-chip.award { border-color: rgba(212,160,23,.5); }
.badge-chip.award::before { content: "★"; color: #d4a017; }

/* =====================================================================
   关于我们
   ===================================================================== */
.about { background: var(--white); }
.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.about-text p { margin-top: 18px; color: var(--ink-2); font-size: 1.04rem; }
.about-text strong { color: var(--ink); }
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.vm-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
}
.vm-card h3 { color: var(--brand); font-size: 1.05rem; }
.vm-card p { margin-top: 6px; color: var(--ink-2); font-size: 0.95rem; }
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-facts li {
  background: var(--grad-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  font-size: 0.9rem;
  color: var(--ink-on-dark-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-facts li span {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan-bright);
}

/* =====================================================================
   联系 CTA
   ===================================================================== */
.contact {
  background: var(--grad-hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 85% 50%, rgba(34,211,238,.18), transparent 60%);
}
.contact-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-copy { max-width: 560px; }
.contact-copy p { margin-top: 16px; color: var(--ink-on-dark-2); font-size: 1.05rem; }
.contact-list { display: flex; flex-direction: column; gap: 14px; min-width: 280px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--glass);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 16px 22px;
  transition: background .25s ease, transform .25s ease;
}
.contact-list li:hover { background: var(--glass-strong); transform: translateX(4px); }
.ct-label {
  flex: none;
  width: 44px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan-bright);
}
.contact-list a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-all;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.contact-list a:hover { color: var(--cyan-bright); }

/* =====================================================================
   页脚
   ===================================================================== */
.site-footer {
  background: #08182c;
  color: var(--ink-on-dark-2);
  padding: 52px 0 26px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-name { color: var(--white); font-weight: 700; font-size: 1.05rem; }
.footer-tag { margin-top: 6px; font-size: 0.9rem; }
.footer-contact p { font-size: 0.94rem; margin-bottom: 6px; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-contact a:hover { color: var(--cyan-bright); }
.footer-bottom {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  opacity: .85;
}
.footer-icp { opacity: .75; }

/* =====================================================================
   图片兜底占位 (缺图也不开天窗)
   ===================================================================== */
.media-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.media-fallback img { position: relative; z-index: 1; }
/* 兜底渐变背景 */
.media-pain {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a2a3d, #2a3f57 60%, #3a4f68);
  box-shadow: var(--shadow-md);
}
.media-pain img { width: 100%; height: 100%; object-fit: cover; }
.media-product {
  background: radial-gradient(circle at 50% 40%, #f0f6fc, #dde9f5 70%);
}
.media-product.transparent { background: radial-gradient(circle at 50% 38%, #ffffff, #e3eef9 72%); }
.media-cnasvan { background: linear-gradient(135deg, #0f3a5f, #1769aa 70%, #2b86c7); }
.media-texture {
  background:
    var(--grad-deep);
  position: relative;
}
.media-texture::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.10) 1px, transparent 1px);
  background-size: 28px 28px;
}
.media-app { background: radial-gradient(circle at 50% 35%, rgba(56,189,248,.16), transparent 70%); }
.media-apron { background: linear-gradient(135deg, #102a44, #16456e); }
/* 图片加载失败时露出兜底层的标记类(JS/onerror 不需要额外样式,渐变已在底) */
.img-failed::after {
  content: "";
  position: absolute; inset: 0;
  background: inherit;
}

/* 实拍照片统一调性(轻微冷调收敛,与插画区不割裂) */
.photo-real img {
  filter: saturate(0.92) contrast(1.03) brightness(0.99);
}

/* =====================================================================
   真实场景 · 实景画廊
   ===================================================================== */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
  align-items: start; /* 卡片不随行高拉伸,各自按内容高度,杜绝百分比高度回环 */
}
.scene-card { margin: 0; }
.scene-card .media-scene {
  aspect-ratio: 16 / 10;
  /* 显式取消继承自 .media-fallback 的 height:100%。否则在 WebKit(Safari/微信内置浏览器)中,
     被 grid 拉伸的卡片会让图片吃满整张卡的高度,把 figcaption 挤出卡片、盖到下一张图上。
     改回 auto 后由 aspect-ratio 决定高度,各引擎一致,图说明永远在图片下方。 */
  height: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0f3a5f, #1769aa 70%, #2b86c7);
  box-shadow: var(--shadow-md);
}
.scene-card .media-scene img { width: 100%; height: 100%; object-fit: cover; }
.scene-card figcaption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--ink-2, #5b6b7b);
  text-align: center;
}
@media (max-width: 600px) {
  .scene-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* =====================================================================
   滚动入场动效
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
/* 错位进入:卡片网格子项 */
.pain-card.reveal, .tl-item.reveal { transition-delay: 0s; }

/* =====================================================================
   响应式
   ===================================================================== */
@media (max-width: 980px) {
  .pain-layout { grid-template-columns: 1fr; }
  .pain-figure { position: static; }
  .platform-layout { grid-template-columns: 1fr; }
  .platform-visual { margin-bottom: clamp(28px, 6vw, 40px); }
  .media-apron { width: 46%; right: 0; bottom: -20px; }
  .about-layout { grid-template-columns: 1fr; }
  .data-apps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  /* 汉堡菜单 */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(8, 25, 44, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 22px 26px;
    border-top: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px rgba(0,0,0,.4);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .35s ease, opacity .3s ease, visibility 0s linear .35s;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .35s ease, opacity .3s ease, visibility 0s;
  }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; border-radius: 12px; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }

  .product-grid { grid-template-columns: 1fr; }
  .results-band { grid-template-columns: repeat(2, 1fr); }
  .ecoloop { grid-template-columns: 1fr; gap: clamp(12px, 3vw, 18px); }
  .eco-step { max-width: 100%; }
  .eco-arrow {
    width: 2px;
    height: clamp(32px, 6vw, 44px);
    flex: 0 0 clamp(32px, 6vw, 44px);
    align-self: center;
    background: linear-gradient(180deg, var(--cyan), transparent);
    margin: 0;
  }
  .eco-arrow::after {
    right: 50%; top: auto; bottom: 0;
    transform: translateX(50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--cyan);
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }

  /* Hero:窄屏整宽可读——纵向加深遮罩 + 降图不透明度 + 放宽高度约束 */
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 28px) 0 56px;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(8,25,44,.86), rgba(11,42,74,.78) 60%, rgba(11,42,74,.9));
  }
  .hero-bg img { opacity: .32; object-position: 72% center; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
    margin-top: 36px;
    padding-top: 24px;
  }
  .scroll-hint { display: none; }

  .vm-grid, .about-facts { grid-template-columns: 1fr; }
  .pain-cards { grid-template-columns: 1fr; }

  /* 数据带:6 项保持 2 列 = 3 行,节奏紧凑舒适(极窄屏再单列) */
  .results-band { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .results-band li { padding: 18px 10px; }

  .contact-inner { flex-direction: column; align-items: stretch; }
  .contact-list { min-width: 0; }
  .footer-inner { flex-direction: column; }
  .br-mobile { display: inline; }

  /* 检测平台:apron 转 static 后与上图分开,与下方文字也留白 */
  .media-apron { position: static; width: 100%; margin-top: 24px; }

  /* 生态闭环步骤窄屏舒展 */
  .eco-step { padding: 24px 20px 22px; }
  .eco-icon { margin-bottom: 14px; }

  /* 平台要点列表窄屏内距 */
  .platform-points li { padding: 16px 16px; gap: 14px; }

  /* timeline 窄屏收敛:释放卡片正文宽度,轴线与圆点同步左移 */
  .timeline::before { left: 16px; }
  .tl-item { gap: 16px; }
  .tl-year { width: 34px; font-size: .78rem; }
  .tl-year::before { left: 8px; width: 15px; height: 15px; }
  .tl-card { margin-left: 14px; padding: 16px 16px; }

  /* 正文行高与导语窄屏轻调 */
  body { line-height: 1.65; }
  .section-lead { font-size: 1rem; }
  .about-text p { font-size: .98rem; margin-top: 14px; }
}

/* ---------- 超窄屏 (iPhone SE / mini / 小安卓) ---------- */
@media (max-width: 430px) {
  .container { padding: 0 16px; }
  .section { padding: clamp(48px, 12vw, 72px) 0; }

  /* Hero 按钮占满宽,避免并排挤压;点击区充足 */
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; padding: 14px 22px; }
  .hero-sub { font-size: 1rem; margin-top: 18px; }

  /* 单列卡片高度更协调 + 透明产品图内距收一点 */
  .scene-grid { gap: 16px; }
  .product-grid { gap: 18px; }
  .scene-card .media-scene { aspect-ratio: 16 / 11; }
  .product-media { aspect-ratio: 16 / 11; }
  .product-media.transparent img { padding: 14px; }

  /* 卡片内边距收敛,不拥挤不浪费 */
  .eco-step { padding: 22px 18px; }
  .product-body { padding: 18px 18px 22px; }
  .tl-card { padding: 14px 16px; }
  .pain-card { padding: 18px 18px 16px; }
  .platform-points li { padding: 14px 14px; gap: 12px; }
}

@media (max-width: 360px) {
  /* 极窄屏:数据带回退单列,避免两列挤压数字 */
  .results-band { grid-template-columns: 1fr; }
}

/* =====================================================================
   降级:prefers-reduced-motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scroll-hint span { animation: none; }
}

/* 打印 */
@media print {
  .site-header, .scroll-hint, .nav-toggle, .qr-placeholder { display: none; }
  body { color: #000; }
  .reveal { opacity: 1; transform: none; }
}
