* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ===== 顶部导航 ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
}
nav .logo {
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}
nav a { margin-left: 1.5rem; }
nav a:hover { color: #0078d7; }

/* ===== Hero ===== */
.hero { margin-top: 6rem; }
.hero .tag {
  display: inline-block;
  font-size: 13px;
  color: #4CAF50;
  border: 1px solid #4CAF50;
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero p {
  margin-top: 1rem;
  font-size: 18px;
  color: #555;
  max-width: 560px;
}

/* ===== 下载按钮 ===== */
.download {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4CAF50;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 6px;
  transition: background 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { background: #388E3C; }
.btn:focus-visible { outline: 3px solid #4CAF50; outline-offset: 2px; }

.meta {
  font-size: 13px;
  color: #888;
}

.hero-shot {
  margin-top: 2rem;
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}

/* ===== 特性 ===== */
.features {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  border-top: 1px solid #eee;
  padding-top: 3rem;
}
.features h2 {
  grid-column: 1 / -1;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}
.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature p {
  font-size: 14px;
  color: #666;
}

/* ===== 系统要求 ===== */
.requirements {
  margin-top: 4rem;
  font-size: 14px;
  color: #666;
}
.requirements h2 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.requirements ul { padding-left: 1.2rem; }
.requirements li { margin: 4px 0; }

/* ===== 其他下载 ===== */
.others {
  margin-top: 4rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
  font-size: 14px;
  color: #666;
}
.others h2 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.others details {
  position: relative;
  margin-top: 12px;
  border: 1px solid #eee;
  border-radius: 6px;
}
.others details > summary:first-child {
  border-radius: 5px;
}
.others summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 17px;
  color: #1a1a1a;
  background: #fff;
  transition: background 0.15s ease;
  user-select: none;
}
.others summary::-webkit-details-marker { display: none; }
.others summary::after {
  content: "+";
  float: right;
  font-size: 18px;
  line-height: 1;
  color: #aaa;
  transition: transform 0.2s ease;
}
.others details[open] summary { background: #f5fbf5; }
.others details[open] summary::after { transform: rotate(45deg); }
.others summary:hover { background: #f5fbf5; }
.others summary:focus-visible { outline: 3px solid #4CAF50; outline-offset: -3px; }

.others .panel {
  padding: 14px 16px 18px;
  border-top: 1px solid #eee;
  background: #fff;
}
.others .panel p { margin: 0 0 6px; }
.others .panel p:last-child { margin-bottom: 0; }
.others .panel .code {
  font-family: ui-monospace, "Consolas", monospace;
  background: #f6f6f6;
  border-radius: 4px;
  padding: 2px 6px;
}
.others .panel a.btn-sm {
  position: relative;
  display: inline-block;
  background: #4CAF50;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  margin-top: 8px;
  transition: background 0.15s ease;
}
.others .panel a.btn-sm:hover { background: #388E3C; text-decoration: none; }

.others .qr-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 150px;
  height: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 20;
}
.others .qr-tip img,
.others .qr-tip canvas {
  display: block;
  width: 128px;
  height: 128px;
  flex-shrink: 0;
}
.others .qr-tip .qr-text {
  order: -1;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}
.others a.btn-sm:hover .qr-tip {
  display: flex;
}
.others a:hover { text-decoration: underline; }

/* ===== 页脚 ===== */
footer {
  margin-top: 6rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
  font-size: 13px;
  color: #999;
}
footer .sitemap {
  margin-top: 6px;
  font-size: 13px;
}
footer .sitemap a {
  color: #999;
}
footer .sitemap a:hover {
  color: #4CAF50;
  text-decoration: underline;
}
footer .friendlink {
  margin-top: 6px;
  font-size: 13px;
}
footer .friendlink a {
  color: #999;
}
footer .friendlink a:hover {
  color: #4CAF50;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .container { padding: 2.5rem 1.25rem; }
  .hero h1 { font-size: 30px; }
  .btn { width: 100%; justify-content: center; }
}
