:root {
  --bg-deep: #03050c;
  --bg-elevated: rgba(12, 18, 36, 0.55);
  --text: #e8eefc;
  --text-muted: rgba(200, 214, 245, 0.72);
  --accent: #5ce1ff;
  --accent-2: #a855f7;
  --accent-3: #22d3ee;
  --border: rgba(120, 160, 255, 0.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-glow: 0 0 60px rgba(92, 225, 255, 0.22);
  --font-sans: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-display: "Orbitron", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}

.aurora__blob {
  position: absolute;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: blob-float 18s ease-in-out infinite;
}

.aurora__blob--a {
  top: 10%;
  left: 10%;
  background: radial-gradient(circle at 30% 30%, rgba(92, 225, 255, 0.55), transparent 60%);
}

.aurora__blob--b {
  top: 35%;
  right: 5%;
  background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.45), transparent 55%);
  animation-delay: -6s;
}

.aurora__blob--c {
  bottom: 0;
  left: 35%;
  background: radial-gradient(circle at 60% 40%, rgba(34, 211, 238, 0.4), transparent 55%);
  animation-delay: -12s;
}

@keyframes blob-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(6%, -4%) scale(1.05);
  }
  66% {
    transform: translate(-5%, 5%) scale(0.96);
  }
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 4vw, 28px) clamp(20px, 5vw, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: sheen 3.2s ease-in-out infinite;
}

@keyframes sheen {
  0% {
    transform: translateX(-60%) rotate(12deg);
  }
  100% {
    transform: translateX(120%) rotate(12deg);
  }
}

.brand__text {
  font-size: 1.05rem;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
}

.ghost-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ghost-btn:hover {
  border-color: rgba(92, 225, 255, 0.45);
  box-shadow: 0 0 24px rgba(92, 225, 255, 0.15);
  transform: translateY(-1px);
}

main {
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  padding: clamp(12px, 4vw, 32px) clamp(20px, 5vw, 48px) clamp(56px, 10vw, 120px);
  min-height: calc(100dvh - 88px);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(120, 160, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  animation: grid-drift 24s linear infinite;
  pointer-events: none;
}

@keyframes grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 0 48px, 48px 0;
  }
}

.hero__content {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.eyebrow__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

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

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: linear-gradient(110deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: text-shimmer 6s ease-in-out infinite;
}

@keyframes text-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero__leads {
  max-width: 40rem;
  margin: 0 0 28px;
}

.hero__lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.75;
}

.hero__lead:last-child {
  margin-bottom: 0;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  color: #041018;
  background: linear-gradient(120deg, var(--accent), #8be9ff);
  box-shadow: 0 12px 40px rgba(92, 225, 255, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 16px 48px rgba(92, 225, 255, 0.45);
  transform: translateY(-2px);
}

.btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-120%);
  animation: btn-sheen 2.8s ease-in-out infinite;
}

@keyframes btn-sheen {
  0% {
    transform: translateX(-120%);
  }
  45%,
  100% {
    transform: translateX(120%);
  }
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.18);
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.orbit {
  position: relative;
  width: min(92vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 160, 255, 0.22);
  animation: spin 22s linear infinite;
}

.orbit__ring--1 {
  width: 88%;
  height: 88%;
}

.orbit__ring--2 {
  width: 72%;
  height: 72%;
  border-style: dashed;
  animation-duration: 16s;
  animation-direction: reverse;
  border-color: rgba(168, 85, 247, 0.28);
}

.orbit__ring--3 {
  width: 58%;
  height: 58%;
  animation-duration: 11s;
  border-color: rgba(34, 211, 238, 0.25);
}

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

.device {
  width: 60%;
  max-width: 260px;
  aspect-ratio: 9 / 17;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  animation: float-y 7s ease-in-out infinite;
}

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

.device__glass {
  position: relative;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 15%, rgba(92, 225, 255, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(8, 12, 28, 0.9), rgba(4, 6, 14, 0.96));
}

.device__scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.35;
  animation: scan 6s linear infinite;
}

@keyframes scan {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}

.device__ui {
  display: flex;
  gap: 6px;
  padding: 14px 14px 0;
}

.device__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.device__dot:first-child {
  background: #ff5f57;
}
.device__dot:nth-child(2) {
  background: #febc2e;
}
.device__dot:nth-child(3) {
  background: #28c840;
}

.device__glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  width: 140%;
  height: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(92, 225, 255, 0.35), transparent 60%);
  filter: blur(18px);
  animation: glow-breathe 4s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
}

.device__screen {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-radius: 16px;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__img {
  width: 25%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel__dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel__dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transform: scale(1.2);
}

.features {
  padding: clamp(48px, 10vw, 100px) clamp(20px, 5vw, 48px);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 1100px;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(92, 225, 255, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(92, 225, 255, 0.12);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(92, 225, 255, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(120, 160, 255, 0.25);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.download {
  padding: 0 clamp(20px, 5vw, 48px) clamp(64px, 12vw, 120px);
}

.download__panel {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px);
  border-radius: calc(var(--radius-lg) + 6px);
  background: linear-gradient(145deg, rgba(20, 28, 52, 0.75), rgba(8, 10, 22, 0.85));
  border: 1px solid rgba(120, 160, 255, 0.22);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.download__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(92, 225, 255, 0.25), transparent 40%, rgba(168, 85, 247, 0.25));
  opacity: 0.35;
  animation: border-flow 8s linear infinite;
  z-index: 0;
}

@keyframes border-flow {
  0% {
    transform: rotate(0deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1.2);
  }
}

.download__copy,
.store-row,
.download__note {
  position: relative;
  z-index: 1;
}

.download__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
}

.download__copy p {
  margin: 0 0 28px;
  color: var(--text-muted);
  line-height: 1.7;
}

.store-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .store-row {
    grid-template-columns: 1fr 1fr;
  }
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

button.store-card {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.store-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 225, 255, 0.45);
}

.store-card--android:hover {
  border-color: rgba(168, 85, 247, 0.5);
}

.store-card__glow {
  position: absolute;
  inset: -40%;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(circle at 30% 30%, rgba(92, 225, 255, 0.35), transparent 55%);
}

.store-card--android .store-card__glow {
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.4), transparent 55%);
}

.store-card:hover .store-card__glow {
  opacity: 1;
}

.store-card__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.store-card strong {
  font-size: 1.2rem;
}

.store-card__hint {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.download__note {
  margin: 22px 0 0;
  font-size: 0.82rem;
  color: rgba(200, 214, 245, 0.55);
}

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 28px clamp(20px, 5vw, 48px) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(120, 160, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer__main {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}

.footer__mono {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  opacity: 0.65;
}

.footer__brands {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(200, 214, 245, 0.5);
}

.footer__beian {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
}

.footer__beian a {
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__beian a:hover {
  color: var(--accent);
  opacity: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 50;
  max-width: min(90vw, 320px);
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  color: var(--text);
  background: rgba(12, 18, 36, 0.92);
  border: 1px solid rgba(92, 225, 255, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 32px rgba(92, 225, 255, 0.12);
  backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  #fx-canvas {
    display: none;
  }
}
