:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #10243f;
  background: #f4f8fc;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #f6fbff 0%, #f1f6fb 54%, #eef4f9 100%);
}

button,
a {
  font: inherit;
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.page-glow-one {
  width: 560px;
  height: 560px;
  top: -260px;
  right: -160px;
  background: radial-gradient(circle, rgba(39, 154, 220, 0.2), rgba(39, 154, 220, 0));
}

.page-glow-two {
  width: 460px;
  height: 460px;
  top: 520px;
  left: -260px;
  background: radial-gradient(circle, rgba(23, 181, 164, 0.14), rgba(23, 181, 164, 0));
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid rgba(28, 86, 137, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(145deg, #1168b7, #1596c7 64%, #17ae9b);
  box-shadow: 0 10px 24px rgba(15, 104, 174, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 3px;
  color: #68809a;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.service-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(19, 126, 151, 0.15);
  border-radius: 999px;
  color: #376078;
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e6a23c;
  box-shadow: 0 0 0 4px rgba(230, 162, 60, 0.12);
}

.service-status.is-online .status-dot {
  background: #18a67d;
  box-shadow: 0 0 0 4px rgba(24, 166, 125, 0.12);
}

.service-status.is-error .status-dot {
  background: #d84d5b;
  box-shadow: 0 0 0 4px rgba(216, 77, 91, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 70px;
  min-height: 520px;
  padding: 72px 24px 58px;
}

.eyebrow {
  margin: 0 0 15px;
  color: #1375a7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5.3vw, 70px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #0867b5, #079fc1 62%, #16a987);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 650px;
  margin: 25px 0 0;
  color: #57718b;
  font-size: 17px;
  line-height: 1.85;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.trust-list span {
  padding: 8px 13px;
  border: 1px solid rgba(17, 106, 165, 0.12);
  border-radius: 10px;
  color: #42647f;
  background: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.trust-list span::before {
  content: "✓";
  margin-right: 7px;
  color: #13a17f;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
  width: min(420px, 100%);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(13, 119, 176, 0.18);
  border-radius: 50%;
}

.visual-orbit::before,
.visual-orbit::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border: 4px solid #f4f9fd;
  border-radius: 50%;
  background: #1398be;
  box-shadow: 0 5px 20px rgba(13, 119, 176, 0.24);
}

.orbit-one {
  inset: 8%;
  transform: rotate(18deg);
}

.orbit-one::before {
  top: 6%;
  left: 23%;
}

.orbit-one::after {
  right: 2%;
  bottom: 30%;
  background: #18aa8c;
}

.orbit-two {
  inset: 22%;
  border-style: dashed;
  transform: rotate(-22deg);
}

.orbit-two::before {
  top: 14%;
  right: 5%;
  background: #0b6eb8;
}

.orbit-two::after {
  bottom: 2%;
  left: 28%;
  background: #79b732;
}

.visual-core {
  display: grid;
  width: 172px;
  height: 172px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 52px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(230, 245, 253, 0.92));
  box-shadow: 0 30px 70px rgba(27, 104, 152, 0.2), inset 0 0 0 8px rgba(255, 255, 255, 0.52);
  transform: rotate(-3deg);
}

.visual-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 9px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  background: linear-gradient(145deg, #0c6fb9, #13a891);
}

.visual-core strong,
.visual-core small {
  display: block;
}

.software-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  margin-bottom: 28px;
  padding: 38px 42px;
  border: 1px solid rgba(32, 94, 139, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 64px rgba(30, 82, 121, 0.08);
}

.software-profile[hidden] {
  display: none;
}

.software-profile h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
}

.software-profile-description {
  margin: 18px 0 0;
  color: #48667f;
  line-height: 1.85;
  white-space: pre-line;
}

.software-document-library {
  display: grid;
  align-content: start;
  gap: 10px;
}

.software-document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 99, 151, 0.13);
  border-radius: 14px;
  background: #fff;
}

.software-document-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.software-document-preview {
  overflow-wrap: anywhere;
  color: #116fa8;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.software-document-preview:hover,
.software-document-preview:focus-visible {
  outline: none;
  text-decoration: underline;
}

.software-document-meta {
  color: #7890a4;
  font-size: 11px;
}

.software-document-download {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(17, 111, 168, 0.2);
  border-radius: 9px;
  color: #176494;
  background: #f2f8fc;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.visual-core strong {
  font-size: 24px;
}

.visual-core small {
  margin-top: 5px;
  color: #69839a;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.download-section {
  padding: 60px;
  border: 1px solid rgba(32, 94, 139, 0.1);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 90px rgba(30, 82, 121, 0.09);
  backdrop-filter: blur(16px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.035em;
}

.refresh-button {
  padding: 10px 16px;
  border: 1px solid rgba(16, 105, 166, 0.16);
  border-radius: 11px;
  color: #176494;
  background: #f2f8fc;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.refresh-button:hover,
.refresh-button:focus-visible {
  border-color: rgba(16, 105, 166, 0.4);
  outline: none;
  background: #e7f3fa;
}

.refresh-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

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

.platform-card {
  position: relative;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(24, 89, 137, 0.12);
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff, #f6fbfe);
}

.platform-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -105px;
  right: -80px;
  border-radius: 50%;
  background: rgba(21, 133, 194, 0.08);
}

.platform-xinchuang::after {
  background: rgba(19, 165, 131, 0.09);
}

.platform-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.platform-icon {
  display: grid;
  grid-template-columns: repeat(2, 13px);
  grid-template-rows: repeat(2, 13px);
  gap: 3px;
  width: 48px;
  height: 48px;
  place-content: center;
  border-radius: 15px;
  background: #e6f3fb;
}

.platform-icon i {
  display: block;
  background: #0874ba;
}

.xinchuang-icon {
  display: grid;
  grid-template-columns: none;
  grid-template-rows: none;
  place-items: center;
  color: #fff;
  font-size: 21px;
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(145deg, #178b9b, #19aa83);
}

.platform-label {
  padding: 6px 10px;
  border-radius: 999px;
  color: #517087;
  background: #f0f6fa;
  font-size: 12px;
}

.platform-card h3 {
  margin: 0;
  font-size: 28px;
}

.platform-card > p {
  min-height: 52px;
  margin: 11px 0 23px;
  color: #637b91;
  font-size: 14px;
  line-height: 1.7;
}

.download-list {
  display: grid;
  gap: 12px;
}

.download-loading,
.download-empty {
  display: grid;
  min-height: 118px;
  place-items: center;
  border: 1px dashed rgba(42, 105, 149, 0.2);
  border-radius: 16px;
  color: #7b90a2;
  background: rgba(241, 247, 251, 0.7);
  font-size: 14px;
  text-align: center;
}

.download-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px;
  border: 1px solid rgba(20, 99, 151, 0.12);
  border-radius: 16px;
  background: #fff;
}

.download-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 800;
}

.architecture-badge {
  padding: 3px 7px;
  border-radius: 7px;
  color: #126d9e;
  background: #e7f4fb;
  font-size: 11px;
}

.download-item-meta {
  color: #71889d;
  font-size: 12px;
  line-height: 1.55;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #096db5, #0f91c0);
  box-shadow: 0 8px 20px rgba(9, 109, 181, 0.2);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.platform-xinchuang .download-button {
  background: linear-gradient(135deg, #138b98, #14a77e);
  box-shadow: 0 8px 20px rgba(20, 153, 128, 0.2);
}

.download-button:hover,
.download-button:focus-visible {
  outline: none;
  box-shadow: 0 12px 26px rgba(9, 109, 181, 0.28);
  transform: translateY(-2px);
}

.download-button::after {
  content: "↓";
  margin-left: 7px;
  font-size: 16px;
}

.page-notice {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(205, 82, 82, 0.16);
  border-radius: 12px;
  color: #a23e49;
  background: #fff4f5;
  font-size: 13px;
}

.download-help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  padding: 42px 18px 32px;
}

.download-help > div {
  padding-left: 18px;
  border-left: 3px solid #1a8eb6;
}

.download-help > div:last-child {
  border-left-color: #19a582;
}

.download-help strong {
  font-size: 15px;
}

.download-help p {
  margin: 8px 0 0;
  color: #6d8295;
  font-size: 13px;
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(28, 86, 137, 0.1);
  color: #7b8da0;
  font-size: 12px;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 58px;
  }

  .hero-visual {
    width: 330px;
    margin-top: -20px;
  }

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

  .software-profile {
    grid-template-columns: 1fr;
  }

  .download-section {
    padding: 36px;
  }

  .software-profile {
    gap: 26px;
    padding: 25px 18px;
    border-radius: 24px;
  }

  .software-document-item {
    align-items: stretch;
    flex-direction: column;
  }

  .software-document-download {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand small,
  .service-status {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 50px 4px 36px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-visual {
    width: 270px;
  }

  .visual-core {
    width: 140px;
    height: 140px;
    border-radius: 40px;
  }

  .download-section {
    padding: 25px 18px;
    border-radius: 24px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .platform-card {
    min-height: 0;
    padding: 23px 18px;
  }

  .download-item {
    grid-template-columns: 1fr;
  }

  .download-button,
  .manual-download-button {
    width: 100%;
  }

  .download-help {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
