@charset "UTF-8";
/* ==========================================================================
   镜曜 · 基础层（设计变量 / 重置 / 排版 / 液态玻璃 / 微交互 / 通用组件）
   全站统一字体：Microsoft YaHei
   ========================================================================== */

:root {
  /* 字体：全站统一 Microsoft 雅黑 */
  --font-sans: "Microsoft YaHei", "微软雅黑", "MSYH", "PingFang SC", sans-serif;
  --font-num: "Microsoft YaHei", "微软雅黑", "Segoe UI", sans-serif;

  /* 品牌色：镜（冷银蓝） × 曜（暖光金） */
  --brand-ink: #101728;
  --brand-ink-soft: #2b3448;
  --brand-mirror: #2f6bff;
  --brand-mirror-deep: #1b47c9;
  --brand-bright: #ffb340;
  --brand-bright-deep: #e8871b;
  /* 小字强调色：保证在浅色底上达到 4.5:1 以上的对比度 */
  --accent-ink: #1b47c9;

  /* 中性色 */
  --bg: #f4f5f8;
  --bg-elevated: #ffffff;
  --text: #14181f;
  --text-soft: #4d5566;
  --text-mute: #667085;
  --line: rgba(16, 23, 40, 0.08);
  --line-strong: rgba(16, 23, 40, 0.14);

  /* 液态玻璃（中等强度） */
  --glass-blur: 22px;
  --glass-sat: 175%;
  --glass-bg: rgba(255, 255, 255, 0.56);
  --glass-bg-strong: rgba(255, 255, 255, 0.74);
  --glass-bg-dim: rgba(255, 255, 255, 0.34);
  --glass-stroke: rgba(255, 255, 255, 0.68);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 12px 40px rgba(17, 28, 54, 0.1), 0 2px 8px rgba(17, 28, 54, 0.05);
  --glass-shadow-lg: 0 28px 70px rgba(17, 28, 54, 0.16), 0 6px 18px rgba(17, 28, 54, 0.07);
  --glass-blue-bg: linear-gradient(160deg, rgba(47, 107, 255, 0.92), rgba(27, 71, 201, 0.94));

  /* 尺度 */
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shell-max: 1240px;
  --reading-max: 46rem;

  /* 动效曲线 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);

  /* 层级 */
  --z-dot: 9999;
  --z-nav: 900;
  --z-fab: 860;
  --z-drawer: 950;
}

html[data-theme="night"] {
  --bg: #0d1017;
  --bg-elevated: #141924;
  --text: #eef1f7;
  --text-soft: #b9c1d2;
  --text-mute: #858ea3;
  --accent-ink: #8fb2ff;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass-bg: rgba(28, 34, 48, 0.56);
  --glass-bg-strong: rgba(32, 39, 55, 0.76);
  --glass-bg-dim: rgba(28, 34, 48, 0.34);
  --glass-stroke: rgba(255, 255, 255, 0.14);
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 14px 44px rgba(0, 0, 0, 0.42), 0 2px 8px rgba(0, 0, 0, 0.3);
  --glass-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55), 0 8px 22px rgba(0, 0, 0, 0.4);
}

/* 阅读页护眼（纸感）主题 */
html[data-theme="sepia"] {
  --bg: #f3ead9;
  --bg-elevated: #fbf5e9;
  --text: #2c2519;
  --text-soft: #52483a;
  --text-mute: #6f6553;
  --line: rgba(60, 48, 30, 0.1);
  --line-strong: rgba(60, 48, 30, 0.18);
  --glass-bg: rgba(255, 250, 240, 0.6);
  --glass-bg-strong: rgba(255, 250, 240, 0.78);
  --glass-stroke: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 12px 40px rgba(90, 70, 40, 0.14);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 环境光：柔和渐变的氛围底，长期静止，极缓慢呼吸 */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -2;
  background:
    radial-gradient(38vmax 32vmax at 12% 8%, rgba(47, 107, 255, 0.16), transparent 62%),
    radial-gradient(34vmax 30vmax at 88% 4%, rgba(255, 179, 64, 0.16), transparent 60%),
    radial-gradient(46vmax 40vmax at 70% 92%, rgba(47, 107, 255, 0.1), transparent 64%),
    radial-gradient(40vmax 34vmax at 22% 84%, rgba(255, 122, 179, 0.08), transparent 62%);
  filter: blur(6px);
  animation: ambientBreath 26s var(--ease-soft) infinite alternate;
  pointer-events: none;
}

html[data-theme="night"] body::before { opacity: 0.55; }
html[data-theme="sepia"] body::before { opacity: 0.5; }

@keyframes ambientBreath {
  from { transform: translate3d(-1.2%, -1%, 0) scale(1); }
  to { transform: translate3d(1.4%, 1.2%, 0) scale(1.045); }
}

/* 细微颗粒，避免大面积渐变出现色带 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
  font-family: var(--font-sans);
  font-size: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: 0; padding: 0; }

/* 可见焦点，保障键盘无障碍 */
:focus-visible {
  outline: 2px solid var(--brand-mirror);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(47, 107, 255, 0.22);
}

/* 滚动条（桌面端） */
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: rgba(16, 23, 40, 0.16);
    border: 3px solid transparent;
    background-clip: content-box;
    border-radius: 99px;
  }
  ::-webkit-scrollbar-thumb:hover { background: rgba(16, 23, 40, 0.28); background-clip: content-box; }
}

/* ==========================================================================
   鼠标跟随：仅一个纯白色干净光点，无光环、无拖尾、无按下形变
   ========================================================================== */
.jy-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 0.5px rgba(10, 16, 30, 0.28);
  pointer-events: none;
  z-index: var(--z-dot);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity 0.12s linear;
  will-change: transform;
  contain: layout style;
}

.jy-cursor-dot.is-visible { opacity: 1; }

@media (hover: none), (pointer: coarse) {
  .jy-cursor-dot { display: none; }
}

/* ==========================================================================
   液态玻璃
   ========================================================================== */
.jy-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow), var(--glass-inner);
}

.jy-glass-strong {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow-lg), var(--glass-inner);
}

.jy-glass-dim {
  background: var(--glass-bg-dim);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .jy-glass, .jy-glass-strong, .jy-glass-dim { background: var(--bg-elevated); }
}

/* ==========================================================================
   按钮
   ========================================================================== */
.jy-btn {
  --btn-pad-y: 0.72em;
  --btn-pad-x: 1.35em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.32s var(--ease-spring), box-shadow 0.32s var(--ease-soft), background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft), opacity 0.3s var(--ease-soft);
  white-space: nowrap;
  text-align: center;
}

.jy-btn:active { transform: scale(0.975); }

/* 主按钮：放大强化 —— 在线阅读 */
.jy-btn-primary {
  font-size: 1.09rem;
  font-weight: 700;
  padding: 1.02em 2.05em;
  color: #fff;
  background-image: var(--glass-blue-bg);
  box-shadow: 0 14px 34px rgba(27, 71, 201, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  letter-spacing: 0.01em;
}

.jy-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(27, 71, 201, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* 次级玻璃按钮 */
.jy-btn-glass {
  color: var(--text);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border-color: var(--glass-stroke);
  box-shadow: var(--glass-shadow);
}

.jy-btn-glass:hover {
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow-lg);
}

/* 弱化按钮：安装到桌面（刻意缩小、降低对比） */
.jy-btn-subtle {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5em 0.95em;
  color: var(--text-mute);
  background: var(--glass-bg-dim);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: var(--line);
  box-shadow: none;
}

.jy-btn-subtle:hover {
  color: var(--text-soft);
  border-color: var(--line-strong);
  background: var(--glass-bg);
}

.jy-btn-ghost {
  border-color: var(--line-strong);
  color: var(--text-soft);
  background: transparent;
}

.jy-btn-ghost:hover { color: var(--text); border-color: var(--text-mute); background: var(--glass-bg-dim); }

.jy-btn-block { width: 100%; }

/* ==========================================================================
   通用容器与标题
   ========================================================================== */
.jy-shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 40px);
}

.jy-section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.jy-section--tight { padding-block: clamp(48px, 6vw, 84px); }

.jy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.9rem;
}

.jy-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.jy-title-xl {
  font-size: clamp(2.1rem, 5.6vw, 4.15rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.jy-title-lg { font-size: clamp(1.75rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; }
.jy-title-md { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.jy-lead {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 46rem;
}

.jy-section-head { max-width: 52rem; margin-bottom: clamp(28px, 4vw, 56px); }
.jy-section-head--center { margin-inline: auto; text-align: center; }
.jy-section-head--center .jy-eyebrow { justify-content: center; }
.jy-section-head--center .jy-lead { margin-inline: auto; }

.jy-muted { color: var(--text-mute); }
.jy-strong { font-weight: 700; }
.jy-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;
}

.jy-skip {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -160%);
  z-index: 2000;
  padding: 0.6em 1.2em;
  border-radius: 999px;
  font-weight: 600;
  background: var(--brand-mirror);
  color: #fff;
  transition: transform 0.3s var(--ease-out);
}
.jy-skip:focus { transform: translate(-50%, 0); }

/* ==========================================================================
   滚动渐显 / 分段入场
   ========================================================================== */
.jy-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.85s var(--ease-out);
  transition-delay: var(--d, 0ms);
  filter: blur(6px);
  will-change: opacity, transform;
}

.jy-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.jy-reveal-left { transform: translate3d(-30px, 0, 0); }
.jy-reveal-right { transform: translate3d(30px, 0, 0); }
.jy-reveal-scale { transform: scale(0.965) translate3d(0, 18px, 0); }
.jy-reveal-fade { filter: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .jy-reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  body::before { animation: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
