:root {
  --bg: #07111f;
  --bg-soft: #10253b;
  --surface: rgba(12, 29, 47, 0.68);
  --surface-strong: rgba(11, 24, 37, 0.9);
  --line: rgba(132, 209, 190, 0.18);
  --text: #edf7ef;
  --muted: #a3b8c8;
  --mint: #87f2ca;
  --aqua: #6fd8ff;
  --amber: #ffbb63;
  --rose: #ff8f7b;
  --shadow: 0 34px 110px rgba(1, 10, 20, 0.58);
  --video-brightness: 0.4;
  --overlay-soft: 0.46;
  --overlay-strong: 0.82;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
  --font-display: "Avenir Next", "Trebuchet MS", "Segoe UI Variable Display", "Microsoft YaHei UI", sans-serif;
  --font-body: "Avenir Next", "Segoe UI Variable Text", "PingFang SC", "Microsoft YaHei UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(26, 75, 92, 0.48), transparent 34%),
    radial-gradient(circle at 80% 14%, rgba(255, 128, 218, 0.2), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #081629 45%, #060d18 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  position: relative;
  isolation: isolate;
}

.video-backdrop,
#particle-canvas,
#trail-canvas,
.cursor-glow,
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.video-backdrop {
  z-index: -5;
  overflow: hidden;
}

.video-backdrop::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 18% 22%, rgba(122, 248, 223, 0.22), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(255, 170, 230, 0.22), transparent 22%),
    radial-gradient(circle at 48% 82%, rgba(111, 216, 255, 0.16), transparent 30%);
  mix-blend-mode: screen;
  opacity: 0.9;
  animation: backdropPulse 9s ease-in-out infinite alternate;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.22) contrast(1.06) hue-rotate(8deg) brightness(var(--video-brightness));
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 75% 18%, rgba(255, 175, 223, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(4, 10, 18, var(--overlay-soft)), rgba(5, 10, 18, 0.76) 28%, rgba(5, 9, 16, var(--overlay-strong)) 100%);
}

#particle-canvas {
  z-index: -3;
}

#trail-canvas {
  z-index: -2;
}

.cursor-glow {
  z-index: -1;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 192, 245, 0.34), rgba(111, 216, 255, 0.2) 34%, rgba(135, 242, 202, 0.08) 56%, transparent 74%);
  filter: blur(12px);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 15%;
  opacity: 1;
}

.ambient {
  z-index: -2;
  filter: blur(58px);
  opacity: 0.9;
}

.ambient-left {
  background: radial-gradient(circle, rgba(142, 214, 255, 0.3), rgba(122, 248, 223, 0.1) 36%, transparent 62%);
  left: -10%;
  top: 8%;
  width: 42rem;
  height: 42rem;
  animation: floatAmbientLeft 10s ease-in-out infinite alternate;
}

.ambient-right {
  background: radial-gradient(circle, rgba(255, 120, 196, 0.3), rgba(255, 196, 120, 0.08) 34%, transparent 64%);
  right: -12%;
  top: 24%;
  width: 44rem;
  height: 44rem;
  animation: floatAmbientRight 12s ease-in-out infinite alternate;
}

.site-header,
.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 10px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(5, 12, 21, 0.54);
  border-radius: 22px;
  margin-top: 14px;
  padding-left: 18px;
  padding-right: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(38, 14, 0, 0.32);
}

.brand-wordmark,
.hero-title,
.section-heading h2,
.showcase-card h3,
.feature-card h3,
.timeline-step h3,
.download-panel h2 {
  font-family: var(--font-display);
}

.brand-wordmark {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: inline-flex;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 15, 26, 0.36);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a.is-active {
  color: var(--text);
}

.ghost-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.ghost-button {
  padding: 12px 20px;
  border: 1px solid rgba(135, 242, 202, 0.28);
  background: rgba(9, 24, 36, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.primary-button {
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  color: #271105;
  box-shadow: 0 18px 34px rgba(255, 143, 123, 0.28);
}

.secondary-button {
  padding: 14px 22px;
  border: 1px solid rgba(111, 216, 255, 0.24);
  background: rgba(7, 18, 28, 0.56);
  color: var(--text);
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 64px 0 32px;
  align-items: center;
}

.sub-hero {
  padding: 44px 0 12px;
}

.subpage-title {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.eyebrow,
.section-kicker,
.chip,
.status-label,
.timeline-no,
.feature-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mint);
}

.eyebrow {
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--mint));
  box-shadow: 0 0 18px rgba(135, 242, 202, 0.65);
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero-title span {
  display: block;
  color: #c9fff0;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.58);
}

.hero-title .sweep-text {
  color: transparent;
  background-image: linear-gradient(90deg, #ffd3fb 0%, #89eeff 24%, #9fffd4 48%, #fff5ba 74%, #ff9fcc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
}

.hero-title .sweep-text::after {
  content: "";
  position: absolute;
  inset: -6% -2%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.24) 50%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.92;
  transform: translateX(-120%);
  animation: textSweep 4.4s ease-in-out infinite;
}

.hero-text,
.section-heading p,
.feature-card p,
.timeline-step p,
.showcase-card p,
.download-panel p {
  color: var(--muted);
  line-height: 1.8;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.hero-text {
  max-width: 640px;
  font-size: 1.05rem;
  margin: 24px 0 0;
}

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

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 36px 0 0;
}

.hero-metrics li,
.trust-band,
.feature-card,
.timeline-step,
.showcase-card,
.download-panel,
.hero-stage {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 23, 35, 0.88), rgba(5, 12, 21, 0.84));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  border-radius: var(--radius-md);
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-stage {
  position: relative;
  min-height: 640px;
  border-radius: 36px;
  overflow: hidden;
  padding: 28px;
}

.hero-stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(135, 242, 202, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 242, 202, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 90%);
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(111, 216, 255, 0.3);
}

.orbit-one {
  inset: 80px 88px 140px 88px;
  animation: spin 18s linear infinite;
}

.orbit-two {
  inset: 120px 128px 180px 128px;
  border-color: rgba(255, 187, 99, 0.28);
  animation: spin 14s linear infinite reverse;
}

.orbital-badge {
  position: absolute;
  top: 72px;
  right: 72px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 20, 31, 0.72);
  color: #dffef3;
  font-weight: 700;
}

.mascot-wrap {
  position: relative;
  z-index: 2;
  width: min(72%, 420px);
  margin: 110px auto 0;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.mascot-hero {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.status-card {
  position: absolute;
  z-index: 3;
  width: min(280px, calc(100% - 42px));
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 15, 25, 0.88);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.status-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.status-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.status-top {
  left: 24px;
  top: 28px;
}

.status-bottom {
  right: 24px;
  bottom: 28px;
}

.section {
  padding: 48px 0;
}

.trust-band {
  border-radius: 30px;
  padding: 18px 22px;
}

.trust-copy {
  margin: 0 0 18px;
  color: #d8fced;
  font-weight: 700;
}

.logo-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.logo-track img {
  height: 32px;
  width: auto;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.78;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.feature-grid,
.showcase-grid,
.doc-grid,
.release-list {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.showcase-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.doc-grid {
  grid-template-columns: repeat(3, 1fr);
}

.release-list {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.showcase-card,
.timeline-step,
.download-panel,
.doc-card,
.release-card {
  border-radius: 28px;
  padding: 24px;
}

.feature-card {
  min-height: 250px;
}

.feature-index {
  color: var(--amber);
}

.feature-card h3,
.showcase-card h3,
.timeline-step h3 {
  margin: 16px 0 10px;
  font-size: 1.4rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.showcase-card.large {
  grid-row: span 2;
  min-height: 380px;
}

.showcase-head {
  display: flex;
  gap: 10px;
}

.chip {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(135, 242, 202, 0.08);
  border: 1px solid rgba(135, 242, 202, 0.16);
}

.mini-panel {
  margin-top: 28px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-line {
  height: 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(111, 216, 255, 0.8), rgba(135, 242, 202, 0.4));
}

.mini-line.short {
  width: 62%;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.doc-card,
.release-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 33, 48, 0.76), rgba(7, 16, 28, 0.74));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.doc-card h3,
.release-card h3 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.doc-card p,
.release-card p {
  color: var(--muted);
  line-height: 1.8;
}

.meta-list {
  margin: 18px 0 22px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tilt-card:hover {
  border-color: rgba(135, 242, 202, 0.26);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes textSweep {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes backdropPulse {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.72;
  }
  100% {
    transform: scale(1.08) translate3d(1.5%, -1.5%, 0);
    opacity: 1;
  }
}

@keyframes floatAmbientLeft {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(5%, -4%, 0) scale(1.08);
  }
}

@keyframes floatAmbientRight {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-4%, 5%, 0) scale(1.1);
  }
}

@media (max-width: 1100px) {
  .hero,
  .feature-grid,
  .timeline,
  .showcase-grid,
  .doc-grid,
  .release-list,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
  }

  .showcase-grid {
    display: grid;
  }

  .showcase-card.large {
    grid-row: auto;
    min-height: auto;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .download-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-stage {
    min-height: 540px;
  }

  .mascot-wrap {
    width: min(82%, 360px);
    margin-top: 118px;
  }

  .status-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 16px;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .orbital-badge,
  .orbit {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header,
  .section {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .brand-wordmark {
    font-size: 1.1rem;
  }

  .feature-card,
  .showcase-card,
  .timeline-step,
  .download-panel,
  .trust-band {
    padding: 20px;
  }
}
