:root {
  color-scheme: light;
  --bg: #f4f8fc;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --panel-strong: #eef6ff;
  --line: #d9e6f2;
  --text: #1d2c3d;
  --muted: #65758a;
  --soft: #354b66;
  --accent: #176bd5;
  --accent-2: #25a6b4;
  --gold: #f2b84b;
  --shadow: 0 18px 46px rgba(38, 86, 130, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(232, 243, 255, 0.86), rgba(255, 255, 255, 0.12) 430px),
    radial-gradient(circle at 14% 8%, rgba(23, 107, 213, 0.12), transparent 26rem),
    radial-gradient(circle at 84% 18%, rgba(37, 166, 180, 0.1), transparent 28rem),
    var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 16px auto 0;
  padding: 10px 16px 10px 18px;
  border: 1px solid #cfe0f1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(36, 89, 139, 0.09);
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #176bd5, #25a6b4);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 2px 0;
}

.brand-logo {
  display: block;
  width: 174px;
  max-width: 40vw;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid #dce9f6;
  border-radius: 8px;
  background: #f5f9fe;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: #365270;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.top-nav a:hover {
  color: var(--accent);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(31, 94, 153, 0.1);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 40px;
  min-height: 690px;
  padding: 72px 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 58px;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.title-accent {
  color: var(--accent);
}

.hero-text {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--soft);
  font-size: 19px;
  line-height: 1.9;
}

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

.primary-button,
.secondary-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #176bd5, #25a6b4);
  box-shadow: 0 12px 24px rgba(23, 107, 213, 0.2);
}

.secondary-button {
  padding: 0 22px;
  color: var(--accent);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.primary-button:hover,
.secondary-button:hover,
.download-button:hover {
  transform: translateY(-2px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, #ffffff, #f3f9ff);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(23, 107, 213, 0.1), transparent 34%);
}

.panel-topline,
.quick-stats,
.version-orbit {
  position: relative;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.panel-topline strong {
  color: var(--accent);
}

.version-orbit {
  display: grid;
  place-items: center;
  min-height: 330px;
}

.orbit-core {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border: 1px solid #c8dff5;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 44px rgba(23, 107, 213, 0.08), 0 16px 36px rgba(38, 86, 130, 0.12);
}

.orbit-core strong {
  font-size: 68px;
  line-height: 0.85;
}

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

.orbit-dot {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 76px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.dot-linux {
  top: 52px;
  left: 24px;
}

.dot-kylin {
  right: 18px;
  top: 92px;
}

.dot-macos {
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-stats div,
.support-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(38, 86, 130, 0.08);
}

.quick-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.quick-stats dd {
  margin: 5px 0 0;
  font-weight: 700;
}

.platform-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) 1fr;
  align-items: center;
  gap: 24px;
  margin: 6px 0 28px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(38, 86, 130, 0.08);
}

.platform-copy .eyebrow {
  margin-bottom: 8px;
}

.platform-copy h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.platform-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.platform-tags span {
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--soft);
  background: #eef6ff;
  font-size: 14px;
  font-weight: 600;
}

.downloads-section,
.support-section {
  padding: 62px 0;
}

.section-heading {
  max-width: 650px;
}

h2 {
  margin-bottom: 12px;
  font-size: 48px;
  line-height: 1.18;
}

.section-heading p,
.support-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 24px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--soft);
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.filter-button.is-active {
  color: #ffffff;
  border-color: transparent;
  background: var(--accent);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(38, 86, 130, 0.1);
}

.download-card.is-featured {
  border-color: rgba(23, 107, 213, 0.38);
  background: linear-gradient(160deg, #ffffff, #eef7ff);
}

.download-card.is-hidden {
  display: none;
}

.card-head,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #176bd5, #25a6b4);
  font-size: 15px;
  font-weight: 800;
}

.badge {
  padding: 6px 9px;
  border-radius: 8px;
  color: #161208;
  background: #ffd66d;
  font-size: 12px;
  font-weight: 800;
}

.badge.soft {
  color: var(--accent);
  border: 1px solid var(--line);
  background: #f3f9ff;
}

.download-card h3 {
  margin: 22px 0 10px;
  font-size: 21px;
}

.download-card p {
  min-height: 72px;
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.meta-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.meta-row span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.download-button {
  width: 100%;
  margin-top: 16px;
  color: #ffffff;
  background: var(--accent);
}

.download-button.is-clicked {
  background: var(--accent-2);
}

.demo-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px;
  align-items: center;
  margin: 26px 0 34px;
  padding: 28px;
  border: 1px solid #cfe0f1;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f2f8ff);
  box-shadow: 0 16px 40px rgba(38, 86, 130, 0.1);
}

.demo-copy h2 {
  margin-bottom: 14px;
}

.demo-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.demo-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-points li {
  position: relative;
  padding-left: 24px;
  color: var(--soft);
  font-weight: 600;
  line-height: 1.7;
}

.demo-points li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.demo-video-card {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 18px 34px rgba(38, 86, 130, 0.12);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #e9f2fb;
  object-fit: contain;
}

.support-section {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 32px;
  align-items: start;
}

.support-grid {
  display: grid;
  gap: 14px;
}

.support-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.support-grid p {
  margin-bottom: 0;
}

.contact-section {
  margin: 0 0 44px;
  padding: 34px;
  border: 1px solid #cfe0f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(38, 86, 130, 0.09);
}

.contact-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.contact-heading h2 {
  margin-bottom: 12px;
}

.contact-heading p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.85;
}

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

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.contact-card-strong {
  background: linear-gradient(135deg, #f8fbff, #eef7ff);
}

.contact-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--accent);
  background: #e9f3ff;
  font-size: 12px;
  font-weight: 800;
}

.contact-copy h3 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.contact-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.78;
}

.wechat-code {
  display: block;
  width: 180px;
  height: 180px;
  padding: 8px;
  border: 1px solid #d7e5f2;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(38, 86, 130, 0.08);
  text-align: center;
}

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

.site-footer a {
  margin: 0 8px;
  color: var(--accent);
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 920px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 40px;
  }

  .hero,
  .platform-strip,
  .demo-section,
  .support-section {
    grid-template-columns: 1fr;
  }

  .platform-tags {
    justify-content: flex-start;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 14px;
  }

  .top-nav {
    width: 100%;
  }

  .top-nav a {
    flex: 1;
    text-align: center;
  }

  .brand-logo {
    width: 158px;
    max-width: 72vw;
  }

  h1 {
    font-size: 34px;
    gap: 6px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .filter-bar {
    flex-direction: column;
  }

  .demo-section {
    padding: 20px;
  }

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

  .quick-stats,
  .contact-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 22px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .wechat-code {
    justify-self: center;
  }

  .version-orbit {
    min-height: 280px;
  }

  .orbit-core {
    width: 140px;
    height: 140px;
  }

  .orbit-core strong {
    font-size: 56px;
  }
}
