/* ============================================================
   词元同序 · 设计系统
   ------------------------------------------------------------
   色板：品牌紫（色值取自 Logo）＋ 白 ＋ 冷紫灰阶
   规则：只有一个强调色；灰阶统一带紫调；阴影带色相且有偏移；
        圆角分级；动效走指数缓出。
   ============================================================ */

:root {
  /* ---------- 品牌紫（取自 Logo：主紫 #8820E8 / 亮紫 #A878F0）----------
     饱和度统一压在 80% 以下，避免刺眼 */
  --brand-50:  #F6F2FE;
  --brand-100: #EDE4FD;
  --brand-200: #DCCBFA;
  --brand-300: #C3A6F6;
  --brand-400: #A878F0;
  --brand-500: #9048F0;
  --brand-600: #8A2BE2;   /* 主色 */
  --brand-700: #6E1BBF;
  --brand-800: #4B1185;
  --brand-900: #2C0A52;

  /* Logo 中心圆的蓝紫，仅用于极小面积点缀 */
  --accent: #6F56F2;

  /* ---------- 冷紫灰阶（同一色相，不混冷暖）---------- */
  --ink-1: #191425;   /* 标题 */
  --ink-2: #46404F;   /* 正文 */
  --ink-3: #756E80;   /* 次要 */
  --ink-4: #A9A3B4;   /* 占位 / 禁用 */

  --surface:      #FFFFFF;
  --surface-soft: #FAF9FC;
  --surface-tint: #F5F3FA;   /* 小元素用（按钮/标签/进度条） */
  /* 大面积卡片用：与页面背景 (#F8F8FA) 亮度差需≥6，否则高分辨率屏
     会读成"灰底"、低分辨率屏读成"白底"，两台显示器观感不一致 */
  --surface-card: #F1EEFA;

  --line:        rgba(138, 43, 226, .12);
  --line-soft:   rgba(25, 20, 37, .07);
  --line-strong: rgba(138, 43, 226, .28);

  /* ---------- 圆角分级：容器大、内层小 ---------- */
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;

  /* ---------- 阴影：带紫相、有偏移 ---------- */
  --shadow-xs: 0 1px 2px rgba(44, 10, 82, .05);
  --shadow-sm: 0 2px 4px rgba(44, 10, 82, .04), 0 6px 16px rgba(44, 10, 82, .05);
  --shadow-md: 0 4px 8px rgba(44, 10, 82, .05), 0 16px 36px rgba(44, 10, 82, .08);
  --shadow-lg: 0 8px 16px rgba(44, 10, 82, .06), 0 32px 64px rgba(44, 10, 82, .12);
  --shadow-brand: 0 6px 18px rgba(138, 43, 226, .26);

  /* ---------- 动效 ---------- */
  --ease: cubic-bezier(.2, 0, 0, 1);   /* 指数缓出 */
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur: 200ms;

  /* ---------- 排版 ---------- */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
               -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --nav-h: 72px;
  /* 内容区最大宽度。1080→1320：1920 屏两侧从 380px 收到 300px，
     横向利用率 60%→69%；1440 屏仍留 60px 呼吸位，1366 笔记本不顶边。
     改这个值要连带看 .hero .lead / .section-head 等内部 max-width，
     它们是以 em 为单位跟着字号走的，不用动。 */
  --max: 1320px;

  /* ---------- 旧变量名兼容 ----------
     login / me / admin / watch 四个页面的内联样式仍引用旧名称，
     这里做一层别名，避免它们失效。新代码请使用上面的语义化变量。 */
  --purple:      var(--brand-600);
  --purple-dark: var(--brand-700);
  --purple-deep: var(--ink-1);
  --purple-soft: var(--brand-50);
  --purple-line: var(--brand-100);
  --purple-mid:  var(--brand-300);
  --gold:        var(--brand-600);
  --gold-light:  var(--brand-400);
  --gold-soft:   var(--brand-50);
  --ink:         var(--ink-1);
  --bg:          var(--surface);
  --bg-2:        var(--surface-soft);
  --radius:      var(--r-lg);
  --radius-lg:   var(--r-xl);
  --radius-sm:   var(--r-md);
  --shadow:      var(--shadow-md);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink-2);
  background: var(--surface);
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* 键盘焦点：全局可见的焦点环 */
:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 跳到主内容（键盘用户） */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 500;
  padding: 10px 18px; border-radius: var(--r-md);
  background: var(--brand-600); color: #fff;
  font-size: 14px; font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.hide { display: none !important; }

/* ============================================================
   排版
   ============================================================ */
/* ============================================================
   Lenis 惯性滚动（官方推荐基础样式）
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================================
   入场编排（.js-reveal 门控：JS 不可用时内容永远可见）
   用法：class="reveal"，错峰用 style="--d:120ms"
   ============================================================ */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   全站噪点：打破数字平面感（4.5% 透明度颗粒，不拦截任何点击）
   ============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* 模块标签：细线式（左侧短细线 + 加宽字距，无胶囊底色） */
.eyebrow {  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-600);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  flex: none;
  background: currentColor;
  opacity: .55;
}

.h1 {
  font-size: clamp(32px, 4.8vw, 58px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.022em;
  color: var(--ink-1);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--ink-1);
  text-wrap: balance;
}
.h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink-1);
}

.lead {
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .012em;
  color: var(--ink-2);
  max-width: 36em;
}
.muted { color: var(--ink-3); }
/* 重点词（如「一路同行」）：紫色光泽缓慢扫过（约 3 秒扫一次，之后停留） */
.mark {
  background: linear-gradient(100deg,
    var(--brand-700) 32%,
    #C9A7FF 45%, #EBDCFF 50%, #C9A7FF 55%,
    var(--brand-700) 68%);
  background-size: 300% 100%;
  background-position: 105% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 7.5s ease-in-out infinite;
}
@keyframes sheen {
  0%   { background-position: 105% 0; }
  42%  { background-position: -5% 0; }
  100% { background-position: -5% 0; }
}
.gold { color: var(--brand-600); }

.section { padding: 108px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--surface-soft); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .h2 { margin-bottom: 0; }
/* 模块标签与标题之间留出呼吸（不再用内联 style） */
.section-head .eyebrow + .h2 { margin-top: 20px; }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0;
  transition: transform 100ms var(--ease-soft), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  will-change: transform;
}
/* 按下即时反馈（不等释放） */
.btn:active { transform: scale(.975); }

.btn-primary {
  background: var(--brand-600); color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.975); }

.btn-ghost {
  background: var(--surface); color: var(--brand-700);
  border: 1.5px solid var(--brand-200);
}
.btn-ghost:hover { border-color: var(--brand-500); background: var(--brand-50); }

.btn-gold { background: var(--brand-600); color: #fff; }
.btn-gold:hover { background: var(--brand-700); }

.btn-quiet {
  background: var(--surface-tint); color: var(--ink-2);
  border: 1px solid var(--line-soft);
}
.btn-quiet:hover { background: var(--brand-50); color: var(--brand-700); }

.btn-danger { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.btn-danger:hover { background: #FEE2E2; }

.btn-sm { padding: 8px 15px; font-size: 13.5px; }
.btn-lg { padding: 15px 34px; font-size: 16px; font-weight: 600; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ============================================================
   卡片 / 网格
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card.hoverable:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   表单
   ============================================================ */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 8px;
}
.field .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 7px; }

.input, .textarea, .select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 15px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(138, 43, 226, .12);
}
.textarea { min-height: 100px; resize: vertical; line-height: 1.7; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23756E80' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.input-file { display: none; }

/* ============================================================
   提示条 / 标签 / 通知
   ============================================================ */
.toast {
  position: fixed; left: 50%; bottom: 40px;
  transform: translate(-50%, 16px);
  padding: 13px 24px; border-radius: 999px;
  background: var(--ink-1); color: #fff;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 900; max-width: 84vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #991B1B; }
.toast.ok  { background: #14532D; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 12px; font-weight: 600; letter-spacing: .01em;
}
.pill.gold  { background: var(--brand-50); color: var(--brand-700); }
.pill.gray  { background: var(--surface-tint); color: var(--ink-3); }
.pill.green { background: #ECFDF3; color: #15803D; }

.notice {
  padding: 15px 19px; border-radius: var(--r-md);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  font-size: 14px; color: var(--brand-800); line-height: 1.75;
}
.notice.purple { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-800); }

.empty {
  padding: 68px 26px; text-align: center;
  color: var(--ink-3); font-size: 14.5px;
  border: 1.5px dashed var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--surface-soft);
}
.empty b { display: block; font-size: 16px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease);
}
/* 滚动后：背景更实 + 细分隔线与轻微浮起（渐入，不是硬切换） */
.nav.scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 34px rgba(25, 20, 37, .07);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { height: 46px; width: auto; display: block; }
.brand b {
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink-1);
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; color: var(--ink-2);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--brand-700); background: var(--brand-50); }
/* 选中态：只加深文字并加粗，不给底色块（底色留给 hover） */
.nav-links a.on { color: var(--brand-700); font-weight: 600; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-user {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 13px 5px 6px; border-radius: 999px;
  border: 1px solid var(--line-soft);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-user:hover { border-color: var(--brand-300); background: var(--brand-50); }
.nav-user span { font-size: 14px; font-weight: 500; }

.avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--brand-700);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 84px; height: 84px; font-size: 28px; }

/* ============================================================
   首屏
   ============================================================ */
/* 首屏背景区：hero 与价值观卡共享同一幅极光背景，中间无切割 */
.hero-zone { position: relative; overflow: hidden; }
.hero-zone .wrap { position: relative; z-index: 2; }
.hero { position: relative; padding: 72px 0 40px; }
#about { padding-top: 40px; }

/* 背景：极光光带 ＋ 细网格纹理（覆盖整个 hero-zone） */
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* 视差包裹层：JS 只改 .hero-bg 上的 --px/--py，各层按 --depth 反向位移。
   三层结构各管各的 transform：视差（.glow-par）→ 呼吸（.glow-breathe）→ 极光流动（.hero-glow） */
.glow-par {
  position: absolute; inset: 0;
  transform: translate3d(
    calc(var(--px, 0) * var(--depth, -36px)),
    calc(var(--py, 0) * var(--depth, -36px)),
    0);
}
.par-a { --depth: -36px; }
.par-b { --depth: -60px; }

/* 呼吸层：拟呼吸节奏——吸气稍快（0-36%），顶端停顿（36-46%），呼气缓慢（46-100%） */
.glow-breathe {
  position: absolute; inset: 0;
  animation: breathe 8s ease-in-out infinite;
  will-change: transform, opacity;
}
.breathe-b { animation-duration: 9.5s; animation-delay: -4.2s; }
@keyframes breathe {
  0%   { transform: scale(1); opacity: .88; }
  36%  { transform: scale(1.05); opacity: 1; }
  46%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: .88; }
}

/* 极光光带：拉长的椭圆渐变，缓慢旋转流动（不再是"球在搬家"） */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
/* 主紫光带：右上，带内核对流层次 */
.glow-a {
  top: -16%; right: -14%;
  width: 1080px; height: 470px;
  background: radial-gradient(ellipse at center,
    rgba(138, 43, 226, .26) 0%,
    rgba(138, 43, 226, .12) 38%,
    rgba(168, 120, 240, .05) 60%,
    rgba(168, 120, 240, 0) 75%);
  animation: aurora-a 26s ease-in-out infinite;
}
/* 蓝紫光带：左下，角度与周期不同，两带交叠处色彩自然渗透 */
.glow-b {
  bottom: -20%; left: -16%;
  width: 940px; height: 410px;
  background: radial-gradient(ellipse at center,
    rgba(111, 86, 242, .20) 0%,
    rgba(168, 120, 240, .09) 42%,
    rgba(168, 120, 240, 0) 72%);
  animation: aurora-b 34s ease-in-out infinite;
}
@keyframes aurora-a {
  0%, 100% { transform: rotate(-14deg) translate(0, 0); }
  33%      { transform: rotate(-3deg) translate(-72px, 42px); }
  66%      { transform: rotate(-21deg) translate(-28px, -20px); }
}
@keyframes aurora-b {
  0%, 100% { transform: rotate(11deg) translate(0, 0); }
  50%      { transform: rotate(23deg) translate(64px, -38px); }
}

/* 网格退为纹理：更淡，不作主角 */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(138, 43, 226, .033) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(138, 43, 226, .033) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 92% 82% at 60% 32%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 92% 82% at 60% 32%, #000 20%, transparent 78%);
}

/* 全局追光：一团淡紫色高光跟随鼠标（JS 驱动，lerp 平滑；触屏/减少动态不启用） */
.page-glow {
  position: fixed;
  left: 0; top: 0;
  z-index: 3;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(138, 43, 226, .105) 0%,
    rgba(138, 43, 226, .045) 42%,
    rgba(138, 43, 226, 0) 70%);
  pointer-events: none;
}
.hero h1 { margin: 0; max-width: 16em; }

.hero-answer {
  margin-top: 26px; padding-left: 22px; position: relative;
  font-size: 30px; font-weight: 700; line-height: 1.55;
  letter-spacing: .02em;
  color: var(--brand-700); max-width: 30em;
}
.hero-answer::before {
  content: ''; position: absolute; left: 0; top: 9px; bottom: 9px;
  width: 4px; border-radius: 2px;
  background: var(--brand-400);
}

.hero .lead { margin-top: 24px; font-size: 17px; max-width: 34em; }

/* 全场唯一一处编排过的入场动效（首屏，一次） */
.hero h1,
.hero .hero-answer,
.hero .lead { animation: riseIn .68s var(--ease) both; }
.hero h1          { animation-delay: .07s; }
.hero .hero-answer{ animation-delay: .18s; }
.hero .lead       { animation-delay: .28s; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   关于我们
   ============================================================ */
/* 关于我们：4 张卡横向铺开（介绍文字已上移至首屏） */
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* 价值观：胶片条 —— 同一张 3:1 长条切出的四段，四卡无缝拼成一幅完整画面
   （车厢内壁 → 旷野 → 远方的城市天际线，从暗到亮＝价值观的走向）
   关键：gap 归零、圆角只留两端、卡间1px 接缝线。圆角与阴影会切断画面连续性。 */
.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: value;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.value-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  background-repeat: no-repeat;
  /* 每段切图恰好是 3:4＝卡片比例，cover 即满幅无裁切（缩放系数 264/480=0.55） */
  background-size: cover;
  background-position: center;
}
/* 四段各用一张切图，按顺序横排即拼出完整长条 */
.value-item:nth-child(1) { background-image: url('/value-1.jpg'); }
.value-item:nth-child(2) { background-image: url('/value-2.jpg'); }
.value-item:nth-child(3) { background-image: url('/value-3.jpg'); }
.value-item:nth-child(4) { background-image: url('/value-4.jpg'); }
/* 深色遮罩：保证文字在任何背景图上的可读性 */
.value-item::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  /* 上半部几乎透明保住原图鲜明度，只在文字区（约下40%）压暗保证可读性 */
  background: linear-gradient(180deg,
    rgba(18, 11, 38, .04) 0%,
    rgba(18, 11, 38, .10) 45%,
    rgba(18, 11, 38, .42) 78%,
    rgba(18, 11, 38, .62) 100%);
}
/* 卡间接缝线：模拟胶片齿孔，让四段的边界读作「同一幅画的切片」而非四张独立卡 */
.value-item + .value-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 1px; z-index: 2;
  background: rgba(255, 255, 255, .26);
}
.value-item > * { position: relative; z-index: 1; }
.value-item b {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 17px; font-weight: 700;
  color: #fff; margin-bottom: 10px; letter-spacing: -.015em;
}
/* 序号：01–04，半透明白 */
.value-item b::before {
  counter-increment: value;
  content: '0' counter(value);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
}
/* 渐变遮罩：只在文字区压暗，上半部留亮以保住原图的鲜明度 */
.value-item p { font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, .88); }

/* ============================================================
   项目简介（每行一条产品线）
   ============================================================ */
/* 方案 2 结构：每个方向＝「通栏横幅（方向名压在图上）」＋「下方产品卡」
   竖排会拉高整页，横幅通栏能把宽度用满，也让方向名与插画成为一个整体。 */
.track-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
}
.track-row:first-of-type { border-top: none; padding-top: 0; }
.track-row:last-of-type { padding-bottom: 0; }

/* ---------- 横幅插画：通栏，方向名压在图上 ---------- */
.track-banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-tint);
  /* 原图 3:2（1264×843），裁成 5:2 的横幅 → 1264×505。
     比 2:1 少露地面、比 21:9 少放大，两头都避开。 */
  aspect-ratio: 5 / 2;
}
.track-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* object-position 的 Y 值越小越靠上。原图 3:2 裁成 5:2 要切掉约 40% 高度，
     实测人物头部在原图上端约 8% 处 —— Y 取 32% 才能保住头，
     之前取 52%/58% 都在切头部。水平靠左 18% 保住人物。 */
  object-position: 18% 32%;
  display: block;
}
/* 暖色叠加：插画原始饱和度只有 19%，不加会显得偏冷偏灰 */
.track-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(255, 246, 235, .08), rgba(255, 241, 224, .20));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* 方向名 + 副标：压在横幅右侧的空白区（人物在左，右侧是空的） */
.track-banner-copy {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 56%;
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-end;
  gap: 10px;
  padding: 0 40px 0 0;
  text-align: right;
}
/* 右侧白色渐变底衬：横幅右侧是浅色天空，文字需要衬底才读得清 */
.track-banner-copy::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 38%, rgba(255,255,255,.88) 100%);
  pointer-events: none;
}
.track-banner-copy > * { position: relative; }
.track-banner-copy .h3 {
  font-size: 34px; letter-spacing: -.015em; line-height: 1.15;
  color: var(--ink-1);
}
.track-sub {
  font-size: 14px; line-height: 1.7; color: var(--ink-2);
  /* 横幅右侧文字区要「一行写完」——2026-10-07 Taylor 明确要求不换行。
     nowrap 强制不折；若窗口太窄导致溢出，由 .track-banner-copy 的
     overflow: hidden 裁掉（配合 object-position 已保住主体，不会误裁文字）。 */
  white-space: nowrap;
  max-width: none;
}

/* 三个方向的卡片必须等宽，否则视觉上会高低不齐。
   统一用minmax(250px, 1fr)：auto-fill 会按容器宽度均分，
   三行都是同样的列数与间距，卡片自然等宽。 */
.track-products {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* 产品卡：不用「边框＋阴影＋白底」的通用卡片，靠色块和留白分层 */
.p-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface-card);
  transition: background var(--dur) var(--ease), transform .18s ease-out,
              box-shadow var(--dur) var(--ease);
  /* 微倾斜（JS 写入 --rx/--ry；未启用时为 0） */
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
}
.p-card:hover {
  --ty: -2px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
/* 追光：一团跟随鼠标的高光（JS 写入 --mx/--my 百分比） */
.p-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
    rgba(138, 43, 226, .09), transparent 65%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.p-card:hover::after { opacity: 1; }
/* 在招的那条：一种克制的强调——左侧一道细线 ＋ 更浅的底 */
/* .live（主推课程）：2026-10-07 起不再用底色/描边区分——
   Taylor反馈 hover 时「卡牌颜色和其他卡牌不同、按钮颜色也不同」，
   视觉上不统一。改为与其他卡完全一致，仅保留 HTML 上的语义 class。 */
.p-card.live { background: var(--surface-card); }
.p-card.live:hover {
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.p-card.live .btn-primary { background: var(--brand-600); color: #fff; box-shadow: none; }
.p-card.live .btn-primary:hover { background: var(--brand-700); box-shadow: none; }

.p-card .p-name {
  font-size: 16px; font-weight: 700; letter-spacing: .005em;
  color: var(--ink-1);
}
.p-card .p-desc { font-size: 14px; line-height: 1.75; color: var(--ink-2); flex: 1; }
.p-card .btn { margin-top: 6px; align-self: center; }

.p-soon {
  display: inline-block; margin-top: 4px;
  font-size: 13px; font-weight: 600; color: var(--ink-3);
}
.p-card.soon {
  align-items: center; justify-content: center; text-align: center;
  background: transparent;
  border: 1.5px dashed var(--line);
  color: var(--ink-3); font-size: 13.5px; min-height: 150px;
}
.p-card.soon:hover { transform: none; box-shadow: none; background: transparent; }

/* ============================================================
   联系渠道
   ============================================================ */
/* 联系渠道：居左、紧凑（区块上下留白单独收窄） */
#join { padding: 44px 0 64px; }
.contact-rows { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.contact-row { display: flex; align-items: center; gap: 10px; }
.ch-label { font-size: 15px; color: var(--ink-2); letter-spacing: .02em; }

.ch-icons { display: flex; align-items: center; gap: 10px; }
.ch-btn {
  width: 34px; height: 34px; padding: 5px;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 120ms var(--ease-soft), box-shadow var(--dur) var(--ease);
}
.ch-btn img { width: 100%; height: 100%; object-fit: contain; }
.ch-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ch-btn:active { transform: scale(.94); }

.ch-fallback {
  width: 24px; height: 24px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-600); color: #fff;
  font-size: 11px; font-weight: 700;
}

/* ============================================================
   二维码弹窗
   ============================================================ */
.modal-mask {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(25, 20, 37, .62);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  display: none; align-items: center; justify-content: center; padding: 24px;
  /* 遮罩淡入 */
  animation: maskIn .24s ease both;
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.modal-mask.show { display: flex; }

.modal-box {
  background: var(--surface);
  border-radius: var(--r-xl);
  width: 100%; max-width: 320px;
  padding: 30px 28px 18px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(25, 20, 37, .34);
  /* 材质化出现：缩放 ＋ 透明度 ＋ 轻微回弹（物理感，不卡通） */
  animation: modalIn .34s cubic-bezier(.22, 1.18, .36, 1) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.94) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.modal-title {
  font-size: 15px; font-weight: 600; color: var(--ink-1);
  letter-spacing: -.005em; margin-bottom: 22px;
}
.modal-qr {
  width: 224px; height: 224px; object-fit: contain;
  margin: 0 auto; border-radius: var(--r-md);
}
.modal-qr-ph { width: 224px; height: 224px; margin: 0 auto; }
.modal-close {
  margin-top: 18px; padding: 10px 28px;
  border-radius: 999px;
  background: none; color: var(--ink-3);
  font-size: 14px; font-weight: 500;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.modal-close:hover { background: var(--surface-tint); color: var(--ink-1); }
.modal-close:active { transform: scale(.97); }

/* ============================================================
   二维码占位框
   ============================================================ */
.qr-wrap { display: flex; gap: 44px; align-items: center; justify-content: center; flex-wrap: wrap; }
.qr-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow-sm); flex: none;
}
.qr-card img { width: 226px; height: 226px; object-fit: contain; border-radius: var(--r-md); display: block; }
.qr-ph {
  width: 226px; height: 226px;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 18px; font-size: 13px; color: var(--ink-3); line-height: 1.8;
}
.qr-text { max-width: 24em; }
.qr-text b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--ink-1); }
.qr-text p { font-size: 15.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.85; }

/* ============================================================
   常驻咨询按钮
   ============================================================ */
/* ============================================================
   常见问题（/faq 页）
   ============================================================ */
.faq-list { max-width: 840px; }
.faq-item {
  border-bottom: 1px solid var(--line-soft);
  transition: none;
}
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-item summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px 4px; cursor: pointer;
  font-size: 16px; font-weight: 600; line-height: 1.55;
  letter-spacing: -.01em; color: var(--ink-1);
  list-style: none; user-select: none;
  transition: color var(--dur) var(--ease);
}
.faq-item summary:hover { color: var(--brand-700); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .no {
  flex: none; padding: 2px 9px; border-radius: var(--r-sm);
  background: var(--brand-50); color: var(--brand-700);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  margin-top: 3px;
}
.faq-item summary .tog {
  flex: none; margin-left: auto; width: 20px; height: 20px;
  position: relative; margin-top: 4px;
}
.faq-item summary .tog::before,
.faq-item summary .tog::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  background: var(--brand-600); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease);
}
.faq-item summary .tog::before { width: 12px; height: 1.5px; }
.faq-item summary .tog::after  { width: 1.5px; height: 12px; }
.faq-item[open] summary .tog::after { transform: translate(-50%, -50%) scaleY(0); }

/* 答案区：grid-rows 0fr→1fr 技巧实现平滑展开/收起
   （覆盖浏览器对 details 未展开时内容 display:none 的默认样式） */
.faq-item .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease);
}
.faq-item:not([open]) .faq-a { display: grid; }
.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 4px 26px 62px;
  font-size: 15px; line-height: 1.9; color: var(--ink-2);
  max-width: 62ch;
}
.faq-a-inner p + p { margin-top: 10px; }

/* ============================================================
   视频
   ============================================================ */
.video-card { cursor: pointer; display: flex; flex-direction: column; gap: 14px; }
.video-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(150deg, var(--brand-900), var(--brand-600));
  display: flex; align-items: center; justify-content: center;
}
.video-thumb .play {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease);
}
.video-thumb .play::after {
  content: ''; margin-left: 4px;
  border-left: 14px solid var(--brand-600);
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.video-card:hover .video-thumb .play { transform: scale(1.08); }
.video-thumb .dur {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 9px; border-radius: 6px; background: rgba(25,20,37,.7);
  color: #fff; font-size: 12px; font-weight: 500;
}
.video-thumb .lock {
  position: absolute; inset: 0; background: rgba(25,20,37,.75);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-size: 13px; font-weight: 600;
}
.video-thumb .lock svg { width: 26px; height: 26px; }
.video-thumb .cat {
  position: absolute; left: 10px; top: 10px;
  padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.92);
  color: var(--brand-700); font-size: 11.5px; font-weight: 700;
}

.player-shell { border-radius: var(--r-lg); overflow: hidden; background: #0D0718; box-shadow: var(--shadow-lg); }
.player-shell video { width: 100%; display: block; max-height: 72vh; background: #0D0718; }

/* ============================================================
   作品卡片
   ============================================================ */
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-cover {
  aspect-ratio: 16 / 10;
  background: var(--brand-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-weight: 700; color: var(--brand-300); overflow: hidden;
}
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.product-body .name { font-size: 16.5px; font-weight: 700; letter-spacing: -.015em; color: var(--ink-1); }
.product-body .by { font-size: 13px; color: var(--ink-3); }
.product-body .sum { font-size: 14px; color: var(--ink-2); line-height: 1.7; flex: 1; }
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; }

/* ============================================================
   个人中心 / 管理
   ============================================================ */
.panel {
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-xs); overflow: hidden;
}
.panel-head {
  padding: 20px 26px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.panel-head h3 { font-size: 16px; font-weight: 700; letter-spacing: -.015em; color: var(--ink-1); }
.panel-body { padding: 26px; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-soft); padding: 0 18px; }
.tabs button {
  padding: 15px 16px; font-size: 14.5px; font-weight: 500; color: var(--ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tabs button:hover { color: var(--brand-700); }
.tabs button.on { color: var(--brand-700); border-bottom-color: var(--brand-600); font-weight: 600; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; padding: 13px 15px;
  background: var(--surface-soft); color: var(--ink-3);
  font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  border-bottom: 1px solid var(--line-soft); white-space: nowrap;
}
.table td { padding: 14px 15px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--surface-soft); }
.table-wrap { overflow-x: auto; }

.avatar-upload { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.progress { height: 6px; border-radius: 999px; background: var(--surface-tint); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--brand-600); width: 0; transition: width var(--dur) var(--ease); }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 52px 0 40px;
  background: var(--surface-soft);
}
/* 居中堆叠：第一行 Logo＋链接 → 备案号 → 公司全称与版权（一行） */
.footer .wrap {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; text-align: center;
}
/* Logo 居左、链接居右，中间空开；下方备案号与版权居中 */
.footer .f-top {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 24px; flex-wrap: wrap;
}
.footer .f-brand img { height: 50px; }
.footer .meta { font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.footer .links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.footer .links a {
  font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  transition: color var(--dur) var(--ease);
}
.footer .links a:hover { color: var(--brand-700); }

/* 页脚里的「扫码咨询」是按钮不是链接：视觉仍与其他链接一致，
   但点击直接弹二维码（原来跳 /#join 再点一次图标，多绕一跳） */
.footer .links .f-qr-btn {
  font: inherit; font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.footer .links .f-qr-btn:hover { color: var(--brand-700); }

.footer .beian { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.footer .beian a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; color: var(--ink-3); transition: color var(--dur) var(--ease);
}
.footer .beian a:hover { color: var(--brand-700); }
.footer .beian img { height: 14px; width: auto; display: inline-block; }

/* ============================================================
   响应式
   ============================================================ */
/* 中间断点：1180px 以下三列会挤爆（190+300+64 已占 554px），
   收窄方向名与插画列，卡片区保底 380px */
@media (max-width: 1180px) {
  /* 横幅收窄一档：1044 宽下 2:1 ＝ 522px，比 16:9 的 587 更紧凑 */
  .track-banner { aspect-ratio: 2 / 1; }
  .track-banner-copy { width: 50%; padding: 0 28px 0 0; }
  .track-banner-copy .h3 { font-size: 25px; }
  .track-sub { font-size: 13px; }
  .track-products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  /* 2×2 降级：顺序仍是段1|段2 / 段3|段4，只多补一条横向接缝维持"同一幅图"的读感 */
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(3)::before {
    left: 0; top: 0; right: 0; bottom: auto; width: auto; height: 1px;
  }
  /* 降级：横幅继续通栏但更扁，文字仍在右侧 */
  .track-row { gap: 16px; }
  .track-banner { aspect-ratio: 16 / 9; }
  .track-banner-copy { width: 56%; }
  .track-banner-copy .h3 { font-size: 22px; }
  .track-sub { font-size: 12.5px; }
  .track-row-hero .track-products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .section { padding: 80px 0; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 40px; }
  .footer .f-top { justify-content: center; }
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .glow-a { width: 640px; height: 300px; top: -10%; right: -40%; }
  .glow-b { width: 520px; height: 240px; bottom: -12%; left: -44%; }
  .faq-item summary { font-size: 15px; padding: 20px 2px; }
  .faq-a { padding: 0 2px 22px 2px; }
  .qr-wrap { gap: 28px; }
  .qr-card img, .qr-ph { width: 200px; height: 200px; }
  .qr-text { text-align: center; }
}

@media (max-width: 620px) {
  .modal-box { max-width: 300px; padding: 26px 22px 14px; }
  .modal-qr, .modal-qr-ph { width: 196px; height: 196px; }
  /* 单列降级：横排长条已不成立，退回四张独立卡（各自圆角 + 间隙） */
  .about-values { grid-template-columns: 1fr; gap: 14px; border-radius: 0; box-shadow: none; overflow: visible; }
  .value-item { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
  .value-item + .value-item::before,
  .value-item:nth-child(3)::before { display: none; }
  /* 窄屏：横幅右侧压不住字了，方向名移到图上方独立成行 */
  .track-banner { aspect-ratio: 16 / 9; }
  .track-banner-copy {
    position: static; width: auto;
    padding: 16px 18px 0; text-align: left; align-items: flex-start;
  }
  .track-banner-copy::before { display: none; }
  .track-banner-copy .h3 { font-size: 21px; }
  .track-sub { font-size: 12.5px; white-space: normal; }
}

/* ============================================================
   降低动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .hero .hero-answer, .hero .lead {
    animation: fadeIn .3s ease both;
  }
  .modal-box { animation: fadeIn .18s ease both; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  /* 漂移光晕、呼吸与视差全部静止 */
  .hero-glow, .glow-breathe { animation: none; }
  .glow-par { transform: none; }
  .page-glow { display: none; }
  /* 入场元素直接可见；光泽静止 */
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .mark { animation: none; }
  .faq-item .faq-a { transition: none; }
  .btn, .card, .p-card, .ch-btn, .nav-links a {
  font-size: 15.5px;
    transition-duration: 1ms;
  }
  .btn:hover, .card.hoverable:hover, .p-card:hover, .ch-btn:hover {
    transform: none;
  }
}

/* ============================================================
   排版精细化：中西文分别处理字距
   ------------------------------------------------------------
   为什么需要：中文是方块字，紧凑排列才好看（负字距）；
   英文/数字是流线形，紧排会粘连，需要正字距才有精致感。
   之前全站一刀切用负字距，导致「AI网剧训练营」「Vibe Coding 训练营」
   这类中英混排的英文部分被压扁。

   这两个类在 HTML 里手动挂到纯英文/数字元素上，不影响中文排版。 */
.latin {            /* 纯英文/数字元素：拉开字距 */
  letter-spacing: .06em !important;
}
.latin-tight {      /* 需要更紧的英文（导航链接等） */
  letter-spacing: .02em !important;
}
