:root {
  --ink: #323333;
  --ink-strong: #111214;
  --muted: #797979;
  --muted-soft: #a0a5aa;
  --line: #eceef1;
  --paper: #ffffff;
  --paper-alt: #f8f9fa;
  --blue: #267be5;
  --blue-strong: #1f6fd6;
  --blue-deep: #1667cc;
  --link: #1667cc;
  --sky: #0a9df6;
  --radius: 14px;
  --header-h: 120px;
  --wrap: 1200px;
  --font-cn: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", Arial, sans-serif;
  --font-display: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
}

.header-inner {
  max-width: var(--wrap);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 48px;
}

.site-nav ul {
  display: flex;
  align-items: center;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 22px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: .78;
}

.site-nav li + li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 13px;
  transform: translateY(-50%);
  background: url("assets/white-border.png") center / 1px 13px no-repeat;
  opacity: .9;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 812px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #090d16;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .16) 42%, rgba(0, 0, 0, .52) 100%),
    rgba(0, 0, 0, .18);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100% - 48px));
  padding: calc(var(--header-h) + 60px) 0 72px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(52px, 6.2vw, 78px);
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.22;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .35);
}

.hero-subtitle {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(17px, 1.7vw, 22px);
  letter-spacing: .06em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

.hero-action {
  margin-top: 44px;
}

/* Primary download CTA */
.download-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-strong), #1a6fd0 55%, #155fbe);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 18px 44px -12px rgba(21, 95, 190, .82),
    inset 0 1px 0 rgba(255, 255, 255, .32);
  transition: transform .18s ease, box-shadow .18s ease;
  animation: download-cta-glow 3.2s ease-in-out infinite;
}

.download-primary svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.download-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 24px 56px -12px rgba(21, 95, 190, .92),
    inset 0 1px 0 rgba(255, 255, 255, .36);
}

.download-primary:active {
  transform: translateY(0) scale(.99);
}

.download-primary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@keyframes download-cta-glow {
  0%, 100% {
    box-shadow:
      0 18px 44px -12px rgba(21, 95, 190, .64),
      inset 0 1px 0 rgba(255, 255, 255, .3);
  }
  50% {
    box-shadow:
      0 22px 58px -8px rgba(21, 95, 190, .94),
      inset 0 1px 0 rgba(255, 255, 255, .34);
  }
}

.hero-entries {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 58px;
}

.hero-entries a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  backdrop-filter: blur(6px);
  transition: background .2s ease, border-color .2s ease;
}

.hero-entries a:hover,
.hero-entries a:focus-visible {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .6);
}

.hero-entries img {
  width: 24px;
  height: 24px;
}

/* ---------- Intro collage ---------- */
.intro {
  background: var(--paper);
  padding: 96px 24px 72px;
  overflow: hidden;
}

.intro-stage {
  position: relative;
  width: min(var(--wrap), 100%);
  height: 680px;
  margin: 0 auto;
}

.intro-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1109px, 92%);
  aspect-ratio: 1109 / 618;
  transform: translate(-50%, -50%);
  background: url("assets/bg-2.png") center / contain no-repeat;
}

.intro-img {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(23, 45, 79, .12));
}

.intro-img--left-top {
  width: 31%;
  left: 0;
  top: 0;
}

.intro-img--right-top {
  width: 37%;
  right: 1%;
  top: 1%;
}

.intro-img--left-bottom {
  width: 36%;
  left: -5%;
  bottom: 0;
}

.intro-img--right-bottom {
  width: 41%;
  right: -1%;
  bottom: -4%;
}

.intro-content {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(640px, 82%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.intro-content h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.3;
}

.intro-content .brush {
  display: inline-block;
  margin: 0 .1em;
  padding: 0 .18em .06em;
  color: #fff;
  background: url("assets/new-page2-title-bg.png") center / 100% 100% no-repeat;
}

.intro-content p {
  margin: 26px 0 0;
  color: #3f4144;
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: .03em;
}

/* ---------- Download band ---------- */
.download-band {
  position: relative;
  overflow: hidden;
  padding: 118px 24px;
  color: #fff;
  background: linear-gradient(125deg, #0aa5f7 0%, #168fe8 44%, #267be5 100%);
  isolation: isolate;
}

.download-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/bg-3.png") center / cover no-repeat;
  opacity: .32;
  mix-blend-mode: screen;
}

.band-inner {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 78px;
}

.band-visual {
  flex: 0 1 440px;
}

.band-visual img {
  width: min(430px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 54px rgba(3, 44, 88, .32));
}

.band-content {
  flex: 0 1 560px;
}

.band-badge {
  width: 180px;
  height: auto;
  margin-bottom: 22px;
}

.band-content p {
  margin: 0;
  color: rgba(255, 255, 255, .96);
  font-size: 18px;
  line-height: 1.95;
  letter-spacing: .02em;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.platform-list li {
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  font-size: 15px;
  letter-spacing: .03em;
  backdrop-filter: blur(4px);
}

/* ---------- Cards ---------- */
.cards-section {
  background: var(--paper);
  padding: 112px 24px 104px;
}

.cards {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
}

.card {
  text-align: center;
  padding: 8px 12px;
}

.card-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.card h3 {
  margin: 26px 0 18px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .02em;
}

.card p {
  margin: 0 auto;
  max-width: 320px;
  min-height: 96px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 4px;
  color: var(--link);
  font-size: 16px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.card-more:hover,
.card-more:focus-visible {
  color: #124f9e;
  border-color: currentColor;
}

.card-more img {
  width: 16px;
  height: 16px;
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--paper-alt);
  padding: 96px 24px 104px;
}

.faq-inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

.faq-inner > h2 {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: .02em;
  text-align: center;
}

.faq-list {
  border-top: 1px solid #e3e6ea;
}

.faq-list details {
  border-bottom: 1px solid #e3e6ea;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 4px 26px;
  color: #5d6165;
  font-size: 16px;
  line-height: 1.9;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  padding: 54px 24px 46px;
  text-align: center;
}

.footer-inner {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-links a {
  color: #646464;
  font-size: 13px;
  transition: color .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--link);
}

.footer-tagline {
  margin: 24px 0 0;
  color: #8a8f95;
  font-size: 13px;
}

.footer-copyright {
  margin: 8px 0 0;
  color: var(--muted-soft);
  font-size: 12px;
}

/* ---------- Reveal motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav a {
    padding: 0 14px;
  }

  .band-inner {
    gap: 48px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 76px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    display: none;
    padding: 10px 18px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(12, 18, 28, .96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
    backdrop-filter: blur(14px);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    height: auto;
    padding: 14px 6px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav li + li a::before {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    padding-top: calc(var(--header-h) + 70px);
  }

  .hero-entries {
    margin-top: 44px;
  }

  .intro {
    padding: 64px 20px 40px;
  }

  .intro-stage {
    height: auto;
    min-height: 0;
    padding: 56px 0 64px;
  }

  .intro-bg {
    width: 94%;
    opacity: .75;
  }

  .intro-img {
    display: none;
  }

  .intro-content {
    position: relative;
    left: auto;
    top: auto;
    width: min(560px, 92%);
    margin: 0 auto;
    transform: none;
  }

  .download-band {
    padding: 84px 24px;
  }

  .band-inner {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }

  .band-visual {
    flex: 0 1 auto;
  }

  .band-visual img {
    width: min(300px, 78vw);
  }

  .band-badge {
    margin: 0 auto 20px;
    width: 156px;
  }

  .platform-list {
    justify-content: center;
  }

  .cards-section {
    padding: 78px 24px 64px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: 520px;
  }

  .card p {
    min-height: 0;
  }

  .faq-section {
    padding: 72px 20px 80px;
  }

  .faq-inner > h2 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    height: 38px;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 52px);
    letter-spacing: .08em;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-action {
    margin-top: 34px;
  }

  .download-primary {
    width: 100%;
    max-width: 340px;
    min-height: 56px;
    padding: 0 26px;
    font-size: 18px;
  }

  .hero-entries {
    gap: 10px;
    margin-top: 36px;
  }

  .hero-entries a {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .intro-content h2 {
    font-size: 38px;
  }

  .intro-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .download-band {
    padding: 68px 20px;
  }

  .band-content p {
    font-size: 16px;
    text-align: left;
  }

  .platform-list {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .platform-list li {
    font-size: 14px;
    padding: 8px 14px;
  }

  .card h3 {
    font-size: 26px;
  }

  .card p {
    font-size: 16px;
  }

  .faq-list summary {
    font-size: 17px;
    padding: 20px 2px;
  }

  .faq-list details p {
    font-size: 15px;
  }

  .footer-links {
    gap: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .download-primary {
    animation: none;
    transition: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    scroll-behavior: auto !important;
  }
}
