:root {
  --page: #050708;
  --page-soft: #0a1012;
  --panel: #10191c;
  --ink: #f3fbfc;
  --ink-muted: #a8bec2;
  --neon: #00f4fe;
  --violet: #716cff;
  --line: rgba(180, 232, 237, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: var(--neon);
  color: #001416;
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
}
.site-header__actions, .site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-nav a {
  color: var(--ink-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.brand__mark {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50% 50% 50% 15%;
  background: var(--neon);
  box-shadow: 0 0 22px rgba(0, 244, 254, 0.7);
  transform: rotate(-40deg);
}
.language-switcher {
  max-width: 10rem;
  padding: 0.55rem 2rem 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 16, 18, 0.74);
  color: var(--ink);
}

.hero-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(0, 244, 254, 0.15), transparent 26rem),
    radial-gradient(circle at 42% 95%, rgba(113, 108, 255, 0.11), transparent 30rem),
    var(--page);
}
.hero-route {
  position: absolute;
  top: 17%;
  right: -8%;
  width: 58%;
  height: 48%;
  border: 1px solid rgba(0, 244, 254, 0.16);
  border-radius: 48% 52% 38% 62%;
  filter: drop-shadow(0 0 16px rgba(0, 244, 254, 0.15));
  transform: rotate(-9deg);
}
.hero-route::before, .hero-route::after {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--neon);
  border-radius: 50%;
  background: var(--page);
  box-shadow: 0 0 20px rgba(0, 244, 254, 0.9);
}
.hero-route::before { top: 12%; left: 15%; }
.hero-route::after { right: 18%; bottom: 8%; }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  min-height: 760px;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--neon);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-copy h1, .section-heading h2, .download-panel h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6.3vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

html:lang(zh-CN) .hero-copy h1,
html:lang(zh-TW) .hero-copy h1,
html:lang(ja) .hero-copy h1,
html:lang(ko) .hero-copy h1 {
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.hero-subheadline {
  max-width: 37rem;
  margin: 1.6rem 0 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
}
.hero-about {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--ink-muted);
}

.store-buttons, .cn-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
  margin-top: 2rem;
}
.store-button {
  display: inline-flex;
  flex: 0 1 15.5rem;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(0, 244, 254, 0.55);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(20, 33, 38, 0.88), rgba(4, 8, 10, 0.96));
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.store-button:hover {
  border-color: var(--neon);
  box-shadow: 0 14px 44px rgba(0, 244, 254, 0.16);
  transform: translateY(-2px);
}
.store-button__icon {
  width: 2rem;
  margin-right: 0.65rem;
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
}
.store-button__copy, .store-button__eyebrow, .store-button__name { display: block; }
.store-button__copy { line-height: 1.15; }
.store-button__eyebrow {
  color: var(--ink-muted);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.store-button__name { margin-top: 0.16rem; font-size: 1.05rem; font-weight: 800; }
.store-button-soon { cursor: default; opacity: 0.55; }

.hero-visual { position: relative; display: grid; min-height: 610px; place-items: center; }
.hero-orbit {
  position: absolute;
  width: min(33rem, 90%);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 244, 254, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(0, 244, 254, 0.035);
}
.phone-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(222, 253, 255, 0.24);
  border-radius: 2.35rem;
  background: #020404;
  box-shadow: var(--shadow), 0 0 70px rgba(0, 244, 254, 0.11);
}
.phone-frame--hero { width: min(21rem, 72vw); padding: 0.42rem; transform: rotate(2.5deg); }
.hero-image, .journey-card__image, .gallery-card__image {
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.journey-section, .gallery-section, .trust-section, .download-section { padding: clamp(5rem, 10vw, 9rem) 0; }
.journey-section {
  background: linear-gradient(180deg, rgba(0, 244, 254, 0.025), transparent 18rem), var(--page-soft);
}
.section-heading { max-width: 52rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-heading h2, .download-panel h2 { font-size: clamp(2.35rem, 5vw, 4.5rem); }
.section-heading--compact { margin-bottom: 2.5rem; }
.journey-grid { display: grid; gap: 1.25rem; }
.journey-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.74fr);
  align-items: center;
  min-height: 36rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: radial-gradient(circle at 82% 20%, rgba(0, 244, 254, 0.09), transparent 20rem), var(--panel);
}
.journey-card:nth-child(even) { grid-template-columns: minmax(270px, 0.74fr) minmax(0, 1fr); }
.journey-card:nth-child(even) .journey-card__copy { order: 2; }
.journey-card__copy { padding: clamp(2rem, 6vw, 5rem); }
.journey-card__step { color: var(--neon); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.2em; }
.journey-card h3 {
  max-width: 35rem;
  margin: 1rem 0 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.journey-card p { max-width: 35rem; margin: 1.25rem 0 0; color: var(--ink-muted); font-size: 1.08rem; }
.journey-card__visual {
  align-self: end;
  justify-self: center;
  width: min(18rem, 80%);
  max-height: 32rem;
  overflow: hidden;
  border: 1px solid rgba(222, 253, 255, 0.2);
  border-bottom: 0;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.35);
}

.gallery-section { background: var(--page); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-card {
  overflow: hidden;
  aspect-ratio: 0.58;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--panel);
}
.gallery-card:nth-child(2) { transform: translateY(2.5rem); }

.trust-section { background: var(--page-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.trust-card {
  min-height: 15rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--panel);
}
.trust-card__dot {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(0, 244, 254, 0.65);
}
.trust-card h3 { margin: 2.5rem 0 0; font-size: 1.35rem; line-height: 1.2; }
.trust-card p { margin: 0.8rem 0 0; color: var(--ink-muted); }

.download-section { padding-top: 2rem; background: var(--page); }
.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 3rem;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  border: 1px solid rgba(0, 244, 254, 0.22);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 92% 10%, rgba(113, 108, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 5% 105%, rgba(0, 244, 254, 0.15), transparent 25rem),
    var(--panel);
}
.download-panel__copy > p:last-child { max-width: 38rem; margin: 1.25rem 0 0; color: var(--ink-muted); }
.store-buttons--footer { justify-content: flex-end; margin-top: 0; }
.store-buttons--footer .store-button { flex-basis: 100%; max-width: 18rem; }

.cn-downloads { align-items: center; }
.download-option[data-recommended="true"] {
  order: -1;
  border-color: var(--neon);
  box-shadow: 0 0 32px rgba(0, 244, 254, 0.22);
}
.download-recommendation {
  display: none;
  margin-right: 0.55rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: var(--neon);
  color: #001416;
  font-size: 0.66rem;
  font-weight: 850;
}
.download-option[data-recommended="true"] .download-recommendation { display: inline-flex; }
.download-option[hidden], .download-more[hidden] { display: none; }
.download-more, .alternate-download a {
  color: var(--neon);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.download-more {
  order: 90;
  width: 100%;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.download-hint, .alternate-download {
  order: 100;
  width: 100%;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.site-footer { padding: 4rem 0; background: var(--page); }
.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.88rem;
}
.site-footer p { margin: 0.4rem 0; }
.site-footer__links { text-align: right; }
.site-footer__links a { text-underline-offset: 0.2em; }

a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .hero-grid, .journey-card, .journey-card:nth-child(even), .download-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 1rem; padding-top: 8rem; }
  .hero-copy, .download-panel, .download-panel__copy { text-align: center; }
  .hero-subheadline, .hero-about { margin-right: auto; margin-left: auto; }
  .store-buttons, .cn-downloads, .store-buttons--footer { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .journey-card:nth-child(even) .journey-card__copy { order: initial; }
  .journey-card__copy { padding-bottom: 1rem; }
  .journey-card__visual { width: min(19rem, 78%); }
  .site-nav { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 0; }
}

@media (max-width: 600px) {
  .site-shell { width: min(100% - 1.25rem, 1180px); }
  .site-header__inner { min-height: 4.5rem; }
  .hero-section, .hero-grid { min-height: 0; }
  .hero-grid { padding-top: 7rem; padding-bottom: 3rem; }
  .hero-copy h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  .store-button { flex-basis: 100%; max-width: 20rem; }
  .hero-visual { min-height: 470px; }
  .journey-section, .gallery-section, .trust-section, .download-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .journey-card { min-height: 0; border-radius: 1.4rem; }
  .journey-card__copy { padding: 2rem 1.5rem 1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { width: min(22rem, 92%); margin: 0 auto; }
  .gallery-card:nth-child(2) { transform: none; }
  .download-panel { gap: 2rem; padding: 2rem 1rem; border-radius: 1.4rem; }
  .site-footer__inner { flex-direction: column; }
  .site-footer__links { text-align: left; }
}

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