:root {
  --bg: #04070d;
  --panel: rgba(12, 20, 33, 0.62);
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text: #e9f1fb;
  --dim: #93a5bd;
  --faint: #64768e;
  --accent: #5ab0ff;
  --accent-2: #7fd6ff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main, .nav, .foot { position: relative; z-index: 1; }

.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(4, 7, 13, 0.72);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 17px;
  letter-spacing: 0.02em;
}
.nav-brand img { border-radius: 10px; }
.nav-brand b { font-weight: 600; }
.nav-brand span { color: var(--dim); }
.nav-brand span b { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14.5px;
}
.nav-links a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.24s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(120, 190, 255, 0.32);
  background: rgba(90, 176, 255, 0.14);
  color: #cfe8ff !important;
  transition: all 0.26s var(--ease);
}
.nav-cta:hover { background: rgba(90, 176, 255, 0.26); border-color: rgba(120, 190, 255, 0.5); }

/* ---------- Hero ---------- */
.hero {
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0 80px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(120, 190, 255, 0.26);
  background: rgba(90, 176, 255, 0.10);
  color: #9fd0ff;
  font-size: 12.5px;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 22px 0 0;
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #8fd8ff 0%, #5ab0ff 55%, #3f7fe0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 24px 0 0;
  max-width: 32em;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.95;
  color: #a8bbd1;
  letter-spacing: 0.015em;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.24s var(--ease), background 0.26s var(--ease),
              box-shadow 0.3s var(--ease), border-color 0.26s var(--ease);
}
.btn:active { transform: scale(0.975); }

.btn-primary {
  background: linear-gradient(140deg, #6dc0ff, #3f8ce6);
  color: #04121f;
  box-shadow: 0 12px 34px rgba(59, 140, 226, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(59, 140, 226, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: #d6e6f7;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); }

.btn-lg { height: 58px; padding: 0 36px; font-size: 16.5px; }

.hero-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--faint);
  letter-spacing: 0.06em;
}

/* ---------- 球体视觉 ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.orb {
  width: min(440px, 92%);
  height: auto;
  filter: drop-shadow(0 30px 80px rgba(30, 100, 190, 0.42));
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.orb-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  max-width: 92vw;
  max-height: 92vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 176, 255, 0.22) 0%, rgba(90, 176, 255, 0.06) 45%, transparent 70%);
  filter: blur(14px);
}
.orb-grid { opacity: 0.95; }

.orb-tag {
  position: absolute;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(8, 16, 27, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dcecff;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  animation: tagFloat 7s ease-in-out infinite;
}
.tag-1 { top: 12%; left: 4%; animation-delay: 0s; }
.tag-2 { top: 58%; right: 0%; animation-delay: 1.4s; }
.tag-3 { bottom: 10%; left: 12%; animation-delay: 2.6s; }
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- 通用区块 ---------- */
section { padding: 96px 0; }
section h2 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
}
.section-sub {
  margin: 14px auto 0;
  max-width: 40em;
  text-align: center;
  color: var(--dim);
  font-size: clamp(14px, 1.5vw, 16.5px);
  line-height: 1.9;
}

/* ---------- 特性 ---------- */
.features { width: min(1180px, 100% - 48px); margin: 0 auto; }
.grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 28px 26px 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  opacity: 0;
  transform: translateY(26px);
}
.card.in { opacity: 1; transform: none; }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 190, 255, 0.30);
  background: rgba(16, 27, 44, 0.72);
}
.card-ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(90, 176, 255, 0.12);
  border: 1px solid rgba(120, 190, 255, 0.22);
  color: var(--accent-2);
}
.card h3 {
  margin: 18px 0 0;
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.card p {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- 截图 ---------- */
.shots { width: min(1180px, 100% - 48px); margin: 0 auto; }
.shot-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.shot {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #060b14;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.shot.in { opacity: 1; transform: none; }
.shot-wide { grid-column: 1 / -1; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 14px 18px 16px;
  font-size: 13.5px;
  color: var(--faint);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--line-soft);
}

/* ---------- 下载 ---------- */
.download { width: min(880px, 100% - 48px); margin: 0 auto; }
.download-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid rgba(120, 190, 255, 0.20);
  background: linear-gradient(160deg, rgba(18, 34, 56, 0.86), rgba(9, 16, 27, 0.92));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.download-head { display: flex; align-items: center; gap: 18px; }
.download-head img { border-radius: 16px; }
.download-head h2 { margin: 0; font-size: clamp(22px, 2.8vw, 30px); text-align: left; }
.download-head p { margin: 6px 0 0; color: var(--faint); font-size: 13.5px; letter-spacing: 0.04em; }

.download-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.download-points li {
  position: relative;
  padding-left: 20px;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.75;
}
.download-points li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

#btn-download { margin-top: 32px; width: 100%; }

.dl-progress {
  display: none;
  margin-top: 18px;
  align-items: center;
  gap: 14px;
}
.dl-progress.show { display: flex; }
.dl-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.dl-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #5ab0ff, #7fd6ff);
  transition: width 0.3s linear;
}
#dl-status { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }

.download-hint {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--faint);
}
.download-hint code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #a9d4ff;
  font-size: 12.5px;
}

/* ---------- 页脚 ---------- */
.foot {
  margin-top: 40px;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--faint);
  flex-wrap: wrap;
}
.foot b { color: var(--dim); font-weight: 600; }
.foot-right { display: flex; align-items: center; gap: 10px; }
.foot-right a { color: var(--dim); text-decoration: none; transition: color 0.22s var(--ease); }
.foot-right a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 30px;
    min-height: auto;
  }
  .hero-actions { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; min-height: 340px; }
  .orb { width: min(320px, 78%); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .shot-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .orb-tag { display: none; }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .card, .shot { opacity: 1; transform: none; }
}
