/* ═══════════════════════════════════════════════════════════════
   Aqua Glass · 深海玻璃
   自主设计的二次元液态玻璃主题（蓝色系 / 全玻璃边框 / 丝滑动效）
   零外部素材、零 AI 生成图像，装饰全部由 CSS 与内联 SVG 绘制
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* 墨色 */
  --ink: #0d1f3c;
  --ink-soft: #3d587d;
  --ink-faint: #7f97b8;

  /* 蓝色主色阶 */
  --azure: #2f6cf6;
  --azure-deep: #1a49c4;
  --sky: #4fb2f0;
  --ice: #8fd0ff;
  --peri: #7c9cff;
  --abyss: #0a2a63;

  /* 底色 */
  --tint: #e6f0ff;
  --cream: #f4f8ff;

  /* 玻璃 */
  --glass-a: rgba(255, 255, 255, .60);
  --glass-b: rgba(255, 255, 255, .30);
  --hair: rgba(255, 255, 255, .92);
  --shadow: 0 16px 44px rgba(26, 73, 196, .14), 0 2px 8px rgba(13, 31, 60, .06);
  --shadow-lift: 0 30px 70px rgba(26, 73, 196, .24), 0 6px 16px rgba(13, 31, 60, .10);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(140, 180, 240, .22);

  /* 圆角 */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 38px;
  --r-pill: 999px;

  /* 缓动：全部走 transform / opacity，保证 60fps */
  --e-expo: cubic-bezier(.16, 1, .3, 1);
  --e-quint: cubic-bezier(.83, 0, .17, 1);
  --e-spring: cubic-bezier(.34, 1.42, .64, 1);
  --e-soft: cubic-bezier(.4, .1, .2, 1);

  --font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
          -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 760px at 12% -8%, #ffffff 0%, rgba(255,255,255,0) 62%),
    radial-gradient(1000px 700px at 92% 4%, rgba(143, 208, 255, .58) 0%, rgba(143, 208, 255, 0) 60%),
    radial-gradient(1100px 820px at 78% 108%, rgba(124, 156, 255, .46) 0%, rgba(124, 156, 255, 0) 62%),
    linear-gradient(178deg, #eef5ff 0%, #dfeaff 46%, #cfe1ff 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(47, 108, 246, .18); color: var(--abyss); }

/* ─────────────── 氛围背景：极光 / 光柱 / 浮尘 / 花瓣 ─────────────── */

.bg-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-aurora, .bg-shaft { position: absolute; inset: 0; will-change: transform; }

.bg-aurora span {
  position: absolute; display: block; border-radius: 50%;
  /* 不许加 filter: blur()：动画里有 scale，会逼浏览器每帧重光栅化整块模糊 */
  opacity: .52;
  will-change: transform;
  animation: auroraDrift 26s var(--e-soft) infinite alternate;
}
.bg-aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle, rgba(79,178,240,.85), rgba(79,178,240,0) 68%); }
.bg-aurora span:nth-child(2) { width: 40vw; height: 40vw; right: -6vw; top: 18vh;
  background: radial-gradient(circle, rgba(124,156,255,.85), rgba(124,156,255,0) 68%);
  animation-duration: 32s; animation-delay: -6s; }
.bg-aurora span:nth-child(3) { width: 52vw; height: 52vw; left: 22vw; bottom: -22vw;
  background: radial-gradient(circle, rgba(143,208,255,.8), rgba(143,208,255,0) 68%);
  animation-duration: 38s; animation-delay: -14s; }

@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, -3vh, 0) scale(1.14); }
}

/* 斜向光柱，像动画里的丁达尔光 */
.bg-shaft span {
  position: absolute; top: -30%; height: 170%; width: 16vw;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 72%);
  /* 光束本体宽 16vw（≈408px），模糊半径只占宽度 1.5%，10px→6px 肉眼无差别；
     半径越小，每帧滤镜光栅化的代价越低 */
  filter: blur(6px);
  transform: rotate(14deg); opacity: .5;
  animation: shaftSway 18s var(--e-soft) infinite alternate;
}
.bg-shaft span:nth-child(1) { left: 8%; }
.bg-shaft span:nth-child(2) { left: 44%; animation-delay: -7s; opacity: .34; }
.bg-shaft span:nth-child(3) { left: 76%; animation-delay: -12s; opacity: .4; }

/* 旋转角固定：变角度会逼浏览器每帧重画整块模糊，而看得见的摆动本来就来自
   ±3vw 平移与明暗呼吸，这两样全部保留 */
@keyframes shaftSway {
  from { transform: rotate(14deg) translateX(-3vw); opacity: .22; }
  to   { transform: rotate(14deg) translateX(3vw);  opacity: .55; }
}

/* 细网点纹理，给玻璃一点附着物 */
.bg-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26,73,196,.14) 1px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: radial-gradient(1000px 700px at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(1000px 700px at 50% 0%, #000 0%, transparent 78%);
  opacity: .5;
}

/* 浮尘光点 */
.bg-motes i {
  position: absolute; bottom: -8vh; display: block;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.5) 30%, rgba(143,208,255,.34) 56%, rgba(143,208,255,0) 76%);
  animation: moteRise linear infinite;
  will-change: transform, opacity;
}
@keyframes moteRise {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  12%  { opacity: .9; }
  88%  { opacity: .7; }
  100% { transform: translate3d(var(--dx, 4vw), -116vh, 0) scale(1.1); opacity: 0; }
}

/* 飘落的花瓣（冰蓝＋白，不用粉） */
.bg-petals i {
  position: absolute; top: -6vh; display: block;
  background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(160,205,255,.72));
  border-radius: 62% 38% 60% 40% / 46% 58% 42% 54%;
  box-shadow: 0 2px 8px rgba(26,73,196,.16);
  animation: petalFall linear infinite;
  will-change: transform;
}
@keyframes petalFall {
  0%   { transform: translate3d(0, -6vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .95; }
  100% { transform: translate3d(var(--dx, 8vw), 112vh, 0) rotate(540deg); opacity: .15; }
}

/* ─────────────── 玻璃基元：面板与玻璃边框 ─────────────── */

.glass {
  position: relative;
  background: linear-gradient(158deg, var(--glass-a) 0%, var(--glass-b) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), var(--shadow-inset);
}
/* 顶部高光弧 */
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 34%);
  opacity: .8;
}
/* 切割玻璃描边：渐变 + 遮罩挖空，只留 1px 边 */
.glass::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg,
    rgba(255,255,255,.98) 0%,
    rgba(160,205,255,.55) 26%,
    rgba(255,255,255,.10) 52%,
    rgba(124,156,255,.62) 78%,
    rgba(255,255,255,.90) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* 扫光：只在悬停或指定元素上跑 */
.sheen { overflow: hidden; }
.sheen::after { z-index: 3; }
.sheen > .sheen-run {
  position: absolute; top: -60%; left: -70%; width: 42%; height: 220%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.72), rgba(255,255,255,0));
  transform: rotate(8deg) translateX(0);
  opacity: 0; pointer-events: none;
}
.sheen:hover > .sheen-run { animation: sheenRun 1.15s var(--e-expo); }
@keyframes sheenRun {
  0%   { opacity: 0; transform: rotate(8deg) translateX(0); }
  18%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(8deg) translateX(420%); }
}

.glass-text {
  font-weight: 700; letter-spacing: .14em; font-size: 12px;
  color: var(--ink-soft); text-transform: uppercase;
}

/* ─────────────── 导航 ─────────────── */

.navbar {
  position: fixed; top: 22px; right: 26px; z-index: 60;
  display: flex; gap: 4px; padding: 6px;
  border-radius: var(--r-pill);
  background: linear-gradient(150deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 12px 34px rgba(26,73,196,.16), var(--shadow-inset);
  animation: navIn 1s var(--e-expo) both;
}
.navbar::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(160,205,255,.5) 40%, rgba(124,156,255,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@keyframes navIn {
  from { opacity: 0; transform: translate3d(0, -22px, 0) scale(.94); }
  to   { opacity: 1; transform: none; }
}
.navbar a {
  position: relative; z-index: 1;
  padding: 11px 22px; border-radius: var(--r-pill);
  white-space: nowrap;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-soft); text-decoration: none;
  transition: color .45s var(--e-expo), transform .45s var(--e-spring);
}
.navbar a::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(140deg, var(--azure) 0%, var(--peri) 100%);
  opacity: 0; transform: scale(.82);
  transition: opacity .45s var(--e-expo), transform .55s var(--e-spring);
  z-index: -1;
}
.navbar a:hover { color: var(--azure-deep); transform: translateY(-2px); }
.navbar a:hover::before { opacity: .14; transform: scale(1); }
.navbar a.active { color: #fff; }
.navbar a.active::before { opacity: 1; transform: scale(1); }

/* ─────────────── 胶囊按钮 / 标签 ─────────────── */

.pill {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 32px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700; letter-spacing: .05em;
  color: #fff; text-decoration: none; cursor: pointer; border: 0;
  background: linear-gradient(140deg, var(--azure) 0%, var(--peri) 100%);
  box-shadow: 0 14px 30px rgba(47,108,246,.32), inset 0 1px 0 rgba(255,255,255,.5);
  overflow: hidden; isolation: isolate;
  translate: var(--mx, 0px) var(--my, 0px);
  transition: transform .55s var(--e-spring), box-shadow .55s var(--e-expo);
  will-change: transform;
}
.pill::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.62), transparent);
  transform: skewX(-18deg);
  transition: left .85s var(--e-expo);
  z-index: -1;
}
.pill:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 24px 48px rgba(47,108,246,.42), inset 0 1px 0 rgba(255,255,255,.6); }
.pill:hover::after { left: 130%; }
.pill:active { transform: translateY(-1px) scale(.99); }

.pill.ghost {
  color: var(--azure-deep);
  background: linear-gradient(150deg, rgba(255,255,255,.72), rgba(255,255,255,.4));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 28px rgba(26,73,196,.14), var(--shadow-inset);
}
.pill.ghost:hover { box-shadow: 0 20px 40px rgba(26,73,196,.22), var(--shadow-inset); }

.tag-chip {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--azure-deep);
  background: linear-gradient(150deg, rgba(255,255,255,.8), rgba(255,255,255,.44));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(26,73,196,.10), inset 0 1px 0 rgba(255,255,255,.95);
}
.tag-chip::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg, rgba(255,255,255,.95), rgba(160,205,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.tag-chip { position: relative; }

/* ─────────────── 入场动画（滚动触发） ─────────────── */

.reveal, .reveal-left, .reveal-scale {
  opacity: 0;
  transition: opacity 1s var(--e-expo), transform 1.1s var(--e-expo);
  will-change: transform, opacity;
}
.reveal { transform: translate3d(0, 34px, 0); }
.reveal-left { transform: translate3d(-40px, 0, 0); }
.reveal-scale { transform: scale(.9) translate3d(0, 20px, 0); }
.reveal.in, .reveal-left.in, .reveal-scale.in { opacity: 1; transform: none; }

/* ─────────────── 整页翻页（首页） ─────────────── */

html.home-lock, html.home-lock body { height: 100%; overflow: hidden; }
.pages-wrap {
  position: relative; z-index: 1;
  transition: transform 1.05s var(--e-quint);
  will-change: transform;
}
.page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 96px 20px 72px; position: relative;
}

/* ─────────────── 第一屏：非对称编辑式 hero ─────────────── */

.hero {
  width: min(1280px, 100%);
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }

.wordmark-row { display: flex; align-items: center; gap: 20px; }

.logo-wrap {
  width: 96px; height: 96px; flex: none;
  display: grid; place-items: center;
  border-radius: 26px; padding: 0; overflow: hidden;
  background: linear-gradient(150deg, #dce9ff, #bcd6ff);
  box-shadow: 0 22px 46px rgba(16,44,110,.30), 0 6px 16px rgba(16,44,110,.18), var(--shadow-inset);
  opacity: 0; transform: scale(.6) rotate(-14deg);
  transition: opacity .9s var(--e-expo), transform 1.1s var(--e-spring);
}
.logo-wrap::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(160,205,255,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.logo-wrap { position: relative; }
.logo-wrap svg, .logo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-wrap.animate { opacity: 1; transform: none; }
.logo-wrap.animate:hover { transform: translateY(-6px) rotate(-4deg); }

.letter-row { display: flex; gap: 2px; }
.letter-row .l {
  font-size: clamp(58px, 8.4vw, 118px);
  font-weight: 900; line-height: 1.06; letter-spacing: -.01em;
  background: linear-gradient(120deg, var(--azure-deep) 0%, var(--azure) 34%, var(--sky) 62%, var(--peri) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  opacity: 0; transform: translate3d(0, 46px, 0) rotate(6deg);
  transition: opacity .8s var(--e-expo), transform .95s var(--e-spring), background-position 6s linear;
  will-change: transform, opacity;
}
.letter-row .l.show { opacity: 1; transform: none; animation: hueSlide 7s linear infinite; }
@keyframes hueSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.subtitle {
  margin: 0; font-size: clamp(15px, 1.7vw, 20px);
  letter-spacing: .34em; color: var(--ink-soft); font-weight: 600;
  min-height: 1.6em;
}
.caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 4px;
  vertical-align: -.14em; background: var(--azure);
  animation: caretBlink 1.15s steps(2, start) infinite;
}
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }

/* hero 右侧视觉台 */
.hero-visual { position: relative; display: grid; place-items: center; }
.stage {
  position: relative; width: min(520px, 100%); aspect-ratio: 4 / 5;
  max-width: calc(70vh * .8);
  border-radius: var(--r-xl);
  background: linear-gradient(158deg, rgba(255,255,255,.66), rgba(255,255,255,.26));
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  box-shadow: var(--shadow-lift), var(--shadow-inset);
  overflow: hidden;
  transition: transform 1s var(--e-expo), box-shadow 1s var(--e-expo);
  will-change: transform;
}
.stage::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1.5px;
  background: linear-gradient(148deg,
    rgba(255,255,255,.98), rgba(160,205,255,.5) 30%,
    rgba(255,255,255,.12) 55%, rgba(124,156,255,.7) 82%, rgba(255,255,255,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  z-index: 4;
}
.stage:hover { transform: translateY(-10px); box-shadow: 0 44px 90px rgba(26,73,196,.3), var(--shadow-inset); }
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 舞台里的分层视差（transform 由 JS 每帧插值驱动，不可加 transition） */
.layer { position: absolute; inset: 0; will-change: transform; }

/* 舞台角标 */
.stage-badge {
  position: absolute; right: 16px; top: 16px; z-index: 5;
  padding: 9px 16px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  color: var(--azure-deep);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(26,73,196,.18), inset 0 1px 0 #fff;
  animation: floatY 6s var(--e-soft) infinite;
}

/* 舞台下方说明 */
.stage-note {
  margin: 18px 0 0; max-width: 460px; text-align: center;
  font-size: 11.5px; line-height: 1.8; color: var(--ink-soft);
}

@keyframes floatY {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}
.stage-badge { animation-name: floatY; }

/* SVG 内部动画 */
.sun-pulse { transform-origin: center; animation: sunPulse 7s var(--e-soft) infinite; }
@keyframes sunPulse { 0%,100% { opacity: .82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
.cloud-a { animation: cloudDrift 26s linear infinite; }
.cloud-b { animation: cloudDrift 38s linear infinite reverse; }
@keyframes cloudDrift { 0% { transform: translateX(-14%); } 50% { transform: translateX(14%); } 100% { transform: translateX(-14%); } }
.orb-bob { animation: orbBob 5.4s var(--e-soft) infinite; transform-origin: center; }
@keyframes orbBob { 0%,100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(0,-16px,0) rotate(8deg); } }
.ray-flick { animation: rayFlick 9s var(--e-soft) infinite; }
@keyframes rayFlick { 0%,100% { opacity: .28; } 50% { opacity: .68; } }
.ripple { animation: rippleGo 6s var(--e-soft) infinite; transform-origin: center; }
@keyframes rippleGo { 0%,100% { transform: scaleX(1); opacity: .5; } 50% { transform: scaleX(1.12); opacity: .85; } }

/* 向下滚动提示 */
.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .28em; color: var(--ink-faint); font-weight: 700;
  animation: hintFade 3.4s var(--e-soft) infinite;
}
.scroll-hint .arrow {
  width: 13px; height: 13px; border-right: 2px solid var(--azure); border-bottom: 2px solid var(--azure);
  transform: rotate(45deg); animation: bounceArrow 2s var(--e-soft) infinite;
}
@keyframes bounceArrow { 0%,100% { transform: rotate(45deg) translate3d(0,0,0); } 50% { transform: rotate(45deg) translate3d(5px,5px,0); } }
@keyframes hintFade { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ─────────────── 第二屏：bento 功能格 ─────────────── */

.section-title {
  margin: 0 0 10px; text-align: center;
  font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; letter-spacing: -.02em;
  color: var(--ink);
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--azure) 0%, var(--sky) 50%, var(--peri) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-sub {
  margin: 0 0 34px; text-align: center;
  font-size: 13px; letter-spacing: .3em; color: var(--ink-faint); font-weight: 700;
}

.bento {
  width: min(1180px, 100%);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.glass-card {
  position: relative; grid-column: span 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 218px; padding: 26px;
  border-radius: var(--r-lg); overflow: hidden;
  opacity: 0; transform: translate3d(0, 40px, 0) scale(.96);
  transition: opacity .95s var(--e-expo), transform 1.05s var(--e-expo), box-shadow .7s var(--e-expo);
  will-change: transform, opacity;
}
.glass-card.visible { opacity: 1; transform: none; }
.glass-card:hover { transform: translateY(-12px) scale(1.012); box-shadow: var(--shadow-lift), var(--shadow-inset); }
.glass-card.wide { grid-column: span 2; }

.glass-card .fn-text { display: flex; flex-direction: column; gap: 9px; min-width: 0; }

/* 宽卡改成横排：左图标 + 右文字，避免右侧大片留白 */
.glass-card.wide {
  flex-direction: row; align-items: center; gap: 30px;
}
.glass-card.wide .icon-wrap { position: static; flex: none; width: 66px; height: 66px; }
/* 宽卡的底板更大，图形也要跟着放大，否则小卡反而比大卡饱满 */
.glass-card.wide .icon-wrap svg { width: 40px; height: 40px; }
.glass-card.wide .fn-text { flex: 1; }
.glass-card.wide .fn-name { font-size: 22px; }
.glass-card.wide .fn-desc { max-width: 640px; }

.glass-card .icon-wrap {
  position: absolute; left: 26px; top: 26px;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.92), rgba(200,225,255,.6));
  box-shadow: 0 10px 24px rgba(26,73,196,.16), inset 0 1px 0 #fff;
  transition: transform .8s var(--e-spring);
}
.glass-card:hover .icon-wrap { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.glass-card .icon-wrap svg { width: 30px; height: 30px; color: var(--azure-deep); }

.glass-card .fn-name {
  font-size: 19px; font-weight: 900; letter-spacing: .01em; color: var(--ink);
}
.glass-card .fn-desc {
  font-size: 13px; line-height: 1.85; color: var(--ink-soft);
}
/* 卡片右上角的水印序号，填补大卡留白 */
.glass-card .fn-idx {
  position: absolute; right: 18px; top: 8px;
  font-size: 74px; font-weight: 900; line-height: 1; letter-spacing: -.05em;
  color: rgba(47,108,246,.09);
  transition: color .7s var(--e-expo), transform .9s var(--e-expo);
}
.glass-card:hover .fn-idx { color: rgba(47,108,246,.17); transform: translateY(-4px); }
/* 卡片底部渐变条 */
.glass-card .fn-bar {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--azure), var(--sky), var(--peri));
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--e-expo);
}
.glass-card:hover .fn-bar { transform: scaleX(1); }

/* ─────────────── 第三屏：横向时间轴轨道 ─────────────── */

.tl-wrap { width: min(1180px, 100%); position: relative; }
.tl-rail {
  position: relative; overflow-x: auto; overflow-y: hidden;
  padding: 46px 4px 30px; margin: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: rgba(47,108,246,.4) transparent;
  -webkit-overflow-scrolling: touch;
}
.tl-rail::-webkit-scrollbar { height: 6px; }
.tl-rail::-webkit-scrollbar-thumb { background: rgba(47,108,246,.35); border-radius: 99px; }
.tl-rail::-webkit-scrollbar-track { background: rgba(255,255,255,.4); border-radius: 99px; }

.tl-track { display: flex; gap: 16px; position: relative; padding: 0 4px; }
/* 贯穿横线 */
.tl-track::before {
  content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px;
  background: linear-gradient(90deg, rgba(47,108,246,.1), rgba(47,108,246,.55), rgba(124,156,255,.15));
  border-radius: 99px;
}

.tl-item {
  position: relative; flex: 0 0 250px; scroll-snap-align: start;
  padding: 34px 20px 20px;
  border-radius: var(--r-md);
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity .9s var(--e-expo), transform 1s var(--e-expo), box-shadow .6s var(--e-expo);
  will-change: transform, opacity;
}
.tl-item.visible { opacity: 1; transform: none; }
.tl-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift), var(--shadow-inset); }
.tl-dot {
  position: absolute; left: 20px; top: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(140deg, var(--azure), var(--sky));
  box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 6px 16px rgba(47,108,246,.4);
  transition: transform .7s var(--e-spring);
}
.tl-item:hover .tl-dot { transform: scale(1.35); }
.tl-year {
  font-size: 26px; font-weight: 900; letter-spacing: -.01em;
  background: linear-gradient(120deg, var(--azure-deep), var(--sky));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 8px;
}
.tl-text { font-size: 12.5px; line-height: 1.9; color: var(--ink-soft); }

.tl-hint {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 6px; font-size: 11px; letter-spacing: .22em; color: var(--ink-faint); font-weight: 700;
}
.tl-hint .swipe {
  width: 30px; height: 16px; border-radius: 99px;
  border: 1.5px solid rgba(47,108,246,.45); position: relative;
}
.tl-hint .swipe::after {
  content: ''; position: absolute; top: 3px; left: 4px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--azure); animation: swipeGo 2.4s var(--e-soft) infinite;
}
@keyframes swipeGo { 0%,100% { transform: translateX(0); } 50% { transform: translateX(13px); } }

/* ─────────────── 子页外壳 ─────────────── */

.shell {
  position: relative; z-index: 1;
  /* 子页内容区要跟着视口长大，否则宽屏上两侧全是空白 */
  width: min(1900px, 94%); margin: 0 auto; padding: 118px 20px 90px;
}
.shell-head { margin-bottom: 26px; }
.shell-head h1 {
  margin: 0 0 8px; font-size: clamp(34px, 5vw, 58px); font-weight: 900; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--ink) 0%, var(--azure-deep) 55%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.shell-head .sub { margin: 0; font-size: 13px; letter-spacing: .26em; color: var(--ink-faint); font-weight: 700; }

.filter-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; margin-bottom: 26px;
  border-radius: var(--r-pill);
}
.glass-btn {
  position: relative; padding: 10px 22px; border: 0; cursor: pointer;
  border-radius: var(--r-pill); font-family: inherit;
  font-size: 13px; font-weight: 800; letter-spacing: .06em;
  color: var(--azure-deep);
  background: linear-gradient(150deg, rgba(255,255,255,.86), rgba(210,232,255,.5));
  box-shadow: 0 8px 20px rgba(26,73,196,.12), inset 0 1px 0 #fff;
  transition: transform .55s var(--e-spring), box-shadow .55s var(--e-expo), color .4s;
}
.glass-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(26,73,196,.2), inset 0 1px 0 #fff; }
.glass-btn:active { transform: translateY(-1px) scale(.98); }

.placeholder {
  padding: 46px 26px; text-align: center;
  font-size: 13px; letter-spacing: .24em; color: var(--ink-faint); font-weight: 700;
  border-radius: var(--r-md);
  background: linear-gradient(158deg, rgba(255,255,255,.42), rgba(255,255,255,.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(140,180,240,.26),
              0 10px 26px rgba(26,73,196,.07);
}

/* 子页内容纵向堆叠 */
.shell-body { display: flex; flex-direction: column; gap: 22px; }

/* 子页左右分栏：左文字面板 + 右自绘玻璃装置 */
.split {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 22px; align-items: stretch;
}
.split > .glass { display: flex; flex-direction: column; justify-content: center; }
.split > .glass > .tag-chip { align-self: flex-start; }
.split > .totem { display: grid; }

/* ─────────────── 插件卡格 ─────────────── */

/* 分类面板：默认收起，点开时丝滑入场 */
.pane { display: none; flex-direction: column; gap: 24px; padding: clamp(22px, 3vw, 38px); }
.pane.show { display: flex; animation: paneIn .95s var(--e-expo) both; }
@keyframes paneIn {
  from { opacity: 0; transform: translate3d(0, 30px, 0) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.pane-head { display: flex; flex-direction: column; gap: 8px; }
.pane-head .tag-chip { align-self: flex-start; }
.pane-head h2 { margin: 6px 0 0; font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; color: var(--ink); }
.pane-head p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

.plugin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.c-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 18px 18px 20px; border-radius: var(--r-lg); cursor: pointer; overflow: hidden;
  transition: transform .8s var(--e-expo), box-shadow .8s var(--e-expo);
  will-change: transform;
}
.c-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lift), var(--shadow-inset); }
.c-card .z-img {
  position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #dce9ff, #c3d9ff);
}
.c-card .z-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.4s var(--e-expo); }
.c-card:hover .z-img img { transform: scale(1.07); }
.c-card h3 { margin: 0; font-size: 17px; font-weight: 900; color: var(--ink); }
.c-card .z-desc { margin: 0; font-size: 12.5px; line-height: 1.85; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-card .open-hint {
  margin-top: auto; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--azure);
  display: flex; align-items: center; gap: 8px;
}
.c-card .open-hint::after {
  content: ''; width: 22px; height: 1.5px; background: linear-gradient(90deg, var(--azure), transparent);
  transition: width .7s var(--e-expo);
}
.c-card:hover .open-hint::after { width: 46px; }

/* ─────────────── 详情页 ─────────────── */

.detail-frame { padding: 0; overflow: hidden; margin-bottom: 26px; }
.detail-hero { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #cfe0ff; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 只保留底部淡出，让宣传图自然接上页面底色，不再给图蒙蓝色 */
.detail-hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(244,248,255,0) 0%, rgba(244,248,255,0) 55%, rgba(244,248,255,.92) 100%);
}
.detail-body { padding: clamp(24px, 3.4vw, 44px); }
.detail-body h1 {
  margin: 0 0 6px; font-size: clamp(26px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.02em; color: var(--ink);
}
.detail-body .ver { font-size: 12px; letter-spacing: .2em; color: var(--azure); font-weight: 800; margin-bottom: 18px; }
.detail-body .body-text { font-size: 14px; line-height: 2; color: var(--ink-soft); margin: 0 0 28px; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat-item {
  padding: 18px 20px; border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(255,255,255,.66), rgba(255,255,255,.3));
  box-shadow: 0 8px 22px rgba(26,73,196,.08), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .7s var(--e-expo), box-shadow .7s var(--e-expo);
}
.feat-item:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(26,73,196,.16), inset 0 1px 0 #fff; }
.feat-item b { display: block; font-size: 14px; font-weight: 900; color: var(--azure-deep); margin-bottom: 6px; }
.feat-item span, .feat-item p { font-size: 12.5px; line-height: 1.85; color: var(--ink-soft); margin: 0; }
.feat-item.full { grid-column: 1 / -1; }

.detail-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.detail-foot { padding: 0 clamp(24px, 3.4vw, 44px) clamp(26px, 3.4vw, 44px); }

/* 双栏：左说明右亮点 */
.detail-split {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 22px; align-items: stretch;
}
.detail-split .panel { padding: clamp(22px, 3vw, 34px); }

/* 装饰性玻璃立柱（替代外借立绘位） */
.totem {
  position: relative; display: grid; place-items: center; padding: 26px;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(158deg, rgba(255,255,255,.6), rgba(255,255,255,.24));
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  backdrop-filter: blur(24px) saturate(185%);
  box-shadow: var(--shadow), var(--shadow-inset);
  min-height: 260px;
}
.totem::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(160,205,255,.5) 34%, rgba(124,156,255,.66) 78%, rgba(255,255,255,.94));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.totem svg { width: 100%; height: auto; max-height: 420px; }
.totem > svg { position: relative; z-index: 1; }
.totem .tag-chip { position: absolute; left: 20px; top: 20px; z-index: 2; }
.totem-glow {
  position: absolute; left: 50%; top: 58%; width: 62%; height: 34%;
  transform: translateX(-50%); border-radius: 50%; filter: blur(46px);
  background: radial-gradient(circle, rgba(143,208,255,.92), rgba(124,156,255,0) 70%);
  pointer-events: none;
}
.totem-float {
  position: relative; z-index: 1; width: 100%; display: grid; place-items: center;
  animation: floatY 7.5s var(--e-soft) infinite;
  will-change: transform;
}

.foot-note {
  margin-top: 40px; text-align: center; font-size: 11.5px; line-height: 2;
  letter-spacing: .06em; color: var(--ink-faint);
}

/* ─────────────── 公告弹窗 ─────────────── */

.notice-mask {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
  background: rgba(13, 31, 60, .28);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  opacity: 0; transition: opacity .6s var(--e-expo);
}
.notice-mask.show { opacity: 1; }
.notice-card {
  position: relative; width: min(440px, 100%); padding: 34px 30px 28px;
  border-radius: var(--r-xl); text-align: center;
  background: linear-gradient(158deg, rgba(255,255,255,.82), rgba(255,255,255,.56));
  -webkit-backdrop-filter: blur(34px) saturate(190%);
  backdrop-filter: blur(34px) saturate(190%);
  box-shadow: 0 40px 90px rgba(13,31,60,.3), var(--shadow-inset);
  opacity: 0; transform: translate3d(0, 26px, 0) scale(.94);
  transition: opacity .7s var(--e-expo), transform .9s var(--e-spring);
}
.notice-mask.show .notice-card { opacity: 1; transform: none; }
.notice-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(160,205,255,.55) 40%, rgba(124,156,255,.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.notice-card h3 { margin: 0 0 14px; font-size: 20px; font-weight: 900; color: var(--ink); }
.notice-card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.95; color: var(--ink-soft); }
.notice-card .pill { margin-top: 18px; }

/* ─────────────── 响应式 ─────────────── */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: 2; }
  .stage { width: min(420px, 100%); aspect-ratio: 5 / 5; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .glass-card { grid-column: span 1; }
  .glass-card.wide { grid-column: span 2; }
  .plugin-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-split { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar { top: auto; bottom: 16px; right: 50%; transform: translateX(50%); }
  .navbar { gap: 2px; padding: 5px; }
  .navbar a { padding: 10px 15px; font-size: 13px; }
  @keyframes navIn {
    from { opacity: 0; transform: translateX(50%) translateY(22px) scale(.94); }
    to   { opacity: 1; transform: translateX(50%); }
  }
  .navbar { animation-name: navIn; }
  .page { padding: 66px 16px 104px; }
  .hero { gap: 20px; }
  .hero-copy { gap: 18px; }
  .stage { width: min(320px, 80vw); }
  .stage-note { margin-top: 12px; font-size: 11px; }
  .bento { grid-template-columns: 1fr; }
  .glass-card, .glass-card.wide { grid-column: span 1; min-height: 190px; }
  .glass-card.wide { flex-direction: column; align-items: flex-start; gap: 12px; }
  .glass-card.wide .icon-wrap { width: 58px; height: 58px; }
  .glass-card.wide .fn-name { font-size: 19px; }
  .feat-grid { grid-template-columns: 1fr; }
  .shell { padding: 80px 16px 120px; }
}

@media (max-width: 480px) {
  .plugin-grid { grid-template-columns: 1fr; }
  .wordmark-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .logo-wrap { width: 68px; height: 68px; }
  .glass-card .fn-idx { display: none; }
}

/* ─────────────── 无障碍：尊重系统减动效偏好 ─────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .bg-motes, .bg-petals { display: none; }
  .reveal, .reveal-left, .reveal-scale, .glass-card, .tl-item { opacity: 1 !important; transform: none !important; }
}
