:root {
  --bg: #08060f;
  --text: #f4f2fa;
  --dim: #a9a4bd;
  --faint: #6e6883;
  --accent: #7b6cff;
  --accent-2: #b9adff;

  --panel: rgba(20, 17, 34, 0.55);      /* 毛玻璃面板底色 */
  --panel-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);

  --radius: 18px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SF Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  min-height: 100vh;
}

/* ===== 首屏背景（只存在于 Hero 一屏，不随页面滚动） ===== */
.hero {
  position: relative;
  overflow: hidden;
  /* 首屏占满一屏；内容垂直居中（示意图已删，星空背景铺满其余空间） */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 48px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::after {
  /* 底部过渡：宇宙星尘一直铺到页脚附近 */
  content: "";
  position: absolute;
  inset: 82% 0 0;
  background: linear-gradient(180deg, rgba(8, 6, 15, 0) 0%, rgba(9, 7, 17, 0.24) 50%, rgba(9, 7, 17, 0.82) 84%, #09070f 100%);
}
#gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* 星系在毛玻璃之上，保持星点清晰 */
}
/* 去雾：这几枚大尺度淡紫径向渐变是「萦绕背景」，在亮度变化时会形成
   几块明显的方形/圆形雾面脏块 —— 整块移除。
   星系本体由 canvas 绘制，不依赖此层；左侧文字保护带 (.hero-glass) 保留。 */
.hero-nebula {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
}
.hero-glass {
  position: absolute;
  inset: 0;
  /* 刻意不用 backdrop-filter：它会强制浏览器每帧模糊整张 60fps 的 canvas，
     在真实设备上明显掉帧。改用等价渐变叠加，视觉几乎一致。 */
  background:
    /* 左侧保护带只需够文字对比，别把紫色星云压成死黑 */
    linear-gradient(90deg, rgba(8,6,15,0.52) 0%, rgba(8,6,15,0.22) 30%, rgba(8,6,15,0.02) 52%, rgba(8,6,15,0) 68%),
    linear-gradient(180deg, rgba(8, 6, 15, 0.06) 0%, rgba(9, 7, 17, 0.02) 45%, rgba(8, 6, 15, 0) 100%);
}

/* 网格（88px）：整片都保持可见，向下只做很轻的衰减，不再早早淡没 */
.hero-grid {
  position: absolute;
  inset: -2px;
  background-image:
      linear-gradient(to right, rgba(178, 164, 246, 0.17) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(178, 164, 246, 0.17) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.92) 55%, rgba(0,0,0,0.72) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.92) 55%, rgba(0,0,0,0.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(1400px, 92vw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

/* ===== 外壳（普通文档流，可滚动） ===== */
.shell {
  position: relative;
  min-height: 100vh;
  background: #09070f;
}


/* ===== 导航 ===== */
/* 顶栏：胶囊式浮层，四边留白；首屏内轻柔、滚过首屏后加重毛玻璃 */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: clamp(12px, 1.4vw, 18px) clamp(16px, 3.2vw, 46px);
  pointer-events: none;
  transition: padding .28s ease;
}
.nav-capsule {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* 毛玻璃只在滚过首屏（此时 canvas 已不在视口内）启用，避免与 60fps 渲染抢 GPU */
.nav.scrolled .nav-capsule {
  background: rgba(18, 15, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav-right { display: inline-flex; align-items: center; gap: 12px; }

/* 中 / EN 分段控件 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dim);
  font: inherit;
  font-size: 12.5px;
  line-height: 1;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 600;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.brand-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-icon.small { width: 22px; height: 22px; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: -0.3px; }

.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--dim); text-decoration: none; font-size: 14px; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--accent-2);
  background: rgba(123, 108, 255, 0.14);
  border: 1px solid rgba(123, 108, 255, 0.32);
  border-radius: 999px;
  padding: 5px 13px;
  white-space: nowrap;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(185, 173, 255, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(185, 173, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 173, 255, 0); }
}

main { position: relative; }

/* ===== Hero ===== */
.hero-grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: center;
}
/* 文字块：统一左对齐轴；首屏宽裕，放宽宽度让内容舒展不挤成一坨 */
.hero-text { min-width: 0; max-width: 720px; }

/* 品牌标识：Xenra 星染 · 以星为墨染所未见 */
.brand-lockup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}
.bl-name {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}
.bl-name em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.34em;
  background: linear-gradient(100deg, #cfc6ff, #8b7cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bl-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}
.bl-tag {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.30em;
  color: rgba(190, 180, 235, 0.78);
}

.hero-title {
  margin: 0 0 30px;
  font-size: clamp(30px, 3.6vw, 60px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -1.8px;
  text-wrap: balance;
}
/* 两行标题：块级、统一行距，第二行渐变与第一行左缘严格对齐 */
.hero-title .tl { display: block; white-space: nowrap; }
.hero-title .tl + .tl { margin-top: 12px; }
.grad {
  background: linear-gradient(96deg, #f0ecff 0%, #c3b6ff 38%, #8b7cff 78%, #6d5cf5 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 让渐变文字边缘不发灰 */
  padding-right: 0.06em;
}
.hero-sub {
  margin: 0 0 22px;
  font-size: clamp(17px, 1.32vw, 21px);
  line-height: 1.70;
  max-width: 680px;
  text-wrap: pretty;
  color: #cfc9de;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.hero-sub strong {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-desc {
  margin: 0 0 40px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.95;
  text-wrap: pretty;
  color: rgba(169, 164, 189, 0.86);
  letter-spacing: 0.01em;
}

/* 标签与按钮：统一左缘、间距拉开，配合大首屏的呼吸感 */
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(185, 179, 208, 0.92);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 999px;
  padding: 8px 16px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 30px;
  border-radius: 11px;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn.primary {
  color: #0b0914;
  background: linear-gradient(135deg, #c8beff, #8b7cff);
  box-shadow: 0 8px 28px rgba(123, 108, 255, 0.42);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(123, 108, 255, 0.56); }
.btn.outline {
  color: var(--accent-2);
  border: 1px solid rgba(123, 108, 255, 0.5);
  background: rgba(123, 108, 255, 0.08);
}
.btn.outline:hover { border-color: var(--accent); background: rgba(123, 108, 255, 0.10); }

/* 右侧线稿 */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -6% -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(7,4,15,.58) 0%, rgba(7,4,15,.30) 52%, rgba(7,4,15,0) 76%);
  filter: blur(5px); pointer-events: none;
}
.diagram { width: 100%; max-width: 520px; height: auto; overflow: visible; }
.flow-line { stroke: rgba(150, 136, 255, 0.55); stroke-width: 1.5; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 3px rgba(7,4,15,.9)); }
.flow-line.out { stroke: rgba(185, 173, 255, 0.8); }
.arrow { stroke: rgba(185, 173, 255, 0.85); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.node { fill: rgba(10, 8, 20, 0.95); stroke: rgba(206, 193, 255, 0.9); stroke-width: 1.6; filter: drop-shadow(0 0 5px rgba(7,4,15,1)); }
.node.sm { stroke: rgba(186, 172, 255, 0.72); }
.node.big { fill: rgba(80, 58, 180, 0.30); stroke: rgba(222, 210, 255, 0.85); }
.glyph { fill: rgba(185, 173, 255, 0.92); }
.labels text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; fill: rgba(178, 172, 198, 0.75); }
.pulse { fill: #ded6ff; filter: drop-shadow(0 0 6px rgba(185, 173, 255, 0.9)); }
.pulse.p1 { animation: flow1 4.4s linear infinite; }
.pulse.p2 { animation: flow2 4.4s linear infinite .6s; }
.pulse.p3 { animation: flow3 4.4s linear infinite 1.2s; }
@keyframes flow1 {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 1; }
  46% { transform: translate(160px, 0); opacity: 1; }
  54% { transform: translate(160px, 70px); opacity: 1; }
  92% { transform: translate(256px, 70px); opacity: 1; }
  100% { transform: translate(284px, 70px); opacity: 0; }
}
@keyframes flow2 {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(284px, 0); opacity: 0; }
}
@keyframes flow3 {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 1; }
  46% { transform: translate(160px, 0); opacity: 1; }
  54% { transform: translate(160px, -70px); opacity: 1; }
  92% { transform: translate(256px, -70px); opacity: 1; }
  100% { transform: translate(284px, -70px); opacity: 0; }
}

/* ===== 区块 ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 7.5vw, 100px) clamp(20px, 5vw, 56px);
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.eyebrow {
  display: inline-block;
  font-size: 11.5px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.28;
}
.section-head p { margin: 0; color: var(--dim); font-size: 15px; }

/* ===== 卡片（毛玻璃） ===== */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s, background .2s;
}
.card:hover {
  border-color: rgba(123, 108, 255, 0.42);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
}
.card-ico {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--accent-2);
  background: rgba(123, 108, 255, 0.14);
  border: 1px solid rgba(123, 108, 255, 0.26);
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 7px; font-size: 16px; font-weight: 700; }
.card p { margin: 0; color: var(--dim); font-size: 13.8px; line-height: 1.75; }

/* ===== 时间线 ===== */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline li { position: relative; padding: 0 0 32px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 2px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(16, 13, 28, 0.9);
  border: 1.5px solid var(--line-2);
}
.timeline li.done .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px rgba(123, 108, 255, 0.6); }
.timeline li.active .tl-dot { border-color: var(--accent); }
.timeline li.active .tl-dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent-2);
  animation: pulse2 2s infinite;
}
@keyframes pulse2 { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.tl-title { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.tl-desc { color: var(--dim); font-size: 14px; }
.timeline li:not(.done):not(.active) .tl-title,
.timeline li:not(.done):not(.active) .tl-desc { color: var(--faint); }

.docs { padding-top: 10px; }

/* ===== 结尾（更强的毛玻璃卡片） ===== */
.closing { text-align: center; }
.closing-inner {
  padding: clamp(44px, 6vw, 78px) clamp(22px, 4vw, 60px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background:
    radial-gradient(110% 130% at 50% 0%, rgba(123, 108, 255, 0.20), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
.closing h2 { margin: 0 0 12px; font-size: clamp(23px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.5px; }
.closing > .closing-inner > p { margin: 0; color: var(--dim); }

.subscribe { display: flex; gap: 10px; max-width: 440px; margin: 30px auto 10px; }
.subscribe input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px;
  border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.35); color: var(--text);
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s;
}
.subscribe input::placeholder { color: var(--faint); }
.subscribe input:focus { border-color: var(--accent); }
.subscribe button {
  height: 46px; padding: 0 22px; border: none; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: #0b0914;
  background: linear-gradient(135deg, #c8beff, #8b7cff);
  cursor: pointer; white-space: nowrap; transition: filter .15s;
}
.subscribe button:hover { filter: brightness(1.08); }
.subscribe-note { font-size: 12px; color: var(--faint); margin: 0; }

/* ===== 页脚 ===== */
/* ===== 页脚（多栏，参考公开站点的信息密度）===== */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  background: linear-gradient(180deg, rgba(9,7,16,0) 0%, rgba(9,7,16,0.62) 100%);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 56px) 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
}
.footer-col h3 {
  margin: 2px 0 18px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.footer-col ul a {
  color: var(--faint);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--accent-2); }

.footer-brandcol { display: flex; flex-direction: column; }
.footer-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.footer-logo-name { font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: -0.2px; }
.footer-logo-name em {
  font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em;
  margin-left: 7px;
  background: linear-gradient(100deg, #cdc4ff, #8b7cff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-slogan { margin: 14px 0 18px; font-size: 12.5px; letter-spacing: 0.16em; color: rgba(185,173,255,0.72); }
.footer-legal { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 7px; }
.footer-legal li { font-size: 12.5px; color: var(--faint); line-height: 1.5; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--dim);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: color .15s, border-color .15s, background .15s;
}
.footer-social a:hover { color: var(--accent-2); border-color: var(--line-2); background: rgba(123,108,255,0.10); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--faint);
}
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-2); }
/* ===== 进入动画 ===== */
html.js .reveal { animation: rise .7s cubic-bezier(.2, .7, .3, 1) both; }
html.js .reveal.d2 { animation-delay: .07s; }
html.js .reveal.d3 { animation-delay: .14s; }
html.js .reveal.d4 { animation-delay: .21s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ===== 平板 ===== */
@media (max-width: 980px) {
  .hero { padding-top: 64px; }
  .hero-grid2 { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 2; }
  .diagram { max-width: 460px; }
}

/* ===== 手机 ===== */
@media (max-width: 640px) {
  .nav { padding: 10px 12px; }
  .nav-capsule { height: 50px; padding: 0 6px 0 12px; }
  .brand-icon { width: 25px; height: 25px; }
  .brand-name { font-size: 15px; }
  .nav-right { gap: 8px; }
  .lang-btn { font-size: 11.5px; padding: 6px 10px; }
  .pill { font-size: 11.5px; padding: 4px 10px; }

  .hero { min-height: 100svh; padding: 76px 0 28px; align-items: flex-start; }
  .hero-inner { padding: 0 20px; }
  .hero-title { font-size: 26px; letter-spacing: -0.9px; line-height: 1.28; }
  .diagram { max-width: 380px; }
  .hero-sub { font-size: 14.5px; line-height: 1.6; max-width: 100%; }
  .hero-title .tl { white-space: normal; }
  .hero-desc { font-size: 13px; line-height: 1.9; }
  .chip { font-size: 12px; padding: 5px 12px; }
  .hero-actions { gap: 10px; }
  .btn { flex: 1 1 auto; height: 44px; padding: 0 18px; font-size: 14px; }

  .section { padding: 48px 20px; }
  .section-head { margin-bottom: 28px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 22px 20px; }
  .timeline li { padding-left: 34px; }

  .closing-inner { padding: 34px 20px; border-radius: 18px; }
  .subscribe { flex-direction: column; }
  .subscribe button { width: 100%; }

  .footer-inner { padding: 18px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-note { gap: 12px; }

}

/* ============================================================
   移动端专属：首屏只有一颗大漩涡星系（桌面端不受影响）
   ============================================================ */
@media (max-width: 720px) {
  /* 首屏：星系铺满，文案隐藏 */
  .hero {
    min-height: 100svh;
    padding: 76px 0 0;
    align-items: stretch;
  }
  .hero-inner { padding: 0; max-width: none; }
  .hero-grid2 { display: block; }
  .hero-text { display: none; }

  /* 星系画布占满首屏 */
  .hero-bg { position: absolute; inset: 0; }
  #gl { position: absolute; inset: 0; width: 100%; height: 100%; }

  /* 底部提示：往下滑还有内容 */
  .hero-hint {
    position: absolute;
    left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(190, 180, 235, 0.78);
    font-size: 11.5px; letter-spacing: 0.26em;
    pointer-events: none;
  }
  .hero-hint .arrow {
    width: 18px; height: 18px;
    border-right: 1px solid rgba(185,173,255,.55);
    border-bottom: 1px solid rgba(185,173,255,.55);
    transform: rotate(45deg);
    animation: heroHintBob 2.2s ease-in-out infinite;
  }
  .hero-brand-mini {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: calc(108px + env(safe-area-inset-bottom));
    z-index: 3;
    display: flex; align-items: baseline; gap: 8px;
    font-size: 13px; font-weight: 700; color: #fff;
    letter-spacing: 0.02em;
    pointer-events: none;
    text-shadow: 0 2px 18px rgba(0,0,0,.55);
  }
  .hero-brand-mini em {
    font-style: normal; font-size: 11px; font-weight: 500;
    letter-spacing: 0.34em;
    background: linear-gradient(100deg, #cfc6ff, #8b7cff);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-brand-slogan {
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 3;
    font-size: 10.5px; letter-spacing: 0.28em;
    color: rgba(180,168,230,.72);
    pointer-events: none;
    text-shadow: 0 2px 14px rgba(0,0,0,.5);
    white-space: nowrap;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .hero-hint .arrow { animation: none; }
}

@keyframes heroHintBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .55; }
  50%      { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ===== WebGL 不可用时的兜底：用 CSS 画一层"星系感"紫光，保证不空白 ===== */
html.no-webgl .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(30% 26% at 74% 30%, rgba(210, 190, 255, 0.55) 0%, rgba(150, 118, 255, 0.22) 34%, rgba(90, 60, 200, 0) 72%),
    radial-gradient(58% 40% at 66% 34%, rgba(123, 108, 255, 0.16) 0%, rgba(90, 60, 200, 0) 70%),
    radial-gradient(26% 20% at 18% 20%, rgba(170, 145, 255, 0.28) 0%, rgba(90, 60, 200, 0) 70%);
  filter: blur(4px);
  pointer-events: none;
}
html.no-webgl #gl { display: none; }

/* ===== 页脚响应式 ===== */
@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }
  .footer-brandcol { grid-column: 1 / -1; }
  .footer-inner { padding-top: 44px; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-col h3 { margin-bottom: 14px; }
  .footer-col ul { gap: 11px; }
  .footer-bottom { margin-top: 30px; }
}
/* ===== 英文版排版微调（英文更长，允许换行、略减字号）===== */
html[lang="en"] .hero-title { font-size: clamp(26px, 2.7vw, 44px); letter-spacing: -0.6px; }
html[lang="en"] .hero-title .tl { white-space: normal; }
html[lang="en"] .hero-sub { max-width: 760px; }
html[lang="en"] .bl-tag { letter-spacing: 0.12em; }
html[lang="en"] .footer-slogan { letter-spacing: 0.06em; }

/* ===== 预约区：功能未开放时的禁用态 ===== */
.subscribe.is-disabled { opacity: 0.72; }
.subscribe.is-disabled input,
.subscribe.is-disabled button { cursor: not-allowed; }
.subscribe.is-disabled input { color: var(--faint); }
.subscribe.is-disabled button {
  background: rgba(255, 255, 255, 0.10);
  color: var(--dim);
  box-shadow: none;
  border: 1px solid var(--line);
}

/* ============================================================
   首页「入口区块」：首屏之外的内容都移到子页面，这里只做入口
   ============================================================ */
.entries { padding-top: clamp(48px, 6vw, 88px); }
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  text-decoration: none;
  color: var(--text);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 173, 255, 0.38);
  background: linear-gradient(180deg, rgba(123,108,255,0.12), rgba(255,255,255,0.02));
  box-shadow: 0 14px 34px rgba(0,0,0,0.34), 0 0 0 1px rgba(123,108,255,0.10) inset;
}
.entry-ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--accent-2);
  background: rgba(123, 108, 255, 0.14);
  border: 1px solid rgba(123, 108, 255, 0.24);
  margin-bottom: 4px;
}
.entry-title { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
.entry-desc { font-size: 13.2px; line-height: 1.7; color: var(--dim); flex: 1; }
.entry-go { font-size: 12.5px; color: var(--accent-2); opacity: .8; }
.entry-card:hover .entry-go { opacity: 1; }

/* ============================================================
   子页面（about / roadmap / docs / subscribe）—— 统一版式
   ============================================================ */
body.subpage { background: #08060f; }
.sub-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sub-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 42% at 82% -6%, rgba(123,108,255,0.20) 0%, rgba(123,108,255,0) 66%),
    radial-gradient(50% 38% at 6% 16%, rgba(96,74,220,0.13) 0%, rgba(96,74,220,0) 70%),
    radial-gradient(70% 40% at 50% 108%, rgba(88,60,180,0.10) 0%, rgba(88,60,180,0) 72%);
}
.sub-bg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(to right, rgba(150,138,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(150,138,255,0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 46%, transparent 84%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 46%, transparent 84%);
}
body.subpage .shell { position: relative; z-index: 2; background: transparent; min-height: 100vh; }

.sub-main { padding-top: 128px; }
.sub-container { max-width: 880px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }

/* ---------- 面包屑 ---------- */
.crumb {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  font-size: 12px; color: var(--faint);
  margin-bottom: 34px;
  letter-spacing: 0.02em;
}
.crumb a { color: var(--dim); text-decoration: none; transition: color .15s; }
.crumb a:hover { color: var(--accent-2); }
.crumb-sep { opacity: .45; }
.crumb-current { color: var(--text); }

/* ---------- 页面头部 ---------- */
.page-head { margin-bottom: 10px; }
.page-index {
  display: block;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.18em;
  color: rgba(139,124,255,0.55);
  margin-bottom: 16px;
}
.page-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -1.6px;
  color: var(--text);
  text-wrap: balance;
}
.page-lead {
  margin: 0;
  max-width: 640px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: rgba(169,164,189,0.92);
  text-wrap: pretty;
}
.page-rule {
  height: 1px;
  margin: 44px 0 8px;
  background: linear-gradient(90deg, rgba(139,124,255,0.42), rgba(139,124,255,0.10) 42%, transparent 78%);
}

/* ---------- 设计理念：编号条目 ---------- */
.principle-list { display: grid; gap: 0; margin-top: 8px; }
.principle {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,0.065);
}
.principle:last-child { border-bottom: 0; padding-bottom: 8px; }
.p-no {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(139,124,255,0.62);
  padding-top: 6px;
}
.p-body h3 {
  margin: 0 0 10px;
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}
.p-body p {
  margin: 0;
  font-size: 14.5px; line-height: 1.88;
  color: var(--dim);
  max-width: 620px;
}

/* ---------- 更新日志：路线时间线 ---------- */
.road { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.road::before {
  content: ""; position: absolute; left: 5px; top: 14px; bottom: 14px;
  width: 1px; background: linear-gradient(180deg, rgba(139,124,255,0.45), rgba(255,255,255,0.08));
}
.road-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 38px 32px;
}
.road-item:last-child { padding-bottom: 4px; }
.road-item::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #0d0a18;
  border: 1px solid rgba(255,255,255,0.22);
}
.road-item.is-done::before {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 14px rgba(123,108,255,0.65);
}
.road-item.is-now::before {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(123,108,255,0.16);
}
.road-badge {
  font-size: 11.5px; letter-spacing: 0.08em;
  color: var(--faint);
  padding-top: 3px;
}
.road-item.is-done .road-badge { color: var(--accent-2); }
.road-item.is-now .road-badge { color: var(--accent-2); font-weight: 600; }
.road-main h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.2px; }
.road-main p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--dim); max-width: 560px; }
.road-item:not(.is-done):not(.is-now) .road-main h3,
.road-item:not(.is-done):not(.is-now) .road-main p { color: var(--faint); }

/* ---------- 文档：卡片网格 ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.doc-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.doc-card:hover {
  border-color: rgba(185,173,255,0.32);
  background: linear-gradient(180deg, rgba(123,108,255,0.10), rgba(255,255,255,0.015));
  transform: translateY(-2px);
}
.doc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.doc-head h3 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
.doc-tag {
  font-size: 10.5px; letter-spacing: 0.08em;
  color: rgba(185,173,255,0.75);
  border: 1px solid rgba(123,108,255,0.28);
  background: rgba(123,108,255,0.10);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.doc-card p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--dim); }

/* ---------- 预约：CTA 卡 ---------- */
.cta-card {
  margin-top: 8px;
  padding: clamp(34px, 5vw, 56px) clamp(24px, 4.5vw, 52px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(123,108,255,0.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
}
.cta-card h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800; letter-spacing: -0.6px;
}
.cta-card > p { margin: 0; color: var(--dim); font-size: 14.5px; }
.cta-card .subscribe { margin: 28px auto 10px; }

/* ---------- 返回链接 ---------- */
.sub-next { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--dim);
  text-decoration: none;
  transition: color .15s, gap .15s;
}
.back-link:hover { color: var(--accent-2); gap: 12px; }

/* ---------- 子页面顶栏始终毛玻璃 ---------- */
body.subpage .nav-capsule {
  background: rgba(18, 15, 30, 0.80);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .sub-main { padding-top: 104px; }
  .page-title { font-size: 30px; letter-spacing: -1.1px; }
  .page-rule { margin: 32px 0 6px; }
  .principle { grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 26px 0; }
  .p-no { font-size: 12px; }
  .p-body h3 { font-size: 17.5px; }
  .p-body p { font-size: 14px; }
  .road-item { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 0 0 30px 28px; }
  .road-badge { padding-top: 0; }
  .doc-grid { grid-template-columns: 1fr; }
  .cta-card { border-radius: 18px; }
  .sub-next { margin-top: 40px; }
}
/* ===== 移动端排版微调（标题层次、品牌行）===== */
@media (max-width: 640px) {
  .brand-lockup { gap: 9px; margin-bottom: 22px; }
  .bl-name { font-size: 15.5px; }
  .bl-name em { font-size: 11.5px; letter-spacing: 0.30em; }
  .bl-tag { font-size: 11px; letter-spacing: 0.24em; }
  .hero-title { font-size: 27px; letter-spacing: -0.9px; line-height: 1.30; text-wrap: balance; }
  .hero-title .tl + .tl { margin-top: 0; }
  .hero-sub { font-size: 15px; line-height: 1.62; }
  .hero-meta { gap: 7px; margin-bottom: 28px; }
}

/* ===== 预约表单（启用后）===== */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.subscribe button:disabled { opacity: .65; cursor: default; }
.subscribe-note { transition: color .2s ease; }

/* ===== 意见收集页 ===== */
.fb-card {
  margin-top: 8px;
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(123,108,255,0.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014));
}
.fb-block + .fb-block { margin-top: 26px; }
.fb-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.fb-label em { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--faint); }
.fb-hint { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

.fb-samples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fb-samples .sample {
  appearance: none; cursor: pointer;
  border: 1px solid rgba(123,108,255,0.26);
  background: rgba(123,108,255,0.09);
  color: var(--accent-2);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit; font-size: 12.5px; line-height: 1.5;
  text-align: left;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.fb-samples .sample:hover {
  background: rgba(123,108,255,0.18);
  border-color: rgba(185,173,255,0.45);
  transform: translateY(-1px);
}

#fbMessage {
  display: block; width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.28);
  color: var(--text);
  font: inherit; font-size: 14.5px; line-height: 1.8;
  resize: vertical;
  min-height: 150px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
#fbMessage:focus { border-color: rgba(139,124,255,0.65); background: rgba(0,0,0,0.36); }
#fbMessage::placeholder { color: rgba(140,133,163,0.9); }

.fb-contact { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg2 {
  display: inline-flex; padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
  flex: none;
}
.seg2 button {
  appearance: none; border: 0; cursor: pointer; background: transparent;
  color: var(--dim); font: inherit; font-size: 12.5px; font-weight: 500;
  height: 34px; padding: 0 14px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.seg2 button.on { background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; }

#fbContact {
  flex: 1; min-width: 200px;
  height: 42px; padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.24);
  color: var(--text); font: inherit; font-size: 14px;
  outline: none;
  transition: border-color .15s ease;
}
#fbContact:focus { border-color: rgba(139,124,255,0.6); }
#fbContact::placeholder { color: rgba(140,133,163,0.85); }

.fb-note { margin: 10px 0 0; font-size: 12px; color: var(--faint); }

.fb-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 26px; flex-wrap: wrap;
}
.fb-status { font-size: 13px; color: var(--faint); min-height: 18px; flex: 1; }
.fb-foot button[type=submit] { flex: none; min-width: 132px; height: 46px; font-size: 14.5px; }
.fb-foot button[type=submit]:disabled { opacity: .7; cursor: default; }

@media (max-width: 640px) {
  .fb-card { border-radius: 18px; padding: 20px 16px; }
  .fb-label { font-size: 13.5px; }
  .fb-samples .sample { font-size: 12px; padding: 6px 12px; }
  #fbMessage { font-size: 14px; min-height: 132px; padding: 12px 13px; }
  .seg2 button { height: 32px; padding: 0 12px; }
  #fbContact { min-width: 0; flex-basis: 100%; }
  .fb-foot button[type=submit] { width: 100%; }
  .fb-status { flex-basis: 100%; }
}


/* 意见页提交按钮（独立于 .btn，避免默认白底） */
.fb-foot button[type=submit]{
  appearance:none; border:0; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  padding:0 30px; border-radius:11px;
  font-family:inherit; font-weight:600; letter-spacing:0.02em;
  color:#0b0914;
  background:linear-gradient(135deg,#c8beff,#8b7cff);
  box-shadow:0 8px 26px rgba(123,108,255,.38);
  transition:transform .15s, box-shadow .15s, filter .15s;
}
.fb-foot button[type=submit]:hover{ transform:translateY(-1px); box-shadow:0 12px 34px rgba(123,108,255,.5); filter:brightness(1.04); }

/* 桌面端隐藏移动端专属 UI */
.hero-mobile-ui { display: none; }
@media (max-width: 720px) {
  .hero-mobile-ui { display: block; }
}
