/* ============================================================
   臻准生物官网 · 全局样式
   主色 #0E9CDC / 深色 #0B3D91 / 辅助绿 #2ECC71
   ============================================================ */
:root {
  --primary: #0E9CDC;
  --primary-dark: #0A7BB5;
  --navy: #0B3D91;
  --navy-dark: #082E6E;
  --accent: #2ECC71;
  --bg-light: #F2F9FD;
  --bg-soft: #E7F3FB;
  --text: #1E2B36;
  --text-light: #5A6B7A;
  --line: #E3EEF5;
  --white: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); line-height: 1.7; background: var(--white);
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo img { height: 40px; display: block; }
.nav-menu { display: flex; gap: 26px; list-style: none; flex: 1; }
.nav-menu a {
  display: block; padding: 6px 0; color: var(--text); font-size: 15px; font-weight: 500;
  position: relative; white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--primary); border-radius: 2px;
}
.nav-cta {
  background: var(--primary); color: #fff; padding: 9px 22px; border-radius: 24px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text); }

/* ---------- 通用 hero ---------- */
.hero {
  padding: 90px 0 70px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 55%, #e0eefb 100%);
}
.hero::before {
  content: ""; position: absolute; width: 460px; height: 460px; right: -120px; top: -120px;
  background: radial-gradient(circle, rgba(14,156,220,0.20) 0%, transparent 65%);
}
.hero::after {
  content: ""; position: absolute; width: 340px; height: 340px; left: -100px; bottom: -120px;
  background: radial-gradient(circle, rgba(11,61,145,0.12) 0%, transparent 65%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.25; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { font-size: 18px; color: var(--text-light); margin: 22px 0 32px; max-width: 620px; }
.hero-badge {
  display: inline-block; background: rgba(14,156,220,0.12); color: var(--primary);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; margin-bottom: 20px; font-weight: 600;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 30px; font-size: 15px;
  cursor: pointer; transition: all .25s; border: none; font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 42px; font-size: 17px; }

/* ---------- 区块通用 ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; margin-bottom: 20px; }
.section-head h2 { font-size: 34px; font-weight: 800; line-height: 1.3; }
.section-head .sub { color: var(--text-light); margin-top: 10px; font-size: 16px; }
.section-head .bar { width: 46px; height: 4px; background: var(--accent); border-radius: 2px; margin: 18px auto 0; }
.bg-light { background: var(--bg-light); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; margin-top: 44px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px;
  transition: all .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(14,156,220,0.15); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(14,156,220,0.12); color: var(--primary); font-size: 26px; margin-bottom: 18px;
  filter: sepia(1) hue-rotate(160deg) saturate(2.5);
}
.card .icon.chip-icon {
  filter: none;
}
.lang-switch {
  margin-left: 14px; padding: 6px 12px; border: 1px solid rgba(14,156,220,0.5);
  border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--primary);
  text-decoration: none; white-space: nowrap;
}
.lang-switch:hover { background: rgba(14,156,220,0.1); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 14.5px; }
.card .tip { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--primary); }

/* ---------- 产品卡片 ---------- */
.product-card .tag { display: inline-block; font-size: 12px; padding: 3px 12px; border-radius: 14px; margin-bottom: 12px; font-weight: 600; }
.tag-flag { background: rgba(11,61,145,0.1); color: var(--navy); }
.tag-main { background: rgba(14,156,220,0.12); color: var(--primary); }
.tag-entry { background: rgba(46,204,113,0.15); color: #1e9e52; }

/* ---------- 数据条 ---------- */
.stats { display: flex; justify-content: center; gap: 72px; margin-top: 52px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { display: block; font-size: 36px; color: var(--primary); font-weight: 800; }
.stat span { font-size: 14px; color: var(--text-light); }

/* ---------- 深色区块 ---------- */
.dark { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; }
.dark .section-head h2 { color: #fff; }
.dark .section-head .sub { color: rgba(255,255,255,0.8); }
.dark .section-head .bar { background: var(--accent); }

/* ---------- 关系式布局 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; margin-top: 44px; }
.split h3 { font-size: 26px; margin-bottom: 16px; }
.split p { color: var(--text-light); }

/* ---------- 列表 ---------- */
.checklist { list-style: none; margin-top: 18px; }
.checklist li { padding: 7px 0; font-size: 15px; }
.checklist li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; margin-right: 10px; vertical-align: middle; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea, select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; outline: none; background: #fff; color: var(--text);
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); }
.dark input, .dark textarea, .dark select {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: #fff;
}
.dark input::placeholder, .dark textarea::placeholder { color: rgba(255,255,255,0.6); }

/* ---------- 页脚 ---------- */
.site-footer { background: #0B2B3D; color: rgba(255,255,255,0.72); padding: 54px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid a { display: block; color: rgba(255,255,255,0.72); padding: 4px 0; font-size: 13.5px; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .logo img { height: 36px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,0.55);
}

/* ---------- 面包屑 / 页头 ---------- */
.page-head {
  background: linear-gradient(135deg, var(--bg-soft), #fff);
  padding: 60px 0 44px; text-align: center;
}
.page-head h1 { font-size: 38px; font-weight: 800; }
.page-head .sub { color: var(--text-light); margin-top: 12px; font-size: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 4px;
  }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .hero h1 { font-size: 34px; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { gap: 32px; }
}
/* ---------- 面包屑 ---------- */
.breadcrumb { background: var(--bg-soft); padding: 12px 0; font-size: 13.5px; color: var(--text-light); }
.breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span.sep { margin: 0 8px; color: #b6c6d2; }

/* ---------- 产品详情 hero ---------- */
.product-hero { background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 60%, #e0eefb 100%); padding: 62px 0 50px; }
.product-hero h1 { font-size: 38px; font-weight: 800; margin: 14px 0 10px; line-height: 1.3; }
.product-hero .sub { font-size: 17px; color: var(--text-light); max-width: 740px; }
.product-hero .tag { display: inline-block; font-size: 12px; padding: 4px 14px; border-radius: 14px; font-weight: 600; }
.product-hero-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 参数表 ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 15px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(30,43,54,0.06); }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 220px; background: var(--bg-light); color: var(--text); font-weight: 600; white-space: nowrap; }
.spec-table td { color: var(--text-light); }

/* ---------- 型号对比表 ---------- */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 14.5px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(30,43,54,0.06); }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: center; border: 1px solid var(--line); }
.compare-table thead th { background: var(--navy); color: #fff; font-weight: 600; border-color: var(--navy); }
.compare-table td:first-child { text-align: left; background: var(--bg-light); color: var(--text); font-weight: 600; }

/* ---------- NMPA 徽章 ---------- */
.badge-nmpa { display: inline-flex; align-items: center; gap: 8px; background: rgba(46,204,113,0.15); color: #1e9e52; padding: 8px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 600; margin-top: 16px; }

/* ---------- 待补充占位 ---------- */
.placeholder-note { background: #FFF8E1; border: 1px dashed #E0B94C; color: #8a6d1a; padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-top: 24px; }

/* ---------- 关联产品卡片链接 ---------- */
.assoc-link { display: block; }
.assoc-link .card { height: 100%; }
.assoc-link:hover { text-decoration: none; }

/* ---------- 产品卡片标题链接 ---------- */
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); }

/* ---------- 产品卡片整块可点击 ---------- */
a.card { display: block; color: var(--text); text-decoration: none; }
a.card:hover { text-decoration: none; color: var(--text); }
a.card .tip { color: var(--primary); }

/* ============================================================
   产品详情页视觉升级 v2（覆盖同名旧规则）
   ============================================================ */
/* --- Hero 深色化 --- */
.product-hero {
  background: linear-gradient(120deg, #0B3D91 0%, #0A7BB5 62%, #0E9CDC 100%);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: ""; position: absolute; width: 430px; height: 430px; right: -90px; top: -150px;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, transparent 65%);
}
.product-hero::after {
  content: ""; position: absolute; width: 320px; height: 320px; left: -80px; bottom: -160px;
  background: radial-gradient(circle, rgba(46,204,113,0.28) 0%, transparent 62%);
}
.product-hero .container { position: relative; z-index: 2; }
.product-hero h1 { color: #fff; font-size: 42px; letter-spacing: 0.5px; }
.product-hero .sub { color: rgba(255,255,255,0.88); }
.product-hero .tag { background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(4px); }
.product-hero-cta { margin-top: 30px; }
.product-hero-cta .btn-primary { background: #fff; color: #0B3D91; }
.product-hero-cta .btn-primary:hover { background: rgba(255,255,255,0.92); transform: translateY(-2px); }
.product-hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.75); }
.product-hero-cta .btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; border-color: #fff; }

/* --- Hero 参数速览条 --- */
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats .hs { color: #fff; min-width: 96px; }
.hero-stats .hs b { display: block; font-size: 25px; font-weight: 800; line-height: 1.25; letter-spacing: 0.3px; }
.hero-stats .hs span { display: block; font-size: 13px; color: rgba(255,255,255,0.78); margin-top: 2px; }
.hero-stats .hs + .hs { border-left: 1px solid rgba(255,255,255,0.28); padding-left: 36px; }

/* --- 参数表精致化 --- */
.spec-table { border-radius: 14px; box-shadow: 0 6px 24px rgba(30,43,54,0.08); }
.spec-table tbody tr { transition: background .2s; }
.spec-table tbody tr:hover { background: var(--bg-light); }
.spec-table th { width: 200px; color: #0B3D91; font-size: 14px; }
.spec-table td { color: #33465A; font-size: 14.5px; }

/* --- 亮点卡片图标间距 --- */
.grid .card .icon { margin-bottom: 16px; }

/* --- NMPA 卡片 --- */
.nmpa-card { border: 1px solid rgba(46,204,113,0.35); background: linear-gradient(135deg, #F4FCF8, #fff); }

/* ---------- Hero 移动端速览条微调（保留自v3） ---------- */
@media (max-width: 900px) {
  .hero-stats { gap: 24px; }
  .hero-stats .hs + .hs { border-left: none; padding-left: 0; }
}

/* ---------- 产品实拍独立段落 ---------- */
.product-figure { max-width: 520px; margin: 36px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(14,156,220,0.10); }
.product-figure img { display: block; width: 100%; height: auto; }
.product-figure figcaption { text-align: center; font-size: 13.5px; color: var(--text-light); padding-top: 14px; }

/* ---------- 产品视频 ---------- */
.product-video { max-width: 860px; margin: 36px auto 0; }
.product-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0B2B3D, #0B3D91); }
.product-video figcaption { text-align: center; font-size: 13.5px; color: var(--text-light); padding-top: 12px; }

/* ---------- 产品实拍·小图变体 ---------- */
.product-figure.sm { max-width: 300px; padding: 16px; }
.product-figure.sm figcaption { font-size: 12.5px; padding-top: 10px; }
.product-figure.md { max-width: 347px; padding: 16px; }
.product-figure.md figcaption { font-size: 12.5px; padding-top: 10px; }


/* ---------- 平台理念·浅绿底（取自logo色系同饱和度派生） ---------- */
.philosophy-light {
  background: linear-gradient(135deg, #E6F6F4 0%, #EFFAF9 55%, #DFF3F2 100%);
  color: var(--text);
}
.philosophy-light .section-head h2 { color: var(--navy); }
.philosophy-light .section-head .sub { color: var(--text-light); }
.philosophy-light .philosophy-body { color: #3A4A56; font-size: 16px; line-height: 1.9; }
.philosophy-light .philosophy-quote { color: #12864F; font-size: 20px; font-weight: 600; }

/* ---------- 产品实拍·统一尺寸（231px，md的2/3） ---------- */
.product-figure.unified { max-width: 116px; padding: 8px; border-radius: 10px; }
.product-figure.unified figcaption { font-size: 11px; padding-top: 6px; }

/* ---------- MiniQuant Plus 实拍·小尺寸高清 ---------- */
.product-figure.mq { max-width: 80px; padding: 5px; border-radius: 8px; }
.product-figure.mq img { width: 100%; height: auto; image-rendering: -webkit-optimize-contrast; }
.product-figure.mq figcaption { font-size: 10px; padding-top: 4px; }

/* ---------- 产品实拍·页面宽度 1/2·无卡片（accuauto-pro / accuauto-lite 专用） ---------- */
.product-figure.qtr { max-width: 50%; padding: 0; background: transparent; border: none; box-shadow: none; }
.product-figure.qtr figcaption { font-size: 12.5px; padding-top: 10px; }
@media (max-width: 768px) { .product-figure.qtr { max-width: 100%; } }

/* ---------- 产品实拍·比例微调（accuauto-lite 专用，比 1/2 略小） ---------- */
.product-figure.qtr-lite { max-width: 40%; }
@media (max-width: 768px) { .product-figure.qtr-lite { max-width: 85%; } }


/* ---------- 面包屑当前页（长标题单行截断，避免撑破布局） ---------- */
.breadcrumb .current { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
