﻿:root {
  --bg: #f3f6ff;
  --card: #ffffff;
  --text: #1d2433;
  --muted: #677085;
  --primary: #2f6dff;
  --primary-dark: #2253c4;
  --line: #e7ebf3;
  --shadow: 0 10px 30px rgba(33, 53, 98, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9fc 280px, #f7f9fc 100%);
}

.hero {
  background: radial-gradient(circle at 15% 20%, #5e8dff 0%, #346eff 40%, #2554cb 100%);
  color: #fff;
  padding: 56px 20px 72px;
}

.hero-content {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-tag {
  margin: 0;
  font-size: 14px;
  opacity: 0.88;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 12px 0 10px;
  font-size: 40px;
  line-height: 1.1;
}

.hero-desc {
  margin: 0;
  max-width: 620px;
  font-size: 17px;
  opacity: 0.92;
}

.container {
  max-width: 1120px;
  margin: -36px auto 0;
  padding: 0 20px 30px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card h2 {
  margin: 0;
  font-size: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--primary);
  background: #eaf0ff;
  border: 1px solid #d5e1ff;
  white-space: nowrap;
}

.version {
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.desc {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  min-height: 48px;
}

.download-group {
  display: grid;
  gap: 10px;
}

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

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 44px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
  padding: 0 12px;
  text-align: center;
}

.download-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.download-btn.disabled,
.download-btn[aria-disabled="true"] {
  background: #bdc7de;
  color: #f5f7ff;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.notice,
.faq {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 20px 22px;
}

.notice h3,
.faq h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.notice ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.faq details:first-of-type {
  border-top: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  text-align: center;
  color: #7d879b;
  padding: 18px 16px 34px;
}

.logo-wall {
  margin: 0 auto 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
}

.logo-wall img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d7e2ff;
  background: #f4f7ff;
}

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

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

@media (max-width: 560px) {
  .hero {
    padding: 42px 16px 64px;
  }

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

  .hero-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .container {
    padding: 0 12px 24px;
    margin-top: -28px;
  }

  .card,
  .notice,
  .faq {
    padding: 15px;
    border-radius: 12px;
  }

  .card-top {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .card h2 {
    font-size: 18px;
  }

  .version,
  .desc,
  .notice ul,
  .faq p {
    font-size: 14px;
  }

  .download-btn,
  .download-group.two-cols {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 280px;
  }

  .logo-wall img {
    height: 44px;
    padding: 8px;
  }
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 45, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.modal-mask.hidden {
  display: none;
}

.tips-modal {
  width: 100%;
  max-width: 430px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.tips-modal h3 {
  margin: 0;
  padding: 16px 18px;
  background: #f2f2f2;
  border-bottom: 1px solid #e8e8e8;
  font-size: 24px;
  line-height: 1.2;
  color: #2f3440;
}

.tips-modal p {
  margin: 0;
  padding: 18px;
  color: #606978;
  line-height: 1.65;
  font-size: 16px;
}

.tips-actions {
  padding: 14px 18px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tips-btn {
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  color: #4a4f59;
  border-radius: 10px;
  height: 44px;
  font-size: 16px;
  cursor: pointer;
}

.tips-btn-primary {
  background: #f4f4f4;
  color: #b4b4b4;
}

.tips-btn-primary:enabled {
  background: #2f6dff;
  border-color: #2f6dff;
  color: #ffffff;
}

@media (max-width: 560px) {
  .tips-modal {
    max-width: 360px;
  }

  .tips-modal h3 {
    font-size: 20px;
  }

  .tips-modal p {
    font-size: 15px;
  }
}


