/* ============================================================================
   Vector 官网 · 2026 深打磨版
   设计方向：编辑部式的技术叙事（Editorial × Cinematic Console）
   - 原生滚动驱动的电影感首屏（无滚动劫持 / 无 body 锁定）
   - 细网格 + 颗粒 + 绿色光晕，浅色为纸感、深色为控制台
   - 大字号排版 + 等宽小标签 + 细分隔线
   ========================================================================== */

html { scroll-behavior: smooth; }

body {
  --sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SFMono-Regular", "SF Mono", Consolas,
    "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --maxw: 1240px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --hair: 1px solid var(--line);
  --glow: 0 40px 120px -40px rgba(34, 245, 163, 0.35);
  --nav-h: 64px;

  font-family: var(--sans);
  font-feature-settings: "ss01" 1, "cv01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 浅色：纸感 */
body.light {
  --bg: #f6f9f7;
  --bg-soft: #eef4f0;
  --ink: #0a1712;
  --ink-2: #2c3f37;
  --muted: #61756c;
  --line: rgba(8, 62, 46, 0.11);
  --line-strong: rgba(8, 62, 46, 0.22);
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #ffffff;
  --card-hover: #ffffff;
  --accent: #059669;
  --accent-2: #10b981;
  --accent-ink: #ffffff;
  --accent-soft: rgba(5, 150, 105, 0.09);
  --nav-bg: rgba(246, 249, 247, 0.72);
  --nav-line: rgba(8, 62, 46, 0.08);
  --shadow-card: 0 24px 70px -30px rgba(6, 60, 46, 0.35);
  --code-bg: #061410;
}
/* 深色：控制台 */
body:not(.light) {
  --bg: #050807;
  --bg-soft: #080e0c;
  --ink: #eaf8f1;
  --ink-2: #b7d2c6;
  --muted: #7d948b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.17);
  --card: rgba(255, 255, 255, 0.035);
  --card-solid: #0b120f;
  --card-hover: rgba(255, 255, 255, 0.06);
  --accent: #22f5a3;
  --accent-2: #10b981;
  --accent-ink: #03140d;
  --accent-soft: rgba(34, 245, 163, 0.10);
  --nav-bg: rgba(5, 8, 7, 0.66);
  --nav-line: rgba(255, 255, 255, 0.07);
  --shadow-card: 0 30px 90px -30px rgba(0, 0, 0, 0.8);
  --code-bg: #040907;
}

/* ---------------------------- 全局氛围层 ---------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 9997; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}
body:not(.light) .grain { opacity: 0.075; mix-blend-mode: screen; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 10002;
  background: transparent; pointer-events: none;
}
.scroll-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), #8af5c9, var(--accent));
  box-shadow: 0 0 12px rgba(34, 245, 163, 0.55);
}

/* ---------------------------- 通用排版 ---------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.1rem;
}
.eyebrow.center { justify-content: center; }
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.sec-title {
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; color: var(--ink);
}
.sec-lede {
  margin-top: 1.15rem; max-width: 34rem; color: var(--muted);
  font-size: 1rem; line-height: 1.85;
}
.sec-lede.center { margin-left: auto; margin-right: auto; text-align: center; }
.accent-text {
  background: linear-gradient(100deg, var(--accent) 10%, #6ef0bd 55%, #12b981 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body:not(.light) .accent-text {
  background: linear-gradient(100deg, #22f5a3 5%, #9dfbcf 45%, #22f5a3 90%);
  -webkit-background-clip: text; background-clip: text;
}
.section { position: relative; padding: clamp(4.5rem, 9vw, 8.5rem) 1.25rem; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; max-width: none;
}
.sec-head-row .sec-lede { max-width: 26rem; margin-top: 0; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.82rem 1.5rem; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 0.92rem; font-weight: 600; color: var(--ink); text-decoration: none;
  background: transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.btn-primary {
  background: var(--accent); border-color: transparent; color: var(--accent-ink);
  box-shadow: 0 14px 34px -16px rgba(5, 150, 105, 0.6);
}
.btn-primary:hover { background: var(--accent-2); color: var(--accent-ink); box-shadow: 0 18px 40px -16px rgba(5, 150, 105, 0.65); }
.btn-ghost { background: var(--card); backdrop-filter: blur(8px); }
.btn-quiet { border-color: transparent; color: var(--muted); padding-inline: 0.9rem; }
.btn-quiet:hover { color: var(--ink); }

/* 滚动进场 */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.28s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.36s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.44s; }

/* ---------------------------- 导航 ---------------------------- */
.site-nav { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; transition: background 0.4s, border-color 0.4s, box-shadow 0.4s; }
.site-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--nav-line);
  opacity: 0; transition: opacity 0.4s;
}
.site-nav.is-scrolled::before { opacity: 1; }
.site-nav.is-scrolled { box-shadow: 0 10px 40px -30px rgba(0, 0, 0, 0.5); }
.nav-inner { max-width: 1320px; height: var(--nav-h); gap: 2rem; }
.nav-logo img { width: 28px; height: 28px; border-radius: 8px; }
.nav-logo span { font-size: 1.02rem; letter-spacing: 0.02em; }
.nav-links { gap: 1.6rem; margin-left: 0.5rem; }
.nav-links a {
  position: relative; font-size: 0.86rem; color: var(--ink-2);
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--accent); }
.nav-user a { border-radius: 999px; }
.theme-toggle {
  top: auto; bottom: 1.4rem; right: 1.4rem;
  width: 2.7rem; height: 2.7rem;
  background: var(--card); border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}
body.light .theme-toggle { background: rgba(255, 255, 255, 0.7); }
.theme-toggle:hover { transform: translateY(-2px); }

/* ---------------------------- 首屏 Hero ---------------------------- */
.hero {
  position: relative; height: 205vh;
  --hp: 0;
}
.hero-sticky {
  position: sticky; top: 0; height: 100svh; min-height: 660px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding-top: var(--nav-h);
  background:
    radial-gradient(1200px 520px at 78% -10%, var(--accent-soft), transparent 62%),
    radial-gradient(900px 500px at 8% 110%, var(--accent-soft), transparent 60%),
    var(--bg);
}
body:not(.light) .hero-sticky {
  background:
    radial-gradient(1100px 520px at 76% -8%, rgba(34, 245, 163, 0.10), transparent 60%),
    radial-gradient(800px 460px at 6% 108%, rgba(16, 185, 129, 0.08), transparent 62%),
    var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.5;
  mask-image: radial-gradient(75% 70% at 50% 42%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 70% at 50% 42%, #000 20%, transparent 78%);
  transform: translateY(calc(var(--hp) * -40px));
}
.hero-glow {
  position: absolute; width: 640px; height: 640px; left: 50%; top: 44%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(34, 245, 163, 0.16), transparent 62%);
  filter: blur(30px); opacity: calc(0.5 + var(--hp) * 0.5);
  transition: opacity 0.4s;
}
a, button, .hero-copy, .hero-visual { position: relative; z-index: 2; }
.hero-ring {
  position: absolute; border: 1px solid var(--line); border-radius: 50%;
  opacity: 0.55;
}
.hero-ring-1 { width: 620px; height: 620px; right: -120px; top: -160px; }
.hero-ring-2 { width: 380px; height: 380px; right: 80px; top: -40px; opacity: 0.35; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto; padding: 0 1.25rem;
  display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: center; width: 100%;
}
.hero-copy { min-width: 0; }
.hero-copy { will-change: transform, opacity; opacity: calc(1 - var(--hp) * 0.42); transform: translateY(calc(var(--hp) * -30px)); }
.hero-title {
  font-size: clamp(2.35rem, 4.05vw, 3.9rem);
  line-height: 1.08; letter-spacing: -0.045em; font-weight: 800; color: var(--ink);
}
.ht-line { display: block; }
.ht-accent {
  background: linear-gradient(100deg, var(--accent) 0%, #74f2c1 48%, #14b08c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body:not(.light) .ht-accent {
  background: linear-gradient(100deg, #22f5a3 0%, #b6ffdd 46%, #22f5a3 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero-lede {
  margin-top: 1.5rem; max-width: 30rem;
  color: var(--ink-2); font-size: 1.02rem; line-height: 1.85;
}
.hero-actions { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.8rem;
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: var(--hair);
}
.hero-meta li { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta b { font-family: var(--mono); font-size: 0.86rem; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
.hero-meta span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.hero-visual { display: flex; justify-content: flex-end; perspective: 1400px; }
.hero-frame {
  position: relative; width: min(46vw, 660px); aspect-ratio: 16 / 9;
  transform:
    translateY(calc(var(--hp) * -1.5vh))
    scale(calc(0.84 + var(--hp) * 0.20))
    rotateX(calc((1 - var(--hp)) * 9deg));
  transform-origin: 60% 40%;
  will-change: transform;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--card-solid);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 60px 140px -50px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.02);
}
body:not(.light) .hero-frame { box-shadow: 0 80px 160px -60px #000, 0 0 0 1px rgba(255, 255, 255, 0.04) inset; }
.hero-frame-glow {
  position: absolute; inset: -22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 245, 163, 0.20), transparent 60%);
  filter: blur(40px); z-index: -1; opacity: calc(0.5 + var(--hp) * 0.4);
}
.hero-shot { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--bg-soft); }
.hero-shot video, .hero-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video { opacity: 0; transform: scale(calc(1.02 + var(--hp) * 0.03)); transition: opacity 0.7s ease; }
.hero-frame.is-video-ready .hero-video { opacity: 1; }
.hero-static { opacity: 0; transition: opacity 0.45s ease; }
.hero-frame.is-video-static .hero-static { opacity: 1; }

/* 视频占位：轮廓留白 + 加载提示 */
.hero-video-ph {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  background: radial-gradient(120% 100% at 50% 0%, var(--accent-soft), transparent 62%), var(--bg-soft);
  transition: opacity 0.5s ease;
}
.hero-video-ph::before {
  content: ""; position: absolute; inset: 12px; border-radius: 16px;
  border: 1px dashed var(--line-strong); opacity: 0.9;
}
.hero-video-ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; opacity: 0.28;
  mask-image: radial-gradient(72% 72% at 50% 50%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(72% 72% at 50% 50%, #000 10%, transparent 80%);
}
.hero-frame.is-video-ready .hero-video-ph,
.hero-frame.is-video-static .hero-video-ph { opacity: 0; pointer-events: none; }
.hvp-spinner {
  position: relative; z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); border-top-color: var(--accent);
  animation: hvp-spin 0.9s linear infinite;
}
.hvp-label {
  position: relative; z-index: 2; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.16em; color: var(--ink-2);
}
.hvp-sub {
  position: relative; z-index: 2; font-family: var(--mono); font-size: 0.55rem;
  letter-spacing: 0.24em; color: var(--muted);
}
.hvp-bar {
  position: relative; z-index: 2; margin-top: 0.35rem; width: 92px; height: 2px;
  border-radius: 2px; overflow: hidden; background: var(--line-strong);
}
.hvp-bar i { display: block; width: 38%; height: 100%; border-radius: inherit; background: var(--accent); animation: hvp-slide 1.3s var(--ease-io) infinite; }
@keyframes hvp-spin { to { transform: rotate(360deg); } }
@keyframes hvp-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }
body:not(.light) .hero-video-ph {
  background: radial-gradient(120% 100% at 50% 0%, rgba(34, 245, 163, 0.08), transparent 62%), var(--bg);
}
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.02em;
  padding: 0.4rem 0.7rem; border-radius: 999px;
  color: var(--ink); background: var(--card-solid);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s, transform 0.5s var(--ease);
  backdrop-filter: blur(10px);
}
body:not(.light) .hero-chip { background: rgba(11, 18, 15, 0.86); }
.hero-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.chip-1 { top: 8%; left: -7%; }
.chip-2 { top: 30%; right: -8%; }
.chip-3 { bottom: 22%; left: -9%; }
.chip-4 { bottom: 6%; right: 4%; }
.hero-cue {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
  opacity: max(0, calc(1 - var(--hp) * 3));
}
.hero-cue i {
  width: 1px; height: 42px; background: linear-gradient(var(--muted), transparent);
  animation: cue-pulse 2.2s var(--ease-io) infinite;
}
@keyframes cue-pulse {
  0% { transform: scaleY(0.2); opacity: 0.2; }
  50% { transform: scaleY(1); opacity: 0.9; }
  100% { transform: scaleY(0.2); opacity: 0.2; }
}

/* ---------------------------- 跑马灯 ---------------------------- */
.ribbon { border-top: var(--hair); border-bottom: var(--hair); overflow: hidden; padding: 0.85rem 0; background: var(--bg-soft); }
.ribbon-row { overflow: hidden; }
.ribbon-row + .ribbon-row { margin-top: 0.35rem; opacity: 0.55; }
.ribbon-track {
  display: inline-flex; align-items: center; gap: 1.6rem; white-space: nowrap;
  animation: ribbon-move 46s linear infinite;
  will-change: transform;
  padding-right: 1.6rem;
}
.ribbon-reverse .ribbon-track { animation-direction: reverse; animation-duration: 58s; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.ribbon-track .r-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.6; padding: 0; }
@keyframes ribbon-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------- 01 为什么 ---------------------------- */
.section-why { padding-top: clamp(5rem, 10vw, 9rem); }
.why-grid { display: grid; grid-template-columns: 0.96fr 1.04fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why-list { list-style: none; margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.35rem; }
.why-list li { display: flex; gap: 1rem; padding-top: 1.25rem; border-top: var(--hair); }
.why-num { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.1em; padding-top: 0.25rem; }
.why-list b { display: block; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.why-list p { margin-top: 0.4rem; color: var(--muted); font-size: 0.9rem; line-height: 1.75; max-width: 26rem; }
.why-visual { perspective: 1100px; }
.why-frame {
  position: relative; border-radius: var(--r-lg);
  padding: 0.7rem; border: 1px solid var(--line-strong);
  background: var(--card); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.why-frame:hover { transform: perspective(1100px) rotateY(-1deg) rotateX(0deg); }
.why-shot { border-radius: calc(var(--r-lg) - 8px); overflow: hidden; background: var(--bg-soft); }
.why-shot img { width: 100%; display: block; transform: scale(1.05); transition: transform 1.2s var(--ease); }
.why-frame:hover .why-shot img { transform: scale(1.0); }
.why-tag {
  position: absolute; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em;
  padding: 0.36rem 0.62rem; border-radius: 999px; color: var(--accent);
  background: var(--card-solid); border: 1px solid var(--line-strong);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.4);
}
.tag-tl { top: -0.9rem; left: 1.4rem; }
.tag-br { bottom: -0.9rem; right: 1.4rem; }
.why-corner { position: absolute; width: 10px; height: 10px; border: 1px solid var(--accent); opacity: 0.7; }
.c1 { left: -0.5rem; top: -0.5rem; border-right: 0; border-bottom: 0; }
.c2 { right: -0.5rem; top: -0.5rem; border-left: 0; border-bottom: 0; }
.c3 { left: -0.5rem; bottom: -0.5rem; border-right: 0; border-top: 0; }
.c4 { right: -0.5rem; bottom: -0.5rem; border-left: 0; border-top: 0; }

/* ---------------------------- 02 倾斜卡片 ---------------------------- */
.section-cards { overflow: hidden; }
.dc-grid { margin-top: 1rem; }
.dc-card {
  --skew: -7deg;
  width: 24rem; height: 10rem;
  border: 1px solid var(--line-strong); border-radius: 18px;
  background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 1rem 1.15rem;
  transform: skewY(var(--skew));
  filter: none; opacity: 0.92;
  transition: transform 0.7s var(--ease), opacity 0.5s, box-shadow 0.5s, border-color 0.4s, background 0.4s;
  box-shadow: 0 30px 80px -46px rgba(0, 0, 0, 0.45);
}
.dc-card::after { background: linear-gradient(to left, var(--bg), transparent); }
.dc-card:hover { background: var(--card-hover); box-shadow: var(--shadow-card), 0 0 0 1px var(--line-strong); opacity: 1; }
.dc-card-1 { transform: skewY(var(--skew)) translateY(-24px); }
.dc-card-1:hover { transform: skewY(var(--skew)) translateY(-58px); }
.dc-card-2 { transform: skewY(var(--skew)) translateX(70px) translateY(26px); }
.dc-card-2:hover { transform: skewY(var(--skew)) translateX(70px) translateY(-8px); }
.dc-card-3 { transform: skewY(var(--skew)) translateX(140px) translateY(76px); }
.dc-card-3:hover { transform: skewY(var(--skew)) translateX(140px) translateY(42px); }
.dc-card-row { align-items: center; }
.dc-title { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.dc-no { margin-left: auto; font-family: var(--mono); font-size: 0.66rem; color: var(--muted); letter-spacing: 0.1em; }
.dc-desc { font-size: 0.94rem; line-height: 1.6; color: var(--muted); }
.dc-date { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.dc-icon { background: var(--accent-soft); }

/* ---------------------------- 03 能力矩阵 ---------------------------- */
.fs-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature-card {
  background: var(--bg); border: 0; border-radius: 0;
  padding: 2rem 1.7rem 1.9rem; position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: background 0.45s, box-shadow 0.45s;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px 220px at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 68%);
}
.feature-card:hover { background: var(--card); }
.feature-card:hover::before { opacity: 1; }
.fc-icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 1.4rem;
  background: var(--accent-soft); border: 1px solid var(--line);
}
.fc-no {
  position: absolute; top: 1.9rem; right: 1.7rem;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--muted);
}
.feature-card h3 { font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; }
.feature-card:hover h3 { color: var(--accent); }

/* ---------------------------- 04 架构 ---------------------------- */
.section-arch { background: var(--bg-soft); border-top: var(--hair); border-bottom: var(--hair); }
.arch-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.arch-layers { display: flex; flex-direction: column; gap: 0.6rem; }
.arch-layer {
  display: grid; grid-template-columns: 3.4rem 1fr auto auto; align-items: center; gap: 1rem;
  width: 100%; text-align: left; cursor: pointer;
  padding: 1.15rem 1.2rem; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink); font-family: inherit;
  transition: transform 0.4s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.arch-layer:hover { border-color: var(--line-strong); transform: translateX(4px); }
.arch-layer.is-active {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 22px 60px -34px rgba(5, 150, 105, 0.55);
}
.al-index { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--accent); }
.al-main b { display: block; font-size: 1rem; font-weight: 700; }
.al-main small { display: block; margin-top: 0.15rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.al-meta { font-size: 0.78rem; color: var(--muted); text-align: right; }
.al-arrow { font-size: 0.9rem; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; }
.arch-layer.is-active .al-arrow { opacity: 1; transform: none; color: var(--accent); }
.arch-note { margin-top: 0.9rem; font-size: 0.8rem; color: var(--muted); line-height: 1.7; font-family: var(--mono); }
.arch-panel {
  position: relative; border-radius: var(--r-lg); border: 1px solid var(--line-strong);
  background: var(--card-solid); padding: 1.5rem;
  box-shadow: var(--shadow-card);
  min-height: 420px;
}
body:not(.light) .arch-panel { background: #070d0b; }
.arch-pane { display: none; animation: pane-in 0.45s var(--ease); }
.arch-pane.is-active { display: block; }
@keyframes pane-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ap-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.9rem; border-bottom: var(--hair); margin-bottom: 1rem; }
.ap-label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--accent); }
.ap-state { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; color: var(--muted); padding: 0.24rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; }
.ap-lead { color: var(--ink-2); font-size: 0.9rem; line-height: 1.8; max-width: 34rem; }
.ap-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.ap-tags span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.28rem 0.6rem; }

/* 代码块 */
.code {
  margin-top: 1.1rem; padding: 1.05rem 1.15rem; border-radius: 14px;
  background: var(--code-bg); border: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto; font-family: var(--mono); font-size: 0.76rem; line-height: 1.85;
  color: #cfe7dc; tab-size: 2;
}
.code code { font-family: inherit; white-space: pre; }
.c-m { color: #7dd3fc; } .c-f { color: #fbbf24; } .c-s { color: #86efac; }
.c-n { color: #f0abfc; } .c-d { color: #6b8a7f; }

/* ---------------------------- 05 插件生态 ---------------------------- */
.section-eco { overflow: hidden; }
.eco-rail { margin-top: 0.5rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.eco-track { display: flex; gap: 1.1rem; width: max-content; padding: 0.5rem 0 1rem; animation: eco-move 52s linear infinite; }
.eco-rail:hover .eco-track { animation-play-state: paused; }
@keyframes eco-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.plugin-card {
  width: 21rem; flex: none; padding: 1.4rem 1.35rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--card); backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.35s, background 0.35s;
}
.plugin-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--card-hover); }
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.pc-ico {
  width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 0.95rem;
  border: 1px solid var(--line);
}
.pc-badge { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 0.22rem 0.55rem; }
.pc-badge-alt { color: var(--muted); }
.pc-badge-ghost { color: var(--muted); border-style: dashed; }
.plugin-card h3 { font-family: var(--mono); font-size: 0.95rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.plugin-card p { margin-top: 0.5rem; color: var(--muted); font-size: 0.86rem; line-height: 1.75; }
.pc-tags { display: flex; gap: 0.4rem; margin-top: 1rem; }
.pc-tags span { font-size: 0.68rem; color: var(--muted); background: var(--accent-soft); border-radius: 6px; padding: 0.2rem 0.5rem; }
.pc-link { display: inline-block; margin-top: 1rem; font-size: 0.78rem; color: var(--accent); text-decoration: none; }
.eco-foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1rem; }
.eco-stats { display: flex; gap: 3rem; }
.eco-stats div { display: flex; flex-direction: column; gap: 0.2rem; }
.eco-stats b { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.eco-stats span { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.arr { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------------------------- 06 快速开始 ---------------------------- */
.section-quick { background: var(--bg-soft); border-top: var(--hair); border-bottom: var(--hair); }
.quick-shell { border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--card); backdrop-filter: blur(12px); box-shadow: var(--shadow-card); overflow: hidden; }
.quick-tabs { position: relative; display: flex; gap: 0.3rem; padding: 0.7rem; border-bottom: var(--hair); }
.quick-tabs .qt {
  position: relative; z-index: 2; flex: none; padding: 0.6rem 1.1rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: color 0.3s;
}
.quick-tabs .qt.is-active { color: var(--accent-ink); }
.quick-tabs .qt-thumb {
  position: absolute; z-index: 1; top: 0.7rem; bottom: 0.7rem; left: 0.7rem;
  width: 8rem; border-radius: 999px; background: var(--accent);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}
.quick-body { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 0; }
.quick-steps { padding: 1.6rem 1.5rem; }
#quickSteps { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
#quickSteps li { display: flex; gap: 0.9rem; padding-bottom: 1.2rem; border-bottom: var(--hair); }
#quickSteps li:last-child { border-bottom: 0; padding-bottom: 0; }
#quickSteps li span { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); padding-top: 0.2rem; }
#quickSteps b { font-size: 0.96rem; color: var(--ink); }
#quickSteps p { margin-top: 0.3rem; font-size: 0.82rem; color: var(--muted); line-height: 1.7; }
.quick-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.quick-code { border-left: var(--hair); display: flex; flex-direction: column; background: var(--code-bg); }
.qc-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.qc-dots { display: inline-flex; gap: 4px; }
.qc-dots i { width: 8px; height: 8px; border-radius: 50%; background: #24423a; }
.qc-name { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; color: #7d9a8e; }
.qc-copy {
  margin-left: auto; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em;
  color: #9fc4b5; background: transparent; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px; padding: 0.28rem 0.6rem; cursor: pointer; transition: 0.25s;
}
.qc-copy:hover { color: #22f5a3; border-color: rgba(34, 245, 163, 0.5); }
.quick-code .code { margin: 0; border: 0; border-radius: 0; background: transparent; flex: 1; padding: 1.15rem 1.2rem; }
.code-dark { color: #d5efe3; }

/* ---------------------------- 07 开源 bento ---------------------------- */
.bento { display: grid; grid-template-columns: 1.25fr 0.75fr; grid-auto-rows: minmax(0, 1fr); gap: 1.1rem; }
.bento-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.7rem 1.6rem; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--card);
  text-decoration: none; color: var(--ink);
  transition: transform 0.45s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
a.bento-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--card-hover); box-shadow: var(--shadow-card); }
.bento-eyebrow { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; color: var(--muted); }
.bento-card h3 { margin-top: 1.4rem; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.02em; font-weight: 700; }
.bento-github { grid-row: 1 / 3; background:
  radial-gradient(600px 300px at 80% 0%, var(--accent-soft), transparent 65%), var(--card); }
.gh-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.25rem; }
.gh-meta span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.26rem 0.62rem; background: var(--bg-soft); }
.gh-clone { margin-top: 1.6rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--code-bg); color: #cfeadd; font-family: var(--mono); font-size: 0.72rem; line-height: 1.95; overflow: auto; }
.gh-clone b { color: #22f5a3; font-weight: 600; }
.gh-clone i { color: #7d9a8e; font-style: normal; }
.gh-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.gh-list li { display: flex; gap: 1.2rem; align-items: baseline; padding: 0.72rem 0; border-top: var(--hair); }
.gh-list span { flex: none; width: 5.2rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); }
.gh-list b { font-weight: 500; font-size: 0.82rem; color: var(--ink-2); }
.bento-github h3 { font-family: var(--mono); font-size: clamp(1.1rem, 2vw, 1.45rem); margin-top: 1.6rem; }
.bento-github p, .bento-version p, .bento-community p, .bento-support p { margin-top: 0.7rem; color: var(--muted); font-size: 0.88rem; line-height: 1.8; max-width: 30rem; }
.bento-cta { margin-top: auto; padding-top: 1.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--accent); display: inline-flex; gap: 0.4rem; align-items: center; }
.bento-mark { position: absolute; right: 1.4rem; bottom: 1rem; font-size: 5rem; line-height: 1; color: var(--accent); opacity: 0.08; font-family: var(--mono); }
.bento-version ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.83rem; line-height: 1.9; }
.bento-version li::marker { color: var(--accent); }
.bento-date { font-family: var(--mono); font-size: 0.7rem !important; letter-spacing: 0.08em; color: var(--accent) !important; }
.bento-link { margin-top: auto; padding-top: 1rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--accent); text-decoration: none; }
.bento-support { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
.bento-support h3 { margin-top: 0.4rem; }
.bento-support .bento-cta { padding-top: 0; margin-top: 0; }
.bento-support .bento-eyebrow { position: absolute; top: 1.7rem; left: 1.6rem; }

/* ---------------------------- 数据统计 ---------------------------- */
.section-stats { border-top: var(--hair); }
.stats-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.stats-head .sec-lede { max-width: 24rem; margin-top: 0; text-align: right; }
@media (max-width: 720px) { .stats-head .sec-lede { text-align: left; } }
.stats-grid { gap: 0; border-top: var(--hair); }
.stats-grid .stat-box {
  background: transparent; border: 0; border-radius: 0; border-bottom: var(--hair);
  border-right: var(--hair); padding: 2rem 1.2rem; text-align: left;
  transition: background 0.35s;
}
.stat-box:first-child { border-left: var(--hair); }
.stats-grid .stat-box:hover { background: var(--card); transform: none; }
.stat-box .num { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.05em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-box .lbl { margin-top: 0.75rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat-line { margin-top: 1.1rem; height: 1px; width: 2rem; background: var(--accent); transition: width 0.9s var(--ease); }
.stat-box.in .stat-line { width: 100%; }

/* ---------------------------- CTA ---------------------------- */
.section-cta { padding-bottom: clamp(4rem, 8vw, 7rem); }
.section-cta .cta-box {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px 320px at 50% -20%, var(--accent-soft), transparent 70%),
    var(--card);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: 0.5;
  mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 75%);
}
.cta-box h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.04em; }
.cta-box > p { max-width: 36rem; }
.cta-actions { position: relative; }
.cta-btn { border-radius: 999px; }
.cta-note { position: relative; font-family: var(--mono); font-size: 0.68rem !important; letter-spacing: 0.04em; }

/* ---------------------------- 页脚修整 ---------------------------- */
.page-footer { border-top: var(--hair); }
.footer-nav-wrap { padding: 56px 0; }
.footer-container { max-width: 1320px; }
.footer-col h4 { font-family: var(--mono); font-size: 0.68rem !important; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col li a { font-size: 0.84rem; }
.footer-brand img { border-radius: 12px; }
.footer-copyright-wrap { padding: 22px 0; }

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 1180px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-github { grid-row: auto; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero { height: 190vh; }
  .hero-sticky { justify-content: flex-start; padding-top: calc(var(--nav-h) + 1.6rem); }
  .hero-visual { justify-content: center; }
  .hero-frame { width: min(72vw, 620px); }
  .hero-copy { max-width: 42rem; }
  .hero-meta { gap: 1.4rem; }
  .chip-1, .chip-3 { left: 0; }
  .chip-2, .chip-4 { right: 0; }
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-visual { order: -1; }
  .arch-grid { grid-template-columns: 1fr; }
  .arch-panel { min-height: 0; }
  .quick-body { grid-template-columns: 1fr; }
  .quick-code { border-left: 0; border-top: var(--hair); }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .eco-foot { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .bento-support { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  :root { --nav-h: 58px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-login-btn { display: none; }
  .nav-user a { padding: 0.36rem 0.8rem; font-size: 0.82rem; }
  .nav-user a.nav-user-chip { padding: 0.18rem; gap: 0; }
  .nav-user-name { display: none; }
  .mobile-menu {
    gap: 0; padding: 0.4rem 1.4rem 2rem;
    background: var(--bg); border-top: var(--hair);
    min-height: calc(100dvh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.35);
  }
  .mobile-menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.02rem 0.1rem; border-bottom: var(--hair);
    border-radius: 0; font-size: 1rem; letter-spacing: 0.01em;
  }
  .mobile-menu a::after { content: "→"; font-family: var(--mono); font-size: 0.82rem; color: var(--muted); opacity: 0.55; }
  .mobile-menu a:hover { background: transparent; color: var(--accent); }
  .mobile-menu a:hover::after { color: var(--accent); opacity: 1; }
  .mobile-menu a[hidden] { display: none !important; }
  .hero { height: 165vh; }
  .hero-sticky { min-height: 600px; }
  .hero-title { font-size: clamp(2.1rem, 8.6vw, 3rem); }
  .hero-lede { font-size: 0.94rem; }
  .hero-frame { width: 100%; }
  .hero-chip { display: none; }
  .hero-meta { gap: 1.1rem; }
  .hero-meta b { font-size: 0.78rem; }
  .section { padding: 3.6rem 1rem; }
  .dc-card { width: min(19rem, 76vw); height: 8.6rem; }
  .dc-card-1 { transform: skewY(var(--skew)) translateY(0); }
  .dc-card-1:hover { transform: skewY(var(--skew)) translateY(-26px); }
  .dc-card-2 { transform: skewY(var(--skew)) translateX(16px) translateY(20px); }
  .dc-card-2:hover { transform: skewY(var(--skew)) translateX(16px) translateY(-6px); }
  .dc-card-3 { transform: skewY(var(--skew)) translateX(32px) translateY(40px); }
  .dc-card-3:hover { transform: skewY(var(--skew)) translateX(32px) translateY(14px); }
  .dc-card::after { width: 12rem; }
  .fs-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.5rem 1.3rem; }
  .fc-no { top: 1.4rem; right: 1.3rem; }
  .why-frame { transform: none; }
  .why-shot img { transform: none; }
  .arch-layer { grid-template-columns: 2.6rem 1fr; gap: 0.6rem; padding: 1rem; }
  .al-meta { display: none; }
  .al-arrow { display: none; }
  .plugin-card { width: 17.5rem; }
  .quick-tabs { overflow-x: auto; scrollbar-width: none; }
  .quick-tabs::-webkit-scrollbar { display: none; }
  .quick-tabs .qt { flex: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-box:nth-child(2) { border-right: 0; }
  .stats-grid .stat-box:nth-child(3) { border-left: var(--hair); }
  .stats-head { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .theme-toggle { bottom: 1rem; right: 1rem; width: 2.45rem; height: 2.45rem; }
  .grain { opacity: 0.04; }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions { gap: 0.55rem; }
  .btn-quiet { flex: 0 0 auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat-box { border-right: 0 !important; }
  .eco-stats { gap: 1.8rem; }
  .bento-card { padding: 1.4rem 1.2rem; }
}

/* 锚点定位避开固定导航 */
section[id], div[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* 关键修复：overflow-x 必须用 clip —— 用 hidden 会让 body 变成滚动容器，position: sticky 失效 */
html { overflow-x: clip; }
body { overflow-x: clip; }

/* 芯片轻微浮动 */
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-chip { animation: chip-float 6.4s var(--ease-io) infinite; }
.chip-2 { animation-delay: -1.8s; }
.chip-3 { animation-delay: -3.4s; }
.chip-4 { animation-delay: -4.9s; }

/* 减少动态 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > *, .hero-frame, .hero-copy, .hero-grid { transition: none !important; transform: none !important; opacity: 1 !important; }
  .ribbon-track, .eco-track, .hero-cue i, .hero-chip { animation: none !important; }
}
