:root {
  --bg-deep: #0a0a0a;
  --bg-mid: #121212;
  --ink: #e8efe9;
  --muted: #9ca3af;
  --line: rgba(232, 239, 233, 0.12);
  --accent: #39d353;
  --accent-2: #6ee07a;
  --accent-soft: rgba(57, 211, 83, 0.15);
  --android: #39d353;
  --car: #6ee07a;
  --ios: #e8efe9;
  --surface: rgba(26, 26, 26, 0.78);
  --radius: 14px;
  --font-display: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  background: var(--bg-deep);
  overflow-x: hidden;
}

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

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  color: var(--accent-2);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 560px at 14% -8%, rgba(57, 211, 83, 0.18), transparent 58%),
    radial-gradient(720px 480px at 88% 12%, rgba(110, 224, 122, 0.1), transparent 52%),
    linear-gradient(165deg, #0a0a0a 0%, #121212 48%, #0a0a0a 100%);
  contain: strict;
}

/* 静态光晕，避免 blur + 无限动画抢 GPU */
.page-bg__aurora {
  display: none;
}

.page-bg__grain {
  display: none;
}

.topbar {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 5;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

.brand-mark--img {
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.topbar__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.topbar__nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.topbar__nav a {
  transition: color 0.25s var(--ease);
}

.topbar__nav a:hover {
  color: var(--ink);
}

.hero {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: calc(100svh - 5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1rem 0 3rem;
}

.hero__copy {
  animation: rise 0.9s var(--ease) both;
}

.hero__brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.08em;
  color: #fff;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero__brand::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-top: 0.85rem;
  border-radius: 2px;
  background: var(--accent);
}

.hero__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hero__lead {
  margin: 0 0 1.8rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 10.5rem;
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.cta:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 211, 83, 0.45);
  background: var(--accent-soft);
}

.cta__icon {
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
}

.cta__icon svg {
  width: 100%;
  height: 100%;
}

.cta--android .cta__icon { color: var(--android); }
.cta--car .cta__icon { color: var(--car); }
.cta--ios .cta__icon { color: var(--ios); }

.cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.cta__text small {
  color: var(--muted);
  font-size: 0.72rem;
}

.cta__text strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.hero__stage {
  position: relative;
  min-height: 28rem;
  display: grid;
  place-items: center;
  animation: rise 1.05s var(--ease) 0.12s both;
}

.stage-glow {
  position: absolute;
  width: min(90%, 26rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 211, 83, 0.22) 0%, rgba(110, 224, 122, 0.06) 45%, transparent 70%);
  animation: pulse-glow 6s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(0.96); opacity: 0.7; }
  50% { transform: scale(1.04); opacity: 1; }
}

.device {
  position: relative;
  z-index: 2;
  width: min(100%, 17.5rem);
  transform: perspective(900px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.hero__stage:hover .device {
  transform: perspective(900px) rotateY(-3deg) rotateX(2deg);
}

.device__bezel {
  border-radius: 2rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #2a2a2a, #121212 55%, #1a1a1a);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.device__notch {
  width: 38%;
  height: 0.55rem;
  margin: 0.15rem auto 0.45rem;
  border-radius: 999px;
  background: #050505;
}

.device__screen {
  border-radius: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(39, 39, 39, 0.95), rgba(18, 18, 18, 0.98)),
    #121212;
  padding: 1rem 1rem 1.2rem;
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ui-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ui-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.ui-live {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid rgba(57, 211, 83, 0.45);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.ui-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.ui-art__ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(110, 224, 122, 0.28);
}

.ui-art__ring::before,
.ui-art__ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(57, 211, 83, 0.28);
}

.ui-art__ring::before {
  inset: 10%;
}

.ui-art__ring::after {
  inset: 22%;
}

.ui-art__disc {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #9ef0a8, transparent 35%),
    radial-gradient(circle at 70% 70%, #2eb347, #1a2a1c 70%);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation: spin 16s linear infinite;
  will-change: transform;
}

.ui-art__disc span {
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0a0a0a;
}

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

.ui-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ui-meta strong {
  font-size: 1rem;
}

.ui-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 2rem;
}

.ui-bars i {
  flex: 1;
  display: block;
  border-radius: 999px 999px 2px 2px;
  background: var(--accent);
  transform-origin: bottom;
  animation: eq 1.4s ease-in-out infinite alternate;
  will-change: transform;
}

.ui-bars i:nth-child(n + 7) {
  display: none;
}

.ui-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.ui-bars i:nth-child(2) { height: 65%; animation-delay: 0.12s; }
.ui-bars i:nth-child(3) { height: 90%; animation-delay: 0.24s; }
.ui-bars i:nth-child(4) { height: 50%; animation-delay: 0.08s; }
.ui-bars i:nth-child(5) { height: 78%; animation-delay: 0.2s; }
.ui-bars i:nth-child(6) { height: 55%; animation-delay: 0.16s; }

@keyframes eq {
  from { transform: scaleY(0.5); }
  to { transform: scaleY(1); }
}

.ui-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  margin-top: auto;
}

.ui-controls span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(232, 241, 248, 0.35);
}

.ui-controls .is-play {
  width: 2.4rem;
  height: 2.4rem;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(57, 211, 83, 0.15);
}

.wave {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 110%;
  height: 7rem;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(57, 211, 83, 0.2);
  opacity: 0.45;
  pointer-events: none;
  animation: wave-expand 5s var(--ease) infinite;
  will-change: transform, opacity;
}

.wave--b {
  animation-delay: 2.4s;
}

@keyframes wave-expand {
  0% { transform: translateX(-50%) scale(0.75); opacity: 0.45; }
  100% { transform: translateX(-50%) scale(1.25); opacity: 0; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.platforms,
.features {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 1rem;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

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

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.platform {
  padding: 1.4rem 1.3rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 26, 26, 0.92);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  content-visibility: auto;
  contain-intrinsic-size: 260px;
}

.platform:hover,
.platform.is-focus {
  border-color: rgba(57, 211, 83, 0.4);
  transform: translateY(-4px);
}

.platform.is-focus {
  box-shadow: 0 0 0 1px rgba(57, 211, 83, 0.4);
}

.platform__icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
}

.platform__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.platform__icon--android { color: var(--android); }
.platform__icon--car { color: var(--car); }
.platform__icon--ios { color: var(--ios); }

.platform h3 {
  margin: 0;
  font-size: 1.2rem;
}

.platform p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.platform__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.4rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
}

.platform__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.platform__btn--soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: default;
  font-weight: 600;
}

.platform__btn--soon:hover {
  filter: none;
  transform: none;
}

.platform__meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-list li {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  width: min(100% - 2rem, var(--max));
  margin: 3rem auto 0;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.footer p {
  margin: 0.2rem 0;
}

.footer__note {
  opacity: 0.75;
  font-size: 0.8rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 50;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(57, 211, 83, 0.28);
  background: rgba(18, 18, 18, 0.96);
  color: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.5rem;
    padding-top: 0.5rem;
  }

  .hero__stage {
    order: -1;
    min-height: 22rem;
  }

  .device {
    width: min(100%, 14.5rem);
    transform: none;
    will-change: auto;
  }

  .ui-art__disc,
  .stage-glow,
  .wave,
  .ui-bars i {
    animation: none;
    will-change: auto;
  }

  .platform-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar__nav {
    gap: 0.85rem;
    font-size: 0.85rem;
  }

  .hero__brand {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .hero__cta {
    flex-direction: column;
  }

  .cta {
    width: 100%;
  }

  .device__screen {
    min-height: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
