/* ==========================================================================
   COSMOS — 样式表
   目录：
   0. 变量与重置
   1. 加载屏幕
   2. 背景层（星空 / 星云 / 暗角 / 扫描线）
   3. 自定义光标
   4. 导航
   5. Hero 主视觉 + 行星
   6. 通用区块
   7. 卡片
   8. 数据统计
   9. CTA 与页脚
   10. 动效与响应式
   ========================================================================== */

/* ---------- 0. 变量与重置 ---------- */
:root {
  --bg-deep: #02030a;
  --bg: #04050c;

  --cyan: #3fe9ff;
  --blue: #3d6bff;
  --violet: #8b5cff;
  --pink: #ff3ba7;

  --text: #e2ecff;
  --muted: #8b9bc4;
  --line: rgba(120, 180, 255, 0.14);

  --font-display: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Rajdhani', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-loading {
  overflow: hidden;
}

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

a {
  color: inherit;
}

::selection {
  background: rgba(63, 233, 255, 0.3);
  color: #fff;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #05070f;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(63, 233, 255, 0.5), rgba(139, 92, 255, 0.5));
  border-radius: 10px;
}

/* ---------- 1. 加载屏幕 ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  background: radial-gradient(circle at 50% 50%, #070b1c 0%, #02030a 70%);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__core {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
}

.loader__orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(63, 233, 255, 0.18);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
}

.loader__orbit--2 {
  inset: 24px;
  border-color: rgba(139, 92, 255, 0.18);
  border-bottom-color: var(--violet);
  animation-duration: 2.1s;
  animation-direction: reverse;
}

.loader__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 26px var(--cyan), 0 0 60px var(--blue);
  animation: pulse 1.6s ease-in-out infinite;
}

.loader__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.loader__bar {
  width: 240px;
  height: 2px;
  border-radius: 2px;
  background: rgba(120, 180, 255, 0.14);
  overflow: hidden;
}

.loader__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 18px var(--cyan);
  animation: loadbar 1.8s var(--ease) forwards;
}

/* ---------- 2. 背景层 ---------- */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.nebula {
  position: fixed;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -18px), 0);
  transition: transform 0.9s var(--ease);
}

.nebula__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.42;
  mix-blend-mode: screen;
  will-change: transform;
}

.nebula__blob--a {
  top: -12%;
  left: -8%;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(90, 60, 255, 0.85), transparent 68%);
  animation: drift 26s ease-in-out infinite alternate;
}

.nebula__blob--b {
  bottom: -18%;
  right: -10%;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(0, 190, 255, 0.7), transparent 68%);
  animation: drift 34s ease-in-out infinite alternate-reverse;
}

.nebula__blob--c {
  top: 34%;
  left: 46%;
  width: 34vw;
  height: 34vw;
  background: radial-gradient(circle, rgba(255, 59, 167, 0.45), transparent 70%);
  animation: drift 40s ease-in-out infinite alternate;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 42%,
    transparent 26%,
    rgba(2, 3, 10, 0.55) 68%,
    rgba(2, 3, 10, 0.92) 100%
  );
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.5;
  background: repeating-linear-gradient(
    to bottom,
    rgba(120, 200, 255, 0.045) 0 1px,
    transparent 1px 3px
  );
}

/* ---------- 3. 自定义光标 ---------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(63, 233, 255, 0.65);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  mix-blend-mode: screen;
  will-change: transform;
}

.cursor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.cursor.is-active {
  opacity: 1;
}

.cursor.is-hover {
  border-color: rgba(255, 59, 167, 0.8);
  background: rgba(63, 233, 255, 0.08);
}

/* ---------- 4. 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease,
    backdrop-filter 0.4s ease;
}

.nav.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(4, 6, 16, 0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 0 22px rgba(63, 200, 255, 0.6);
}

.nav__glyph {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan), 0 0 34px var(--blue);
  animation: pulse 2.4s ease-in-out infinite;
}

.nav__links {
  display: flex;
  gap: 34px;
}

.nav__links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__links a:hover {
  color: #fff;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav__status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2effa8;
  box-shadow: 0 0 12px #2effa8;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 150px clamp(20px, 5vw, 80px) 110px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
}

.hero__title {
  position: relative;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7.2rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffffff 0%, #a9dcff 46%, #4a6cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(63, 150, 255, 0.5));
}

/* 故障文字层 */
.hero__title::before,
.hero__title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--cyan);
  color: var(--cyan);
  filter: none;
  opacity: 0;
  pointer-events: none;
}

.hero__title::before {
  animation: glitch-a 7s steps(1, end) infinite;
}

.hero__title::after {
  -webkit-text-fill-color: var(--pink);
  color: var(--pink);
  animation: glitch-b 7s steps(1, end) infinite;
  animation-delay: 0.12s;
}

.hero__sub {
  margin: 0 0 42px;
  max-width: 40ch;
  font-size: 1.12rem;
  font-weight: 400;
  color: #b7c6e8;
  letter-spacing: 0.02em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__meta {
  display: flex;
  gap: 52px;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
}

.hero__meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__meta b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 24px rgba(63, 180, 255, 0.65);
}

.hero__meta span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- 按钮 --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s ease, color 0.4s ease, background 0.4s ease;
}

.btn--primary {
  color: #03060f;
  background: linear-gradient(120deg, var(--cyan), #7ad9ff 42%, var(--violet));
  box-shadow: 0 0 30px rgba(63, 200, 255, 0.45), 0 0 80px rgba(120, 90, 255, 0.28);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 46px rgba(63, 220, 255, 0.8), 0 0 110px rgba(140, 90, 255, 0.5);
}

.btn--ghost {
  color: var(--text);
  border-color: rgba(120, 180, 255, 0.35);
  background: rgba(10, 18, 40, 0.35);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  color: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(63, 220, 255, 0.32);
  transform: translateY(-3px);
}

/* --- 行星 --- */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.planet {
  position: relative;
  width: min(40vw, 400px);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  will-change: transform;
}

.planet__halo {
  position: absolute;
  inset: -45%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(61, 107, 255, 0.4) 0%,
    rgba(139, 92, 255, 0.2) 36%,
    transparent 68%
  );
  filter: blur(34px);
  animation: pulse 6s ease-in-out infinite;
}

.planet__body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(
    circle at 30% 26%,
    #a8e7ff 0%,
    #3f8bff 17%,
    #1e3ea8 38%,
    #0b1440 64%,
    #05061a 100%
  );
  box-shadow:
    inset -32px -26px 74px rgba(0, 0, 0, 0.92),
    inset 20px 14px 54px rgba(120, 200, 255, 0.2),
    0 0 70px rgba(61, 120, 255, 0.45),
    0 0 180px rgba(90, 60, 255, 0.28);
}

.planet__texture {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.6;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(ellipse 34% 20% at 20% 35%, rgba(120, 225, 255, 0.6), transparent 65%),
    radial-gradient(ellipse 26% 16% at 62% 22%, rgba(160, 130, 255, 0.5), transparent 65%),
    radial-gradient(ellipse 30% 14% at 40% 66%, rgba(70, 190, 255, 0.45), transparent 65%),
    radial-gradient(ellipse 20% 12% at 80% 58%, rgba(255, 110, 190, 0.3), transparent 65%);
  background-size: 200% 100%;
  background-repeat: repeat;
  animation: surface 26s linear infinite;
}

.planet__shadow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 74% 76%, rgba(0, 0, 0, 0.78), transparent 62%);
}

.planet__rings {
  position: absolute;
  inset: 0;
  perspective: 900px;
  pointer-events: none;
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
  transform: rotateX(76deg) rotateZ(0deg);
  transform-origin: center;
  will-change: transform;
}

.ring--a {
  width: 148%;
  height: 148%;
  margin: -74% 0 0 -74%;
  border-width: 1px;
  border-top-color: rgba(63, 233, 255, 0.75);
  border-right-color: rgba(63, 233, 255, 0.12);
  border-bottom-color: rgba(63, 233, 255, 0.5);
  border-left-color: rgba(63, 233, 255, 0.12);
  box-shadow: 0 0 22px rgba(63, 233, 255, 0.35);
  animation: ring-spin 20s linear infinite;
}

.ring--b {
  width: 172%;
  height: 172%;
  margin: -86% 0 0 -86%;
  border-width: 1px;
  border-top-color: rgba(139, 92, 255, 0.55);
  border-right-color: rgba(139, 92, 255, 0.08);
  border-bottom-color: rgba(139, 92, 255, 0.4);
  border-left-color: rgba(139, 92, 255, 0.08);
  animation: ring-spin 34s linear infinite reverse;
}

.ring--c {
  width: 198%;
  height: 198%;
  margin: -99% 0 0 -99%;
  border-width: 1px;
  border-style: dashed;
  border-color: rgba(255, 59, 167, 0.28);
  opacity: 0.75;
  animation: ring-spin 52s linear infinite;
}

.planet__moon {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff, #8b9cc4 58%, #2a3350);
  box-shadow: 0 0 16px rgba(200, 225, 255, 0.75);
  animation: float 7s ease-in-out infinite;
}

/* --- HUD 装饰 --- */
.hero__hud {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  color: rgba(139, 155, 196, 0.7);
  pointer-events: none;
}

.hero__hud--left {
  left: clamp(20px, 5vw, 80px);
  bottom: 60px;
}

.hero__hud--right {
  right: clamp(20px, 5vw, 80px);
  bottom: 60px;
  text-align: right;
}

.blink {
  color: #ff4d6d;
  animation: blink 1.4s steps(1, end) infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border: 1px solid rgba(120, 180, 255, 0.35);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.scroll-cue:hover {
  border-color: var(--cyan);
}

/* ---------- 6. 通用区块 ---------- */
.section {
  position: relative;
  z-index: 10;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(80px, 12vh, 150px) clamp(20px, 5vw, 80px);
}

.section__head {
  max-width: 700px;
}

.section__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.14;
  background: linear-gradient(120deg, #ffffff, #a9dcff 58%, #8b9dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__lead {
  margin: 0;
  max-width: 56ch;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------- 7. 卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.card {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(18, 26, 56, 0.55), rgba(6, 9, 22, 0.35));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s ease,
    box-shadow 0.5s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    380px circle at var(--cx, 50%) var(--cy, 0%),
    rgba(63, 233, 255, 0.16),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(63, 233, 255, 0.42);
  box-shadow: 0 24px 70px -24px rgba(63, 180, 255, 0.55);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: block;
  margin-bottom: 20px;
  font-size: 2rem;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(63, 233, 255, 0.75);
}

.card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.card__en {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  color: var(--cyan);
  opacity: 0.72;
}

.card__desc {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.card__index {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(120, 180, 255, 0.24);
}

/* ---------- 8. 数据统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin-top: 58px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.stat {
  padding: 42px 26px;
  text-align: center;
  background: rgba(6, 9, 22, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s ease;
}

.stat:hover {
  background: rgba(14, 22, 48, 0.75);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 26px rgba(63, 180, 255, 0.7);
}

.stat span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 9. CTA 与页脚 ---------- */
.section--cta {
  text-align: center;
}

.cta {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(
      ellipse at 50% 0%,
      rgba(63, 180, 255, 0.14),
      transparent 62%
    ),
    linear-gradient(160deg, rgba(16, 24, 54, 0.6), rgba(5, 8, 20, 0.5));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 120px -50px rgba(63, 150, 255, 0.6);
}

.cta__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(120deg, #ffffff, #a9dcff 60%, #b28bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta__desc {
  margin: 0 auto 36px;
  max-width: 46ch;
  color: var(--muted);
}

.cta__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta__form input {
  flex: 1 1 260px;
  max-width: 340px;
  padding: 15px 22px;
  border: 1px solid rgba(120, 180, 255, 0.25);
  border-radius: 999px;
  background: rgba(4, 8, 20, 0.7);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta__form input::placeholder {
  color: rgba(139, 155, 196, 0.6);
}

.cta__form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 233, 255, 0.14);
}

.cta__note {
  min-height: 1.4em;
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cta__note.is-ok,
.cta__note.is-error {
  opacity: 1;
}

.cta__note.is-ok {
  color: #2effa8;
}

.cta__note.is-error {
  color: #ff6b8b;
}

.footer {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 32px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(139, 155, 196, 0.65);
}

/* ---------- 10. 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ring-spin {
  to {
    transform: rotateX(76deg) rotateZ(360deg);
  }
}

@keyframes loadbar {
  to {
    width: 100%;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.92);
  }
}

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.15;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-7px);
  }
  50% {
    transform: translateY(7px);
  }
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(6%, -5%, 0) scale(1.14);
  }
}

@keyframes surface {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@keyframes glitch-a {
  0%,
  90%,
  100% {
    opacity: 0;
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
  91% {
    opacity: 0.85;
    transform: translate(-4px, -3px);
    clip-path: inset(8% 0 62% 0);
  }
  93% {
    opacity: 0.85;
    transform: translate(4px, 2px);
    clip-path: inset(58% 0 12% 0);
  }
  95% {
    opacity: 0.6;
    transform: translate(-2px, 1px);
    clip-path: inset(30% 0 44% 0);
  }
  97% {
    opacity: 0;
  }
}

@keyframes glitch-b {
  0%,
  90%,
  100% {
    opacity: 0;
    transform: translate(0);
    clip-path: inset(0 0 0 0);
  }
  92% {
    opacity: 0.7;
    transform: translate(4px, 3px);
    clip-path: inset(62% 0 8% 0);
  }
  94% {
    opacity: 0.7;
    transform: translate(-4px, -2px);
    clip-path: inset(14% 0 58% 0);
  }
  96% {
    opacity: 0;
  }
}

/* ---------- 11. 响应式 ---------- */
@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  input {
    cursor: none;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero__visual {
    min-height: 380px;
    order: 2;
    margin-top: 30px;
  }

  .planet {
    width: min(58vw, 320px);
  }

  .hero__hud {
    display: none;
  }

  .hero__meta {
    margin-top: 44px;
  }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }

  .nav__status {
    font-size: 0.6rem;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 90px;
  }

  .hero__meta {
    gap: 30px;
  }

  .hero__meta b {
    font-size: 1.35rem;
  }

  .scroll-cue {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
