:root {
  --ink: #09264a;
  --ink-soft: #496783;
  --blue: #1678e5;
  --blue-strong: #075fca;
  --cyan: #31bce7;
  --line: #cde4f6;
  --surface: #ffffff;
  --surface-soft: #edf8ff;
  --surface-alt: #f7fbfe;
  --green: #168a65;
  --shadow: 0 18px 50px rgba(24, 90, 145, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: var(--ink);
  background: rgba(247, 252, 255, 0.88);
  border-bottom: 1px solid rgba(151, 199, 231, 0.55);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #385d7d;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  padding: 10px 0;
}

nav a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px max(24px, calc((100vw - 1180px) / 2)) 72px;
  background: #eaf6ff;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(239, 249, 255, 0.99) 0%, rgba(239, 249, 255, 0.94) 40%, rgba(239, 249, 255, 0.38) 67%, rgba(239, 249, 255, 0.18) 100%),
    url("./assets/promo.png");
  background-position: center, 78% 46%;
  background-size: cover, min(920px, 72vw) auto;
  background-repeat: no-repeat;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(234, 246, 255, 0), #edf8ff);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: clamp(50px, 5vw, 68px);
  line-height: 1.08;
  white-space: nowrap;
}

.hero-lead {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button svg {
  width: 19px;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(22, 120, 229, 0.24);
}

.button-primary:hover {
  background: var(--blue-strong);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border-color: #b8daf0;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #4e6e89;
  font-size: 13px;
  font-weight: 700;
}

.release-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.release-meta svg {
  width: 17px;
  color: var(--green);
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.feature-band,
.product-view,
.download-band,
.purchase-band,
.support-band,
.faq-band {
  padding: 92px 0;
}

.feature-band {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-heading h2,
.product-copy h2,
.download-layout h2 {
  margin-bottom: 15px;
  font-size: 38px;
  line-height: 1.25;
}

.section-heading > p:last-child,
.product-copy > p,
.download-layout > div:first-child > p:last-child {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-grid article {
  min-height: 230px;
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.94);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--blue);
  background: #e1f3ff;
  border-radius: 7px;
}

.feature-icon svg {
  width: 24px;
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.product-view {
  background: var(--surface);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(400px, 0.74fr);
  align-items: center;
  gap: 88px;
}

.product-copy ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.product-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.product-copy li svg {
  width: 19px;
  color: var(--green);
}

.poster-frame {
  max-width: 470px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #b9ddf5;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.poster-frame img {
  width: 100%;
  display: block;
}

.download-band {
  color: #fff;
  background: #092c50;
}

.download-band .eyebrow {
  color: #61d1f2;
}

.download-layout > div:first-child {
  max-width: 700px;
}

.download-layout > div:first-child > p:last-child {
  color: #c3d5e6;
}

.download-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 34px 0 28px;
  padding: 22px;
  background: #0e3a63;
  border: 1px solid #2a5b82;
  border-radius: 8px;
}

.download-panel > img {
  width: 56px;
  height: 56px;
}

.download-details {
  display: grid;
  gap: 6px;
}

.download-details strong {
  font-size: 17px;
}

.download-details span {
  color: #a9c4da;
  font-size: 13px;
}

.checksum {
  grid-column: 1 / -1;
  color: #8eafca;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.usage-notice {
  margin: 0 0 28px;
  padding: 24px 28px;
  background: rgba(16, 54, 87, 0.88);
  border: 1px solid rgba(97, 209, 242, 0.42);
  border-left: 4px solid #61d1f2;
}

.usage-notice-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.usage-notice-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #092c50;
  background: #61d1f2;
  border-radius: 6px;
}

.usage-notice-icon svg {
  width: 22px;
  height: 22px;
}

.usage-notice-heading .eyebrow {
  margin: 0 0 3px;
}

.usage-notice-heading h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.usage-notice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.usage-notice-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(170, 196, 216, 0.22);
}

.usage-notice-list li:nth-child(-n + 2) {
  border-top: 0;
}

.usage-notice-list li > svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #61d1f2;
}

.usage-notice-list strong {
  display: block;
  margin-bottom: 4px;
}

.usage-notice-list span {
  color: #c3d5e6;
  font-size: 14px;
  line-height: 1.65;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: #31597b;
  list-style: none;
}

.install-steps li {
  min-height: 118px;
  display: flex;
  gap: 14px;
  padding: 24px;
  background: #103657;
}

.install-steps li > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #052746;
  background: #66d2ef;
  border-radius: 50%;
  font-weight: 900;
}

.install-steps strong {
  display: block;
  margin: 2px 0 7px;
}

.install-steps p {
  margin: 0;
  color: #aac4d8;
  font-size: 13px;
  line-height: 1.6;
}

.purchase-band {
  background: var(--surface-alt);
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 72px;
  align-items: center;
}

.purchase-copy h2 {
  margin-bottom: 15px;
  font-size: 38px;
  line-height: 1.25;
}

.purchase-copy > p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 24px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.price-line strong {
  color: #e34e2d;
  font-size: 42px;
  line-height: 1;
}

.price-line span {
  color: var(--ink-soft);
  font-weight: 700;
}

.purchase-steps {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.purchase-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.purchase-steps li > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #dff1ff;
  border-radius: 50%;
  font-weight: 900;
}

.purchase-steps p {
  margin: 0;
  font-weight: 700;
}

.purchase-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px !important;
  font-size: 13px !important;
}

.purchase-note svg {
  width: 18px;
  flex: 0 0 18px;
  color: var(--green);
}

.xianyu-card {
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.xianyu-card img {
  display: block;
  width: 100%;
  background: #fafafa;
}

.xianyu-card figcaption {
  padding: 12px 4px 8px;
  color: var(--ink-soft);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.xianyu-save {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  background: #eef8ff;
  border: 1px solid #c3e1f5;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.xianyu-save:hover {
  color: var(--blue);
  background: #e2f3ff;
}

.xianyu-save svg {
  width: 18px;
}

.support-band {
  background: #f5fbff;
}

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

.support-item {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-avatar {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e8f6ff;
  border-radius: 8px;
}

.support-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.support-avatar-alt {
  color: var(--blue);
}

.support-copy {
  min-width: 0;
}

.support-copy span,
.support-copy p {
  color: var(--ink-soft);
  font-size: 13px;
}

.support-copy strong {
  display: block;
  overflow-wrap: anywhere;
  margin: 5px 0;
  font-size: 18px;
}

.support-copy p {
  margin: 0;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: #edf8ff;
  border: 1px solid #c6e5f7;
  border-radius: 7px;
  cursor: pointer;
}

.icon-button:hover {
  background: #dff2ff;
}

.icon-button svg {
  width: 18px;
}

.qr-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 17px;
  color: #516f86;
  background: #e8f5fd;
  border-left: 3px solid var(--cyan);
}

.qr-note svg {
  width: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
}

.qr-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.faq-band {
  background: #fff;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary svg {
  width: 18px;
  transition: transform 160ms ease;
}

details[open] summary svg {
  transform: rotate(180deg);
}

details > p {
  max-width: 800px;
  margin: -4px 0 22px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  color: #7190aa;
  background: #061f38;
  font-size: 12px;
}

footer p {
  margin: 0;
}

.footer-brand {
  color: #fff;
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

.toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 24px;
  padding: 12px 18px;
  color: #fff;
  background: #083258;
  border-radius: 7px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .hero {
    min-height: 760px;
    align-items: flex-start;
  }

  .hero-backdrop {
    background-image:
      linear-gradient(180deg, rgba(239, 249, 255, 0.99) 0%, rgba(239, 249, 255, 0.94) 54%, rgba(239, 249, 255, 0.3) 100%),
      url("./assets/promo.png");
    background-position: center, 75% 72%;
    background-size: cover, 720px auto;
  }

  .hero-content {
    max-width: 620px;
  }

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

  .product-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .poster-frame {
    max-width: 520px;
  }

  .purchase-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .xianyu-card {
    width: min(100%, 460px);
    margin: 0 auto;
  }

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

  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 62px;
    padding: 0 16px;
  }

  .brand span {
    font-size: 14px;
  }

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

  nav {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding: 100px 20px 52px;
  }

  .hero-backdrop {
    background-position: center, 68% 86%;
    background-size: cover, 540px auto;
  }

  h1 {
    font-size: 44px;
    white-space: normal;
  }

  .hero-lead {
    font-size: 22px;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions .button {
    width: 100%;
  }

  .release-meta {
    gap: 9px 14px;
  }

  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .feature-band,
  .product-view,
  .download-band,
  .purchase-band,
  .support-band,
  .faq-band {
    padding: 66px 0;
  }

  .section-heading h2,
  .product-copy h2,
  .download-layout h2,
  .purchase-copy h2 {
    font-size: 30px;
  }

  .price-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .price-line strong {
    font-size: 36px;
  }

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

  .feature-grid article {
    min-height: 190px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .download-panel .button {
    grid-column: 1 / -1;
  }

  .usage-notice {
    padding: 20px 18px;
  }

  .usage-notice-list {
    grid-template-columns: 1fr;
  }

  .usage-notice-list li:nth-child(2) {
    border-top: 1px solid rgba(170, 196, 216, 0.22);
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-steps li {
    min-height: auto;
  }

  .support-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .support-item .icon-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
