:root {
  --bg: #071129;
  --bg-2: #0b1b43;
  --surface: #101d3d;
  --surface-2: #162856;
  --fg: #f5f8ff;
  --muted: #a9b8da;
  --line: rgba(196, 214, 255, 0.18);
  --cyan: #54e8ff;
  --blue: #4f7cff;
  --violet: #a56bff;
  --pink: #ff64d8;
  --ink: #10203e;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "PingFang TC",
    "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background:
    radial-gradient(circle at 18% 12%, rgba(165, 107, 255, 0.34), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(84, 232, 255, 0.22), transparent 26%),
    linear-gradient(180deg, #071129 0%, #0b1533 48%, #071129 100%);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 41, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 900;
}

.nav-logo img {
  border-radius: 10px;
  box-shadow: 0 0 22px rgba(84, 232, 255, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}

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

.nav-lang select {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px 10px;
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero:before {
  content: "";
  position: absolute;
  inset: auto -8% -18% -8%;
  height: 320px;
  background:
    radial-gradient(ellipse at center, rgba(84, 232, 255, 0.34), transparent 58%),
    linear-gradient(90deg, transparent, rgba(165, 107, 255, 0.26), transparent);
  filter: blur(16px);
}

.hero-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  box-shadow: 0 18px 52px rgba(84, 232, 255, 0.24);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  margin: 0 0 22px;
  font-weight: 950;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 32px;
  color: #d8e4ff;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-actions,
.store-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #041229;
  background: linear-gradient(135deg, var(--cyan), #7dfcff);
  box-shadow: 0 16px 40px rgba(84, 232, 255, 0.26);
}

.btn-secondary {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.hero-media {
  min-height: 500px;
  position: relative;
}

.phone-shot {
  position: absolute;
  width: min(230px, 36vw);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.phone-shot.main {
  right: 12%;
  top: 0;
  z-index: 3;
}

.phone-shot.left {
  left: 2%;
  top: 84px;
  z-index: 2;
  transform: rotate(-6deg) scale(0.9);
  opacity: 0.94;
}

.phone-shot.back {
  right: 0;
  top: 126px;
  z-index: 1;
  transform: rotate(7deg) scale(0.84);
  opacity: 0.82;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.stats-strip div {
  padding: 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

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

.stats-strip strong {
  display: block;
  color: var(--cyan);
  font-size: 1.54rem;
  line-height: 1;
}

.stats-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 7px;
}

.module {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.module-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 74px;
}

.module-reverse .module-inner {
  grid-template-columns: 1.1fr 0.9fr;
}

.module-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #06142e;
  background: linear-gradient(135deg, var(--cyan), #c4f8ff);
  font-weight: 900;
  font-size: 0.82rem;
  padding: 6px 13px;
  margin-bottom: 14px;
  letter-spacing: 0;
}

.module-content h2,
.feature-band h2,
.cta-bottom h2,
.page h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.module-content p,
.feature-band p,
.cta-bottom p,
.page p,
.legal li {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}

.module-content strong {
  color: #fff;
  background: linear-gradient(to top, rgba(84, 232, 255, 0.24) 38%, transparent 38%);
  padding: 0 2px;
}

.promo-frame {
  width: min(360px, 100%);
  margin: auto;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(84, 232, 255, 0.3), rgba(165, 107, 255, 0.28));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.promo-frame img {
  display: block;
  width: 100%;
  border-radius: 30px;
}

.feature-band {
  padding: 96px 0;
  background: #f5f8ff;
  color: var(--ink);
}

.feature-band p {
  color: #4d5f84;
}

.feature-band .module-label {
  background: #10203e;
  color: #7dfcff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.feature-grid article {
  background: #fff;
  border: 1px solid #dce6ff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(16, 32, 62, 0.08);
}

.feature-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.16rem;
}

.cta-bottom {
  text-align: center;
  padding: 86px 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 232, 255, 0.24), transparent 34%),
    #071129;
}

.cta-bottom p {
  max-width: 660px;
  margin: 0 auto 28px;
}

.footer {
  padding: 46px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(2, 9, 24, 0.76);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer p {
  color: #7385ad;
  margin: 0;
}

.page {
  min-height: 70vh;
  padding: 58px 0 90px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.page-head {
  margin-bottom: 30px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.platform-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}

.platform-card h2 {
  margin: 0 0 8px;
}

.platform-card p {
  margin-bottom: 24px;
}

.legal .container {
  max-width: 850px;
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 1.34rem;
}

.legal ul {
  padding-left: 22px;
}

.page-meta {
  font-size: 0.95rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.18s;
  z-index: 100;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(420px, calc(100% - 32px));
  background: #fff;
  color: #10203e;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
}

.modal p {
  color: #56637c;
}

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
}

.not-found img {
  border-radius: 22px;
  width: 88px;
  height: 88px;
}

.not-found h1 {
  font-size: 5rem;
  margin: 18px 0 0;
}

.not-found p {
  color: var(--muted);
  margin-bottom: 24px;
}

@media (max-width: 940px) {
  .nav-inner {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-links {
    justify-content: center;
    gap: 14px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 0 20px;
  }

  .hero-media {
    min-height: 340px;
  }

  .phone-shot {
    width: min(178px, 40vw);
  }

  .phone-shot.main {
    right: 28%;
  }

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

  .phone-shot.back {
    right: 7%;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip div:nth-child(2) {
    border-right: 0;
  }

  .module {
    padding: 70px 0;
  }

  .module-inner,
  .module-reverse .module-inner {
    grid-template-columns: 1fr;
    gap: 38px;
    text-align: center;
  }

  .module .promo-frame {
    order: -1;
  }

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

@media (max-width: 560px) {
  .container,
  .nav-inner,
  .hero-inner,
  .module-inner {
    width: min(100% - 32px, 1120px);
  }

  .nav-links a {
    font-size: 0.86rem;
  }

  .hero-logo {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .hero-media {
    min-height: 230px;
  }

  .phone-shot {
    border-radius: 24px;
  }

  .phone-shot.main {
    right: 24%;
    top: 0;
  }

  .phone-shot.left {
    left: -8%;
    top: 54px;
  }

  .phone-shot.back {
    right: -8%;
    top: 66px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .feature-grid article {
    text-align: left;
  }
}
