:root {
  color-scheme: dark;
  --bg: #090021;
  --bg-deep: #050015;
  --surface: #20144b;
  --surface-soft: #2a1859;
  --line: rgba(179, 132, 255, 0.38);
  --line-strong: rgba(206, 112, 255, 0.78);
  --text: #ffffff;
  --muted: #c5b9e8;
  --soft: #8f82bf;
  --cyan: #26dcff;
  --pink: #ff5ad8;
  --violet: #8656ff;
  --blue: #2f78ff;
  --radius: 28px;
  --page-pad: 28px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 38, 148, 0.66), transparent 34rem),
    radial-gradient(circle at 12% 28%, rgba(38, 220, 255, 0.18), transparent 26rem),
    linear-gradient(180deg, #0c0228 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 70%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  height: 64px;
  margin: 16px auto 0;
  padding: 0 10px 0 16px;
  border: 1px solid rgba(176, 126, 255, 0.25);
  border-radius: 999px;
  background: rgba(10, 2, 34, 0.72);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(80, 108, 255, 0.58);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 10px;
}

.language-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-select-wrap::after {
  position: absolute;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid rgba(255, 255, 255, 0.82);
  content: "";
  pointer-events: none;
  transform: translateY(-3px) rotate(45deg);
}

.language-select {
  width: 132px;
  height: 44px;
  padding: 0 34px 0 14px;
  border: 1px solid rgba(176, 126, 255, 0.32);
  border-radius: 999px;
  color: #f3edff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  background: rgba(32, 20, 75, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  appearance: none;
}

.language-select:focus {
  outline: 2px solid rgba(38, 220, 255, 0.42);
  outline-offset: 2px;
}

.header-cta,
.primary-action,
.secondary-action,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.header-cta {
  min-width: 112px;
  padding: 0 20px;
  background: linear-gradient(135deg, #6a42ff, #cf58ff);
  box-shadow: 0 0 22px rgba(194, 86, 255, 0.38);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 84svh;
  padding: 96px var(--page-pad) 48px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
  isolation: isolate;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(38, 220, 255, 0.3);
  border-radius: 999px;
  color: #99f1ff;
  font-size: 14px;
  font-weight: 800;
  background: rgba(38, 220, 255, 0.08);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 22px;
  font-size: 72px;
  line-height: 0.98;
  text-shadow:
    0 0 18px rgba(72, 190, 255, 0.45),
    0 0 38px rgba(207, 88, 255, 0.25);
}

.hero-copy p {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
  margin: 24px auto 0;
  color: #e6e0ff;
  font-size: 20px;
  line-height: 1.75;
  text-shadow:
    0 2px 18px rgba(5, 0, 22, 0.94),
    0 0 34px rgba(5, 0, 22, 0.86);
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  min-width: 166px;
  padding: 0 28px;
  font-size: 16px;
}

.primary-action {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, #6742ff, #ce58ff);
  box-shadow: 0 0 26px rgba(195, 86, 255, 0.42);
}

.secondary-action {
  border: 1px solid var(--line);
  color: #eee9ff;
  background: rgba(42, 24, 89, 0.72);
}

.phone-stage {
  position: relative;
  z-index: 1;
  width: min(850px, 100%);
  height: 450px;
  margin-top: 34px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 12%,
    rgba(0, 0, 0, 0.82) 32%,
    #000 58%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.18) 12%,
    rgba(0, 0, 0, 0.82) 32%,
    #000 58%
  );
}

.phone-stage::before {
  position: absolute;
  right: 10%;
  bottom: 0;
  left: 10%;
  height: 90px;
  border-radius: 999px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(54, 154, 255, 0.44), transparent 70%);
  filter: blur(8px);
}

.phone {
  position: absolute;
  bottom: 0;
  width: 232px;
  max-width: 32vw;
  border: 1px solid rgba(197, 163, 255, 0.28);
  border-radius: 28px;
  object-fit: cover;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(107, 82, 255, 0.32);
}

.phone-main {
  left: 50%;
  z-index: 3;
  width: 272px;
  max-width: 36vw;
  transform: translateX(-50%) translateY(26px);
}

.phone-left {
  left: 15%;
  z-index: 2;
  opacity: 0.78;
  transform: rotate(-9deg) translateY(54px);
}

.phone-right {
  right: 15%;
  z-index: 2;
  opacity: 0.8;
  transform: rotate(9deg) translateY(52px);
}

.hero-glow {
  position: absolute;
  z-index: 0;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-glow-one {
  top: 140px;
  left: 5%;
  background: radial-gradient(circle, var(--cyan), transparent 68%);
}

.hero-glow-two {
  right: 4%;
  bottom: 120px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  border: 1px solid rgba(176, 126, 255, 0.22);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(20, 9, 54, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.signal-strip div {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid rgba(176, 126, 255, 0.16);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
}

.signal-strip span {
  color: var(--muted);
  font-size: 15px;
}

.section {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  padding: 104px 0 0;
}

.section-heading {
  width: min(720px, 100%);
}

.section-heading h2,
.gallery-copy h2,
.download-copy h2,
.support-copy h2 {
  margin-top: 18px;
  font-size: 44px;
  line-height: 1.12;
}

.section-heading p,
.gallery-copy p,
.download-copy p,
.support-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.feature-card,
.journey-list article,
.download-panel,
.support-links a {
  border: 1px solid rgba(176, 126, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01)),
    rgba(32, 20, 75, 0.88);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  top: -60px;
  right: -58px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  content: "";
  opacity: 0.38;
  filter: blur(2px);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
}

.feature-card h3 {
  margin-top: 28px;
  font-size: 24px;
}

.feature-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.accent-cyan::after {
  background: var(--cyan);
}

.accent-pink::after {
  background: var(--pink);
}

.accent-violet::after {
  background: var(--violet);
}

.accent-blue::after {
  background: var(--blue);
}

.app-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: 56px;
  align-items: center;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tab-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(176, 126, 255, 0.28);
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  background: rgba(32, 20, 75, 0.64);
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.tab-button:hover,
.tab-button.active {
  border-color: rgba(38, 220, 255, 0.54);
  color: #ffffff;
  background: rgba(80, 60, 180, 0.62);
}

.gallery-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.gallery-visual::before {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(206, 88, 255, 0.3), transparent 72%);
  filter: blur(14px);
}

.gallery-visual img {
  position: relative;
  width: min(330px, 86vw);
  border: 1px solid rgba(197, 163, 255, 0.28);
  border-radius: 32px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(116, 81, 255, 0.34);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.gallery-visual img.is-changing {
  opacity: 0.2;
  transform: translateY(8px) scale(0.98);
}

.journey-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.journey-list article {
  min-height: 224px;
  padding: 28px;
  border-radius: 24px;
}

.journey-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(38, 220, 255, 0.3);
  border-radius: 18px;
  color: #99f1ff;
  font-weight: 900;
  background: rgba(38, 220, 255, 0.08);
}

.journey-list h3 {
  margin-top: 24px;
  font-size: 23px;
}

.journey-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.download-section,
.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: stretch;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-button {
  flex-direction: column;
  align-items: flex-start;
  min-width: 172px;
  min-height: 74px;
  padding: 12px 22px;
  border: 1px solid rgba(176, 126, 255, 0.3);
  background: rgba(32, 20, 75, 0.78);
}

.store-button span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.store-button strong {
  margin-top: 4px;
  font-size: 19px;
  line-height: 1.1;
}

.store-button.highlighted {
  border-color: rgba(38, 220, 255, 0.5);
  background: linear-gradient(135deg, rgba(45, 196, 255, 0.2), rgba(205, 88, 255, 0.3));
}

.download-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 30px;
  border-radius: 28px;
  text-align: center;
}

.qr-mark {
  width: 152px;
  height: 152px;
  border: 12px solid #ffffff;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #fff 12px, transparent 12px 24px, #fff 24px 36px, transparent 36px 48px, #fff 48px 60px, transparent 60px 72px),
    linear-gradient(#fff 12px, transparent 12px 24px, #fff 24px 36px, transparent 36px 48px, #fff 48px 60px, transparent 60px 72px),
    #0b0226;
  background-size: 72px 72px;
  box-shadow: 0 0 30px rgba(38, 220, 255, 0.28);
}

.download-panel h3 {
  margin-top: 24px;
  font-size: 24px;
}

.download-panel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.support-section {
  padding-bottom: 92px;
}

.support-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-links a {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 22px;
  border-radius: 22px;
  color: #f1ecff;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid rgba(176, 126, 255, 0.2);
  color: var(--soft);
}

.footer-brand span {
  color: #ffffff;
}

.site-footer p {
  font-size: 14px;
}

@media (max-width: 980px) {
  :root {
    --page-pad: 20px;
  }

  .site-header {
    width: calc(100% - 24px);
  }

  .brand span {
    max-width: 132px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .phone-stage {
    height: 390px;
    margin-top: 24px;
  }

  .phone {
    width: 190px;
    max-width: 42vw;
  }

  .phone-main {
    width: 232px;
    max-width: 48vw;
  }

  .phone-left {
    left: 7%;
  }

  .phone-right {
    right: 7%;
  }

  .signal-strip,
  .feature-grid,
  .journey-list,
  .download-section,
  .support-section,
  .app-gallery {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    width: min(calc(100% - 32px), var(--max));
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(176, 126, 255, 0.16);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .section,
  .site-footer {
    width: min(calc(100% - 32px), var(--max));
  }

  .section {
    padding-top: 76px;
  }

  .section-heading h2,
  .gallery-copy h2,
  .download-copy h2,
  .support-copy h2 {
    font-size: 36px;
  }

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

  .gallery-visual {
    min-height: auto;
  }

  .gallery-visual img {
    width: min(318px, 88vw);
  }

  .download-panel {
    min-height: 320px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 8px;
    height: 58px;
    margin-top: 8px;
    padding-left: 12px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-select {
    width: 112px;
    height: 42px;
    padding-right: 30px;
    padding-left: 12px;
    font-size: 13px;
  }

  .language-select-wrap::after {
    right: 12px;
  }

  .header-cta {
    min-width: 86px;
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 30px;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 13px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy p,
  .section-heading p,
  .gallery-copy p,
  .download-copy p,
  .support-copy p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .phone-stage {
    height: 330px;
    margin-top: 20px;
  }

  .phone-left,
  .phone-right {
    opacity: 0.38;
  }

  .phone-left {
    left: -8%;
  }

  .phone-right {
    right: -8%;
  }

  .phone-main {
    width: 216px;
    max-width: 64vw;
  }

  .section-heading h2,
  .gallery-copy h2,
  .download-copy h2,
  .support-copy h2 {
    font-size: 30px;
  }

  .feature-card,
  .journey-list article,
  .download-panel,
  .support-links a {
    border-radius: 20px;
  }

  .store-button {
    width: 100%;
  }

  .support-links {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
