﻿/* ============================================================
   HormLab Portal · 首页样式
   节奏：深(Hero) → 浅(困扰) → 浅(对比) → 深(数据) → 浅(产品/流程) → 深(AI闭环) → 浅(资质/科普) → 金(CTA)
   ============================================================ */

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  background: var(--space-dark);
  position: relative;
  padding: calc(var(--nav-h) + 68px) 24px 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: -10%;
  background: var(--gradient-glow);
  opacity: 0.7;
  animation: heroFlow 18s ease-in-out infinite alternate;
}
@keyframes heroFlow {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-3%,4%) scale(1.15); }
  100% { transform: translate(2%,-2%) scale(1.05); }
}
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 50%;
  z-index: 1; overflow: hidden; pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-areas: "text visual";
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px; align-items: center;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 0 24px;
}
.hero-left { grid-area: text; min-width: 0; max-width: 100%; }
.hero-visual { grid-area: visual; position: relative; height: 480px; min-width: 0; overflow: visible;
  display: flex; align-items: center; justify-content: center; }
.hero-trust {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(0,229,199,0.1); border: 1px solid rgba(0,229,199,0.3);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; color: var(--cyan-glow);
  margin-bottom: 28px;
}
.hero-trust .dot { width: 6px; height: 6px; background: var(--cyan-glow); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.hero-trust .trust-text { min-width: 0; }
.hero-trust .trust-text .seg { white-space: nowrap; }
@keyframes pulse { 0%,100% { opacity:1; transform: scale(1);} 50% { opacity:.6; transform: scale(1.3);} }
.hero-h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800; line-height: 1.08; letter-spacing: -1.5px;
  color: #fff; margin-bottom: 22px;
}
.hero-h1 .accent {
  background: linear-gradient(135deg, #00E5C7 0%, #5B6CFF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* 首页大标题第二行承载完整定位句（18 字），字号小一档以单行放下。
   宽度核算：左栏 ≈685px（1280 容器 / 1.15fr / gap 40），40px 时整句 ≈620px。
   仅中文首页使用该类，英文站 hero 不受影响。 */
.hero-h1 .hero-accent-sm { font-size: clamp(19px, 3vw, 40px); letter-spacing: -0.8px; }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-white-soft); margin-bottom: 36px; max-width: 540px; line-height: 1.7;
}
.hero-sub .seg { white-space: nowrap; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 48px; }
.hero-stat-label { font-size: 13px; color: var(--text-white-muted); margin-top: 4px; }

/* Hero 右侧视觉 */
.hero-visual {
  grid-area: visual; position: relative;
  height: 480px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-orb-wrap {
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(91,108,255,0.18), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(0,229,199,0.15), transparent 55%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 80px rgba(91,108,255,0.25), 0 0 0 1px rgba(91,108,255,0.15);
  overflow: visible;
}
.hero-orb { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.hero-visual::before {
  content: ''; position: absolute;
  width: 480px; height: 480px; border-radius: 50%;
  border: 1px dashed rgba(91,108,255,0.18);
  animation: spinSlow 24s linear infinite;
  pointer-events: none;
}
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.float-card {
  position: absolute;
  background: rgba(19,26,48,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-xl);
  animation: floatY 6s ease-in-out infinite;
  z-index: 2;
}
.float-card .label { font-size: 12px; font-weight: 700; color: var(--cyan-glow); margin-bottom: 6px; }
.float-card .msg { font-size: 13px; color: rgba(255,255,255,0.88); line-height: 1.5; margin-bottom: 8px; }
.float-card .row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-white-muted); }
.float-card .dots { display: flex; gap: 4px; align-items: center; }
.float-card .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.float-card .dots i.on { background: var(--success); }
.float-card .big { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.float-card .num { font-family: var(--font-num); font-size: 28px; font-weight: 800; color: var(--cyan-glow); }
.float-card .unit { font-size: 12px; color: var(--text-white-muted); }
.float-card-1 { top: 4%; left: 0; width: min(300px, 90%); animation-delay: 0s; }
.float-card-2 { bottom: 6%; left: 6%; width: min(280px, 85%); animation-delay: 1.2s; }
.float-card-3 { top: 38%; right: 0; width: min(210px, 70%); animation-delay: 2.2s; }
@keyframes floatY { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-14px);} }
.mini-radar {
  position: absolute; top: 20%; right: 18%; z-index: 1;
  opacity: 0.9; animation: floatY 7s ease-in-out infinite reverse;
}
.radar-data { transform-origin: center; animation: radarPulse 4s ease-in-out infinite; }
@keyframes radarPulse { 0%,100% { opacity:.85;} 50% { opacity:1;} }

/* ============ 困扰入口 ============ */
.concern-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.concern-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
  position: relative; overflow: hidden;
}
.concern-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(91,108,255,0.06), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
.concern-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(91,108,255,0.4); }
.concern-card:hover::before { opacity: 1; }
.concern-icon { font-size: 40px; display: block; margin-bottom: 16px; }
.concern-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.concern-desc { font-size: 14px; color: var(--text-light); margin-bottom: 18px; }
.concern-link { font-size: 14px; font-weight: 600; color: var(--primary-blue); }

/* ============ 差异化对比 ============ */
.diff-card {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 0; align-items: stretch;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 920px; margin: 0 auto;
}
.diff-side { padding: 48px 40px; }
.diff-side.muted { background: #EEF1F6; color: var(--text-light); }
.diff-side.brand {
  background: var(--space-dark); color: #fff;
  background-image: radial-gradient(circle at 80% 20%, rgba(0,229,199,0.15), transparent 50%);
}
.diff-label {
  display: inline-block; padding: 5px 14px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; margin-bottom: 20px;
  background: rgba(122,132,153,0.12); color: var(--text-light);
}
.diff-side.brand .diff-label { background: rgba(0,229,199,0.12); color: var(--cyan-glow); }
.diff-title { font-size: 24px; font-weight: 800; line-height: 1.35; margin-bottom: 24px; letter-spacing: -0.5px; }
.diff-list li {
  font-size: 15px; padding: 10px 0; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px dashed rgba(122,132,153,0.25);
}
.diff-side.brand .diff-list li { border-bottom-color: rgba(255,255,255,0.1); color: var(--text-white-soft); }
.diff-list li::before { content: '×'; color: var(--danger); font-weight: 800; }
.diff-side.brand .diff-list li::before { content: ''; color: var(--cyan-glow); }
.diff-vs {
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand); color: #fff;
  font-family: var(--font-en); font-weight: 800; font-size: 18px;
  padding: 0 18px;
}

/* ============ 数据锚点 ============ */
.section-stats {
  background: var(--space-deeper);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(91,108,255,0.15), transparent 60%);
  padding: 88px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 36px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.stat-card:hover { border-color: rgba(91,108,255,0.4); transform: translateY(-4px); }
.stat-num {
  font-family: var(--font-num); font-size: 52px; font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.stat-label { color: var(--text-white-soft); font-size: 14px; margin-top: 8px; }

/* ============ 产品线 ============ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card.hot { border-color: rgba(91,108,255,0.5); }
.product-card .hot-badge {
  position: absolute; top: 18px; right: 18px;
  padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--warm-orange); color: #fff;
  font-size: 11px; font-weight: 700;
}
.product-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 18px;
  overflow: hidden;
}
.product-icon img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.product-name { font-size: 21px; font-weight: 800; margin-bottom: 2px; }
.product-sub { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.product-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; min-height: 72px; }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; }
.product-price { font-family: var(--font-num); font-size: 24px; font-weight: 800; color: var(--text-dark); }
.product-sku { font-size: 12px; color: var(--text-light); }
.section-more { text-align: center; margin-top: 44px; }

/* ============ 流程 ============ */
.flow-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  max-width: 1080px; margin: 0 auto;
}
.flow-step {
  text-align: center; padding: 32px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.flow-num { font-size: 38px; margin-bottom: 14px; }
.flow-step-title { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.flow-step-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ============ AI 闭环 ============ */
.loop-container {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.section-dark .section-h2 { color: #fff; }
.accent-loop {
  background: linear-gradient(135deg, #00E5C7, #5B6CFF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.loop-features { margin: 36px 0; display: flex; flex-direction: column; gap: 24px; }
.loop-feature { display: flex; gap: 16px; align-items: flex-start; }
.loop-feature-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  overflow: hidden;
}
.loop-feature-icon img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.loop-feature-title { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.loop-feature-desc { color: var(--text-white-muted); font-size: 14px; line-height: 1.6; }
.loop-visual { position: relative; height: 440px; }
.loop-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px dashed rgba(0,229,199,0.35);
  top: 50%; left: 50%;
}
.loop-ring-1 { width: 340px; height: 340px; margin: -170px 0 0 -170px; animation: spin 40s linear infinite; }
.loop-ring-2 { width: 230px; height: 230px; margin: -115px 0 0 -115px; animation: spin 28s linear infinite reverse; border-color: rgba(91,108,255,0.4); }
@keyframes spin { to { transform: rotate(360deg); } }
.loop-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 92px; height: 92px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,229,199,0.4);
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  box-shadow: var(--shadow-glow-cyan);
}
.loop-node {
  position: absolute;
  background: rgba(19,26,48,0.9);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  animation: floatY 5s ease-in-out infinite;
}
.loop-node-1 { top: 4%; left: 50%; transform: translateX(-50%); }
.loop-node-2 { top: 44%; right: -2%; animation-delay: 1s; }
.loop-node-3 { bottom: 4%; left: 44%; animation-delay: 2s; }
.loop-node-4 { top: 44%; left: -2%; animation-delay: 1.6s; }

/* ============ 资质 ============ */
.creds-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.cred-badge {
  text-align: center; padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  display: flex; flex-direction: column; align-items: center;
}
.cred-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(91,108,255,0.12);
  border-color: rgba(91,108,255,0.4);
}
.cred-badge-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91,108,255,0.08) 0%, rgba(0,229,199,0.08) 100%);
  color: var(--primary-blue, #5B6CFF);
}
.cred-badge-icon svg {
  width: 24px; height: 24px;
  stroke-width: 1.75;
  display: block;
}
.cred-badge-icon img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.cred-badge-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; line-height: 1.4; }
.cred-badge-meta { font-size: 12px; color: var(--text-light); line-height: 1.4; }

/* ============ 科普预览 ============ */
.science-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sci-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl); overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.sci-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sci-cover { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-light); }
.sci-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.sci-card:hover .sci-cover img { transform: scale(1.05); }
.sci-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sci-title { font-size: 17px; font-weight: 700; line-height: 1.5; }
.sci-summary {
  font-size: 13px; color: var(--text-light); line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sci-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-lighter); }

/* ============ CTA ============ */
/* 页面底部 CTA（.section-cta / .cta-btns）已迁至 css/main.css。
   原先只在此定义，导致未加载 home.css 的页面（about/ai/flow/products/science）
   的 CTA 区块完全无样式（顶到页脚、按钮不居中）。勿在此重复定义。 */

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .concern-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .creds-row { grid-template-columns: repeat(3, 1fr); }
  .loop-container { grid-template-columns: 1fr; gap: 48px; }
  .loop-visual { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 768px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  /* 必须同时改写 grid-template-areas：基础规则是 2 列 areas（"text visual"），
     只把 columns 改成 1fr 会让 Grid 补出隐式 auto 列，文字列被压成 0px →
     h1 宽度归零、逐字单行。（2026-09-15 修） */
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "visual"; gap: 40px; }
  .hero-visual { height: 420px; max-width: 480px; }
  /* 注意：.hero-stats 的基础样式定义在文件后半段（L740+），
     写在这里的同名覆盖会被它吃掉 → 移动端规则统一放在文件末尾区块。 */
  .diff-card { grid-template-columns: 1fr; }
  .diff-vs { padding: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .science-grid { grid-template-columns: 1fr; }
  .float-card-3 { display: none; }
}
@media (max-width: 560px) {
  .concern-grid, .products-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .creds-row { grid-template-columns: repeat(2, 1fr); }
  .mini-radar { display: none; }
  /* ⚠️ .tech-grid / .tech-chain / .tech-step / .model-matrix 的移动端覆盖曾写在这里，
     但这些组件的基础样式定义在文件后半段（L433+），同优先级下「后定义者胜」
     → 覆盖整块失效（2026-09-16 实测 375px 下 tech-grid 仍 2 列、matrix-row 仍 4 列，
     正文被压成竖排单字）。已统一迁到文件末尾的移动端区块，勿在此重复添加。 */
}

/* ============ 硬核科技：检测原理 ============ */
.section-tech {
  background: linear-gradient(180deg, #0a0d2a 0%, #06091a 100%);
  position: relative; overflow: hidden;
}
.section-tech::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(91,108,255,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0,229,199,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.tech-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px;
  align-items: start; max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.tech-visual {
  position: sticky; top: calc(var(--nav-h) + 32px);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(91,108,255,0.2);
  margin: 0;
}
.tech-visual img {
  width: 100%; height: 380px; object-fit: cover; display: block;
}
.tech-visual figcaption {
  background: rgba(6,9,26,0.92);
  color: rgba(255,255,255,0.85);
  font-size: 13px; line-height: 1.6;
  padding: 14px 18px;
  border-top: 1px solid rgba(91,108,255,0.2);
}
.tech-chain {
  display: flex; flex-direction: column; gap: 20px;
  position: relative; padding-left: 8px;
}
.tech-chain::before {
  content: ''; position: absolute;
  left: 32px; top: 32px; bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, #5B6CFF 0%, #00E5C7 100%);
  opacity: 0.3;
}
.tech-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(91,108,255,0.2);
  border-radius: 12px;
  padding: 22px 24px 22px 18px;
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-out);
}
.tech-step:hover {
  border-color: rgba(0,229,199,0.5);
  background: rgba(255,255,255,0.06);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(91,108,255,0.18);
}
.tech-step-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #5B6CFF 0%, #8B5CF6 100%);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-size: 22px; font-weight: 800;
  letter-spacing: -1px;
  box-shadow: 0 6px 20px rgba(91,108,255,0.45);
  position: relative; z-index: 1;
}
.tech-step-body { flex: 1; min-width: 0; }
.tech-step-title {
  font-size: 18px; font-weight: 700;
  color: #fff; margin-bottom: 8px; letter-spacing: 0.5px;
}
.tech-step-desc {
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,0.78);
}
.tech-step-desc b {
  color: #00E5C7; font-weight: 700;
}
.tech-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid rgba(91,108,255,0.15);
  position: relative; z-index: 1;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}
.tm-item { text-align: center; }
.tm-num {
  font-family: var(--font-en);
  font-size: 42px; font-weight: 800;
  background: linear-gradient(135deg, #00E5C7 0%, #5B6CFF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  line-height: 1; letter-spacing: -1px;
}
.tm-label {
  margin-top: 8px;
  font-size: 13px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
}

/* ============ Horm Model：6 激素 × 3 层推断矩阵 ============ */
.model-matrix {
  max-width: 1100px; margin: 0 auto;
  border: 1px solid var(--border-light-2);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(91,108,255,0.06);
}
.model-matrix .matrix-header,
.model-matrix .matrix-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  align-items: stretch;
}
.model-matrix .matrix-header {
  background: linear-gradient(135deg, #5B6CFF 0%, #8B5CF6 50%, #00E5C7 100%);
  color: #fff;
}
.model-matrix .matrix-th,
.model-matrix .matrix-td,
.model-matrix .matrix-td-h {
  padding: 18px 22px;
  font-size: 14px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.model-matrix .matrix-th:last-child,
.model-matrix .matrix-td:last-child { border-right: none; }
.model-matrix .matrix-th {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.model-matrix .matrix-td-h {
  font-weight: 700;
  color: var(--text-dark);
  background: #FAFBFE;
  border-right: 1px solid var(--border-light);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  font-size: 15px;
}
.model-matrix .matrix-td-h [lang="en"] {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 2px;
}
.model-matrix .matrix-row {
  border-bottom: 1px solid var(--border-light-2);
  transition: background 0.2s;
}
.model-matrix .matrix-row:last-child { border-bottom: none; }
.model-matrix .matrix-row:hover {
  background: rgba(91,108,255,0.03);
}
.model-matrix .matrix-td {
  color: var(--text-mid);
  line-height: 1.65;
  font-size: 13px;
  display: flex; align-items: center;
  border-right: 1px solid var(--border-light-2);
}

/* ============ 典型用例：4 卡 × 3 段式（情绪/睡眠/减脂/运动） ============ */
.cases-wrap { max-width: var(--max-w); margin: 80px auto 0; padding: 0 24px; }
.cases-title {
  font-size: 22px; font-weight: 800; color: var(--text-dark);
  margin-bottom: 28px;
}
.cases-title span {
  font-size: 14px; font-weight: 500; color: var(--text-mid); margin-left: 8px;
}
.case-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.case-card {
  background: #fff; border: 1px solid var(--border-light-2);
  border-radius: 16px; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(91,108,255,0.10);
}
.case-tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: 999px; align-self: flex-start;
}
.ct-mood   { background: #E0F7F3; color: #0F766E; }   /* 情绪-青 */
.ct-sleep  { background: #EDE9FE; color: #6D28D9; }   /* 睡眠-紫 */
.ct-fat    { background: #FCE7F3; color: #BE185D; }   /* 减脂-粉 */
.ct-sport  { background: #FFEDD5; color: #C2410C; }   /* 运动-橙 */
.case-input {
  font-size: 15px; font-weight: 600; color: var(--text-dark);
  padding: 12px 14px; background: #FAFBFE; border-left: 3px solid var(--primary-blue);
  border-radius: 6px; font-style: italic;
}
.case-arrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal, #00E5C7));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-align: center;
}
.case-output {
  font-size: 13px; line-height: 1.7; color: var(--text-mid);
}
@media (max-width: 1100px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .case-grid { grid-template-columns: 1fr; } }

/* ============ 证据区块：图 + 卡片网格（基于文献核心证据） ============ */
.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  align-items: start;
}
.evidence-hero {
  margin: 0; position: sticky; top: calc(var(--nav-h) + 24px);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(91,108,255,0.18);
  aspect-ratio: 4/5;
}
.evidence-hero img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.evidence-hero figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(6,9,26,0.92) 60%);
  color: #fff;
}
.eh-title {
  font-size: 22px; font-weight: 800; line-height: 1.35; letter-spacing: 0.5px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #00E5C7 0%, #5B6CFF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eh-meta {
  font-size: 13px; color: rgba(255,255,255,0.78);
  letter-spacing: 0.5px;
}
.evidence-grid {
  display: flex; flex-direction: column; gap: 14px;
}
.ev-card {
  display: block; text-decoration: none; color: inherit;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.ev-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91,108,255,0.4);
  box-shadow: 0 8px 24px rgba(91,108,255,0.1);
}
.ev-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--primary-blue);
  background: rgba(91,108,255,0.08);
  border: 1px solid rgba(91,108,255,0.2);
  padding: 3px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.ev-title {
  font-family: var(--font-en);
  font-size: 15px; font-weight: 700; line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.ev-authors {
  font-size: 12.5px; color: var(--text-mid); margin-bottom: 8px;
  font-family: var(--font-en);
}
.ev-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px;
  font-size: 12px; color: var(--text-light);
  margin-bottom: 8px;
}
.ev-meta .ev-journal {
  font-weight: 600; color: var(--text-mid);
  font-family: var(--font-en);
}
.ev-meta .ev-pmid {
  font-family: var(--font-en);
  color: var(--primary-blue); font-weight: 600;
}
.ev-cta {
  font-size: 13.5px; line-height: 1.6;
  color: var(--text-mid); font-style: italic;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
}
@media (max-width: 900px) {
  .evidence-layout { grid-template-columns: 1fr; }
  .evidence-hero { position: relative; top: auto; aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .ev-title { font-size: 14px; }
}

/* ============ 首页 hero 数据统计 ============ */
.hero-stats { display: flex; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat {
  padding: 16px 22px;
  background: rgba(255,255,255,0.14);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.28);
  min-width: 150px;
}
.hero-stat-num {
  font-size: 34px; font-weight: 800; line-height: 1.1;
  color: #fff;
  text-shadow:
    0 2px 12px rgba(0,229,199,0.55),
    0 0 4px rgba(255,255,255,0.30);
  letter-spacing: -0.5px;
}
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.92); margin-top: 6px; font-weight: 500; }

/* ============ 模型矩阵下方注释 ============ */
.model-note {
  font-size: 13px; color: var(--text-mid); margin-top: 20px;
  padding: 12px 16px; background: var(--bg-light);
  border-radius: 8px; border-left: 3px solid var(--accent-teal);
  max-width: 1100px; margin-left: auto; margin-right: auto;
}

/* ============ 典型用例 底部说明 ============ */
.cases-note { font-size: 12.5px; color: var(--text-light); margin-top: 28px; text-align: center; font-style: italic; }

/* ============ 4 痛点场景（6 张图网格） ============ */
.section-concern { padding: 80px 24px; background: var(--bg-light); }
.section-concern .concern-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(6, 1fr);
  max-width: var(--max-w); margin: 32px auto 0;
}
.concern-card { text-align: center; cursor: pointer; }
.concern-img-wrap {
  aspect-ratio: 1; overflow: hidden; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border-light);
}
.concern-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s var(--ease-out);
}
.concern-card:hover .concern-img-wrap img { transform: scale(1.08); }
.concern-title { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-top: 10px; }
@media (max-width: 900px) { .section-concern .concern-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .section-concern .concern-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ 循环图（左文右图） ============ */
.loop-left { padding-right: 8px; }
.loop-visual-img { margin: 0; }
.loop-visual-img img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); display: block; }
.loop-visual-img figcaption { font-size: 12.5px; color: rgba(255,255,255,0.7); margin-top: 12px; text-align: center; }

/* ============ 闭环图：规划中卡片 ============ */
.planned { opacity: 0.6; position: relative; }
.planned::before {
  content: '规划中 · PLANNED'; position: absolute; top: 12px; right: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px;
  padding: 4px 10px; background: rgba(91,108,255,0.12); color: var(--primary-blue);
  border-radius: 999px; z-index: 2;
}

/* ============ 节律图（皮质醇昼夜曲线 + 图例） ============ */
.rhythm-chart { margin: 0 auto; max-width: 920px; }
.rhythm-chart img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-md); }
.rhythm-caption {
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  margin-top: 18px; font-size: 13px; color: var(--text-mid);
  padding: 14px 18px; background: var(--bg-light); border-radius: 10px;
}
.rhythm-caption .lg {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 50%; margin-right: 8px; vertical-align: middle;
}
.rhythm-caption .lg-blue { background: var(--primary-blue); box-shadow: 0 0 0 2px rgba(91,108,255,0.18); }
.rhythm-caption .lg-teal { background: var(--accent-teal); box-shadow: 0 0 0 2px rgba(0,229,199,0.18); }
.rhythm-note {
  flex-basis: 100%; text-align: center; margin-top: 4px;
  font-size: 12px; color: var(--text-light);
}

/* ============ 5 大产品 icon 配色 ============ */
.pi-mood  { background: #E0F7F3; color: #0F766E; }
.pi-sleep { background: #EDE9FE; color: #6D28D9; }
.pi-sport { background: #FFEDD5; color: #C2410C; }
.pi-fat   { background: #FCE7F3; color: #BE185D; }
.pi-plan  { background: #DBEAFE; color: #1E40AF; }

/* ============ 证据 section 容器 ============ */
.section-evidence { padding: 80px 24px; }
.evidence-note {
  font-size: 13px; color: var(--text-mid); margin-top: 28px;
  text-align: center; max-width: 720px; margin-left: auto; margin-right: auto;
  padding: 14px 20px; background: var(--bg-light); border-radius: 10px;
  border: 1px dashed var(--border-light);
}

/* ============ 全站按钮：btn-cyan ============ */
.btn-cyan {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, #5B6CFF 0%, #00E5C7 100%);
  color: #fff; font-size: 14px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(91,108,255,0.30);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,108,255,0.45); }


/* ============ 航天视频独立区块 ============ */
.section-aero-video { padding: 72px 24px 84px; }
.aero-video-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.aero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(0,229,199,0.10);
  border: 1px solid rgba(0,229,199,0.40);
  color: #00E5C7; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 18px;
}
.aero-badge svg { width: 13px; height: 13px; }
.aero-sub { font-size: 15px; color: rgba(255,255,255,0.66); margin-top: 14px; }
.aero-video-frame {
  max-width: 920px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #0f1832 0%, #0a0f24 100%);
  border: 1px solid rgba(0,229,199,0.28);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05), 0 0 60px rgba(0,229,199,0.10);
}
.aero-video-frame video {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  height: auto; object-fit: cover;
  background: #000;
}
.aero-video-frame figcaption {
  padding: 14px 22px;
  font-size: 13px; color: rgba(255,255,255,0.60);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
@media (max-width: 720px) {
  .section-aero-video { padding: 56px 16px 64px; }
  .aero-video-frame { border-radius: 14px; }
  .aero-video-frame video { max-height: 300px; }
  .aero-sub { font-size: 13.5px; }
}

/* ==========================================================================
   移动端适配（2026-09-16 全面优化）
   ⚠️ 规则一律追加到文件末尾。历史事故：tech/matrix 的移动端覆盖曾写在文件
   开头，被其后定义的基础样式（同优先级、后定义者胜）整块吃掉 → 375px 下
   仍是 2 列 / 4 列，正文被压成竖排单字。
   ========================================================================== */

/* —— 平板区间（769–1024）hero 仍为两列，定位句需收窄才不与右栏抢宽 —— */
@media (max-width: 1024px) {
  .hero-h1 .hero-accent-sm { font-size: clamp(16px, 2.3vw, 26px); }
}

/* —— Hero：徽章与副标题降噪（原来徽章折 4 行、定位句出孤字「台」）—— */
@media (max-width: 768px) {
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  /* 信任徽章：小屏从「鼓包胶囊」改为通栏信息条（原折 4 行、左右挤压） */
  .hero-trust {
    display: flex; align-items: flex-start; gap: 8px;
    width: 100%; box-sizing: border-box;
    padding: 10px 14px; border-radius: 14px;
    font-size: 12.5px; line-height: 1.7; margin-bottom: 18px;
  }
  .hero-trust .dot { flex: 0 0 auto; margin-top: 6px; }
  /* H1 与定位句：定位句降到「整句单行容纳」的字号，消除孤字 */
  .hero-h1 { font-size: clamp(30px, 8.6vw, 44px); letter-spacing: -0.8px; margin-bottom: 14px; line-height: 1.12; }
  .hero-h1 .hero-accent-sm {
    display: block; margin-top: 2px;
    font-size: clamp(14.5px, 4.15vw, 24px); letter-spacing: -0.2px; line-height: 1.3;
  }
  .hero-sub { font-size: 13.5px; line-height: 1.75; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; margin-bottom: 28px; }
  .hero-ctas > a { flex: 1 1 100%; justify-content: center; padding: 14px 20px; }
  .hero-stats { gap: 10px; flex-wrap: wrap; }
  .hero-stat { flex: 1 1 calc(50% - 5px); min-width: 0; padding: 13px 14px; border-radius: 12px; }
  .hero-stat-num { font-size: 26px; }
  .hero-stat-label { font-size: 12px; line-height: 1.4; }
  /* 视觉区：光球收进容器（原来 380px 光球塞进 327px 容器被裁），卡片不越界 */
  .hero-visual { height: 330px; max-width: 100%; }
  .hero-orb-wrap { width: min(260px, 78vw); height: min(260px, 78vw); }
  .hero-visual::before { width: min(310px, 92vw); height: min(310px, 92vw); }
  .float-card { padding: 12px 14px; border-radius: 14px; }
  .float-card .msg { font-size: 12.5px; }
  /* 基础样式本来就是 12px，之前这里反而缩到 11.5px（方向反了） */
  .float-card .label, .float-card .row { font-size: 12.5px; }
  .product-card .hot-badge { font-size: 12px; padding: 4px 11px; }
  .float-card .num { font-size: 22px; }
  .float-card-1 { top: 0; left: 0; width: min(240px, 76%); }
  .float-card-2 { bottom: 0; left: 0; width: min(232px, 73%); }

  /* —— 硬核科技：检测链路改单列（原两列在手机上图文互挤）—— */
  .tech-grid { grid-template-columns: 1fr; gap: 24px; }
  .tech-visual { position: static; border-radius: 14px; }
  .tech-visual img { height: 190px; object-position: 50% 45%; }
  .tech-visual figcaption { font-size: 12px; padding: 10px 14px; text-align: center; }
  .tech-chain { padding-left: 0; gap: 12px; }
  .tech-chain::before { display: none; }            /* 单列下竖轴无意义且易与卡片错位 */
  .tech-step { padding: 16px 16px 16px 14px; gap: 13px; }
  .tech-step:hover { transform: none; }             /* 触屏无 hover，防误触位移 */
  .tech-step-num { width: 42px; height: 42px; font-size: 16px; }
  .tech-step-title { font-size: 15.5px; margin-bottom: 6px; line-height: 1.45; }
  .tech-step-desc { font-size: 13.5px; line-height: 1.72; }

  /* —— 检测精度指标：2×2（原 4 列把 LC-MS/MS 挤成两行并撑破容器）—— */
  .tech-metrics { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; margin-top: 44px; padding-top: 32px; }
  .tm-item { min-width: 0; }
  .tm-num { font-size: 30px; }
  .tm-label { font-size: 12.5px; line-height: 1.5; }
  .tech-metrics .tm-item:last-child .tm-num { font-size: 22px; letter-spacing: -0.5px; }  /* LC-MS/MS 长串降级 */

  /* —— 模型矩阵注释 —— */
  .model-note { font-size: 12.5px; line-height: 1.7; padding: 11px 14px; }
  /* 矩阵仍是宽表形态时，激素英文名/表头在手机上偏小 */
  .model-matrix .matrix-td-h [lang="en"] { font-size: 12.5px; }
  .model-matrix .matrix-header { font-size: 12.5px; }
}

/* —— 模型矩阵：4 列宽表 → 每条激素一张卡（表头隐藏，单元格读 data-label）—— */
@media (max-width: 560px) {
  .model-matrix {
    display: flex; flex-direction: column; gap: 12px;
    border: none; background: transparent; box-shadow: none; border-radius: 0; overflow: visible;
  }
  .model-matrix .matrix-header { display: none; }
  .model-matrix .matrix-row {
    display: block; background: #fff;
    border: 1px solid var(--border-light-2); border-radius: 14px;
    box-shadow: 0 4px 18px rgba(91,108,255,0.07); overflow: hidden;
  }
  .model-matrix .matrix-row:hover { background: #fff; }
  .model-matrix .matrix-td-h {
    flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px;
    text-align: left; padding: 13px 16px; font-size: 15px;
    background: linear-gradient(135deg, rgba(91,108,255,0.10), rgba(0,229,199,0.10));
    border-right: none; border-bottom: 1px solid var(--border-light);
  }
  .model-matrix .matrix-td-h [lang="en"] { margin-top: 0; font-size: 12.5px; }
  .model-matrix .matrix-td {
    display: block; padding: 11px 16px;
    font-size: 13.5px; line-height: 1.7;
    border-right: none; border-bottom: 1px solid var(--border-light);
  }
  .model-matrix .matrix-td:last-child { border-bottom: none; }
  .model-matrix .matrix-td::before {
    content: attr(data-label); display: block;
    font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
    color: var(--primary-blue); margin-bottom: 2px;
  }
}

/* ============================================================
   移动端收口（2026-09-16 · 二轮）
   —— 垂直节奏统一 + 元信息字号抬到全站 12.5px 基线
   ============================================================ */
@media (max-width: 768px) {
  /* 首页只有这两块用 80px 留白（其余 section 已是 52px），手机上明显偏空且节奏断裂 */
  .section-concern, .section-evidence { padding: 56px 24px; }

  /* 元信息小字：12px 在 375px 屏上偏小，统一抬到 12.5px；
     .hero-stat-label 例外 —— 基础值是 13px，L931 的 560px 规则反向缩到了
     12px，这里恢复原值 */
  .hero-stat-label { font-size: 13px; }
  .case-tag, .case-arrow { font-size: 12.5px; }
  .rhythm-note { font-size: 12.5px; }
  .diff-label, .product-sku, .ev-tag, .ev-journal { font-size: 12.5px; }
  /* 证据卡元信息行（年份 / 期刊 / PMID）整体由 .ev-meta 的 12px 决定 */
  .ev-meta { font-size: 12.5px; }
  /* 资质徽章说明行 + 科普卡底部「分类 / 阅读全文」 */
  .cred-badge-meta, .sci-meta { font-size: 12.5px; }
  /* L940 的 560px 规则把它压回 12px，这里在文件末尾重新抬到基线 */
  .product-card .hot-badge { font-size: 12.5px; }
}
