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

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

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:root {
  /* 品牌色 */
  --brand-green: #1F6F4A;
  --brand-green-dark: #19341A;
  --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: "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: 'Inter', "PingFang SC", "Microsoft YaHei", sans-serif;

  --container: clamp(1240px, 65vw + 260px, 1600px);
}

* { 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;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0;
}
/* 英文页面（含海外站）全站正文用 Inter；夹带的中文字符（如「中文」切换按钮）回落到 PingFang/雅黑 */
html[lang="en"] body { font-family: var(--font-en); }
.nb-word { white-space: nowrap; }
/* 未启用 JavaScript 时（搜索引擎快照、禁用脚本的浏览器）直接显示全部内容，不等待淡入动效 */
.no-js body, .no-js .reveal, .no-js .pcard-row, .no-js .hero-enter [data-enter],
.no-js .section-head.reveal > *, .no-js .teaser-grid.stagger-up.reveal > .teaser-card,
.no-js .story-step, .no-js .tt-col { opacity: 1 !important; transform: none !important; }
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; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
li { text-wrap: pretty; }

/* 线性 SVG 图标（public/js/icons.js）：默认 24px、品牌绿、随文字色 currentColor */
.ex-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-chip { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-green-tint); color: var(--brand-green); display: inline-flex; align-items: center; justify-content: center; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: 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: 767px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
  .container { padding: 0 20px; }
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  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: 32px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-600);
  max-width: 720px;
  margin-bottom: 0;
}

/* 板块标题错落进场：营造主次分明的灵动感 */
.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: 0 auto 48px; text-align: center; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .section-sub { margin-left: 0; }
.section-head.left .eyebrow { justify-content: flex-start; }
.section-head.left .eyebrow::before { display: inline-block; }

/* Hero 进场动效：大标题→副标题→按钮 依次丝滑滑入，页面一加载即触发（非滚动触发） */
.hero-enter [data-enter] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.hero-enter.in [data-enter="1"] { transition-delay: 0.15s; }
.hero-enter.in [data-enter="2"] { transition-delay: 0.32s; }
.hero-enter.in [data-enter="3"] { transition-delay: 0.48s; }
.hero-enter.in [data-enter] { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .hero-enter [data-enter] { transition: none; opacity: 1; transform: none; }
}
.hero-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  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: 14px; }
.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; max-width: none; }
.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;
  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: 16px; letter-spacing: 0.02em; }
.nav-logo img { height: 66px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 16px; 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.open .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 16px; border-radius: 8px; font-size: 16px; 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: 16px; font-weight: 500; padding: 10px 0 10px 20px; opacity: 0.65; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-lang { font-size: 16px; font-weight: 700; border: 1px solid currentColor; border-radius: 999px; padding: 6px 12px; opacity: 0.85; }
.nav-actions .btn-sm { font-size: 16px; }
.nav-actions .nav-burger .ex-icon, .mobile-menu .close-btn .ex-icon { color: currentColor; }
.nav-lang:hover { opacity: 1; }
.nav-burger { display: none; }
.nav-rfq .rfq-short { display: none; }
/* 手机：Logo 固定不被挤压；导航里的 AI 按钮隐藏（右下角已有悬浮 AI 按钮）；询价按钮用短文案 */
@media (max-width: 560px) {
  .site-nav .container { gap: 12px; }
  .nav-logo { flex-shrink: 0; }
  .site-nav .nav-logo img { height: 36px; }
  .nav-actions { gap: 8px; }
  .nav-actions .nav-ai-btn { display: none; }
  .nav-lang { font-size: 14px; padding: 5px 10px; white-space: nowrap; }
  .nav-actions .btn-sm { font-size: 14px; padding: 8px 14px; white-space: nowrap; }
  .nav-rfq .rfq-full { display: none; }
  .nav-rfq .rfq-short { display: inline; }
}

@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(--brand-green-dark);
  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: 16px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-menu .close-btn { display: flex; align-items: center; justify-content: center; 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(--brand-green-dark); 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: 16px; font-weight: 800; color: white; margin-bottom: 24px; }
.footer-col-title { color: white; font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.footer-brand img { height: 30px; width: auto; display: block; background: white; border-radius: 6px; padding: 5px 8px; }
.footer-info li { margin-bottom: 10px; font-size: 16px; line-height: 1.7; }
.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; color: white;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-tag { margin-top: 20px; font-size: 16px; color: rgba(255,255,255,0.55); }

.footer-form h4 { margin-bottom: 6px; }
.footer-form p.hint { font-size: 16px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
/* 表单转发（阿里云邮件推送）密钥未到位前的提示条：页脚与询价弹层共用 */
.form-notice { margin: -8px 0 20px; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; background: #FFF4DA; color: #6B4E0E; border: 1px solid #F0D58A; }
.footer-form .form-notice { margin-top: -10px; background: rgba(255,214,122,0.12); color: #FFD98A; border-color: rgba(255,214,122,0.35); }
.footer-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.footer-form .form-row.form-row-full { grid-template-columns: 1fr; }
@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: 16px; 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: 16px; 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: 14px; 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 {
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--ink-200); background: none; font-size: 14px; 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: 14px; 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: 14px; 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: 14px; background: var(--paper);
  transition: all 0.15s var(--ease);
}
.chip-select .chip.selected { background: var(--brand-green); border-color: var(--brand-green); color: white; }
.chip-select .chip-hint { font-size: 14px; color: var(--ink-400); }
.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: 16px; }
.rfq-success h4 { font-size: 14px; 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: 16px;
  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: 14px; 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 { display:flex; align-items:center; justify-content:center; position:absolute; top:-6px; right:-6px; width:20px;height:20px;border-radius:50%;background:var(--ink-900);color:white;border:none;font-size:14px; }

.ai-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 800;
  width: min(40vw, 640px); min-width: 380px; max-width: 100vw; height: 100%;
  background: var(--white); border-radius: 20px 0 0 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(100%); opacity: 1; pointer-events: none;
  transition: transform 0.35s var(--ease);
}
.ai-panel.open { transform: translateX(0); pointer-events: auto; }
@media (max-width: 760px) {
  .ai-panel { width: 100%; min-width: 0; 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: 14px; font-weight: 400; opacity: 0.85; }
.ai-panel-head button { display: flex; background: none; border: none; color: white; font-size: 14px; 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); }
.ai-msg .bubble.ai-thinking { display: flex; align-items: center; gap: 7px; color: var(--ink-500, var(--ink-600)); font-weight: 600; font-size: 14px; }
.ai-thinking-dots { display: inline-flex; gap: 3px; }
.ai-thinking-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-green); opacity: 0.35; animation: aiThinkingBounce 1.1s ease-in-out infinite; }
.ai-thinking-dots span:nth-child(2) { animation-delay: 0.15s; }
.ai-thinking-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiThinkingBounce { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.ai-msg .bubble b { font-weight: 800; color: var(--ink-900); }
.ai-msg .bubble .ai-quote { display: block; margin: 6px 0; padding: 8px 12px; border-left: 3px solid var(--brand-green); background: var(--brand-green-tint); color: var(--ink-600); font-size: 14px; border-radius: 0 8px 8px 0; }
.ai-msg .bubble .ai-inline-link { color: var(--brand-green); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ai-msg.user .bubble .ai-inline-link { color: white; }
@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: 14px; }
.ai-card .meta span { font-size: 14px; 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: 14px; 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: 14px; font-family: inherit; }
.ai-rfq-card .status { font-size: 14px; 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: 14px; 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: 14px; 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 { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-green); color: white; border: none; font-size: 14px; flex-shrink: 0; }
.ai-panel-foot button:disabled { opacity: 0.5; }

/* ==========================================================================
   通用组件
   ========================================================================== */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; 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: 16px; line-height: 1.6; gap: 10px; flex-wrap: wrap; }

.timeline-reg { display: flex; flex-direction: column; gap: 20px; }
.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: 10px; }
.timeline-reg .line { width: 2px; flex: 1; background: var(--ink-200); margin: 2px 0; }
.timeline-reg .region { font-weight: 700; font-size: 16px; line-height: 1.7; color: var(--ink-900); }
.timeline-reg .desc { font-size: 16px; line-height: 1.7; color: var(--ink-600); }
.timeline-reg .countdown { font-size: 16px; line-height: 1.7; font-weight: 700; color: var(--gold); margin-top: 2px; }
.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: 14px; 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: 14px; font-weight: 700; }

/* 测试参数雷达图：产品应用总页（可切场景）与各场景子页（单场景）共用。
   默认展示该场景全部系列，悬浮任意一条线/图例即可突出该系列；网格从中心点向外展开，滚动进入视野时触发。 */
.compare-panel { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.radar-block + .radar-block { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--paper-alt); }
.radar-block-title { font-size: 18px; font-weight: 800; color: var(--ink-900); margin-bottom: 18px; }
.compare-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 860px) { .compare-layout { grid-template-columns: 1fr; } }
.radar-svg { width: 100%; max-width: 380px; display: block; }
.radar-wrap .radar-grid { transform-origin: 170px 165px; transform: scale(0); transition: transform 0.9s var(--ease); }
.radar-wrap.in .radar-grid { transform: scale(1); }
.radar-product { cursor: pointer; transition: opacity 0.25s ease; }
.radar-product.dim { opacity: 0.12; }
.radar-axis-label { cursor: pointer; }

/* 右侧放大版图例：替代原先的检测数据长列表，具体数值改为点击维度名称后弹窗展示。
   超过5个系列时自动折成多列（每列最多5个），整体与雷达图纵向居中对齐（靠 .compare-layout 的 align-items:center）。 */
.radar-legend-panel {
  display: grid; grid-template-rows: repeat(5, auto); grid-auto-flow: column;
  gap: 14px 32px; justify-content: start; align-content: center;
}
.radar-legend-panel [data-id] {
  display: flex; align-items: center; gap: 10px; cursor: pointer; transition: opacity 0.2s ease;
  font-size: 14px; font-weight: 700; color: var(--ink-900); white-space: nowrap;
}
.radar-legend-panel [data-id].dim { opacity: 0.3; }
.radar-legend-panel .dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
@media (max-width: 860px) { .radar-legend-panel { grid-template-rows: repeat(5, auto); gap: 12px 20px; } }
@media (max-width: 560px) { .radar-legend-panel { grid-template-rows: none; grid-auto-flow: row; } }

/* 维度弹窗：点击雷达图上的维度名称后，在其下方弹出该维度的具体对比数据 */
.radar-popup {
  position: absolute; z-index: 30; transform: translateX(-50%);
  background: var(--brand-green-dark); color: white; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 16px 18px; min-width: 200px; max-width: 260px;
}
.radar-popup-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.radar-popup-standard { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 10px; line-height: 1.5; }
.radar-popup-row { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 5px 0; }
.radar-popup-row .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.radar-popup-row span:nth-child(2) { flex: 1; }
.radar-popup-row b { font-weight: 700; }
.radar-popup-row b.pass { color: #6FE3A0; }
@media (prefers-reduced-motion: reduce) { .radar-wrap .radar-grid { transition: none; } }

/* ==========================================================================
   内容详情页 Hero（关于/首页次级页通用）
   ========================================================================== */
.subhero { position: relative; min-height: clamp(480px, 62vh, 720px); display: flex; align-items: center; background: var(--brand-green-dark); 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: 14px; 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: 120px; padding-bottom: 64px; width: 100%; }
.subhero .back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.65); font-size: 16px; font-weight: 600; margin-bottom: 36px; transition: color 0.2s; }
.subhero .back-link:hover { color: #fff; }
/* 返回链接与居中的标题内容分离，始终贴靠顶部导航栏下方（见 main.js 中的自动搬运逻辑）；
   不复用 .container 类，避免被 .subhero .container 的 position/z-index 规则覆盖，改为直接复刻其 max-width/padding */
.subhero-backbar { position: absolute; top: 96px; left: 0; right: 0; z-index: 3; padding: 0 28px; text-align: left; }
.subhero-backbar .back-link { margin-bottom: 0; }
.subhero-center { text-align: center; max-width: 720px; margin: 0 auto; }
.subhero-center .eyebrow { color: #8fd6b0; }
.subhero-center .eyebrow { justify-content: center; }
.subhero-center .eyebrow::before { display: none; }
.subhero h1 { font-size: 44px; line-height: 1.25; font-weight: 700; color: white; max-width: 720px; margin: 0 auto 16px; letter-spacing: -0.01em; }
.subhero .lead { color: rgba(255,255,255,0.82); font-size: 16px; max-width: 640px; margin: 0 auto 24px; 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; }
/* 窄屏下标题换行变高，居中内容会顶到绝对定位的返回链接，留出返回链接的高度 */
@media (max-width: 760px) { .subhero .container { padding-top: 150px; } }
.subhero .subhero-bg.is-fallback { opacity: 0.5; }

/* 无配图 hero（企业博客 / 合作伙伴等左对齐纯色页头，多页共用） */
.page-hero { position: relative; min-height: clamp(480px, 62vh, 720px); display: flex; align-items: center; padding: 120px 0 64px; background: var(--brand-green-dark); color: white; scroll-snap-align: start; overflow: hidden; text-align: center; }
.page-hero-glow {
  position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(46,148,99,0.35) 0, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(185,151,91,0.22) 0, transparent 40%);
}
.page-hero .container { position: relative; z-index: 1; width: 100%; }
.page-hero .hero-actions { justify-content: center; }
.page-hero .back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.65); font-size: 16px; font-weight: 600; margin-bottom: 28px; transition: color 0.2s; }
.page-hero .back-link:hover { color: #fff; }
.page-hero h1 { font-size: 44px; line-height: 1.25; margin: 0 auto 16px; max-width: 720px; letter-spacing: -0.01em; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 640px; margin: 0 auto; font-size: 16px; line-height: 1.75; }

/* YouTube 播放按钮遮罩：多个页面的视频展示区共用 */
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: white; background: none; border: none; cursor: pointer; }
.video-play .circle { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.4); transition: transform 0.2s; }
.video-play .circle .ex-icon { fill: currentColor; margin-left: 3px; }
.video-play:hover .circle { transform: scale(1.08); }

/* 统计数字卡：多个页面共用（关于宜瓷龙首屏 / 质量保障 等） */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { background: white; border-radius: var(--radius-md); padding: 26px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-card { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-card b { display: block; font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--brand-green); }
.stat-card span { font-size: 14px; line-height: 1.6; color: var(--ink-600); }

/* ==========================================================================
   产品系列卡（场景子页共用：products-cookware / stove / appliance / drinkware / bakeware / personal）
   ========================================================================== */
/* 场景6宫格：产品应用场景实拍卡片，首页与产品应用主页共用 */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .scene-grid { grid-template-columns: repeat(2, 1fr); } }
.scene-card { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; color: white; }
.scene-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.scene-card:hover img { transform: scale(1.08); }
.scene-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,12,0.85), rgba(10,14,12,0.05) 60%); }
.scene-card .label { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2; }
.scene-card .label h4, .scene-card .label .scene-card-title { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: white; }
.scene-card .label .label-en { display: block; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.82); margin-top: 3px; }

/* 入口卡片：首页/关于宜瓷龙等多个页面共用（图片 + 标题 + 简介 + "详细了解"） */
.teaser-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-md); overflow: hidden; background: white; box-shadow: var(--shadow-sm); }
.teaser-card .img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--brand-green-dark); }
.teaser-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.teaser-card:hover .img-wrap img { transform: scale(1.06); }
.teaser-card .img-wrap.is-placeholder { display: flex; align-items: center; justify-content: center; }
.teaser-card .img-wrap.is-placeholder .ico { font-size: 30px; }
.teaser-card .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.teaser-card .body h3, .teaser-card .body h4 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.teaser-card .body p { font-size: 16px; line-height: 1.7; color: var(--ink-600); margin-bottom: 16px; }
.teaser-card .body .more { margin-top: auto; font-size: 14px; color: var(--brand-green); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.teaser-card .body .more .arrow { transition: transform 0.2s var(--ease); display: inline-block; }
.teaser-card:hover .body .more .arrow { transform: translateX(4px); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 276px)); justify-content: center; gap: 20px; }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .pcard-row-body { padding: 14px; } .pcard-name { font-size: 16px; } .pcard-tagline { font-size: 14px; } .pcard-tags li { font-size: 13px; padding: 3px 8px; } }
/* 场景页标题下的关键数字标签与子分类切换：居中 */
.op .sub-tabs { justify-content: center; }
/* 手机上系列卡片已含同样信息，横向滚动的选型表隐藏 */
.placeholder-box { border: 1.5px dashed var(--ink-200); border-radius: var(--radius-md); padding: 26px; text-align: center; color: var(--ink-400); font-size: 14px; background: var(--paper-alt); }

/* 产品卡片：网格排列，图在上（4:3 裁切），下方 代数 → 系列名 → 一句定位 → 3 个关键词 → 询价。
   不再放整句卖点，一屏可比较一个场景下的全部系列。类名沿用 pcard-row 以兼容 scene-page.js 的交互绑定 */
.pcard-row {
  display: flex; flex-direction: column;
  background: white; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), box-shadow 0.25s ease;
}
.pcard-row.in { opacity: 1; transform: translateY(0); }
.pcard-row:hover { box-shadow: var(--shadow-lg); }
.pcard-row.highlight { box-shadow: 0 0 0 3px var(--brand-green), var(--shadow-lg); }
.pcard-row-img { aspect-ratio: 4/3; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: white; padding: 18px; }
.pcard-row-img img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.12)); }
.pcard-row-img:not(.is-shield) { padding: 0; }
.pcard-row-img:not(.is-shield) img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; }
.pcard-row-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pcard-top { display: flex; align-items: center; gap: 10px; min-height: 20px; margin-bottom: 4px; }
.pcard-gen { font-size: 14px; font-weight: 800; color: #8a6a1f; letter-spacing: 0.04em; }
.pcard-name { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; margin-bottom: 6px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.pcard-shield-badge { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.18)); }
.pcard-tagline { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--brand-green); margin-bottom: 12px; }
.pcard-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-tags li { padding: 4px 10px; border-radius: 6px; background: var(--paper-alt); font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink-800); }
.pcard-row .actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { .pcard-row { transition: none; } }

.scene-sub-label { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; }
.scene-sub-label h3 { font-size: 24px; font-weight: 700; }
.scene-sub-label .n { font-size: 14px; color: var(--ink-400); font-weight: 600; }

/* 场景子分类切换（如炊具内涂/外涂）：按钮切换而非同页上下堆叠 */
.sub-tabs { display: flex; gap: 10px; margin-bottom: 32px; }
.sub-tab-btn {
  padding: 12px 26px; border-radius: 999px; border: 1px solid var(--paper-alt); background: white;
  font-weight: 700; font-size: 14px; color: var(--ink-600); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sub-tab-btn:hover:not(.active) { border-color: var(--brand-green); color: var(--brand-green); }
.sub-tab-btn.active { background: var(--brand-green); color: white; border-color: var(--brand-green); }

/* 核心技术演进时间线：4列×2行网格，前半代/后半代各占一行，无需横向拖拽；
   原理说明卡片作为网格中一个跨列的元素，插在两行之间，随悬停/点击的世代切换内容。 */
.tech-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; padding: 6px 4px 14px; }
.tt-col {
  display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer;
  background: none; border: 0; padding: 6px 4px; font: inherit; color: inherit; border-radius: var(--radius-sm);
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.tech-timeline.in .tt-col { opacity: 1; transform: translateY(0); }
.tt-shield { width: 84px; margin-bottom: 10px; }
.tt-shield img { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); transition: transform 0.25s var(--ease); }
.tt-col:hover .tt-shield img, .tt-col.is-active .tt-shield img { transform: translateY(-4px) scale(1.04); }
.tt-col:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; }
.tt-col.is-active .tt-chevron { background: var(--brand-green); }
.tt-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 10px; }
.tt-icon { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--paper-alt); flex-shrink: 0; }
.tt-icon img { width: 100%; height: 100%; object-fit: contain; }
.tt-badge-label { font-size: 14px; font-weight: 700; color: var(--ink-800); white-space: nowrap; }
.tt-chevron {
  background: var(--brand-green-dark); color: white; font-size: 14px; font-weight: 700; padding: 7px 16px 7px 12px;
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%, 14% 50%);
  margin-bottom: 12px; white-space: nowrap;
}
.tt-name { font-size: 14px; color: var(--ink-600); line-height: 1.4; }
.tt-detail {
  grid-column: 1 / -1; background: var(--brand-green-dark); color: white; border-radius: var(--radius-md);
  padding: 22px 28px; text-align: center; min-height: 88px; display: flex; flex-direction: column; justify-content: center;
}
.tt-detail h4 { font-size: 18px; margin-bottom: 6px; }
.tt-detail p { font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.7; max-width: 720px; margin: 0 auto; }
.tech-timeline.compact .tt-shield { width: 62px; }
.tech-timeline.compact .tt-detail { padding: 18px 24px; min-height: 76px; }
.tech-timeline.compact .tt-detail p { font-size: 16px; }
@media (max-width: 700px) { .tech-timeline { grid-template-columns: repeat(2, 1fr); } .tt-shield { width: 68px; } }
@media (prefers-reduced-motion: reduce) { .tt-col { transition: none; } }

/* ---------------- 合作伙伴 Logo 墙：无缝滚动跑马灯 ---------------- */
.logo-marquee { display: flex; flex-direction: column; gap: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
.logo-marquee-card { background: white; border-radius: var(--radius-lg); padding: 34px 8px; box-shadow: var(--shadow-sm); }
.logo-marquee-row { display: flex; align-items: center; gap: 48px; width: max-content; animation: logoMarqueeScroll var(--dur, 34s) linear infinite; }
.logo-marquee-row:nth-child(2) { animation-direction: reverse; }
.logo-marquee:hover .logo-marquee-row { animation-play-state: paused; }
/* Logo 尺寸由 renderLogoMarquee 按"品牌文字等高"算出（--lw / --lh，见 main.js logoSize），--logo-scale 负责整体缩放 */
.logo-marquee { --logo-scale: 1; }
@media (max-width: 767px) { .logo-marquee { --logo-scale: 0.78; } }
.logo-chip { flex-shrink: 0; height: calc(64px * var(--logo-scale)); display: flex; align-items: center; justify-content: center; }
.logo-chip img { display: block; width: calc(var(--lw) * var(--logo-scale)); height: calc(var(--lh) * var(--logo-scale)); object-fit: contain; }
.logo-chip img:not([style]) { width: auto; height: auto; max-height: 40px; max-width: 130px; }
@keyframes logoMarqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee-row { animation: none; } }

/* ==========================================================================
   全站字号阶梯（Refinement Brief §1.2）：H1 44 / H2 32 / H3 24 / H4 18 / 正文 16 / 说明 14 / Kicker 12
   移动端（<768px）：H1 32 / H2 26 / H3 20 / H4 17；全站不低于 14px（Kicker 除外）
   ========================================================================== */
@media (max-width: 767px) {
  .subhero h1, .page-hero h1, .hero-title, .about-hero h1, .color-hero h1, .color-hero .hero-h1-echo { font-size: 32px !important; }
  .section-title { font-size: 26px; }
  .scene-sub-label h3, .subsection-title, .social-platform-head h3, .story-milestone-head h3 { font-size: 20px; }
  .teaser-card .body h3, .teaser-card .body h4, .scene-card .label .scene-card-title, .cred-detail-card h4, .partner-pillar-card h4,
  .tt-detail h4, .radar-block-title, .footer-col-title { font-size: 17px; }
  body { line-height: 1.7; }
}

/* ==========================================================================
   首页板块（zh / en 首页共用，原先复制在两个页面的 <style is:global> 中）
   ========================================================================== */

  .hero {
    position: relative; min-height: clamp(480px, 62vh, 720px); display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--ink-900); scroll-snap-align: start;
  }
  .hero-bg { position: absolute; inset: 0; }
  .hero-bg-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.4s ease; }
  .hero-bg-slide.active { opacity: 0.92; }
  .hero-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,14,12,0.82) 0%, rgba(10,14,12,0.4) 45%, rgba(10,14,12,0.15) 100%); }
  .hero-texture {
    position: absolute; inset: -10%; opacity: 0.16; mix-blend-mode: screen; pointer-events: none;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.5) 0, transparent 45%),
      radial-gradient(circle at 80% 70%, rgba(200,220,210,0.4) 0, transparent 40%),
      repeating-linear-gradient(120deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 40px);
    transition: transform 0.3s ease-out;
  }
  .hero-content { position: relative; z-index: 2; color: white; padding: 120px 0 64px; text-align: center; }
  .hero-title { font-size: 44px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; margin: 0 auto 16px; max-width: 720px; }
  .hero-sub { max-width: 640px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.88); }
  .hero-content .hero-actions { justify-content: center; }

  /* 视频展示：视频在上，选择标签在下 */
  .video-layout { display: flex; flex-direction: column; gap: 20px; max-width: 960px; margin: 0 auto; }
  .video-main { order: 0; position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/9; background: var(--ink-900); }
  .video-main img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
  .video-main iframe { width: 100%; height: 100%; border: 0; display: block; }
  .video-main.is-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: rgba(255,255,255,0.5); }
  .video-main.is-placeholder .ex-icon { opacity: 0.6; }
  /* 首屏第二张：海报运镜——左→右依次扫过产品及细节，最后镜头拉远看到最大全景。
     用 object-fit:cover + object-position 平移，任何视口下都铺满首屏、不留空白（超出部分裁切）。 */
  .hero-bg-slide.hero-poster {
    object-fit: cover; object-position: 50% 50%; transform-origin: center center;
    animation: hero-poster-sweep 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
  @keyframes hero-poster-sweep {
    0%,  6%   { object-position: 0% 50%;   transform: scale(1.28); }
    30%       { object-position: 34% 50%;  transform: scale(1.28); }
    50%       { object-position: 66% 50%;  transform: scale(1.28); }
    64%       { object-position: 100% 50%; transform: scale(1.28); }
    80%       { object-position: 100% 50%; transform: scale(1.1); }
    92%, 100% { object-position: 50% 50%;  transform: scale(1); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-bg-slide.hero-poster { animation: none; transform: none; object-position: 50% 50%; }
  }
  .video-list { order: 1; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
  .video-item { background: white; border-radius: 999px; padding: 10px 22px; border: 1px solid var(--paper-alt); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
  .video-item:hover, .video-item.active { border-color: var(--brand-green); background: var(--brand-green-tint); }
  .video-item.is-placeholder { cursor: default; opacity: 0.65; }
  .video-item .t { font-size: 16px; font-weight: 600; }

  /* 数据统计 */
  .stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  @media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
  .stat-tile { background: white; border-radius: var(--radius-md); padding: 26px 18px; text-align: center; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; }
  /* 首页四格：只保留一句完整短语（5–6 个词），不再有小字说明 */
  .stat-tile .num { font-size: 22px; font-weight: 700; line-height: 1.35; color: var(--brand-green); text-wrap: balance; }
  .section-head-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--brand-green); }
  .section-head-link:hover .ex-icon { transform: translateX(3px); }
  .section-head-link .ex-icon { transition: transform 0.2s var(--ease); }

  .placeholder-box {
    border: 1.5px dashed var(--ink-200); border-radius: var(--radius-md); padding: 30px; text-align: center; color: var(--ink-400); font-size: 16px; background: var(--paper-alt);
  }

  /* 详情页入口 3 卡（天然无机安全涂层 / 为什么选择宜瓷龙） */
  .teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; } }

/* 图标容器修饰（配合 .icon-chip）与图标 + 文字并排 */
.icon-chip.sm { width: 26px; height: 26px; border-radius: 8px; }
.icon-chip.round { border-radius: 50%; }
.icon-chip.solid { background: var(--brand-green); color: var(--white); }
.icon-inline { display: inline-flex; align-items: center; gap: 6px; }

/* 列表项目符号：用遮罩渲染同一套图标，避免在正文里出现字形字符。
   星形在 11px 下用实心版本，保证与原字形一样清晰。 */
:root {
  --icon-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --icon-mask-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M12 3.2 14.7 8.7 20.8 9.6 16.4 13.9 17.4 20 12 17.1 6.6 20 7.6 13.9 3.2 9.6 9.3 8.7Z'/%3E%3C/svg%3E");
}
.icon-mask {
  display: inline-block; flex-shrink: 0; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.icon-mask.check { -webkit-mask-image: var(--icon-mask-check); mask-image: var(--icon-mask-check); }
.icon-mask.star { -webkit-mask-image: var(--icon-mask-star); mask-image: var(--icon-mask-star); }

/* ---------- 系列与应用适配表（炊具涂层页 · 炊具外用开头） ---------- */
