/* ==========================================================================
   EXCILON 宜瓷龙 — 全站设计系统
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* 品牌色 */
  --brand-green: #1F6F4A;
  --brand-green-dark: #165236;
  --brand-green-light: #2E9463;
  --brand-green-tint: #EAF3EE;

  --ink-900: #14181A;
  --ink-800: #23282B;
  --ink-600: #4A5256;
  --ink-400: #7C868A;
  --ink-200: #C6CCCE;

  --paper: #FAF8F4;
  --paper-alt: #F2EEE6;
  --white: #FFFFFF;

  --gold: #B9975B;
  --gold-tint: #F4EEE1;

  /* 莫兰迪点缀色板 */
  --morandi-1: #C9B8A8;
  --morandi-2: #A9B8A4;
  --morandi-3: #9FB0BC;
  --morandi-4: #C7A6A0;
  --morandi-5: #B7AEC4;
  --morandi-6: #D9C9A3;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(20, 24, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 24, 26, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 24, 26, 0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-zh: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: 'Inter', 'Noto Sans SC', sans-serif;

  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-zh);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  opacity: 0;
}
body.page-ready { opacity: 1; transition: opacity 0.45s var(--ease); }
body.page-leaving { opacity: 0 !important; transition: opacity 0.2s ease !important; }
@media (prefers-reduced-motion: reduce) {
  body, body.page-ready, body.page-leaving { opacity: 1 !important; transition: none !important; }
}

/* 页面级背景动效（首屏 hero 用），遵循 prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .anim-kenburns { animation: kenburns 22s ease-in-out infinite alternate; }
  .anim-drift { background-size: 160% 160%; animation: drift-move 14s ease-in-out infinite alternate; }
  .anim-gradient-shift { background-size: 200% 200% !important; animation: gradient-shift 18s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes drift-move { from { background-position: 20% 30%; } to { background-position: 80% 70%; } }
@keyframes gradient-shift { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; scroll-snap-align: start; }
.section-tight { padding: 64px 0; scroll-snap-align: start; }
@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .container { padding: 0 20px; }
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand-green); display: inline-block; }

.section-title {
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-600);
  max-width: 620px;
  margin-bottom: 44px;
}

/* 板块标题错落进场：营造主次分明的灵动感 */
.section-head.reveal { opacity: 1; transform: none; }
.section-head.reveal > .eyebrow,
.section-head.reveal > .section-title,
.section-head.reveal > .section-sub {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.section-head.reveal > .eyebrow { transition-delay: 0s; }
.section-head.reveal > .section-title { transition-delay: 0.1s; }
.section-head.reveal > .section-sub { transition-delay: 0.2s; }
.section-head.reveal.in > .eyebrow,
.section-head.reveal.in > .section-title,
.section-head.reveal.in > .section-sub {
  opacity: 1;
  transform: translateY(0);
}
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand-green); color: var(--white); }
.btn-primary:hover { background: var(--brand-green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink-900); border-color: rgba(20,24,26,0.18); }
.btn-ghost:hover { border-color: var(--ink-900); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none !important; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  color: var(--ink-900);
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav.scrolled {
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}
.nav-ai-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none; flex-shrink: 0;
  background: var(--brand-green-tint); color: var(--brand-green-dark);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nav-ai-btn:hover { background: var(--brand-green); color: white; transform: scale(1.06); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: 0.02em; }
.nav-logo .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; opacity: 0.86; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 700; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor; border-radius: 2px; }

/* 一级导航下拉子菜单（首页 / 关于宜瓷龙 次级页面） */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
  background: white; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 8px; min-width: 168px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translate(-50%, 10px);
}
.nav-dropdown-menu a {
  padding: 9px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-800); opacity: 1; white-space: nowrap;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: var(--brand-green-tint); color: var(--brand-green-dark); }
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-menu { transition: none; }
}

.mobile-menu a.mobile-submenu-link { font-size: 15px; font-weight: 500; padding: 10px 0 10px 20px; opacity: 0.65; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-lang { font-size: 13px; font-weight: 700; border: 1px solid currentColor; border-radius: 999px; padding: 6px 12px; opacity: 0.85; }
.nav-lang:hover { opacity: 1; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger {
    display: flex; width: 40px; height: 40px; border-radius: 10px; border: 1px solid currentColor;
    align-items: center; justify-content: center; background: none; color: inherit;
  }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 600; background: var(--ink-900);
  color: white; display: flex; flex-direction: column; padding: 24px 24px 40px;
  overflow-y: auto;
  transform: translateY(-100%); transition: transform 0.35s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu a { font-size: 24px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-menu .close-btn { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.4); border-radius: 10px; color: white; background: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.82); padding: 72px 0 28px; scroll-snap-align: start; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: white; margin-bottom: 18px; }
.footer-info li { margin-bottom: 12px; font-size: 14.5px; }
.footer-info b { color: white; font-weight: 600; }
.footer-info a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-tag { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.55); }

.footer-form h4 { color: white; font-size: 18px; margin-bottom: 6px; }
.footer-form p.hint { font-size: 13.5px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.footer-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 560px) { .footer-form .form-row { grid-template-columns: 1fr; } }
.footer-form input, .footer-form textarea, .footer-form select {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06); color: white; font-size: 14px; font-family: inherit;
}
.footer-form input::placeholder, .footer-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.footer-form textarea { min-height: 90px; resize: vertical; grid-column: 1 / -1; }
.footer-form .ai-divert { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,0.65); }
.footer-form .ai-divert button { color: var(--brand-green-light); font-weight: 700; background: none; border: none; padding: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   RFQ 询价弹层
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,24,26,0.55); backdrop-filter: blur(3px);
  z-index: 900; display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg); max-width: 620px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 40px; position: relative;
  transform: translateY(16px) scale(0.98); transition: transform 0.3s var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--ink-200); background: none; font-size: 16px; color: var(--ink-600);
}
.modal-close:hover { background: var(--paper-alt); }
.modal-box h3 { font-size: 24px; margin-bottom: 6px; }
.modal-box .modal-sub { color: var(--ink-600); font-size: 14px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid.full { grid-template-columns: 1fr; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-600); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--ink-200);
  font-size: 14.5px; font-family: inherit; background: var(--paper);
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-green-light); outline-offset: 1px; }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-select .chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ink-200); font-size: 13px; background: var(--paper);
  transition: all 0.15s var(--ease);
}
.chip-select .chip.selected { background: var(--brand-green); border-color: var(--brand-green); color: white; }
.rfq-success { text-align: center; padding: 20px 0; }
.rfq-success .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-green-tint); color: var(--brand-green); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px; }
.rfq-success h4 { font-size: 19px; margin-bottom: 8px; }
.rfq-success p { color: var(--ink-600); font-size: 14px; margin-bottom: 4px; }

/* ==========================================================================
   AI 咨询悬浮面板
   ========================================================================== */
.ai-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 700;
  width: 60px; height: 60px; border-radius: 50%; background: var(--brand-green);
  color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); border: none; font-size: 24px;
  transition: transform 0.25s var(--ease);
}
.ai-fab:hover { transform: scale(1.06); }
.ai-fab-bubble {
  position: fixed; right: 96px; bottom: 34px; z-index: 699;
  background: var(--white); border-radius: 16px 16px 4px 16px; padding: 12px 16px;
  box-shadow: var(--shadow-md); font-size: 13.5px; max-width: 220px;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: all 0.3s var(--ease);
}
.ai-fab-bubble.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ai-fab-bubble button.dismiss { position:absolute; top:-6px; right:-6px; width:20px;height:20px;border-radius:50%;background:var(--ink-900);color:white;border:none;font-size:11px; }

.ai-panel {
  position: fixed; right: 26px; bottom: 26px; z-index: 800;
  width: 400px; max-width: calc(100vw - 32px); height: 600px; max-height: calc(100vh - 60px);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(24px) scale(0.96); opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease);
}
.ai-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
@media (max-width: 560px) {
  .ai-panel { right: 0; bottom: 0; width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
}
.ai-panel-head {
  background: var(--brand-green); color: white; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.ai-panel-head .who { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ai-panel-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #6FE3A0; box-shadow: 0 0 0 3px rgba(111,227,160,0.3); }
.ai-panel-head .sub { font-size: 12px; font-weight: 400; opacity: 0.85; }
.ai-panel-head button { background: none; border: none; color: white; font-size: 18px; opacity: 0.85; }
.ai-panel-head button:hover { opacity: 1; }
.ai-panel-body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); }
.ai-msg { max-width: 88%; font-size: 14px; line-height: 1.55; }
.ai-msg.bot { align-self: flex-start; }
.ai-msg.user { align-self: flex-end; }
.ai-msg .bubble { padding: 12px 15px; border-radius: 16px; }
.ai-msg.bot .bubble { background: white; border-radius: 4px 16px 16px 16px; box-shadow: var(--shadow-sm); }
.ai-msg.user .bubble { background: var(--brand-green); color: white; border-radius: 16px 4px 16px 16px; }
.ai-msg .cursor-blink::after { content: "▍"; animation: blink 0.9s steps(1) infinite; color: var(--brand-green); }
@keyframes blink { 50% { opacity: 0; } }

.ai-card {
  background: white; border: 1px solid var(--ink-200); border-radius: 14px; padding: 12px; margin-top: 8px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-sm);
}
.ai-card img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--paper-alt); }
.ai-card .meta b { display: block; font-size: 13.5px; }
.ai-card .meta span { font-size: 12px; color: var(--ink-600); }
.ai-card button { margin-left: auto; flex-shrink: 0; }

.ai-rfq-card { background: white; border: 1px solid var(--brand-green-tint); border-left: 3px solid var(--brand-green); border-radius: 14px; padding: 14px; margin-top: 8px; }
.ai-rfq-card h5 { font-size: 13.5px; margin-bottom: 10px; }
.ai-rfq-card input { width: 100%; margin-bottom: 8px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--ink-200); font-size: 13px; font-family: inherit; }
.ai-rfq-card .status { font-size: 12.5px; color: var(--brand-green); font-weight: 700; }

.ai-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.ai-suggest button { font-size: 12.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ink-200); background: white; }
.ai-suggest button:hover { border-color: var(--brand-green); color: var(--brand-green); }

.ai-linkbar { padding: 0 16px 12px; font-size: 12.5px; border-top: 1px solid var(--paper-alt); padding-top: 10px; }
.ai-linkbar a { color: var(--brand-green); font-weight: 700; }
.ai-linkbar a:hover { text-decoration: underline; }

.ai-panel-foot { padding: 14px 16px; border-top: 1px solid var(--ink-200); display: flex; gap: 10px; background: white; }
.ai-panel-foot input { flex: 1; border: 1px solid var(--ink-200); border-radius: 999px; padding: 11px 16px; font-size: 14px; font-family: inherit; }
.ai-panel-foot input:focus { outline: 2px solid var(--brand-green-light); }
.ai-panel-foot button { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-green); color: white; border: none; font-size: 16px; flex-shrink: 0; }
.ai-panel-foot button:disabled { opacity: 0.5; }

/* ==========================================================================
   通用组件
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; background: var(--brand-green-tint); color: var(--brand-green-dark);
}
.card-hover { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

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

/* ==========================================================================
   合规信息组件（报告列表 / 法规时间线 / 检测数据条 / 通过徽章）— 跨页共用
   ========================================================================== */
.report-list { display: flex; flex-direction: column; gap: 10px; }
.report-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--paper); border-radius: 10px; font-size: 13.5px; gap: 10px; flex-wrap: wrap; }

.timeline-reg { display: flex; flex-direction: column; gap: 14px; }
.timeline-reg .item { display: flex; gap: 14px; align-items: flex-start; }
.timeline-reg .dot-col { display: flex; flex-direction: column; align-items: center; }
.timeline-reg .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-green); flex-shrink: 0; margin-top: 4px; }
.timeline-reg .line { width: 2px; flex: 1; background: var(--ink-200); margin: 2px 0; }
.timeline-reg .region { font-weight: 700; font-size: 13.5px; }
.timeline-reg .desc { font-size: 13px; color: var(--ink-600); }
.timeline-reg .countdown { font-size: 11.5px; font-weight: 700; color: var(--gold); margin-top: 3px; }
.timeline-reg .item.urgent .countdown { color: #c0392b; }
.timeline-reg .item.urgent .dot { background: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,0.15); }

.metric-bar-row .top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.metric-bar-row .track { height: 10px; background: var(--paper-alt); border-radius: 6px; overflow: hidden; position: relative; }
.metric-bar-row .fill { height: 100%; border-radius: 6px; transition: width 1s var(--ease); }
.metric-bar-row .std-line { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-600); }

.pass-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pass-badge { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; background: var(--brand-green-tint); color: var(--brand-green-dark); font-size: 12.5px; font-weight: 700; }

/* ==========================================================================
   内容详情页 Hero（关于/首页次级页通用）
   ========================================================================== */
.subhero { position: relative; min-height: 54vh; display: flex; align-items: flex-start; background: var(--ink-900); overflow: hidden; scroll-snap-align: start; }
.subhero .subhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.subhero .subhero-bg.is-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px 40px; color: rgba(255,255,255,0.4); font-size: 12.5px; line-height: 1.7; border: none; }
.subhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,14,12,0.94) 0%, rgba(10,14,12,0.65) 52%, rgba(10,14,12,0.4) 100%); }
.subhero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 60px; width: 100%; }
.subhero .back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 600; margin-bottom: 36px; transition: color 0.2s; }
.subhero .back-link:hover { color: #fff; }
.subhero-center { text-align: center; max-width: 720px; margin: 0 auto; }
.subhero-center .eyebrow { justify-content: center; }
.subhero-center .eyebrow::before { display: none; }
.subhero h1 { font-size: clamp(28px, 4.4vw, 44px); color: white; max-width: 720px; margin: 0 auto 14px; letter-spacing: -0.02em; text-wrap: balance; }
.subhero .lead { color: rgba(255,255,255,0.78); font-size: 15.5px; max-width: 600px; margin: 0 auto 26px; line-height: 1.75; }
.subhero .badge-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.subhero .badge-row .badge { background: rgba(255,255,255,0.12); color: white; }
