:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --line: #d9e0ea;
  --paper: #ffffff;
  --soft: #f3f6fa;
  --navy: #10182c;
  --blue: #315bff;
  --violet: #6a46e8;
  --green: #1f9d72;
  --shadow: 0 30px 90px rgba(16, 24, 44, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f8fafc;
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(24px, 5vw, 88px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 224, 234, 0.78);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-link img {
  width: 44px;
  height: 44px;
  display: block;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-link strong {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.1;
}

.brand-link small {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.slogan-highlight {
  color: #5B6DFF;
  display: inline;
  font-weight: 900;
}

.hero {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(20px, 3.4vw, 34px);
  min-height: auto;
  padding: clamp(26px, 3.8vw, 44px) clamp(24px, 5vw, 88px) clamp(34px, 4.2vw, 52px);
  background:
    radial-gradient(circle at 50% 6%, rgba(91, 109, 255, 0.08), transparent 24%),
    #f8fafc;
}

.hero-copy {
  width: min(860px, 100%);
  text-align: center;
}

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

h1 {
  margin: 0 auto 12px;
  max-width: 900px;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.device-hint {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.download-panel {
  max-width: 1320px;
  width: 100%;
  padding: 0;
}

.version-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.version-card {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 350px;
  padding: 38px 28px 34px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d8e0eb;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.version-card.active {
  min-height: 390px;
  background:
    radial-gradient(circle at 50% 0%, rgba(91, 109, 255, 0.14), transparent 35%),
    linear-gradient(180deg, #101827 0%, #0d1422 100%);
  border-color: #101827;
  box-shadow: 0 30px 70px rgba(16, 24, 40, 0.18);
  color: #ffffff;
}

.version-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 112, 133, 0.45);
}

.version-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-bottom: 22px;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 7px;
  background: transparent;
  color: #8a6048;
  font-size: 36px;
  font-weight: 900;
}

.version-card.active .platform-icon {
  color: #ffffff;
}

.recommend-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #42b883;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(66, 184, 131, 0.24);
}

.version-card.active .recommend-badge {
  background: #42b883;
  color: #ffffff;
}

.recommend-badge[hidden] {
  display: none;
}

.version-card h3 {
  margin-bottom: 14px;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.18;
  letter-spacing: 0;
}

.version-card p {
  max-width: 320px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.version-card.active p {
  color: #cbd5e1;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  min-height: 56px;
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #344054;
  font-size: 18px;
  font-weight: 900;
  box-shadow: none;
}

.version-card.active .download-button {
  background: #3f78ff;
  border-color: #3f78ff;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(63, 120, 255, 0.32);
}

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

.download-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

.download-button[aria-disabled="true"]:hover {
  transform: none;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #eef2f7;
  color: #344054;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.section-band {
  padding: clamp(60px, 7vw, 92px) clamp(24px, 5vw, 88px) clamp(70px, 7vw, 104px);
  background: #f8fafc;
  border-top: 1px solid #d8e0eb;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 0;
  color: #667085;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}

.feature-grid article {
  min-height: 370px;
  padding: 38px;
  border: 0;
  border-radius: 28px;
  background: #f1f3f6;
  box-shadow: none;
}

.feature-grid article:nth-child(2) {
  background: #e8f2ff;
}

.feature-grid article:nth-child(3) {
  background: #eeecff;
}

.feature-title {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 20px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #5B6DFF;
  box-shadow: inset 0 0 0 1px rgba(91, 109, 255, 0.12);
}

.feature-icon-tip {
  color: #1f9d72;
  box-shadow: inset 0 0 0 1px rgba(31, 157, 114, 0.14);
}

.feature-icon-review {
  color: #5B6DFF;
}

.feature-icon-lead {
  color: #8057ff;
  box-shadow: inset 0 0 0 1px rgba(128, 87, 255, 0.14);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-grid h3 {
  margin-bottom: 0;
  font-size: clamp(25px, 2vw, 30px);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.feature-grid p {
  margin-bottom: 0;
  color: #4f5d73;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.75;
}

.feature-grid strong {
  color: #3157d5;
  font-weight: 900;
}

.feature-grid article:first-child strong {
  color: #167c5d;
}

.feature-grid article:nth-child(3) strong {
  color: #7448e8;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: #667085;
  font-size: 13px;
  background: #f8fafc;
}

@media (max-width: 980px) {
  .version-grid {
    grid-template-columns: 1fr;
  }

  .version-card {
    min-height: 0;
  }

  .version-card.active {
    min-height: 0;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 720px;
  }

  .feature-grid article {
    min-height: 0;
  }

  .feature-title {
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-link img {
    width: 40px;
    height: 40px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .hero,
  .section-band,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

  .download-panel {
    padding: 0;
  }

  .feature-grid article {
    padding: 28px;
    border-radius: 24px;
  }

  .feature-grid h3 {
    font-size: 24px;
  }

}
