/* 星云弥散 · 全域数字化生态 */
:root {
  --bg: #070b16;
  --panel: #0e1424;
  --lift: #151d32;
  --ink: #e8eefc;
  --mute: #8f9db8;
  --line: rgba(94, 196, 220, 0.18);
  --cyan: #5ec4dc;
  --cyan-deep: #2a9bb5;
  --mist: #7a8cff;
  --rose: #e089a8;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  --radius: 18px;
  --font-display: "Trebuchet MS", "Segoe UI Variable Display", "Microsoft YaHei UI", sans-serif;
  --font-body: "Segoe UI", "Microsoft YaHei UI", sans-serif;
  --font-meta: "Cascadia Mono", "Consolas", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 520px at 85% -5%, rgba(94, 196, 220, 0.18), transparent 55%),
    radial-gradient(700px 480px at 5% 15%, rgba(122, 140, 255, 0.14), transparent 50%),
    radial-gradient(600px 420px at 55% 90%, rgba(224, 137, 168, 0.1), transparent 50%),
    linear-gradient(180deg, #050812 0%, var(--bg) 40%, #0a1020 100%);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 0.55rem; letter-spacing: -0.01em; }
p { margin: 0 0 0.85rem; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.cosmos { position: relative; overflow: clip; }
.cosmos::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 38% 48%, rgba(94,196,220,0.7), transparent),
    radial-gradient(1.2px 1.2px at 72% 18%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 88% 62%, rgba(224,137,168,0.55), transparent),
    radial-gradient(1.4px 1.4px at 55% 78%, rgba(122,140,255,0.5), transparent);
  animation: twinkle 6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.cosmos > * { position: relative; z-index: 1; }

/* constellation nav */
.constel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand .star {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff, var(--cyan) 40%, transparent 70%),
    radial-gradient(circle at 70% 70%, rgba(224,137,168,0.7), transparent 55%);
  box-shadow: 0 0 22px rgba(94, 196, 220, 0.45);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(94, 196, 220, 0.35); }
  50% { box-shadow: 0 0 28px rgba(94, 196, 220, 0.6); }
}
.brand b { display: block; font-size: 1.12rem; }
.brand small {
  display: block;
  font-family: var(--font-meta);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--mute);
  text-transform: uppercase;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  font-size: 0.9rem;
  color: var(--mute);
}
.nav a:hover, .nav a.on { color: var(--cyan); }
.enter {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-deep), var(--mist));
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(42, 155, 181, 0.3);
  transition: transform 0.18s ease;
}
.enter:hover { transform: translateY(-1px); }

/* nebula hero */
.nebula {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0 2.2rem;
}
.glass {
  background:
    linear-gradient(160deg, rgba(21, 29, 50, 0.88), rgba(14, 20, 36, 0.78));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.55rem 1.45rem 1.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,196,220,0.25), transparent 70%);
  pointer-events: none;
}
.signal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-meta);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.signal i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--rose);
  display: inline-block;
  box-shadow: 0 0 10px rgba(224, 137, 168, 0.8);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.glass h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin-bottom: 0.7rem;
}
.lead { color: var(--mute); font-size: 1.02rem; max-width: 36rem; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.15rem 0 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: #04141a;
  box-shadow: 0 12px 26px rgba(94, 196, 220, 0.28);
}
.btn-void {
  background: transparent;
  color: var(--ink);
  border-color: rgba(94, 196, 220, 0.35);
}
.reqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.reqs p {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(7, 11, 22, 0.55);
  border: 1px dashed rgba(94, 196, 220, 0.28);
  font-size: 0.82rem;
  color: var(--mute);
}
.reqs b {
  display: block;
  font-family: var(--font-meta);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.12rem;
}
.portal {
  align-self: center;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow), 0 0 40px rgba(94, 196, 220, 0.12);
}
.portal img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.sec { padding: 2.35rem 0; }
.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.head p { margin: 0; color: var(--mute); max-width: 34rem; font-size: 0.95rem; }
.tag {
  font-family: var(--font-meta);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* pods — download */
.pods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.pod {
  background: linear-gradient(180deg, rgba(21,29,50,0.95), rgba(14,20,36,0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pod:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 196, 220, 0.45);
  box-shadow: 0 16px 36px rgba(94, 196, 220, 0.12);
}
.pod .orbit {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(94, 196, 220, 0.12);
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
}
.pod .os {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0.25rem 0 0.1rem;
}
.pod .meta { margin: 0; font-size: 0.86rem; color: var(--mute); }
.pod .meta b { color: var(--ink); }
.pod .btn { margin-top: 0.75rem; width: 100%; }

/* ecosphere features */
.eco {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.node {
  background: rgba(21, 29, 50, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 0.9rem;
}
.node .ico {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), rgba(94,196,220,0.2) 45%, transparent 70%);
  border: 1px solid rgba(94, 196, 220, 0.3);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.65rem;
}
.node h3 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.node p { margin: 0; font-size: 0.86rem; color: var(--mute); }

/* galaxy solution */
.galaxy {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.3rem;
  align-items: center;
}
.lore {
  background: linear-gradient(165deg, rgba(21,29,50,0.95), rgba(14,20,36,0.9));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
}
.lore h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.lore .bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.lore .bullets li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--mute);
  font-size: 0.93rem;
}
.lore .bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(94, 196, 220, 0.7);
}
.cluster { display: grid; gap: 0.75rem; }
.cluster .shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}
.cluster .duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* trust */
.trust {
  text-align: center;
  background: linear-gradient(180deg, rgba(21,29,50,0.9), rgba(14,20,36,0.95));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.15rem 1.35rem;
}
.trust .big {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  margin-bottom: 0.35rem;
}
.trust .big em {
  font-style: normal;
  color: var(--cyan);
  font-size: 1.22em;
}
.trust .sub { color: var(--mute); margin-bottom: 1rem; }
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.05rem;
}
.brands span {
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(7, 11, 22, 0.55);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mute);
}
.trust .shot {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* news + help */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}
.panel {
  background: rgba(21, 29, 50, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 0.9rem;
}
.panel-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.panel-h a { color: var(--cyan); font-size: 0.86rem; font-weight: 700; }
.pulse {
  display: grid;
  grid-template-columns: 3.3rem 1fr;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.pulse:last-child { border-bottom: 0; }
.pulse time {
  font-family: var(--font-meta);
  font-size: 0.72rem;
  color: var(--rose);
  padding-top: 0.15rem;
}
.pulse h3 { font-size: 0.96rem; margin-bottom: 0.2rem; }
.pulse p { margin: 0; font-size: 0.85rem; color: var(--mute); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
}
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--mute); font-size: 0.9rem; margin: 0.4rem 0 0.5rem; }
.faq a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }

/* CTA */
.warp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
  background: linear-gradient(135deg, #0a2a3a, #1a3a5c 40%, #3a2a55 80%, #5ec4dc);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 1.5rem 1.4rem;
  margin: 0.4rem 0 2rem;
  box-shadow: 0 20px 48px rgba(42, 155, 181, 0.25);
  position: relative;
  overflow: hidden;
}
.warp::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,137,168,0.25), transparent 70%);
  pointer-events: none;
}
.warp > * { position: relative; z-index: 1; }
.warp h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.warp .lead { color: rgba(255,255,255,0.88); }
.gains {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.35rem;
}
.gains li {
  padding-left: 1rem;
  position: relative;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.92);
}
.gains li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(94, 196, 220, 0.8);
}
.warp .btn-cyan {
  background: #fff;
  color: #0a2a3a;
  box-shadow: none;
}
.warp .btn-void {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.warp .shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.18);
}

.page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.3rem;
  align-items: center;
  padding: 1.3rem 0 1.8rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.15rem 0 2rem;
  color: var(--mute);
  font-size: 0.86rem;
  border-top: 1px solid var(--line);
}
.foot nav { display: flex; gap: 1rem; }
.foot a:hover { color: var(--cyan); }

@media (max-width: 960px) {
  .nebula, .galaxy, .split, .warp, .page-hero { grid-template-columns: 1fr; }
  .pods { grid-template-columns: 1fr 1fr; }
  .eco { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .pods, .eco, .reqs, .cluster .duo { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hero image hard rules — end of file */
.nebula,
.page-hero {
  align-items: center;
}
.nebula .portal,
.page-hero .portal,
.warp .shot,
.cluster .shot,
.trust .shot {
  align-self: center;
  height: auto;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  transform: none;
}
.nebula .portal img,
.page-hero .portal img,
.warp .shot img,
.cluster .shot img,
.trust .shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  clip-path: none;
  transform: none;
}
