:root {
  --bg-top: #030510;
  --bg-mid: #0a1228;
  --bg-bottom: #121f3d;
  /* 与 Logo 火箭配色一致：蓝 #2196F3、橙 #FF9800 */
  --accent-blue: #2196f3;
  --accent-orange: #ff9800;
  --accent-cyan: #42a5f5;
  --accent-purple: #7c3aed;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.42);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.1);
  --container-max: 540px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  background: var(--bg-top);
  line-height: 1.5;
  overflow-x: hidden;
}

/* 动态渐变底 */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    125deg,
    var(--bg-top) 0%,
    var(--bg-mid) 40%,
    var(--bg-bottom) 70%,
    #0d1a35 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 矩阵雨 / 波浪 */
#matrix,
#waves,
#particles,
#stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#matrix {
  z-index: 1;
  opacity: 0.35;
}

#waves {
  z-index: 1;
  opacity: 0.9;
}

#particles {
  z-index: 3;
}

#stars {
  z-index: 4;
}

/* 暗角脉冲 */
.vignette-pulse {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 40%,
    transparent 30%,
    rgba(3, 5, 16, 0.4) 80%,
    rgba(3, 5, 16, 0.85) 100%
  );
  animation: vignettePulse 8s ease-in-out infinite;
}

@keyframes vignettePulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.aurora__band--4 {
  top: 50%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 152, 0, 0.2),
    rgba(33, 150, 243, 0.25),
    transparent
  );
  animation-delay: -12s;
  animation-duration: 22s;
}

.orb--4 {
  width: 160px;
  height: 160px;
  background: rgba(255, 152, 0, 0.25);
  top: 60%;
  right: 15%;
  animation-delay: -2s;
}

.orb--5 {
  width: 140px;
  height: 140px;
  background: rgba(33, 150, 243, 0.3);
  bottom: 25%;
  right: 30%;
  animation-delay: -6s;
}

/* 透视网格 */
.perspective-grid {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
      transparent 0%,
      rgba(33, 150, 243, 0.03) 50%,
      rgba(255, 152, 0, 0.05) 100%
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 49px,
      rgba(33, 150, 243, 0.06) 49px,
      rgba(33, 150, 243, 0.06) 50px
    );
  transform: perspective(500px) rotateX(60deg) scale(2);
  transform-origin: center bottom;
  opacity: 0.5;
  animation: gridPulse 6s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.55; }
}

/* 扫描光束 */
.scan-beam {
  position: fixed;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(33, 150, 243, 0.3),
    rgba(255, 152, 0, 0.8),
    rgba(33, 150, 243, 0.3),
    transparent
  );
  box-shadow: 0 0 20px rgba(255, 152, 0, 0.5), 0 0 40px rgba(33, 150, 243, 0.3);
  animation: scanBeamMove 6s ease-in-out infinite;
}

@keyframes scanBeamMove {
  0% { top: -5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}

/* 鼠标尾迹 */
#cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.9), rgba(33, 150, 243, 0.4));
  box-shadow: 0 0 12px rgba(33, 150, 243, 0.8);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cursor-dot.fade {
  opacity: 0;
  transform: scale(0.3);
}

/* 二进制雨 */
.binary-rain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.15;
}

.binary-col {
  position: absolute;
  top: -100%;
  font-family: monospace;
  font-size: 10px;
  line-height: 1.2;
  color: var(--accent-blue);
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  animation: binaryFall linear infinite;
  white-space: nowrap;
}

@keyframes binaryFall {
  to { transform: translateY(calc(100vh + 200px)); }
}

.float-shape--hex {
  width: 20px;
  height: 20px;
  background: transparent;
  border: 1px solid rgba(255, 152, 0, 0.25);
  transform: rotate(30deg);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* HUD 四角 */
.hud-corner {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 8;
  pointer-events: none;
  border-color: rgba(33, 150, 243, 0.5);
  border-style: solid;
  animation: hudPulse 3s ease-in-out infinite;
}

.hud-corner--tl {
  top: 16px;
  left: 16px;
  border-width: 2px 0 0 2px;
}

.hud-corner--tr {
  top: 16px;
  right: 16px;
  border-width: 2px 2px 0 0;
}

.hud-corner--bl {
  bottom: 16px;
  left: 16px;
  border-width: 0 0 2px 2px;
}

.hud-corner--br {
  bottom: 16px;
  right: 16px;
  border-width: 0 2px 2px 0;
}

@keyframes hudPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; box-shadow: 0 0 15px rgba(33, 150, 243, 0.3); }
}

.cyber-status {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  font-family: monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(33, 150, 243, 0.8);
  padding: 4px 12px;
  border: 1px solid rgba(33, 150, 243, 0.25);
  background: rgba(3, 5, 16, 0.6);
  backdrop-filter: blur(8px);
}

#cyber-status-text {
  transition: opacity 0.3s ease;
}

/* 主内容 HUD 边框 */
.page--hud {
  position: relative;
}

.page__border-glow {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    var(--border-angle, 0deg),
    rgba(33, 150, 243, 0.6),
    rgba(255, 152, 0, 0.4),
    rgba(33, 150, 243, 0.6),
    rgba(124, 58, 237, 0.3)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderRotate 4s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  to { --border-angle: 360deg; }
}

/* Logo 脉冲环 */
.brand__pulse-ring {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(33, 150, 243, 0.4);
  transform: translate(-50%, -50%);
  animation: pulseRing 3s ease-out infinite;
}

.brand__pulse-ring--2 { animation-delay: 1s; }
.brand__pulse-ring--3 { animation-delay: 2s; }

@keyframes pulseRing {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.6;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

.brand__hex {
  position: absolute;
  inset: -28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 2L56 17v26L30 58 4 43V17z' fill='none' stroke='%232196F3' stroke-width='0.5' opacity='0.3'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  animation: hexSpin 30s linear infinite;
  opacity: 0.4;
}

@keyframes hexSpin {
  to { transform: rotate(360deg); }
}

.logo-exhaust {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

/* Hero 增强 */
.hero__title-text {
  position: relative;
  display: inline-block;
}

.hero__title-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), var(--accent-blue), transparent);
  animation: underlineScan 2s ease-in-out infinite;
}

@keyframes underlineScan {
  0%, 100% { opacity: 0.4; transform: scaleX(0.6); }
  50% { opacity: 1; transform: scaleX(1); }
}

.hero__badge--pulse {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
    border-color: rgba(33, 150, 243, 0.35);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(255, 152, 0, 0.25);
    border-color: rgba(255, 152, 0, 0.5);
  }
}

.hero__scan-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hero__scan-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: dotBlink 1.4s ease-in-out infinite;
}

.hero__scan-dots span:nth-child(2) { animation-delay: 0.2s; background: var(--accent-orange); }
.hero__scan-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBlink {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 10px currentColor; }
}

/* 卡片增强 */
.download-card__glow-border {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: conic-gradient(
    from var(--card-angle, 0deg),
    rgba(33, 150, 243, 0.8),
    rgba(255, 152, 0, 0.6),
    rgba(33, 150, 243, 0.8),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  animation: cardBorderSpin 3s linear infinite;
}

@property --card-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes cardBorderSpin {
  to { --card-angle: 360deg; }
}

.download-card:hover .download-card__glow-border,
.download-card.is-active .download-card__glow-border {
  opacity: 0.7;
}

.download-card__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 152, 0, 0.9), transparent);
  top: 0;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.download-card:hover .download-card__scan,
.download-card.is-active .download-card__scan {
  animation: cardScan 1.5s ease-in-out infinite;
}

@keyframes cardScan {
  0% { top: 0; opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

.download-card__index {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: monospace;
  font-size: 0.65rem;
  color: rgba(33, 150, 243, 0.5);
  letter-spacing: 0.1em;
  z-index: 2;
}

.download-card__btn-text {
  position: relative;
  z-index: 1;
}

.download-card.is-active {
  border-color: rgba(255, 152, 0, 0.4);
  box-shadow: 0 0 30px rgba(33, 150, 243, 0.25), 0 0 60px rgba(255, 152, 0, 0.1);
}

#cursor-glow {
  background: radial-gradient(
    circle,
    rgba(33, 150, 243, 0.18) 0%,
    rgba(255, 152, 0, 0.08) 35%,
    transparent 70%
  );
}

.shooting-star {
  background: linear-gradient(90deg, rgba(255, 152, 0, 0.95), rgba(33, 150, 243, 0.6), transparent);
  height: 3px;
  box-shadow: 0 0 8px rgba(255, 152, 0, 0.6);
}

/* 极光 */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora__band {
  position: absolute;
  width: 200%;
  height: 60%;
  left: -50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: auroraMove 14s ease-in-out infinite;
}

.aurora__band--1 {
  top: -20%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(33, 150, 243, 0.5),
    rgba(66, 165, 245, 0.4),
    transparent
  );
  animation-delay: 0s;
}

.aurora__band--2 {
  top: 10%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.45),
    rgba(0, 137, 255, 0.35),
    transparent
  );
  animation-delay: -5s;
  animation-duration: 18s;
}

.aurora__band--3 {
  top: 30%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.3),
    rgba(124, 58, 237, 0.25),
    transparent
  );
  animation-delay: -9s;
  animation-duration: 20s;
}

@keyframes auroraMove {
  0%, 100% { transform: translateX(-10%) skewY(-3deg); }
  50% { transform: translateX(10%) skewY(3deg); }
}

/* 六边形网格 */
.hex-grid {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 16v32L28 64 0 48V16z' fill='none' stroke='%2300d4ff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  pointer-events: none;
  animation: hexDrift 40s linear infinite;
}

@keyframes hexDrift {
  to { background-position: 56px 100px; }
}

/* 噪点 */
.noise {
  position: fixed;
  inset: 0;
  z-index: 4;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 鼠标光晕 */
#cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.15) 0%,
    rgba(0, 137, 255, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

body.is-pointer #cursor-glow {
  opacity: 1;
}

/* 浮动几何 */
.float-shapes {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.float-shape {
  position: absolute;
  border: 1px solid rgba(0, 212, 255, 0.2);
  animation: shapeFloat 20s linear infinite;
}

.float-shape--tri {
  width: 0;
  height: 0;
  border: none;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid rgba(0, 212, 255, 0.15);
}

.float-shape--sq {
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
}

.float-shape--ci {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 137, 255, 0.1);
}

@keyframes shapeFloat {
  0% {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}

/* 数据流竖线 */
.data-stream {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.data-line {
  position: absolute;
  top: -100%;
  width: 1px;
  height: 120px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 212, 255, 0.6),
    transparent
  );
  animation: dataFall linear infinite;
}

@keyframes dataFall {
  to { transform: translateY(calc(100vh + 200px)); }
}

/* 流星 DOM */
.shooting-star {
  position: fixed;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.9), transparent);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
  animation: shoot 1s ease-in forwards;
  opacity: 0;
}

@keyframes shoot {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(-35deg);
  }
  100% {
    opacity: 0;
    transform: translate(-200px, 200px) rotate(-35deg);
  }
}

/* 点击涟漪 */
#ripple-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.5);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut 0.8s ease-out forwards;
}

@keyframes rippleOut {
  to {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* 浮动光球 */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb--1 {
  width: 280px;
  height: 280px;
  background: rgba(0, 137, 255, 0.35);
  top: -80px;
  left: -60px;
  animation-delay: 0s;
}

.orb--2 {
  width: 220px;
  height: 220px;
  background: rgba(0, 212, 255, 0.25);
  top: 40%;
  right: -80px;
  animation-delay: -4s;
}

.orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(124, 58, 237, 0.3);
  bottom: 10%;
  left: 20%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* 网格 */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(
      rgba(0, 212, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}

/* 扫描线 */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}

/* 顶部光晕 */
.glow-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 50vh;
  z-index: 2;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(0, 137, 255, 0.22) 0%,
    rgba(0, 212, 255, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.page {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 20px 48px;
  min-height: 100vh;
}

/* ========== 品牌区 ========== */
.brand {
  text-align: center;
  margin-bottom: 28px;
  animation: brandIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes brandIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand__logo-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
}

.brand__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: ringSpin 4s linear infinite;
}

.brand__ring--1 {
  inset: -10px;
  border-top-color: var(--accent-blue);
  border-right-color: rgba(33, 150, 243, 0.45);
}

.brand__ring--2 {
  inset: -22px;
  border-bottom-color: var(--accent-orange);
  border-left-color: rgba(255, 152, 0, 0.4);
  animation-duration: 6s;
  animation-direction: reverse;
  opacity: 0.75;
}

.brand__ring--3 {
  inset: -34px;
  border-top-color: rgba(66, 165, 245, 0.3);
  animation-duration: 8s;
  opacity: 0.4;
}

.brand__logo-box {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 48px rgba(33, 150, 243, 0.4),
    0 0 24px rgba(255, 152, 0, 0.25);
  animation: logoPulse 3s ease-in-out infinite;
}

.brand__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(33, 150, 243, 0.45))
    drop-shadow(0 0 12px rgba(255, 152, 0, 0.35));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.brand__name {
  position: relative;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.35em;
  margin-right: -0.35em;
  margin-bottom: 6px;
  background: linear-gradient(
    180deg,
    #fff 15%,
    var(--accent-blue) 55%,
    var(--accent-orange) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(33, 150, 243, 0.45));
}

/* 标题流光（无 glitch 伪元素） */
.brand__name--shine {
  background: linear-gradient(
    90deg,
    #fff 0%,
    var(--accent-cyan) 25%,
    var(--accent-blue) 50%,
    var(--accent-orange) 75%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandTitleShine 5s linear infinite;
}

@keyframes brandTitleShine {
  to { background-position: 200% center; }
}

.brand__name-en {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.55em;
  margin-right: -0.55em;
  color: var(--accent-cyan);
  opacity: 0.85;
  margin-bottom: 10px;
}

.brand__tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.25em;
}

.brand__divider {
  width: 60px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-blue),
    var(--accent-orange),
    transparent
  );
  animation: dividerGlow 2s ease-in-out infinite;
}

@keyframes dividerGlow {
  0%, 100% { opacity: 0.5; width: 60px; }
  50% { opacity: 1; width: 100px; }
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 32px;
  animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

@keyframes logoPulse {
  0%, 100% {
    box-shadow: 0 0 48px rgba(33, 150, 243, 0.4),
      0 0 24px rgba(255, 152, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 64px rgba(33, 150, 243, 0.55),
      0 0 36px rgba(255, 152, 0, 0.4);
  }
}

.hero__title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  background: linear-gradient(
    90deg,
    #fff 0%,
    var(--accent-cyan) 40%,
    var(--accent-blue) 70%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 4s linear infinite;
}

@keyframes titleShine {
  to { background-position: 200% center; }
}

.hero__subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.2em;
}

.hero__badge {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  animation: badgeBlink 2s ease-in-out infinite;
}

@keyframes badgeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* 下载列表 */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.download-list > li {
  animation: cardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.download-list > li:nth-child(1) { animation-delay: 0.1s; }
.download-list > li:nth-child(2) { animation-delay: 0.18s; }
.download-list > li:nth-child(3) { animation-delay: 0.26s; }
.download-list > li:nth-child(4) { animation-delay: 0.34s; }
.download-list > li:nth-child(5) { animation-delay: 0.42s; }

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.download-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  min-height: 80px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease, box-shadow 0.35s ease;
}

/* 扫光 */
.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.download-card:hover::before {
  left: 150%;
}

.download-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.4),
    transparent 40%,
    transparent 60%,
    rgba(0, 137, 255, 0.3)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.download-card:hover::after {
  opacity: 1;
}

.download-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 137, 255, 0.2),
    0 0 0 1px rgba(0, 212, 255, 0.1);
}

.download-card:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.download-card__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.download-card:hover .download-card__icon {
  transform: scale(1.08) rotate(-3deg);
}

.download-card__icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.download-card__icon--web {
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.download-card__icon--android {
  background: linear-gradient(135deg, #3ddc84, #00a86b);
  box-shadow: 0 4px 20px rgba(61, 220, 132, 0.35);
}

.download-card__icon--ios {
  background: linear-gradient(135deg, #8e8e93, #e5e5ea);
  box-shadow: 0 4px 20px rgba(200, 200, 200, 0.2);
}

.download-card__icon--tf {
  background: linear-gradient(135deg, #007aff, #5ac8fa);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.4);
}

.download-card__icon--desktop {
  background: linear-gradient(135deg, #5856d6, #af52de);
  box-shadow: 0 4px 20px rgba(88, 86, 214, 0.4);
}

.download-card__body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.download-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.download-card__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.download-card__btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.5);
  border-radius: var(--radius-pill);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.download-card:hover .download-card__btn {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.45);
  animation: btnPulse 1.5s ease infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 32px rgba(0, 212, 255, 0.55); }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 24px;
  background: rgba(10, 18, 40, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--text-primary);
  opacity: 0;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  z-index: 100;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 底部装饰线 */
.footer-line {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-cyan),
    var(--accent-blue),
    transparent
  );
  z-index: 5;
  opacity: 0.6;
  animation: lineMove 3s linear infinite;
}

@keyframes lineMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #matrix,
  .binary-rain,
  .logo-exhaust,
  #cursor-trail {
    display: none !important;
  }
}

/* ========== 手机端动态效果 ========== */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .is-mobile .brand__name--shine {
    animation: brandTitleShine 3.5s linear infinite, brandTitleGlow 2.5s ease-in-out infinite;
  }

  @keyframes brandTitleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(33, 150, 243, 0.5)); }
    50% { filter: drop-shadow(0 0 32px rgba(255, 152, 0, 0.55)); }
  }

  .is-mobile .brand__logo-box {
    animation: logoPulse 2.2s ease-in-out infinite, logoFloat 3.5s ease-in-out infinite;
  }

  .is-mobile .brand__ring--1 {
    animation-duration: 2.5s;
  }

  .is-mobile .brand__ring--2 {
    animation-duration: 3.5s;
  }

  .is-mobile .brand__pulse-ring {
    animation-duration: 2.2s;
  }

  .is-mobile .brand__divider {
    animation: dividerGlowMobile 2.5s ease-in-out infinite;
  }

  @keyframes dividerGlowMobile {
    0%, 100% { width: 50px; opacity: 0.6; }
    50% { width: 120px; opacity: 1; }
  }

  .is-mobile .hero__subtitle {
    animation: subtitlePulse 3s ease-in-out infinite;
  }

  @keyframes subtitlePulse {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; text-shadow: 0 0 12px rgba(33, 150, 243, 0.4); }
  }

  .is-mobile .scan-beam {
    animation-duration: 4s;
  }

  .is-mobile .download-list > li {
    animation: cardSlideIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  @keyframes cardSlideIn {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .is-mobile .download-card {
    animation: cardBorderBreath 3.5s ease-in-out infinite;
  }

  .is-mobile .download-list > li:nth-child(1) .download-card { animation-delay: 0s; }
  .is-mobile .download-list > li:nth-child(2) .download-card { animation-delay: 0.4s; }
  .is-mobile .download-list > li:nth-child(3) .download-card { animation-delay: 0.8s; }
  .is-mobile .download-list > li:nth-child(4) .download-card { animation-delay: 1.2s; }
  .is-mobile .download-list > li:nth-child(5) .download-card { animation-delay: 1.6s; }

  @keyframes cardBorderBreath {
    0%, 100% {
      border-color: rgba(33, 150, 243, 0.2);
      box-shadow: 0 4px 20px rgba(33, 150, 243, 0.08);
    }
    50% {
      border-color: rgba(255, 152, 0, 0.35);
      box-shadow: 0 6px 28px rgba(255, 152, 0, 0.12);
    }
  }

  .is-mobile .download-card.is-touching {
    transform: scale(0.98);
    border-color: rgba(255, 152, 0, 0.55) !important;
    box-shadow: 0 0 36px rgba(33, 150, 243, 0.35), 0 0 20px rgba(255, 152, 0, 0.2) !important;
  }

  .is-mobile .download-card.is-touching .download-card__scan {
    animation: cardScan 0.8s ease-out forwards;
  }

  .is-mobile .download-card.is-touching .download-card__glow-border {
    opacity: 0.85;
  }

  .is-mobile .download-card.is-touching .download-card__icon {
    animation: iconBounce 0.5s ease;
  }

  @keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.12); }
  }

  .is-mobile .hero__scan-dots span {
    animation-duration: 1s;
  }

  .ripple--touch {
    border-color: rgba(255, 152, 0, 0.65);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.4);
  }

  .shooting-star--mobile {
    width: 100px;
    height: 3px;
  }

  #cursor-glow {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    opacity: 1;
  }

  .page__border-glow {
    opacity: 0.75;
    animation-duration: 3s;
  }
}

@media (max-width: 480px) {
  .hud-corner {
    width: 24px;
    height: 24px;
  }

  .cyber-status {
    font-size: 0.55rem;
    top: 12px;
  }

  #matrix {
    opacity: 0.25;
  }

  .is-mobile .brand__name {
    font-size: 2.1rem;
    letter-spacing: 0.28em;
    margin-right: -0.28em;
  }
}

@media (max-width: 380px) {
  .download-card__btn {
    display: none;
  }

  .hero__title {
    font-size: 1.4rem;
  }

  .brand__name {
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-right: -0.2em;
  }

  .brand__logo-wrap {
    width: 112px;
    height: 112px;
  }

  .brand__logo-box {
    width: 112px;
    height: 112px;
  }

  .brand__logo {
    width: 104px;
    height: 104px;
  }
}
