/* ==========================================================
   森忆 · 前台样式（暗色科技风 / 按设计稿方案一还原）
   ========================================================== */

:root {
  --bg: #05070f;
  --bg2: #080d1a;
  --panel: rgba(12, 22, 42, .62);
  --panel-solid: #0a1424;
  --text: #e9f1fb;
  --muted: #7e93ae;
  --muted2: #5d7188;
  --cyan: #35d8ef;
  --violet: #8b5cf6;
  --blue: #3b8ef0;
  --line: rgba(122, 172, 232, .16);
  --line2: rgba(122, 172, 232, .28);
  --max: 1400px;
  --r: 14px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

/* 导航点击直接跳到对应区块，不做滚动动画 */

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[v-cloak] { display: none; }

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

h1, h2, h3, p { margin: 0; }

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

/* ---------- 通用 ---------- */
.mono {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}

/* ==========================================================
   导航
   ========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav-solid {
  background: rgba(5, 8, 16, .82);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(122, 172, 232, .12);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 78px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-calli {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(120, 130, 255, .45));
}
.brand-en {
  font-size: 12px;
  letter-spacing: .26em;
  color: #b9c8dd;
  padding-left: 12px;
  border-left: 1px solid rgba(140, 180, 230, .25);
  line-height: 1;
}

/* 中间导航 */
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 52px;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  color: #a8b8cc;
  padding: 8px 2px 10px;
  transition: color .25s;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
/* 下划线：悬停淡入、当前区块常亮 */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 10px rgba(53, 216, 239, .65);
  opacity: 0;
  transition: width .28s cubic-bezier(.2, .8, .2, 1), opacity .22s ease;
}
.nav-links a:hover::after {
  width: 16px;
  opacity: .75;
}
.nav-links a.on {
  color: #fff;
}
.nav-links a.on::after {
  width: 22px;
  opacity: 1;
}

/* 右侧标语 */
.nav-right {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
}
.nr-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 9.5px;
  letter-spacing: .22em;
  color: #55697f;
  line-height: 1.2;
  text-transform: uppercase;
}
.nr-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 15px;
}
.nr-bars i {
  width: 2.5px;
  background: linear-gradient(180deg, rgba(53, 216, 239, .85), rgba(139, 92, 246, .5));
  border-radius: 1px;
  animation: barPulse 1.8s ease-in-out infinite;
}
.nr-bars i:nth-child(1) { height: 58%; animation-delay: 0s; }
.nr-bars i:nth-child(2) { height: 92%; animation-delay: .2s; }
.nr-bars i:nth-child(3) { height: 72%; animation-delay: .4s; }
.nr-bars i:nth-child(4) { height: 100%; animation-delay: .6s; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(.6); opacity: .6; }
  50% { transform: scaleY(1); opacity: 1; }
}

.nav-burger {
  display: none;
  width: 40px; height: 34px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: rgba(12, 22, 42, .5);
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 11px; right: 11px; height: 1.5px;
  background: #9fb4cb;
  border-radius: 2px;
}
.nav-burger span:nth-child(1) { top: 11px; }
.nav-burger span:nth-child(2) { top: 16px; }
.nav-burger span:nth-child(3) { top: 21px; }

.mobile-menu {
  display: none;
  background: rgba(6, 10, 20, .96);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 20px;
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  color: #b8c8db;
  border-bottom: 1px solid rgba(122, 172, 232, .1);
}

/* ==========================================================
   首屏
   ========================================================== */
.hero {
  position: relative;
  min-height: clamp(780px, 96vh, 980px);
  padding: 110px 0 90px;
  overflow: hidden;
  isolation: isolate;
}

/* 背景图 */
.hero-bg {
  position: absolute;
  inset: 0;
  background: #05070f url("img/hero-bg.jpg") center bottom / cover no-repeat;
  z-index: -3;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 22%, rgba(60, 120, 220, .18), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(0, 0, 0, .55), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 15, .92) 0%, rgba(5, 7, 15, .35) 34%, rgba(5, 7, 15, .35) 62%, rgba(5, 7, 15, .9) 100%);
}

.hero-glow-a,
.hero-glow-b {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}
.hero-glow-a {
  width: 720px; height: 520px;
  right: -120px; top: 40px;
  background: radial-gradient(circle, rgba(112, 88, 240, .34), transparent 66%);
  animation: glowDrift 15s ease-in-out infinite;
}
.hero-glow-b {
  width: 620px; height: 560px;
  right: 16%; bottom: -140px;
  background: radial-gradient(circle, rgba(40, 150, 220, .3), transparent 68%);
  animation: glowDrift 19s ease-in-out infinite reverse;
}
@keyframes glowDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
  50%      { transform: translate3d(-20px, 16px, 0) scale(1.09); opacity: 1; }
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 20px;
  min-height: 640px;
}

/* 左侧文案 */
.hero-copy { position: relative; z-index: 2; }
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -70px -90px -60px -110px;
  z-index: -1;
  background: radial-gradient(58% 62% at 42% 52%, rgba(4, 8, 16, .78), rgba(4, 8, 18, .42) 58%, transparent 78%);
  pointer-events: none;
}

.hello {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: .34em;
  color: #6d8299;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-calli {
  position: relative;
  margin: -12px 0 6px -18px;
  width: 560px;
  max-width: 108%;
}
.hero-calli img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(146, 130, 255, .45)) drop-shadow(0 0 4px rgba(255, 255, 255, .25));
  animation:
    calliIn 1s cubic-bezier(.2, .8, .2, 1) both,
    calliGlow 5.5s 1s ease-in-out infinite;
}
@keyframes calliIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes calliGlow {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(146, 130, 255, .4)) drop-shadow(0 0 4px rgba(255, 255, 255, .22)); }
  50%      { filter: drop-shadow(0 0 36px rgba(110, 205, 255, .62)) drop-shadow(0 0 9px rgba(255, 255, 255, .48)) brightness(1.06); }
}

/* 书法字上的流光扫过 */
.hero-calli::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(104deg,
    transparent 43%,
    rgba(150, 215, 255, .3) 47%,
    rgba(238, 250, 255, .78) 50%,
    rgba(172, 150, 255, .45) 53.5%,
    transparent 59%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: 0% 0;
  -webkit-mask: url("img/calligraphy.png") center / 100% 100% no-repeat;
  mask: url("img/calligraphy.png") center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: 0;
  animation: caliSweep 6.5s 1.1s ease-in-out infinite;
}
@keyframes caliSweep {
  0%        { background-position: 0% 0; opacity: 0; }
  8%        { opacity: 1; }
  48%       { background-position: 100% 0; opacity: 1; }
  60%, 100% { background-position: 100% 0; opacity: 0; }
}

.hero-tagline {
  font-size: clamp(20px, 1.75vw, 27px);
  letter-spacing: .28em;
  margin: 4px 0 20px;
  font-weight: 500;
  filter: drop-shadow(0 2px 14px rgba(2, 5, 12, .9));
}
.hero-tagline .tl-text {
  display: inline-block;
  background: linear-gradient(96deg,
    #eaf6ff 0%, #86e6ff 15%, #b9a8ff 32%, #ffffff 48%,
    #86e6ff 64%, #c9b8ff 82%, #eaf6ff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation:
    taglineFlow 9s linear infinite,
    taglineWipe 1.1s .25s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes taglineFlow {
  from { background-position: 0% 50%; }
  to   { background-position: 250% 50%; }
}
@keyframes taglineWipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.hero-tagline .tl-cursor {
  display: inline-block;
  width: 3px;
  height: .92em;
  margin-left: 6px;
  vertical-align: -.1em;
  background: linear-gradient(180deg, #b9f4ff, #4fc6ff);
  box-shadow: 0 0 9px rgba(127, 228, 255, .85);
  animation: caretBlink 1.05s steps(1) infinite;
}

.hero-sub {
  font-size: 15px;
  line-height: 2;
  color: #93a7bd;
  letter-spacing: .02em;
  text-shadow: 0 2px 14px rgba(2, 5, 12, .85);
}
.hero-sub .hs-line {
  display: block;
  animation: hsIn .9s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: var(--d, .9s);
}
@keyframes hsIn {
  from { opacity: 0; transform: translateX(-12px); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: .06em;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn .arrow {
  font-size: 14px;
  transition: transform .25s;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #3fd0e8 0%, #5b9df5 48%, #9a6cff 100%);
  box-shadow: 0 8px 26px rgba(66, 150, 240, .35), inset 0 0 0 1px rgba(255, 255, 255, .22);
  font-weight: 500;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(90, 150, 250, .5), inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  color: #dce8f7;
  background: rgba(10, 20, 38, .55);
  border: 1px solid rgba(130, 180, 240, .35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: rgba(53, 216, 239, .75);
  color: #fff;
  box-shadow: 0 0 24px rgba(53, 216, 239, .18);
  transform: translateY(-2px);
}
.btn-ghost:hover .arrow { transform: translateX(3px); }

/* ---------- 右侧透明屏幕 ---------- */
.hero-art {
  position: relative;
  height: 580px;
  perspective: 1100px;
}

.stage {
  position: absolute;
  right: 0;
  top: 16px;
  width: 560px;
  height: 470px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(16, 30, 56, .72), rgba(8, 14, 28, .58));
  border: 1px solid rgba(120, 175, 245, .32);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 30px 80px rgba(0, 0, 0, .55),
    0 0 60px rgba(70, 140, 240, .18),
    inset 0 0 80px rgba(50, 110, 200, .12);
  transform: rotateY(var(--ry, -15deg)) rotateX(var(--rx, 2.5deg));
  transform-origin: right center;
  overflow: hidden;
  animation:
    stageIn 1.1s cubic-bezier(.2, .8, .2, 1) both,
    stageFloat 13s 1.2s ease-in-out infinite,
    stageGlow 6.5s 1.2s ease-in-out infinite;
}
@keyframes stageIn {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: none; }
}
@keyframes stageFloat {
  0%, 100% { transform: rotateY(var(--ry, -15deg)) rotateX(var(--rx, 2.5deg)) translate3d(0, 0, 0); }
  50%      { transform: rotateY(calc(var(--ry, -15deg) + 3deg)) rotateX(calc(var(--rx, 2.5deg) - 1.4deg)) translate3d(0, -14px, 0); }
}
@keyframes stageGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .04) inset,
      0 30px 80px rgba(0, 0, 0, .55),
      0 0 60px rgba(70, 140, 240, .18),
      inset 0 0 80px rgba(50, 110, 200, .12);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .07) inset,
      0 34px 90px rgba(0, 0, 0, .6),
      0 0 96px rgba(90, 170, 255, .34),
      inset 0 0 100px rgba(70, 140, 230, .2);
  }
}

/* 屏幕顶部光边 */
.stage::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 220, 255, .85), transparent);
  filter: blur(.4px);
  z-index: 6;
}

/* 屏幕内扫描光带 */
.stage::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%;
  top: -170px;
  height: 170px;
  background: linear-gradient(180deg,
    rgba(140, 220, 255, 0) 0%,
    rgba(140, 220, 255, .07) 55%,
    rgba(195, 240, 255, .17) 86%,
    rgba(140, 220, 255, 0) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 5;
  animation: stageScan 6.5s linear infinite;
}
@keyframes stageScan {
  0%   { top: -170px; opacity: 0; }
  10%  { opacity: 1; }
  85%  { top: 100%; opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.st-top {
  position: absolute;
  top: 12px; left: 18px; right: 18px;
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .22em;
  color: #6f8db0;
}
.st-top .st-brand { color: #a8c3e0; }
.st-top .st-dot {
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: #5ee6ff;
  box-shadow: 0 0 8px rgba(94, 230, 255, .9);
  vertical-align: 1px;
  animation: dotBlink 1.6s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50%      { opacity: 1; transform: scale(1.15); }
}

/* 代码 */
.st-code {
  position: absolute;
  left: 22px; top: 46px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.9;
  color: #7f9dbd;
  white-space: pre;
}
.st-code .kw { color: #a78bfa; }
.st-code .fn { color: #4ec9e8; }
.st-code .cm { color: #48607a; font-style: italic; }

/* 代码逐行打出 */
.st-code .cl {
  display: block;
  animation: codeIn .5s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: var(--d, 0s);
}
.st-code .cl-gap { height: 1.9em; }
@keyframes codeIn {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0 0 0); opacity: 1; }
}
.st-code .st-caret {
  display: inline-block;
  width: 6px; height: 13px;
  margin-left: 4px;
  vertical-align: -2px;
  background: linear-gradient(180deg, #b9f4ff, #58c8ff);
  box-shadow: 0 0 10px rgba(127, 228, 255, .85);
  animation: caretBlink 1.05s steps(1) infinite;
}
@keyframes caretBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

/* 地球 */
.earth-wrap {
  position: absolute;
  right: 76px;
  top: 72px;
  width: 288px;
  height: 288px;
}

.earth {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(130, 220, 255, .5), transparent 44%),
    radial-gradient(circle at 68% 76%, rgba(120, 92, 250, .48), transparent 52%),
    radial-gradient(circle at 50% 52%, #12395e 0%, #0a1c34 62%, #050b18 100%);
  box-shadow:
    0 0 44px rgba(60, 150, 255, .5),
    0 0 110px rgba(70, 120, 250, .28),
    inset -18px -20px 52px rgba(0, 0, 0, .72),
    inset 8px 10px 44px rgba(90, 190, 255, .3);
  animation: earthSpin 26s linear infinite, earthHalo 7.5s ease-in-out infinite;
}
@keyframes earthSpin {
  to { filter: hue-rotate(6deg); }
}
@keyframes earthHalo {
  0%, 100% {
    box-shadow:
      0 0 44px rgba(60, 150, 255, .5),
      0 0 110px rgba(70, 120, 250, .28),
      inset -18px -20px 52px rgba(0, 0, 0, .72),
      inset 8px 10px 44px rgba(90, 190, 255, .3);
  }
  50% {
    box-shadow:
      0 0 58px rgba(70, 175, 255, .66),
      0 0 132px rgba(90, 140, 250, .36),
      inset -18px -20px 52px rgba(0, 0, 0, .72),
      inset 8px 10px 52px rgba(110, 210, 255, .42);
  }
}
.earth::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-linear-gradient(90deg, rgba(130, 205, 255, .16) 0 1px, transparent 1px 27px),
    repeating-linear-gradient(0deg, rgba(130, 205, 255, .12) 0 1px, transparent 1px 23px);
  -webkit-mask-image: radial-gradient(circle at 40% 36%, #000 0%, #000 44%, rgba(0, 0, 0, .5) 68%, transparent 78%);
  mask-image: radial-gradient(circle at 40% 36%, #000 0%, #000 44%, rgba(0, 0, 0, .5) 68%, transparent 78%);
  mix-blend-mode: screen;
  animation: earthGrid 18s linear infinite;
}
@keyframes earthGrid {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 27px 0, 0 23px; }
}
.earth::after {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(120, 200, 255, .18);
  filter: blur(.5px);
}

/* 地球外轨道环 */
.earth-orbit {
  position: absolute;
  left: -34px; right: -34px;
  top: 50%;
  height: 236px;
  margin-top: -118px;
  border-radius: 50%;
  border: 1px solid rgba(130, 200, 255, .3);
  transform: rotate(-16deg) scaleY(.62);
  box-shadow: 0 0 22px rgba(80, 160, 255, .22);
}
.earth-orbit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(140, 190, 255, .16);
}

/* 漂浮光球 */
.sat {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(220, 245, 255, .95), rgba(120, 180, 255, .55) 42%, rgba(80, 60, 180, .18) 72%, transparent 82%);
  box-shadow: 0 0 18px rgba(120, 180, 255, .5);
  animation: floatY 7s ease-in-out infinite;
}
.sat-1 { width: 26px; height: 26px; left: 8px; top: 12px; animation-delay: -.6s; }
.sat-2 { width: 14px; height: 14px; right: -6px; top: 74px; animation-delay: -2.4s; }
.sat-3 { width: 9px; height: 9px; left: 34px; bottom: 18px; animation-delay: -4s; opacity: .8; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* IDEAS 面板 */
.st-ideas {
  position: absolute;
  right: 14px; top: 44px;
  width: 118px;
  padding: 10px 12px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(20, 36, 66, .7), rgba(10, 18, 34, .55));
  border: 1px solid rgba(120, 175, 245, .22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4), inset 0 0 22px rgba(60, 120, 220, .1);
}
.st-ideas h4 {
  margin: 0 0 8px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: #8fb0d2;
  font-weight: 400;
}
.st-ideas ul {
  margin: 0; padding: 0; list-style: none;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  color: #6d8bab;
}
.st-ideas li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid rgba(120, 175, 245, .08);
}
.st-ideas li i { font-style: normal; color: #4a6480; }
.st-ideas li b { font-weight: 500; color: #a9c6e4; }

.ideas-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 46px;
  margin-top: 12px;
}
.ideas-bars i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #6fb8ff, #7a5cff);
  transform-origin: bottom;
  animation: ideaBar 2.8s ease-in-out infinite;
}
@keyframes ideaBar {
  0%, 100% { transform: scaleY(.55); opacity: .62; }
  50%      { transform: scaleY(1); opacity: .95; }
}

/* 数据面板 */
.st-data {
  position: absolute;
  right: 34px; bottom: 26px;
  width: 176px;
  padding: 10px 12px 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 32, 60, .78), rgba(9, 16, 30, .6));
  border: 1px solid rgba(120, 175, 245, .2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .45);
}
.st-data .sd-t {
  display: flex;
  justify-content: space-between;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .16em;
  color: #7f9ec0;
  margin-bottom: 6px;
}
.sd-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 54px;
}
.sd-bars i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(110, 190, 255, .9), rgba(110, 90, 250, .55));
  box-shadow: 0 0 8px rgba(90, 160, 255, .3);
  transform-origin: bottom;
  animation: dataBar 2.2s ease-in-out infinite;
}
@keyframes dataBar {
  0%, 100% { transform: scaleY(.5); opacity: .55; }
  50%      { transform: scaleY(1); opacity: 1; }
}
.st-data .sd-f {
  margin-top: 7px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9px;
  color: #4e657e;
}

/* 折线图（左下） */
.st-line {
  position: absolute;
  left: 22px; bottom: 30px;
  width: 210px;
  height: 74px;
  opacity: .9;
}
.st-line svg { width: 100%; height: 100%; }
.st-line polyline {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: lineDraw 4.6s ease-in-out infinite;
}
.st-line polyline:nth-of-type(2) { animation-delay: .6s; }
@keyframes lineDraw {
  0%        { stroke-dashoffset: 250; opacity: .35; }
  45%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
.st-line .sd-dot {
  filter: drop-shadow(0 0 6px rgba(150, 235, 255, .95));
}

/* 屏幕底部文字 */
.st-foot {
  position: absolute;
  left: 50%; bottom: 12px;
  transform: translateX(-50%);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .24em;
  color: #4d647e;
}

/* 屏幕外圈子环 */
.stage-ring {
  position: absolute;
  right: -40px;
  top: 260px;
  width: 660px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(110, 170, 245, .18);
  transform: rotate(-9deg);
  box-shadow: 0 0 40px rgba(70, 140, 240, .12);
  pointer-events: none;
  animation: ringSway 16s ease-in-out infinite;
}
@keyframes ringSway {
  0%, 100% { transform: rotate(-9deg) translateY(0); opacity: .9; }
  50%      { transform: rotate(-5deg) translateY(-10px); opacity: 1; }
}
.stage-ring::after {
  content: "";
  position: absolute;
  inset: 26px -6%;
  border-radius: 50%;
  border: 1px dashed rgba(130, 190, 255, .1);
}

.float-ball {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(235, 248, 255, .95), rgba(140, 190, 255, .5) 40%, rgba(90, 70, 200, .14) 74%, transparent 84%);
  box-shadow: 0 0 26px rgba(140, 190, 255, .45);
  animation: floatY 8s ease-in-out infinite;
  pointer-events: none;
}
.fb-1 { width: 34px; height: 34px; left: -52px; top: 120px; }
.fb-2 { width: 16px; height: 16px; left: 22px; bottom: 46px; animation-delay: -3s; opacity: .85; }
.fb-3 { width: 46px; height: 46px; right: -30px; top: -16px; animation-delay: -1.6s; }

/* 向下滚动 */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7188a0;
  z-index: 3;
}
.scroll-hint .mouse {
  width: 22px; height: 34px;
  border: 1px solid rgba(140, 185, 235, .5);
  border-radius: 12px;
  position: relative;
  flex: none;
}
.scroll-hint .mouse i {
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #8fb6dd;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0%, 100% { transform: translateY(0); opacity: .4; }
  50% { transform: translateY(8px); opacity: 1; }
}
.scroll-hint .sh-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  letter-spacing: .15em;
}
.scroll-hint .sh-label em {
  font-style: normal;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .24em;
  color: #566c84;
}

/* ==========================================================
   通用区块
   ========================================================== */
.section {
  position: relative;
  width: 100%;              /* 父级是 flex 列，配合 margin:auto 否则会缩到内容宽度、与其他区块对不齐 */
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 32px;
}

.section::before {
  content: "";
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 172, 232, .22), transparent 70%);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.sh-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sec-title {
  position: relative;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #f0f6ff;
  padding-left: 16px;
}
.sec-title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 30px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(53, 216, 239, .5);
}

.sec-en {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .3em;
  color: #5c7390;
  padding-left: 18px;
  border-left: 1px solid rgba(122, 172, 232, .2);
  text-transform: uppercase;
}

.sec-note {
  font-size: 13px;
  color: #7d92a9;
  letter-spacing: .02em;
  padding-bottom: 6px;
}

.more-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  font-size: 13px;
  color: #b7c9dc;
  padding-bottom: 4px;
  transition: color .25s;
}
.more-link em {
  font-style: normal;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .22em;
  color: #5c7390;
}
.more-link:hover { color: var(--cyan); }

.empty {
  padding: 40px 0;
  color: #677d95;
  font-size: 14px;
  text-align: center;
  border: 1px dashed rgba(122, 172, 232, .18);
  border-radius: var(--r);
}

/* ---------- 作品分页条 ---------- */
#top, #skills, #works, #about, #contact { scroll-margin-top: 88px; }

.works-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(122, 172, 232, .14);
}
.wb-info {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #7d92a9;
}
.wb-info b { color: #d3e6f8; font-weight: 500; }
.wb-info .wb-range { color: #5c7390; margin-left: 4px; }

.wb-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.pg-size {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #7d92a9;
}
.pg-size span { letter-spacing: .08em; }
.pg-size button {
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(122, 172, 232, .22);
  background: rgba(12, 22, 42, .55);
  color: #9fb4cb;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.pg-size button:hover {
  color: #e6f6ff;
  border-color: rgba(53, 216, 239, .5);
}
.pg-size button.on {
  color: #06131f;
  font-weight: 600;
  background: linear-gradient(100deg, #3fd0e8, #8b5cf6);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(70, 160, 240, .32);
}

.pg-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pg-nav button {
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border-radius: 9px;
  border: 1px solid rgba(122, 172, 232, .2);
  background: rgba(12, 22, 42, .55);
  color: #a9bdd2;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.pg-nav button:hover:not(:disabled) {
  color: #eaf7ff;
  border-color: rgba(53, 216, 239, .55);
  box-shadow: 0 0 16px rgba(53, 216, 239, .16);
}
.pg-nav button.on {
  color: #fff;
  background: linear-gradient(100deg, rgba(63, 208, 232, .92), rgba(139, 92, 246, .92));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(90, 120, 250, .32);
}
.pg-nav button:disabled {
  opacity: .32;
  cursor: not-allowed;
}
.pg-dots {
  padding: 0 2px;
  color: #5c7390;
  font-size: 12px;
  user-select: none;
}

/* ==========================================================
   专业技能
   ========================================================== */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.skill-card {
  position: relative;
  padding: 26px 14px 22px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(160deg, rgba(18, 34, 62, .74), rgba(9, 16, 30, .5));
  border: 1px solid rgba(122, 172, 232, .18);
  box-shadow: inset 0 1px 0 rgba(190, 225, 255, .06), 0 12px 30px rgba(0, 0, 0, .3);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.skill-card::before {
  content: "";
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(130, 200, 255, .55), transparent);
  transition: opacity .3s;
  opacity: .55;
}
.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 216, 239, .42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42), 0 0 34px rgba(50, 160, 240, .16), inset 0 1px 0 rgba(190, 225, 255, .1);
}
.skill-card:hover::before { opacity: 1; }

.sk-icon {
  width: 50px; height: 50px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, rgba(60, 130, 220, .34), rgba(24, 44, 74, .2) 68%, transparent 72%);
  border: 1px solid rgba(122, 180, 240, .2);
  box-shadow: 0 0 22px rgba(60, 140, 230, .22) inset, 0 6px 18px rgba(0, 0, 0, .3);
}
.sk-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: #cfe4fa;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(120, 190, 255, .5));
}

.skill-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #ecf4ff;
  margin-bottom: 8px;
}

.sk-sub,
.sk-desc {
  font-size: 12px;
  line-height: 1.85;
  color: #8298b0;
}
.sk-sub { color: #9db2c9; }
.sk-desc {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sk-line { display: none; }

/* ==========================================================
   精选作品
   ========================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1a30, #070d18);
  border: 1px solid rgba(122, 172, 232, .2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .36);
  transition: transform .32s, border-color .32s, box-shadow .32s;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 216, 239, .4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(50, 150, 240, .14);
}

.wc-cover {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: radial-gradient(circle at 40% 30%, #14305a, #070d18 70%);
}
.wc-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}
.work-card:hover .wc-cover img { transform: scale(1.06); }

.wc-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 16, .1) 0%, rgba(5, 9, 16, 0) 40%, rgba(5, 9, 16, .55) 74%, rgba(6, 10, 18, .95) 100%);
  pointer-events: none;
}

.wc-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(50, 110, 190, .22), transparent 62%),
    repeating-linear-gradient(90deg, rgba(90, 160, 220, .06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, rgba(90, 160, 220, .06) 0 1px, transparent 1px 34px);
}
.wc-glyph {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 34px;
  color: rgba(150, 210, 255, .4);
  letter-spacing: .1em;
}

.wc-cat,
.wc-status {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}
.wc-cat {
  left: 14px;
  color: #bcd6f2;
  background: rgba(14, 26, 46, .68);
  border: 1px solid rgba(120, 180, 240, .28);
}
.wc-status {
  right: 14px;
  color: #7ee8ac;
  background: rgba(10, 34, 26, .66);
  border: 1px solid rgba(90, 220, 160, .3);
}
.wc-status.doing { color: #ffcf7a; background: rgba(46, 32, 8, .66); border-color: rgba(255, 200, 100, .3); }
.wc-status.todo { color: #9fb3c8; background: rgba(18, 28, 42, .72); border-color: rgba(140, 170, 200, .28); }
.wc-status.open { color: #9fd9ff; background: rgba(10, 28, 44, .72); border-color: rgba(90, 190, 255, .32); }

.wc-body {
  position: relative;
  margin-top: -58px;
  z-index: 2;
  padding: 0 18px 18px;
}

.wc-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f2f7ff;
  letter-spacing: .03em;
}

.wc-sum {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #96abc2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wc-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.wc-tech span {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .06em;
  color: #8fb0d2;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(122, 172, 232, .2);
  background: rgba(12, 24, 42, .6);
}

.wc-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: #8fb6dd;
}
.wc-links a,
.wc-links .wc-link {
  transition: color .22s;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  text-align: left;
}
.wc-links a:hover,
.wc-links .wc-link:hover { color: var(--cyan); }
.wc-links .no-link { color: #5a708a; }
.wc-links .wc-more {
  margin-left: auto;
  color: #6f8cae;
  letter-spacing: .04em;
  transition: color .22s, transform .22s;
}
.work-card:hover .wc-more { color: var(--cyan); transform: translateX(3px); }

/* ==========================================================
   作品详情弹层
   ========================================================== */
.work-card { cursor: pointer; }
.work-card:focus-visible {
  outline: 2px solid rgba(53, 216, 239, .6);
  outline-offset: 3px;
}
body.modal-open { overflow: hidden; }

.wd-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  overflow-y: auto;
  background: rgba(4, 8, 14, .76);
  backdrop-filter: blur(10px);
  animation: wdFade .22s ease both;
}
@keyframes wdFade { from { opacity: 0; } to { opacity: 1; } }

.wd-box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  width: 100%;
  max-width: 980px;
  max-height: 86vh;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #0d1a30, #070d18);
  border: 1px solid rgba(122, 172, 232, .24);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 60px rgba(50, 150, 240, .1);
  animation: wdUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes wdUp {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

.wd-x {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #cfe2f5;
  background: rgba(8, 14, 24, .6);
  border: 1px solid rgba(122, 172, 232, .24);
  backdrop-filter: blur(6px);
  transition: .2s;
}
.wd-x:hover { color: #fff; border-color: rgba(53, 216, 239, .5); background: rgba(16, 28, 46, .9); }

.wd-cover {
  position: relative;
  min-height: 260px;
  background: radial-gradient(circle at 40% 30%, #14305a, #070d18 70%);
}
.wd-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wd-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 9, 16, 0) 55%, rgba(7, 13, 24, .55) 100%),
              linear-gradient(180deg, rgba(5, 9, 16, .45) 0%, rgba(5, 9, 16, 0) 32%);
}
.wd-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 54px;
  color: rgba(90, 214, 240, .5);
}

.wd-body {
  padding: 30px 30px 26px;
  overflow-y: auto;
  max-height: 86vh;
}
.wd-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: .01em;
}
.wd-sum {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: #9fb6cd;
}

.wd-desc { margin-top: 22px; }
.wd-desc h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: #7b9cbe;
  text-transform: uppercase;
}
.wd-desc p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 2;
  color: #c2d3e6;
}

.wd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(122, 172, 232, .14);
}
.wd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 13px;
  transition: .22s;
}
.wd-btn.main {
  color: #04121c;
  font-weight: 600;
  background: linear-gradient(120deg, #35d8ef, #6ea8ff);
}
.wd-btn.main:hover { filter: brightness(1.08); transform: translateY(-1px); }
.wd-btn.ghost {
  color: #b7d3ee;
  border: 1px solid rgba(122, 172, 232, .3);
  background: rgba(14, 26, 44, .6);
}
.wd-btn.ghost:hover { color: #fff; border-color: rgba(53, 216, 239, .5); }
.wd-nolink { font-size: 12.5px; color: #5a708a; }

@media (max-width: 860px) {
  .wd-mask { padding: 16px 12px; }
  .wd-box { grid-template-columns: 1fr; max-height: 90vh; }
  .wd-cover { aspect-ratio: 16 / 10; min-height: 0; }
  .wd-body { padding: 22px 20px; max-height: none; }
  .wd-body h3 { font-size: 20px; }
}

/* ==========================================================
   关于 / 主编
   ========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  font-size: 15px;
  line-height: 2.05;
  color: #93a8bf;
  margin-top: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.about-tags span {
  font-size: 12px;
  color: #9db6cd;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 172, 232, .22);
  background: rgba(12, 24, 42, .55);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat {
  padding: 22px 18px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(18, 34, 62, .7), rgba(9, 16, 30, .46));
  border: 1px solid rgba(122, 172, 232, .16);
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  background: linear-gradient(100deg, #67e0f3, #9d80ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .02em;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #7d93aa;
  letter-spacing: .06em;
}

/* ==========================================================
   联系
   ========================================================== */
.contact-box {
  padding: 52px 48px;
  border-radius: 18px;
  background:
    radial-gradient(80% 120% at 84% 0%, rgba(80, 130, 240, .16), transparent 60%),
    linear-gradient(160deg, rgba(14, 28, 52, .82), rgba(8, 14, 26, .62));
  border: 1px solid rgba(122, 172, 232, .2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(190, 225, 255, .07);
}

.contact-sub {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #90a6bd;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.clink {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  min-width: 216px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(12, 24, 44, .82), rgba(8, 14, 26, .6));
  border: 1px solid rgba(122, 172, 232, .18);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.clink:hover {
  border-color: rgba(53, 216, 239, .45);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -18px rgba(53, 216, 239, .55);
}
/* 图标块：品牌图标的透明底托，悬停提亮 */
.cl-ic {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.cl-ic img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  /* 深色背景下给彩色图标一点点发光，避免糊成一团 */
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45));
}
.clink:hover .cl-ic {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(53, 216, 239, .35);
  box-shadow: 0 8px 20px -12px rgba(53, 216, 239, .9);
  transform: translateY(-1px);
}
.cl-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cl-k {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: .2em;
  color: #5f7a96;
  text-transform: uppercase;
}
.cl-v {
  font-size: 14px;
  color: #d6e5f7;
  word-break: break-all;
}

/* ==========================================================
   页脚
   ========================================================== */
.footer {
  margin-top: 40px;
  border-top: 1px solid rgba(122, 172, 232, .14);
  background: linear-gradient(180deg, rgba(6, 10, 18, .6), rgba(4, 6, 12, .95));
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.foot-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #6d8199;
  letter-spacing: .04em;
}
.foot-brand {
  font-size: 11px;
  letter-spacing: .2em;
  color: #8fa6bd;
  padding-left: 12px;
  border-left: 1px solid rgba(122, 172, 232, .2);
}

.foot-social {
  display: flex;
  gap: 18px;
}
.foot-social a {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #7e93ae;
  transition: color .25s, transform .25s;
}
.foot-social a:hover { color: var(--cyan); transform: translateY(-2px); }
.foot-social svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.foot-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}
.foot-right a {
  font-size: 12.5px;
  color: #7e93ae;
  transition: color .25s;
}
.foot-right a:hover { color: var(--cyan); }

/* 备案项：图标 + 文字 */
.beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.beian-ico {
  width: 17px;
  height: 19px;
  object-fit: contain;
  opacity: .95;
  flex: 0 0 auto;
}

.icp-empty {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(111, 130, 152, .7);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(122, 160, 205, .22);
  cursor: help;
}

.shield {
  width: 15px; height: 15px;
  stroke: #7e93ae;
  fill: none;
  stroke-width: 1.6;
  opacity: .8;
}

/* 回顶 */
.back-top {
  position: fixed;
  right: 26px; bottom: 92px;
  z-index: 50;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 20, 38, .8);
  border: 1px solid rgba(122, 172, 232, .28);
  color: #a9c2da;
  backdrop-filter: blur(8px);
  transition: border-color .25s, color .25s, transform .25s;
}
.back-top:hover {
  border-color: rgba(53, 216, 239, .6);
  color: var(--cyan);
  transform: translateY(-3px);
}

/* ==========================================================
   淡入动画
   ========================================================== */
html.anim-on .skill-card,
html.anim-on .work-card,
html.anim-on .stat,
html.anim-on .contact-box {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
html.anim-on .skill-card.in,
html.anim-on .work-card.in,
html.anim-on .stat.in,
html.anim-on .contact-box.in {
  opacity: 1;
  transform: none;
}
html.anim-on .work-card.in:hover,
html.anim-on .skill-card.in:hover { transform: translateY(-6px); }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1280px) {
  .nav-links { gap: 36px; }
  .hero-inner { grid-template-columns: 44% 56%; }
  .stage { width: 500px; height: 430px; }
  .st-ideas { width: 106px; }
  .earth-wrap { right: 92px; top: 80px; width: 270px; height: 270px; }
  .hero-calli { width: 470px; }
  .skill-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card:last-child { grid-column: span 2; }
  .work-card:last-child .wc-cover { aspect-ratio: 21 / 9; }
}

@media (max-width: 1024px) {
  .nav-right { display: none; }
  .hero { padding-top: 96px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-art { height: 520px; }
  .stage { position: relative; right: auto; top: 0; margin: 0 auto; transform: rotateY(-8deg); --ry: -8deg; --rx: 0deg; }
  .skill-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .nav-inner { height: 64px; padding: 0 18px; }
  .nav-links { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .mobile-menu { display: block; }
  .brand-calli { height: 30px; }
  .brand-en { font-size: 10px; }
  .section { padding: 64px 18px; }
  .section::before { left: 18px; right: 18px; }
  .hero { padding: 92px 0 60px; min-height: auto; }
  .hero-inner { padding: 0 18px; }
  .hero-calli { width: 100%; max-width: 340px; margin-left: -8px; }
  .hero-tagline { font-size: 17px; letter-spacing: .18em; }
  .hero-sub { font-size: 13.5px; }
  .hero-actions { flex-wrap: wrap; margin-top: 28px; }
  .btn { height: 44px; padding: 0 22px; font-size: 14px; }
  .hero-art { display: none; }
  .scroll-hint { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
  .sec-title { font-size: 24px; }
  .sec-title::before { height: 24px; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card:last-child { grid-column: auto; }
  .work-card:last-child .wc-cover { aspect-ratio: 16 / 11; }
  .works-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .wb-right { width: 100%; justify-content: space-between; gap: 10px; }
  .contact-box { padding: 34px 22px; }
  .clink { min-width: 100%; }
  .foot-inner { flex-direction: column; gap: 14px; text-align: center; padding: 22px 18px 30px; }
  .foot-right { justify-content: center; }
  .foot-left { flex-direction: column; gap: 6px; }
  .foot-brand { border-left: 0; padding-left: 0; }
}

@media (max-width: 420px) {
  .skill-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .skill-card { padding: 20px 10px 18px; }
  .sk-icon { width: 42px; height: 42px; margin-bottom: 10px; }
  .sk-icon svg { width: 20px; height: 20px; }
  .skill-card h3 { font-size: 15px; }
  .sk-sub, .sk-desc { font-size: 11px; }
}

/* ==========================================================
   首屏动效 · 尊重「减少动态效果」系统设置
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .stage,
  .stage::after,
  .earth,
  .earth::before,
  .ideas-bars i,
  .sd-bars i,
  .st-line polyline,
  .hero-calli::after,
  .hero-calli img,
  .hero-glow-a,
  .hero-glow-b,
  .stage-ring,
  .st-top .st-dot,
  .float-ball,
  .sat,
  .nr-bars i {
    animation: none !important;
  }
  .hero-calli::after { opacity: 0 !important; }
  .hero-tagline .tl-text {
    animation: none !important;
    background: none;
    -webkit-text-fill-color: #eef4ff;
    color: #eef4ff;
  }
  .hero-tagline .tl-cursor { animation: none !important; }
}

/* ==========================================================
   多页面（首页 / 作品集 / 关于我们 / 联系我们）
   ========================================================== */
/* 独立页面的第一屏：给固定导航留出高度 */
.page-first { padding-top: 148px; }
.page-first .section-head { margin-bottom: 34px; }
.page-first .about-grid { margin-top: 4px; }

/* 回顶按钮：默认隐藏，滚动后出现 */
.back-top { opacity: 0; pointer-events: none; }
.back-top.show { opacity: 1; pointer-events: auto; }

/* 移动端菜单：默认收起，点汉堡展开 */
@media (max-width: 760px) {
  .mobile-menu { display: none; }
  .mobile-menu.open { display: block; }
  .page-first { padding-top: 104px; }
}

/* 页面高度不足时把页脚压到视口底部，避免关于/联系页下方大片留白 */
html { min-height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main#app { flex: 1 0 auto; }
body > .footer { flex: none; }
/* 内容较少时（关于/联系页）让单页内容垂直居中，空白上下均衡；内容超高时 auto 自动失效 */
body > main#app { display: flex; flex-direction: column; }
body > main#app > .page-first { margin-top: auto; margin-bottom: auto; width: 100%; }
/* 单页版式：收紧上下内边距，让内容块更紧凑、居中后上下留白均衡 */
body > main#app > .page-first { padding-top: 104px; padding-bottom: 28px; }

/* ==========================================================
   关于我们 / 联系我们：服务范围、合作流程、底部行动条
   ========================================================== */
/* 服务范围卡片 */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 6px;
}
.svc-card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 14px;
  border: 1px solid rgba(122, 172, 232, .16);
  background: linear-gradient(160deg, rgba(17, 27, 48, .9), rgba(9, 15, 28, .92));
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px 90px at 100% 0, rgba(86, 217, 255, .16), transparent 72%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.svc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(86, 217, 255, .42);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.svc-card:hover::after { opacity: 1; }
.svc-no {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  font: 600 12px/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
  color: #7ef2ff;
  background: rgba(86, 217, 255, .1);
  border: 1px solid rgba(86, 217, 255, .28);
}
.svc-card h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  color: #eef4ff;
}
.svc-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #93a8c9;
}

/* 合作流程 */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 6px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(86, 217, 255, .35), rgba(150, 120, 255, .35), rgba(86, 217, 255, .1));
}
.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.step b {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  font: 700 15px/1 ui-monospace, Consolas, monospace;
  color: #06121f;
  background: linear-gradient(135deg, #7ef2ff, #9b7bff);
  box-shadow: 0 0 0 6px rgba(8, 13, 26, .9), 0 10px 26px rgba(86, 217, 255, .22);
}
.step h3 {
  margin: 20px 0 8px;
  font-size: 16px;
  color: #eef4ff;
}
.step p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #93a8c9;
}

/* 底部行动条 */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px 36px;
  border-radius: 16px;
  border: 1px solid rgba(122, 172, 232, .18);
  background: linear-gradient(120deg, rgba(20, 32, 58, .92), rgba(36, 24, 62, .8));
  box-shadow: 0 20px 54px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(340px 170px at 6% 0, rgba(86, 217, 255, .18), transparent 72%),
    radial-gradient(320px 170px at 94% 100%, rgba(150, 120, 255, .18), transparent 72%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-txt h2 {
  font-size: 24px;
  letter-spacing: .02em;
  color: #eef4ff;
}
.cta-txt p {
  margin-top: 9px;
  font-size: 14px;
  color: #93a8c9;
}
.cta-btns {
  display: flex;
  gap: 12px;
  flex: none;
}

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { flex: 1; justify-content: center; }
}

/* ==========================================================
   关于我们 / 联系我们：内容页收紧节奏
   ========================================================== */
.rich-page .section { padding: 60px 32px; }
.rich-page .section-head { margin-bottom: 30px; }
.rich-page .page-first { padding-top: 132px; padding-bottom: 52px; }
.rich-page .page-first .section-head { margin-bottom: 30px; }
.rich-page .skill-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
.rich-page .skill-card { display: flex; flex-direction: column; align-items: center; }
.rich-page .sk-desc { flex: 1; }
.rich-page .cta-band { margin-top: 4px; }

@media (max-width: 1024px) {
  .rich-page .skill-grid { grid-template-columns: repeat(3, 1fr); }
  .rich-page .section { padding: 50px 24px; }
}
@media (max-width: 760px) {
  .rich-page .section { padding: 40px 18px; }
  .rich-page .page-first { padding-top: 108px; }
  .rich-page .skill-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rich-page .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* 联系页：联系方式铺满一行，联系卡内距收一点 */
.rich-page .contact-box { padding: 36px 44px 40px; }
.rich-page .contact-box .contact-sub { margin-top: 12px; }
.rich-page .contact-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.rich-page .clink { min-width: 0; }
@media (max-width: 1024px) {
  .rich-page .contact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rich-page .contact-box { padding: 26px 20px 30px; }
  .rich-page .contact-links { grid-template-columns: 1fr; margin-top: 18px; }
}

/* 手机端：标题与英文不再并排，避免标题被挤断行 */
@media (max-width: 760px) {
  .rich-page .sh-left { flex-direction: column; align-items: flex-start; gap: 6px; }
  .rich-page .sec-title { font-size: 23px; padding-left: 13px; }
  .rich-page .sec-title::before { height: 22px; }
  .rich-page .contact-box .sh-left { flex-direction: column; }
  .rich-page .steps { gap: 26px; }
  .rich-page .cta-band { padding: 26px 20px; }
}

/* ==========================================================
   关于我们：经历时间线 + 做事原则
   ========================================================== */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 47px; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(86, 217, 255, .45), rgba(150, 120, 255, .35), transparent);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: start;
  gap: 16px;
}
.tl-year {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  height: 30px;
  border-radius: 999px;
  font: 700 12px/1 ui-monospace, Consolas, monospace;
  letter-spacing: .06em;
  color: #8ff4ff;
  background: linear-gradient(160deg, rgba(16, 40, 66, .95), rgba(10, 20, 36, .95));
  border: 1px solid rgba(86, 217, 255, .38);
  box-shadow: 0 0 18px -6px rgba(86, 217, 255, .6);
}
.tl-body {
  padding: 16px 22px 18px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(16, 30, 54, .7), rgba(9, 16, 30, .45));
  border: 1px solid rgba(122, 172, 232, .16);
  transition: border-color .25s, transform .25s;
}
.tl-body:hover { border-color: rgba(86, 217, 255, .38); transform: translateX(3px); }
.tl-body h3 { margin: 0 0 6px; font-size: 16px; color: #eaf3ff; letter-spacing: .02em; }
.tl-body p { margin: 0; font-size: 13.5px; line-height: 1.75; color: #93a8bf; }

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rule-card {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(18, 34, 62, .72), rgba(9, 16, 30, .5));
  border: 1px solid rgba(122, 172, 232, .18);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.rule-card::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 217, 255, .16), transparent 70%);
}
.rule-card:hover {
  transform: translateY(-3px);
  border-color: rgba(86, 217, 255, .4);
  box-shadow: 0 20px 40px -26px rgba(86, 217, 255, .6);
}
.rule-no {
  display: inline-block;
  font: 700 12px/1 ui-monospace, Consolas, monospace;
  letter-spacing: .1em;
  color: #7ee8ff;
  margin-bottom: 12px;
}
.rule-card h3 { margin: 0 0 8px; font-size: 16.5px; color: #eef6ff; }
.rule-card p { margin: 0; font-size: 13.5px; line-height: 1.8; color: #93a8bf; }

@media (max-width: 1024px) {
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .timeline::before { left: 39px; }
  .tl-item { grid-template-columns: 80px 1fr; gap: 12px; }
  .tl-body { padding: 13px 16px 15px; }
  .rule-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   打字机：标语与代码面板
   ========================================================== */
.hero-tagline .tl-text { animation: taglineFlow 9s linear infinite; }
.st-code.is-typing .cl { animation: none; }
.st-code.is-typing .ch { display: inline; }

/* 关于页正文打字机光标：跟文字同高、颜色偏暗一点 */
.about-text .about-caret {
  height: 1em;
  margin-left: 3px;
  vertical-align: -.12em;
  opacity: .85;
}

/* ==========================================================
   联系方式卡片：整块可点，点了直接复制
   ========================================================== */
button.clink {
  position: relative;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.clink .cl-tip {
  position: absolute;
  top: 8px; right: 11px;
  font-size: 10.5px;
  letter-spacing: .04em;
  color: #7ee8ff;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .22s, transform .22s;
  pointer-events: none;
  white-space: nowrap;
}
.clink.copied {
  border-color: rgba(86, 217, 255, .55);
  box-shadow: inset 0 0 0 1px rgba(86, 217, 255, .18), 0 12px 30px -18px rgba(86, 217, 255, .7);
}
.clink.copied .cl-tip { opacity: 1; transform: none; }
.clink.copy-fail .cl-tip { color: #ffb4c0; opacity: 1; transform: none; }
