/* =========================================================
   缪神猫的个人空间 · 创造影像的价值
   量子八卦 × 中国传统文化 × 高科技
   纯 CSS / SVG / JS 动态效果
   ========================================================= */

:root {
  --bg-0: #04070f;
  --bg-1: #070d1d;
  --bg-2: #0b1430;
  --ink: #eef1f8;
  --ink-dim: #9aa5bd;
  --ink-faint: #6b7490;
  /* 亮奶油金 · 发光主色（参考图：黄色部分自带辉光，色值介于 #FAF5CB 与 #FFFEF9 之间） */
  --gold: #faf5cb;
  --gold-bright: #fffef9;
  --gold-deep: #e6d69f;
  --gold-glow: rgba(250, 245, 203, 0.6);
  --gold-glow-soft: rgba(250, 245, 203, 0.3);
  --cinnabar: #c8402f;
  --line: rgba(250, 245, 203, 0.26);
  --line-soft: rgba(250, 245, 203, 0.13);
  --card: rgba(13, 20, 40, 0.66);
  --card-solid: #0b1226;
  --font-serif: "Noto Serif SC", "STSong", "SimSun", serif;
  --font-kai: "Ma Shan Zheng", "STXingkai", "KaiTi", "楷体", cursive;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Cinzel", "Noto Serif SC", serif;
  --ease-out: cubic-bezier(0.22, 0.78, 0.24, 1);
  --header-h: 76px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background:
    radial-gradient(1200px 800px at 82% -10%, rgba(79, 127, 212, 0.14), transparent 60%),
    radial-gradient(1000px 700px at -10% 30%, rgba(124, 60, 200, 0.12), transparent 60%),
    radial-gradient(900px 900px at 50% 110%, rgba(250, 245, 203, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 40%, var(--bg-0) 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
button, a { touch-action: manipulation; }

/* 胶片颗粒噪点 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* 暗角 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(2, 4, 10, 0.55) 100%);
}

::selection { background: rgba(250, 245, 203, 0.32); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  border-radius: 6px;
  border: 2px solid var(--bg-0);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

section { scroll-margin-top: calc(var(--header-h) + 16px); position: relative; z-index: 2; }

/* ---------- 量子粒子画布 ---------- */
#quantum-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- 两侧竖排装饰 ---------- */
.side-text {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.55em;
  color: rgba(250, 245, 203, 0.34);
  z-index: 3;
  pointer-events: none;
  user-select: none;
}
.side-text.left { left: 26px; }
.side-text.right { right: 26px; }

/* ---------- 自定义光标 ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold-bright); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(250, 245, 203, 0.7);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
    border-color 0.25s, background 0.25s, opacity 0.25s;
}
.cursor-ring.is-link {
  width: 56px; height: 56px;
  border-color: var(--gold-bright);
  background: rgba(250, 245, 203, 0.1);
}
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  z-index: 1200;
  background: rgba(250, 245, 203, 0.08);
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-bright));
  box-shadow: 0 0 12px rgba(250, 245, 203, 0.8);
}

/* ---------- 预加载 ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(800px 600px at 50% 40%, #0d1530 0%, var(--bg-0) 70%);
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
#preloader.is-done { opacity: 0; visibility: hidden; }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pre-tai { width: 108px; height: 108px; filter: drop-shadow(0 0 18px rgba(250, 245, 203, 0.45)); }
.pre-ring {
  fill: none;
  stroke: rgba(250, 245, 203, 0.85);
  stroke-width: 1.6;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: pre-draw 1.4s var(--ease-out) forwards;
}
.pre-s {
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 1.6;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: pre-draw 1.4s 0.35s var(--ease-out) forwards;
}
.pre-eye { opacity: 0; animation: pre-eye 0.5s 1.55s forwards; }
.pre-eye-d { fill: #0d1530; }
.pre-eye-l { fill: var(--gold-bright); }
@keyframes pre-draw { to { stroke-dashoffset: 0; } }
@keyframes pre-eye { to { opacity: 1; } }
.pre-title {
  font-family: var(--font-kai);
  font-size: 52px;
  letter-spacing: 0.18em;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pre-sub {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--ink-dim);
}
.pre-bar {
  width: 240px; height: 2px;
  background: rgba(250, 245, 203, 0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 10px;
}
.pre-progress {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  box-shadow: 0 0 10px rgba(250, 245, 203, 0.7);
}
.pre-percent { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.2em; color: var(--gold); }
.pre-tip { font-size: 12px; letter-spacing: 0.2em; color: var(--ink-faint); margin-top: 4px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 40px;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-tai { width: 38px; height: 38px; animation: spin-slow 14s linear infinite; }
.logo-text {
  font-family: var(--font-kai);
  font-size: 24px;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.logo-text em {
  display: block;
  font-family: var(--font-en);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--ink-faint);
  -webkit-text-fill-color: var(--ink-faint);
}
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 8px 13px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--gold-bright); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  flex-shrink: 0;
  padding: 9px 20px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.nav-cta:hover {
  background: rgba(250, 245, 203, 0.12);
  box-shadow: 0 0 24px rgba(250, 245, 203, 0.25);
  transform: translateY(-1px);
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: 6px; }
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--gold);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 移动端全屏菜单 ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: calc(var(--header-h) + 18px) 18px 30px;
  overflow-y: auto;
  background:
    radial-gradient(680px circle at 50% 22%, rgba(250, 245, 203, 0.11), transparent 62%),
    radial-gradient(760px circle at 50% 110%, rgba(79, 127, 212, 0.14), transparent 62%),
    rgba(4, 7, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s, visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }

/* 菜单抬头 */
.mm-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.6s var(--ease-out) 0.05s, transform 0.6s var(--ease-out) 0.05s;
}
.mobile-menu.open .mm-head { opacity: 1; transform: none; }
.mm-head b {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 254, 249, 0.55), 0 0 40px rgba(250, 245, 203, 0.3);
}
.mm-head i {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--ink-faint);
}
.mm-head::after {
  content: "";
  width: 132px; height: 1px;
  margin-top: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 254, 249, 0.75), transparent);
  box-shadow: 0 0 10px rgba(250, 245, 203, 0.6);
}

/* 玻璃面板 */
.mobile-menu nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 14px;
  flex-shrink: 0;
  width: min(94vw, 480px);
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 25, 48, 0.72), rgba(7, 12, 26, 0.8));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55),
              0 0 60px rgba(250, 245, 203, 0.07),
              inset 0 1px 0 rgba(255, 254, 249, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mm-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid #ECE0AD;
  border-radius: 10px;
  background: #2B2B32;
  box-shadow: 0 6px 22px rgba(236, 224, 173, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: var(--font-serif);
  color: #f0e6c4;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              background 0.3s, color 0.3s, border-color 0.3s;
}
.mobile-menu.open .mm-link { opacity: 1; transform: none; }
.mm-link:hover, .mm-link:active {
  background: #3a3a44;
  border-color: #f5ecce;
  color: #fff7e0;
  box-shadow: 0 10px 30px rgba(236, 224, 173, 0.3);
}

/* 朱砂印章序号 + 金边 */
/* 光学居中：楷体墨迹天然偏上偏左；line-height:1 消除继承行高带来的基线偏移，
   再用 padding-bottom 0.75px 做垂直亚像素补偿（DSF=4 像素实测 ΔV=-0.38px、ΔH=-0.16px） */
.mm-link i {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: var(--font-kai);
  font-size: 14px;
  line-height: 1;
  padding-bottom: 0.75px;
  color: #f0e6c4;
  background: linear-gradient(135deg, rgba(236, 224, 173, 0.22), rgba(236, 224, 173, 0.06));
  border: 1px solid rgba(236, 224, 173, 0.55);
  border-radius: 9px;
  transform: none;
  box-shadow: 0 4px 14px rgba(236, 224, 173, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.mm-link:hover i, .mm-link:active i {
  transform: scale(1.06);
  border-color: #f5ecce;
  color: #fff7e0;
  box-shadow: 0 6px 20px rgba(236, 224, 173, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mm-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
.mm-txt em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  transition: color 0.3s;
}
.mm-link:hover .mm-txt em, .mm-link:active .mm-txt em { color: var(--gold); }
.mm-arrow {
  display: none;
  margin-left: auto;
  font-size: 13px;
  color: var(--gold);
  opacity: 0.4;
  transition: opacity 0.3s, transform 0.3s var(--ease-out), color 0.3s;
}
.mm-link:hover .mm-arrow, .mm-link:active .mm-arrow {
  opacity: 1;
  color: var(--gold-bright);
  transform: translateX(3px);
}

/* 内圈太极作为背景装饰，不响应点击（整组 hero-bagua 已 pointer-events:none） */
.ring-taiji { pointer-events: none; }

/* 量子纠缠提示（位置：八卦天环与「十方境界」按钮之间的下中部） */
.quantum-toast {
  position: fixed;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  z-index: 1200;
  pointer-events: none;
  font-family: var(--font-serif);
  font-size: clamp(20px, 5.4vw, 26px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  white-space: nowrap;
  color: var(--gold-bright);
  text-shadow: 0 0 18px var(--gold-glow), 0 0 42px var(--gold-glow-soft);
  opacity: 0;
}
.quantum-toast.show { animation: toastFade 10s ease forwards; }
@keyframes toastFade {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.82); }
  16%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  68%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .quantum-toast.show { animation: none; opacity: 1; }
}

/* ---------- 右侧圆点导航 ---------- */
.side-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.side-nav a {
  position: relative;
  width: 10px; height: 10px;
  display: grid;
  place-items: center;
}
.side-nav a span {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(250, 245, 203, 0.55);
  background: transparent;
  transition: all 0.3s var(--ease-out);
}
.side-nav a:hover span { background: var(--gold); transform: scale(1.25); }
.side-nav a.active span {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 0 10px rgba(255, 254, 249, 0.8);
  transform: scale(1.35);
}
.side-nav a::after {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.side-nav a:hover::after { opacity: 1; }

/* ---------- 首屏 ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 20px 120px;
}

/* 八卦天环 */
.hero-bagua {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  width: min(118vw, 860px);
  height: min(118vw, 860px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
}
/* 八卦天环旋转由 SVG SMIL animateTransform 驱动（rotate 200,200 即 viewBox 中心），
   切勿在此加 transform-origin/transform-box，会与 SMIL 中心补偿叠加导致图形被推离原位 */
.ring-outer, .ring-dash, .ring-inner { fill: none; stroke: var(--gold); }
.ring-outer { stroke-width: 1; }
.ring-dash { stroke-width: 0.8; stroke-dasharray: 2 10; }
.ring-inner { stroke-width: 0.6; opacity: 0.7; }
.bagua-syms use { fill: var(--gold); }

/* 量子轨道装饰 */
.orbit-deco { position: absolute; color: var(--gold); pointer-events: none; z-index: 1; }
.orbit-deco.o1 { width: 240px; top: 15%; right: 9%; opacity: 0.4; }
.orbit-deco.o2 { width: 300px; bottom: 10%; left: 7%; opacity: 0.3; }
.orbit-spin { animation: spin-slow 12s linear infinite; transform-origin: 100px 100px; }
.orbit-spin-rev { animation: spin-rev 16s linear infinite; transform-origin: 100px 100px; }
.orbit-electron { filter: drop-shadow(0 0 5px currentColor); }

/* 首屏内容 */
.hero-content { position: relative; z-index: 5; text-align: center; max-width: 960px; }
.hero-eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.9s var(--ease-out) 0.15s;
}
body.loaded .hero-eyebrow { opacity: 1; transform: none; }

.hero-title {
  font-family: var(--font-kai);
  font-weight: 400;
  font-size: clamp(52px, 9.2vw, 124px);
  line-height: 1.14;
  letter-spacing: 0.04em;
  margin: 18px 0 6px;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 58%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(250, 245, 203, 0.55)) drop-shadow(0 10px 44px rgba(250, 245, 203, 0.3));
}
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(70px) rotate(6deg) scale(0.9);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero-title .char:nth-child(1) { transition-delay: 0.25s; }
.hero-title .char:nth-child(2) { transition-delay: 0.33s; }
.hero-title .char:nth-child(3) { transition-delay: 0.41s; }
.hero-title .char:nth-child(4) { transition-delay: 0.49s; }
.hero-title .char:nth-child(5) { transition-delay: 0.57s; }
.hero-title .char:nth-child(6) { transition-delay: 0.65s; }
.hero-title .char:nth-child(7) { transition-delay: 0.73s; }
.hero-title .char:nth-child(8) { transition-delay: 0.81s; }
.hero-title .char:nth-child(9) { transition-delay: 0.89s; }
body.loaded .hero-title .char { opacity: 1; transform: none; }
.hero-title .punct {
  -webkit-text-fill-color: var(--cinnabar);
  color: var(--cinnabar);
  filter: drop-shadow(0 0 22px rgba(200, 64, 47, 0.55));
}

.hero-en {
  font-family: var(--font-en);
  font-size: clamp(11px, 1.4vw, 15px);
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  color: var(--ink-faint);
  opacity: 0;
  transition: 0.9s var(--ease-out) 0.7s;
}
body.loaded .hero-en { opacity: 1; }

.hero-sub-wrap {
  position: relative;
  display: inline-block;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(24px);
  transition: 0.9s var(--ease-out) 0.85s;
}
body.loaded .hero-sub-wrap { opacity: 1; transform: none; }
.hero-sub {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(20px, 3.2vw, 34px);
  letter-spacing: 0.2em;
  color: var(--ink);
  min-height: 1.6em;
  white-space: nowrap;
}
.hero-sub .tw-caret {
  color: var(--gold-bright);
  animation: caret-blink 0.9s steps(1) infinite;
  font-weight: 300;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.hero-brush {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: min(420px, 80vw);
  opacity: 0.9;
}
.hero-brush path { transform-origin: left center; transform: scaleX(0); }
body.loaded .hero-brush path { animation: brush-in 0.9s 1.5s var(--ease-out) forwards; }
@keyframes brush-in { to { transform: scaleX(1); } }

.hero-desc {
  margin: 46px auto 0;
  max-width: 640px;
  font-size: clamp(13px, 1.6vw, 15.5px);
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(24px);
  transition: 0.9s var(--ease-out) 1s;
}
body.loaded .hero-desc { opacity: 1; transform: none; }

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  transition: 0.9s var(--ease-out) 1.15s;
}
body.loaded .hero-actions { opacity: 1; transform: none; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: #1a1408;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 8px 30px rgba(250, 245, 203, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.btn-primary:hover { box-shadow: 0 14px 44px rgba(250, 245, 203, 0.5); }
/* 书本样式按钮（首屏「十方境界 / 资源中心」）：金边 #ECE0AD + 深灰封面 #2B2B32 + 左侧书脊 */
.btn-book {
  color: #f0e6c4;
  background: #2B2B32;
  border: 1px solid #ECE0AD;
  border-radius: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  box-shadow: 0 6px 22px rgba(236, 224, 173, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.btn-book:hover {
  background: #3a3a44;
  border-color: #f5ecce;
  color: #fff7e0;
  box-shadow: 0 10px 30px rgba(236, 224, 173, 0.3);
}
.btn-ghost {
  color: var(--gold-bright);
  border: 1px solid var(--line);
  background: rgba(250, 245, 203, 0.06);
}
.btn-ghost:hover { border-color: var(--gold); box-shadow: 0 0 30px rgba(250, 245, 203, 0.22); }

/* 下滑提示 */
.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: 0.9s var(--ease-out) 1.3s;
}
body.loaded .hero-scroll { opacity: 1; }
.scroll-tai { width: 52px; height: 52px; }
.scroll-ring { transform-origin: 50px 50px; animation: spin-slow 8s linear infinite; }
.scroll-text {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: var(--ink-faint);
  animation: scroll-hint 2.2s ease-in-out infinite;
}
@keyframes scroll-hint { 50% { transform: translateY(6px); opacity: 0.55; } }

/* ---------- 跑马灯 ---------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 13, 29, 0.6);
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 84s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-seg { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee-seg span {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  white-space: nowrap;
}
.marquee-seg b { color: var(--gold); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 板块通用 ---------- */
.section { padding: 110px 40px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 60px;
}
.section-num {
  font-family: var(--font-kai);
  font-size: clamp(64px, 7vw, 96px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(250, 245, 203, 0.6);
  text-stroke: 1.5px rgba(250, 245, 203, 0.6);
  flex-shrink: 0;
  transition: -webkit-text-stroke-color 0.4s, transform 0.5s var(--ease-out);
  transform-origin: center;
}
.section-head:hover .section-num {
  -webkit-text-stroke-color: var(--accent, var(--gold));
  transform: scale(1.05);
}
.section-en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--accent, var(--gold));
  opacity: 0.85;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: 0.1em;
  line-height: 1.2;
  background: linear-gradient(180deg, #fff 10%, rgba(238, 241, 248, 0.82) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title a.sec-title-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  transition: filter .3s, text-shadow .3s;
}
.section-title a.sec-title-link:hover {
  filter: brightness(1.14) drop-shadow(0 0 16px rgba(250, 245, 203, 0.45));
}
.section-title .sec-ext {
  font-size: 0.52em;
  font-weight: 700;
  margin-left: 0.14em;
  transform: translateY(-0.12em);
  transition: transform .3s var(--ease-out);
}
.section-title a.sec-title-link:hover .sec-ext { transform: translateY(-0.3em); }
.section-desc {
  margin-top: 14px;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  max-width: 720px;
}

/* ---------- 十方菜单卡片 ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 26px 22px 22px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
}
.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.09), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.menu-card:hover::before { opacity: 1; }
.menu-card:hover {
  border-color: var(--accent);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent);
}
.menu-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out);
}
.menu-card:hover::after { transform: scaleX(1); }
.mc-seal {
  position: absolute;
  top: 14px; right: 14px;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  font-family: var(--font-kai);
  font-size: 15px;
  /* 光学居中：楷体墨迹天然偏上偏左；line-height:1 消除继承行高带来的基线偏移，
     再用 padding-bottom 0.75px 做垂直亚像素补偿（DSF=4 像素实测 ΔV=-0.38px、ΔH=+0.30px） */
  line-height: 1;
  padding-bottom: 0.75px;
  color: #fff;
  background: linear-gradient(135deg, var(--cinnabar), #9c2b1f);
  border-radius: 6px;
  transform: none;
  box-shadow: 0 3px 10px rgba(200, 64, 47, 0.4);
}
/* 「乾坤万象」菜单卡：壹~玖 序号印章配色（边框 + 背景）；零（影像故事）保持默认朱砂印章 */
.menu-grid .menu-card:nth-child(n+2) .mc-seal {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}
.menu-grid .menu-card:nth-child(2) .mc-seal  { border: 1px solid #695C44; background: #D6B369; }
.menu-grid .menu-card:nth-child(3) .mc-seal  { border: 1px solid #4E562A; background: #BCC533; }
.menu-grid .menu-card:nth-child(4) .mc-seal  { border: 1px solid #252B47; background: #6371C7; }
.menu-grid .menu-card:nth-child(5) .mc-seal  { border: 1px solid #2F6A8B; background: #4EC0F4; }
.menu-grid .menu-card:nth-child(6) .mc-seal  { border: 1px solid #544381; background: #AA7CF6; }
.menu-grid .menu-card:nth-child(7) .mc-seal  { border: 1px solid #223A43; background: #4FC2AB; }
.menu-grid .menu-card:nth-child(8) .mc-seal  { border: 1px solid #635026; background: #EAAF29; }
.menu-grid .menu-card:nth-child(9) .mc-seal  { border: 1px solid #643E44; background: #F3847C; }
.menu-grid .menu-card:nth-child(10) .mc-seal { border: 1px solid #2F5355; background: #5FB2A0; }
.mc-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.mc-icon svg { width: 30px; height: 30px; }
.menu-card:hover .mc-icon {
  transform: translateZ(30px) rotate(-6deg) scale(1.08);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
}
.mc-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.mc-en {
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
}
.mc-desc { font-size: 13px; color: var(--ink-dim); line-height: 1.65; flex-grow: 1; }
.mc-go {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
  transition: letter-spacing 0.35s var(--ease-out);
}
.menu-card:hover .mc-go { letter-spacing: 0.3em; }

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 400px 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.avatar-frame { position: relative; width: min(360px, 78vw); margin: 0 auto; aspect-ratio: 1; }
.avatar-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.avatar-spin { transform-origin: 110px 110px; animation: spin-rev 26s linear infinite; }
.avatar-svg {
  position: absolute;
  inset: 6%;
  width: 88%; height: 88%;
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--line-soft), 0 0 60px rgba(250, 245, 203, 0.12);
}
.avatar-float { animation: avatar-bob 5s ease-in-out infinite; transform-origin: 100px 150px; }
.avatar-img { object-fit: cover; display: block; animation: avatar-bob 6s ease-in-out infinite; }
@keyframes avatar-bob { 50% { transform: translateY(-4px) rotate(1.2deg); } }
.about-name {
  font-family: var(--font-kai);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff 5%, var(--gold) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-name span {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  -webkit-text-fill-color: var(--ink-faint);
  margin-left: 14px;
}
.about-role {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin: 8px 0 22px;
}
.about-bio { font-size: 15px; color: var(--ink-dim); max-width: 640px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  padding: 6px 15px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(250, 245, 203, 0.05);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.tag:hover { border-color: var(--gold); background: rgba(250, 245, 203, 0.14); transform: translateY(-2px); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px dashed var(--line-soft);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 12.5px; letter-spacing: 0.18em; color: var(--ink-faint); margin-top: 8px; display: block; }

/* ---------- 迷你卡片网格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.mini-card {
  position: relative;
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s, background 0.4s;
}
.mini-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent, var(--gold)), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease-out);
}
.mini-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent, var(--gold)) 45%, transparent);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  background: rgba(16, 24, 48, 0.8);
}
.mini-card:hover::before { transform: scaleY(1); }
a.mini-card { display: block; color: inherit; text-decoration: none; }
a.expert-card { display: block; color: inherit; text-decoration: none; }
.mini-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.mini-card:hover .mini-title { color: var(--accent, var(--gold-bright)); }
.mini-text { font-size: 13.5px; color: var(--ink-dim); line-height: 1.75; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mini-tags span {
  padding: 3px 11px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--accent, var(--gold)) 80%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--gold)) 8%, transparent);
}
/* 软件下载卡片：可点击的软件名（标签 + 正文内链接） */
.mini-tags a {
  padding: 3px 11px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: color-mix(in srgb, var(--accent, var(--gold)) 80%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--gold)) 8%, transparent);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.mini-tags a:hover {
  background: color-mix(in srgb, var(--accent, var(--gold)) 22%, transparent);
  border-color: var(--gold);
  color: #fff;
}
/* 资源卡片「医院检索」行动按钮（红色） */
.mini-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a7a, #d8394b);
  box-shadow: 0 8px 22px rgba(216, 57, 75, 0.35);
  transition: filter .2s ease, transform .2s ease;
}
.mini-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.mini-text .rs-link {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--gold) 60%, transparent);
  transition: color .25s ease, border-color .25s ease;
}
.mini-text .rs-link:hover {
  color: #fff;
  border-bottom-color: var(--gold-bright, #fffef9);
}
.mini-card, .expert-card, .tl-item { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- 二级菜单 ---------- */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 42px;
  padding-bottom: 2px;
}
.subnav a {
  position: relative;
  padding: 7px 17px;
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(250, 245, 203, 0.04);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.subnav a::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent, var(--gold));
  vertical-align: 2px;
  transition: box-shadow 0.3s;
}
.subnav a:hover {
  color: var(--gold-bright);
  border-color: color-mix(in srgb, var(--accent, var(--gold)) 55%, transparent);
  background: color-mix(in srgb, var(--accent, var(--gold)) 10%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.subnav a:hover::before { box-shadow: 0 0 8px var(--accent, var(--gold)); }
.subnav a.active {
  color: #1a1407;
  font-weight: 600;
  border-color: var(--accent, var(--gold));
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.subnav a.active::before { background: #1a1407; box-shadow: none; }
.subnav-apply {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  padding: 7px 17px;
  color: var(--gold-bright);
  border: 1px solid var(--accent, var(--gold));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--gold)) 16%, transparent);
  white-space: nowrap;
  transition: all .3s var(--ease-out);
}
.subnav-apply:hover {
  background: var(--accent, var(--gold));
  color: #1a1407;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.expert-filterbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -26px 0 34px;
  padding: 9px 8px 9px 16px;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(250, 245, 203, 0.05);
  width: fit-content;
}
.expert-filterbar b { color: var(--gold-bright); }
.expert-filterbar[hidden] { display: none !important; }
.expert-filterbar button {
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  transition: all .25s;
}
.expert-filterbar button:hover { background: rgba(250, 245, 203, 0.12); border-color: var(--line-strong); }

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--line) 8%, var(--line) 92%, transparent);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 44px 42px 0;
}
.tl-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 42px 44px;
}
.tl-year {
  position: absolute;
  top: 14px;
  right: -22px;
  min-width: 74px;
  padding: 5px 12px;
  text-align: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #1a1408;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(250, 245, 203, 0.35);
}
.tl-item:nth-child(even) .tl-year { right: auto; left: -22px; }
.tl-card {
  position: relative;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.tl-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.tl-card::before {
  content: "";
  position: absolute;
  top: 26px;
  right: -6px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px rgba(255, 254, 249, 0.9);
}
.tl-item:nth-child(even) .tl-card::before { right: auto; left: -6px; }
.tl-card h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 8px;
}
.tl-card p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.75; }

/* ---------- 专家卡片 ---------- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.expert-card {
  position: relative;
  padding: 34px 24px 26px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.expert-card::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--gold)) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.expert-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent, var(--gold)) 50%, transparent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.expert-avatar {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-kai);
  font-size: 32px;
  color: var(--gold-bright);
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 25%, rgba(250, 245, 203, 0.22), transparent 60%),
    rgba(11, 18, 38, 0.9);
  box-shadow: inset 0 0 24px rgba(250, 245, 203, 0.12), 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.expert-card:hover .expert-avatar {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: inset 0 0 24px rgba(250, 245, 203, 0.2), 0 0 30px rgba(250, 245, 203, 0.3);
}
.expert-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.expert-en {
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin: 5px 0 12px;
}
.expert-desc { font-size: 13px; color: var(--ink-dim); line-height: 1.7; min-height: 4.2em; }
.expert-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 13px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.expert-card.is-placeholder .expert-avatar {
  color: var(--ink-faint);
  border-style: dashed;
  box-shadow: none;
}
.expert-card.is-placeholder .expert-tag { color: var(--ink-faint); border-style: dashed; }

/* ---------- 专家详情展开 / 收起 ---------- */
.expert-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 7px 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .3s, background .3s, transform .2s;
}
.expert-toggle:hover {
  border-color: var(--gold);
  background: rgba(250, 245, 203, 0.08);
}
.expert-toggle:active { transform: scale(.97); }
.expert-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.ex-tri {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform .3s ease;
}
.expert-toggle[aria-expanded="true"] .ex-tri { transform: rotate(-180deg); }
.expert-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
  text-align: left;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-dim);
}
.expert-detail[hidden] { display: none !important; }
.expert-detail h4 {
  margin: 14px 0 5px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}
.expert-detail h4:first-child { margin-top: 0; }
.expert-detail p { margin: 0 0 4px; text-align: justify; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  padding: 90px 40px 36px;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(250, 245, 203, 0.07), transparent 65%),
    rgba(4, 7, 15, 0.85);
}
.footer-call {
  font-family: var(--font-kai);
  font-size: clamp(64px, 10vw, 128px);
  line-height: 1;
  letter-spacing: 0.1em;
  background: linear-gradient(180deg, rgba(255, 254, 249, 0.9), rgba(165, 132, 62, 0.25));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 40px rgba(250, 245, 203, 0.2));
}
.footer-slogan {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--gold);
  margin: 14px 0 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a, .footer-links span {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-bright); }
.footer-link-btn {
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: color 0.3s;
}
.footer-link-btn:hover { color: var(--gold-bright); }
.footer-mail { color: var(--ink-dim); text-decoration: none; }
.footer-mail:hover { color: var(--gold-bright); }

/* 页脚公众号（邮箱下方） */
.footer-wxpub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
}
.footer-wxpub__img {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  border: 1px solid var(--gold-line, rgba(216,181,106,.35));
  background: #fff;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.footer-wxpub__cap {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gold-bright, #f6dfa0);
  max-width: 200px;
}

/* ===== 微信二维码弹窗（金辉国风） ===== */
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wechat-modal.open { display: flex; }
.wechat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wechat-modal__card {
  position: relative;
  width: min(340px, 86vw);
  padding: 26px 26px 30px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(250, 245, 203, 0.10), rgba(8, 13, 29, 0) 60%),
    linear-gradient(160deg, #0c1430, #070d1d);
  border: 1px solid rgba(250, 245, 203, 0.55);
  box-shadow:
    0 0 0 1px rgba(250, 245, 203, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(250, 245, 203, 0.18);
  animation: wechatPop 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes wechatPop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.wechat-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(250, 245, 203, 0.08);
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.wechat-modal__close:hover { background: rgba(250, 245, 203, 0.18); color: var(--gold-bright); }
.wechat-modal__frame {
  display: inline-block;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(160deg, #fffef9, #f3eccf);
  box-shadow: inset 0 0 0 2px rgba(250, 245, 203, 0.9), 0 6px 20px rgba(0, 0, 0, 0.35);
}
.wechat-modal__qr {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 8px;
}
.wechat-modal__caption {
  margin: 18px 0 4px;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
}
.wechat-modal__sub {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
}

/* ===== 专家「申请入驻」弹窗 ===== */
.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.apply-modal.open { display: flex; }
.apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.apply-modal__card {
  position: relative;
  width: min(420px, 90vw);
  padding: 30px 28px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(250, 245, 203, 0.10), rgba(8, 13, 29, 0) 60%),
    linear-gradient(160deg, #0c1430, #070d1d);
  border: 1px solid rgba(250, 245, 203, 0.55);
  box-shadow:
    0 0 0 1px rgba(250, 245, 203, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(250, 245, 203, 0.18);
  animation: applyPop 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes applyPop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.apply-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(250, 245, 203, 0.08);
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.apply-modal__close:hover { background: rgba(250, 245, 203, 0.18); color: var(--gold-bright); }
.apply-modal__title {
  margin: 4px 0 12px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.apply-modal__lead { margin: 0 0 14px; font-size: 14px; color: var(--ink-dim); line-height: 1.7; }
.apply-modal__mail {
  display: inline-block;
  margin: 0 0 16px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #1a1407;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  box-shadow: 0 8px 22px rgba(236, 224, 173, 0.25);
  transition: filter .25s, transform .2s;
}
.apply-modal__mail:hover { filter: brightness(1.06); transform: translateY(-1px); }
.apply-modal__tip { margin: 0; font-size: 12.5px; color: var(--ink-dim); line-height: 1.8; }
.apply-modal__tip b { color: var(--gold-deep); font-weight: 600; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1100px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

/* ---------- 页脚 · 总访问用户数（点击进入统计详情页） ---------- */
.visit-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(250, 245, 203, 0.08);
  color: var(--gold-bright);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s;
}
.visit-count::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.visit-count:hover {
  background: rgba(250, 245, 203, 0.16);
  box-shadow: 0 0 18px var(--gold-glow-soft);
  color: #fff;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- 页脚 · 底部操作区（统计 / 价值 按钮） ---------- */
.footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
#valueBtn { cursor: pointer; border: 0; font-family: inherit; }
#valueBtn::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 8px rgba(200, 64, 47, 0.8);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
#valueBtn:hover {
  background: rgba(200, 64, 47, 0.22);
  color: #fff;
  box-shadow: 0 0 18px rgba(200, 64, 47, 0.45);
}

/* ---------- 页脚 · 微信公众号（居中展示） ---------- */
.footer-wxpub-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 1100px;
  margin: 46px auto 0;
  padding: 22px 26px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(250, 245, 203, 0.05), rgba(200, 64, 47, 0.06));
  box-shadow: inset 0 0 40px rgba(250, 245, 203, 0.03);
}
.footer-wxpub-center__img {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px;
}
.footer-wxpub-center__txt { text-align: left; }
.footer-wxpub-center__name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}
.footer-wxpub-center__cap {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}

/* ---------- 「价值」BI 数据总览弹窗 ---------- */
.bi-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bi-modal[aria-hidden="false"] { display: flex; }
.bi-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 15, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: bi-fade .28s ease both;
}
.bi-modal__card {
  position: relative;
  width: min(880px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  padding: 34px 36px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(250, 245, 203, 0.09), transparent 62%),
    linear-gradient(160deg, #0d1530 0%, #070d1d 58%, #0a1024 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(250, 245, 203, 0.06) inset;
  animation: bi-rise .38s var(--ease-out) both;
}
@keyframes bi-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bi-rise {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.bi-modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.bi-modal__close:hover { background: rgba(200, 64, 47, .3); color: #fff; transform: rotate(90deg); }
.bi-modal__head { text-align: center; margin-bottom: 26px; }
.bi-modal__title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
}
.bi-modal__sub {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.bi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bi-tile {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(250, 245, 203, 0.07), rgba(255, 255, 255, 0.015));
  transition: transform .28s var(--ease-out), border-color .28s, box-shadow .28s;
  animation: bi-tile-in .42s var(--ease-out) both;
}
.bi-tile:nth-child(1) { animation-delay: .02s; }
.bi-tile:nth-child(2) { animation-delay: .05s; }
.bi-tile:nth-child(3) { animation-delay: .08s; }
.bi-tile:nth-child(4) { animation-delay: .11s; }
.bi-tile:nth-child(5) { animation-delay: .14s; }
.bi-tile:nth-child(6) { animation-delay: .17s; }
.bi-tile:nth-child(7) { animation-delay: .20s; }
.bi-tile:nth-child(8) { animation-delay: .23s; }
.bi-tile:nth-child(9) { animation-delay: .26s; }
@keyframes bi-tile-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.bi-tile::after {
  content: "";
  position: absolute;
  right: -26px; top: -26px;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 245, 203, 0.16), transparent 70%);
  pointer-events: none;
}
.bi-tile:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4), 0 0 22px var(--gold-glow-soft);
}
.bi-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: rgba(250, 245, 203, 0.1);
  border: 1px solid var(--line-soft);
  color: var(--gold-deep);
}
.bi-tile__icon svg { display: block; }
.bi-tile__value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.bi-tile__unit { font-size: 12px; font-weight: 400; color: var(--ink-faint); letter-spacing: .08em; }
.bi-tile__label {
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}
.bi-modal__foot {
  margin: 24px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.bi-modal__foot::before,
.bi-modal__foot::after { content: "·"; margin: 0 10px; color: var(--line); }
.bi-load {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ink-faint);
}
.bi-error { color: var(--cinnabar); }

@media (max-width: 860px) {
  .bi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bi-modal { padding: 14px; }
  .bi-modal__card { padding: 28px 18px 20px; }
  .bi-modal__title { font-size: 20px; letter-spacing: .14em; }
  .bi-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bi-tile { padding: 14px 12px 13px; }
  .bi-tile__value { font-size: 21px; }
  .bi-tile__label { font-size: 11.5px; letter-spacing: .1em; }
  .footer-wxpub-center { flex-direction: column; text-align: center; gap: 12px; padding: 18px; }
  .footer-wxpub-center__txt { text-align: center; }
  .footer-wxpub-center__img { width: 88px; height: 88px; }
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 900;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 13, 29, 0.85);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { box-shadow: 0 0 28px rgba(250, 245, 203, 0.35); }
.back-top svg { width: 40px; height: 40px; }
.bt-ring { transform-origin: 50px 50px; animation: spin-slow 8s linear infinite; }

/* =========================================================
   亮奶油金发光层
   参考「高科技与国风结合的八卦图」：金色部分自带辉光（bloom），
   主色在 #FAF5CB 与 #FFFEF9 之间渐变，叠加多层柔光/硬光
   ========================================================= */
/* 首屏八卦背后的柔光晕（静态+缓慢呼吸，性能友好） */
.hero-bloom {
  position: absolute;
  left: 50%; top: 46%;
  width: min(112vw, 800px);
  height: min(112vw, 800px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(255, 254, 249, 0.20) 0%,
    rgba(250, 245, 203, 0.11) 34%,
    rgba(250, 245, 203, 0.04) 52%,
    rgba(250, 245, 203, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: bloom-pulse 7.5s ease-in-out infinite;
}
@keyframes bloom-pulse {
  0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

/* 八卦天环：提亮 + 线形辉光 */
.hero-bagua {
  opacity: 0.24;
  filter: drop-shadow(0 0 9px rgba(255, 254, 249, 0.6)) drop-shadow(0 0 30px rgba(250, 245, 203, 0.32));
}
.ring-outer { stroke-width: 1.3; }
.ring-inner { opacity: 0.85; }
/* 注：卦符辉光统一由父层 .hero-bagua 的 drop-shadow 承担，避免 24 个 use 各自滤镜拖慢移动端 */

/* 内圈太极：旋转由 SVG 内 SMIL（逆时针）驱动，叠加柔光使其稍突出于背景 */
.ring-taiji { filter: drop-shadow(0 0 12px rgba(255, 254, 249, 0.5)); }

/* 金墨标题 / 眉题 / 副题 */
.hero-eyebrow { text-shadow: 0 0 20px rgba(255, 254, 249, 0.55), 0 0 44px rgba(250, 245, 203, 0.3); }
.hero-sub { text-shadow: 0 0 30px rgba(250, 245, 203, 0.22); }
.hero-brush { filter: drop-shadow(0 0 12px rgba(255, 254, 249, 0.7)); }

/* 量子轨道装饰 */
.orbit-deco { filter: drop-shadow(0 0 8px rgba(255, 254, 249, 0.5)); }

/* 按钮：发光主体 */
.btn-primary {
  color: #241a06;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 52%, var(--gold-deep) 100%);
  box-shadow: 0 8px 30px rgba(250, 245, 203, 0.45),
              0 0 48px rgba(250, 245, 203, 0.32),
              inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.btn-primary:hover {
  box-shadow: 0 14px 54px rgba(250, 245, 203, 0.6),
              0 0 80px rgba(250, 245, 203, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.btn-ghost:hover { border-color: var(--gold); box-shadow: 0 0 34px rgba(250, 245, 203, 0.3); }

/* 下滑提示 */
.scroll-tai { filter: drop-shadow(0 0 12px rgba(255, 254, 249, 0.6)); }

/* 全局金色点缀统一加辉光 */
.logo-tai { filter: drop-shadow(0 0 10px rgba(250, 245, 203, 0.5)); }
.logo-text { filter: drop-shadow(0 0 16px rgba(250, 245, 203, 0.35)); }
.nav-link:hover, .nav-link.active { text-shadow: 0 0 16px rgba(255, 254, 249, 0.6); }
.nav-cta { border-color: var(--line); }
.nav-cta:hover { box-shadow: 0 0 28px rgba(250, 245, 203, 0.35); }
.marquee-seg b { text-shadow: 0 0 12px rgba(250, 245, 203, 0.65); }
.section-num { filter: drop-shadow(0 0 14px rgba(250, 245, 203, 0.32)); }
.about-role { text-shadow: 0 0 16px rgba(250, 245, 203, 0.42); }
.about-name { filter: drop-shadow(0 0 18px rgba(250, 245, 203, 0.28)); }
.tag { box-shadow: inset 0 0 18px rgba(250, 245, 203, 0.06); }
.tag:hover { box-shadow: 0 0 22px rgba(250, 245, 203, 0.3); }
.stat-num { filter: drop-shadow(0 0 18px rgba(250, 245, 203, 0.38)); }
.pre-tai { filter: drop-shadow(0 0 24px rgba(255, 254, 249, 0.65)); }
.pre-title { filter: drop-shadow(0 0 20px rgba(250, 245, 203, 0.42)); }
.pre-progress { box-shadow: 0 0 12px rgba(250, 245, 203, 0.8); }
.scroll-progress-bar { box-shadow: 0 0 14px rgba(250, 245, 203, 0.85); }
.side-nav a.active span { box-shadow: 0 0 12px rgba(255, 254, 249, 0.9); }
.back-top:hover { box-shadow: 0 0 30px rgba(250, 245, 203, 0.45); }
.mc-seal { box-shadow: 0 3px 10px rgba(200, 64, 47, 0.4), inset 0 0 0 1px rgba(250, 245, 203, 0.32); }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 动画 ---------- */
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-card:nth-child(10) { grid-column: 2; }
  .side-text, .side-nav { display: none; }
}
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 44px; }
  .about-visual { order: 2; }
  .section { padding: 84px 28px; }
  .site-header { padding: 0 24px; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .orbit-deco.o1, .orbit-deco.o2 { display: none; }
}
@media (max-width: 720px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-card:nth-child(10) { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .section-head { flex-direction: column; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-sub { white-space: normal; }
  .side-text { display: none; }
  /* 首屏标题单行适配 */
  .hero-title { font-size: clamp(36px, 10.4vw, 46px); letter-spacing: 0.02em; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-indent: 0.22em; line-height: 1.9; }
  .hero-en { letter-spacing: 0.3em; text-indent: 0.3em; }
  /* 八卦略收缩并整体居中偏上，把下半屏让给按钮区 */
  .hero-bagua {
    width: min(98vw, 54vh, 560px);
    height: min(98vw, 54vh, 560px);
    top: 34%;
  }
  /* 首屏内容改为纵向弹性布局：两个按钮被推到版面底部，正好落在中间大八卦下方、不重叠 */
  .hero { padding-bottom: 148px; }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: calc(100svh - var(--header-h) - 40px - 148px);
  }
  .hero-actions { margin-top: auto; padding-top: 44px; flex-wrap: nowrap; gap: 12px; }
  .hero-actions .btn { width: auto; white-space: nowrap; }
  .hero-desc br { display: none; }
  .marquee-seg span { font-size: 13px; letter-spacing: 0.14em; }
  .marquee-seg { gap: 18px; padding-right: 18px; }
  /* 二级菜单横向滑动 */
  .subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: -10px 0 30px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
  }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a { font-size: 13px; padding: 6px 14px; flex-shrink: 0; }
  .mini-card { padding: 22px 20px; }
  .section { padding: 72px 20px; }
  .expert-card { padding: 28px 20px 24px; }
  /* 时间线改为左侧单线 */
  .timeline::before { left: 14px; }
  .tl-item, .tl-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 34px 44px;
  }
  .tl-year, .tl-item:nth-child(even) .tl-year {
    right: auto; left: 0;
    top: 0;
    min-width: 0;
    padding: 4px 10px;
    font-size: 12px;
  }
  .tl-card { margin-top: 34px; }
  .tl-card::before, .tl-item:nth-child(even) .tl-card::before { left: -6px; right: auto; }
  .mobile-menu { gap: 6px; padding: calc(var(--header-h) + 4px) 16px 6px; }
  .mm-head { gap: 4px; }
  /* 移动菜单：单列竖排，十个一级菜单 10 行 1 列 */
  .mobile-menu nav { gap: 5px; padding: 8px 14px; }
  .mm-link { padding: 9px 14px; }
  .mm-txt { font-size: 15px; }
  .mm-txt em { letter-spacing: 0.18em; }
  .site-header { gap: 14px; padding: 0 18px; }
  .logo-text { font-size: 21px; }
}
@media (max-width: 480px) {
  .hero { padding: calc(var(--header-h) + 24px) 16px 148px; }
  .hero-content { min-height: calc(100svh - var(--header-h) - 24px - 148px); }
  .hero-title { font-size: clamp(34px, 10.2vw, 42px); }
  .hero-desc { font-size: 13px; }
  /* 按钮缩短宽度、同排居中：压缩内边距与字距，保证两个 4 字按钮一行放得下 */
  .hero-actions { padding-top: 36px; gap: 10px; }
  .hero-actions .btn { padding: 12px 22px; font-size: 15px; letter-spacing: 0.1em; text-indent: 0.1em; }
  .footer-call { font-size: clamp(54px, 16vw, 90px); }
  .footer-slogan { letter-spacing: 0.24em; text-indent: 0.24em; }
  .stats { gap: 18px; }
  .section-num { font-size: 58px; }
}
@media (max-width: 420px) {
  .menu-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: auto; padding: 11px 18px; font-size: 14px; }
  /* 移动菜单：始终保持单列竖排（10 行 1 列） */
  .mobile-menu nav { grid-template-columns: 1fr; padding: 7px 12px; gap: 3px; }
  .mm-link { padding: 8px 12px; }
  .mm-txt { font-size: 14px; }
  .mm-arrow { display: none; }
}
@media (max-width: 360px) {
  /* 超窄屏进一步压缩留白 */
  .mobile-menu nav { grid-template-columns: 1fr; padding: 6px 10px; gap: 4px; }
  .mm-link { padding: 8px 10px; }
  .mm-txt { font-size: 13px; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.15s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  /* 顶/底跑马灯（创造影像的价值 ✦ …）始终缓慢滚动，不受「减少动效」影响，保证 PC 端也持续流动 */
  .marquee-track {
    animation: marquee 84s linear infinite !important;
    animation-iteration-count: infinite !important;
    animation-duration: 84s !important;
  }
}
