/* ===== 全局重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #050B14;
  color: #E6F0FF;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}

/* ===== 容器 & 工具 ===== */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.text-center {
  text-align: center;
}
.w-full {
  width: 100%;
}
.max-w-3xl {
  max-width: 48rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-16 {
  margin-top: 4rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.bg-base100 {
  background: #050B14;
}
.bg-base200 {
  background: #070E1C;
}
.bg-base300 {
  background: #081225;
}
.text-white {
  color: #fff;
}
.text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}
.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}
.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}
.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.shadow-glow {
  box-shadow: 0 0 40px rgba(0, 209, 255, 0.2);
}

/* ===== 导航 ===== */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 11, 20, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s;
}
.nav-links a:hover {
  color: #2171ff;
}
.nav-cta {
  background: #052c57;
  padding: 6px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-cta img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.mobile-toggle {
  display: block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 14px;
}
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

/* ===== 下载按钮（完全保留原样式） ===== */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 32px;
  min-width: 180px;
  background: linear-gradient(135deg, #2171ff 0%, #1a5fd9 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(33, 113, 255, 0.30);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}
.download-btn i {
  font-size: 18px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.download-btn i:last-child {
  font-size: 16px;
}
.download-btn span {
  line-height: 1;
  white-space: nowrap;
}
.download-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 36px rgba(33, 113, 255, 0.50);
  background: linear-gradient(135deg, #3382ff 0%, #1a5fd9 100%);
  color: #fff;
}
.download-btn:hover i:first-child {
  transform: translateY(-2px);
}
.download-btn:hover i:last-child {
  transform: translateX(4px);
}
.download-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 16px rgba(33, 113, 255, 0.35);
}
.download-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.download-btn-wrap .download-btn {
  width: 100%;
  max-width: 220px;
}
.download-btn-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  letter-spacing: 0.2px;
}
@media (max-width: 640px) {
  .download-btn {
    padding: 12px 18px;
    min-width: 120px;
    font-size: 14px;
    gap: 8px;
  }
  .download-btn i {
    font-size: 15px;
  }
  .download-btn i:last-child {
    font-size: 13px;
  }
  .download-btn-wrap .download-btn {
    max-width: 100%;
  }
}

/* ===== 平台卡片 ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.platform-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.platform-card:hover {
  border-color: rgba(33, 113, 255, 0.4);
  background: rgba(33, 113, 255, 0.05);
}
.platform-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  background: rgba(33, 113, 255, 0.12);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-card .icon-wrap img {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}
.platform-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.platform-card .version-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* ===== 统计条 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}
.stats-item {
  text-align: center;
}
.stats-item .num {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.stats-item .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}
@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem 0.75rem;
  }
  .stats-item .num {
    font-size: 1.5rem;
  }
}

/* ===== 安装步骤 ===== */
.step-list {
  counter-reset: step;
}
.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.step-item:last-child {
  border-bottom: none;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(33, 113, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #2171ff;
  font-size: 1rem;
}
.step-content {
  flex: 1;
}
.step-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}
.step-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.1rem;
}

/* ===== 右侧示意图（放大） ===== */
.mockup-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(33, 113, 255, 0.3);
  box-shadow: 0 0 80px rgba(0, 209, 255, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mockup-circle img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .mockup-circle {
    width: 200px;
    height: 200px;
  }
}
@media (max-width: 480px) {
  .mockup-circle {
    width: 160px;
    height: 160px;
  }
}

/* ===== 页脚 & 返回顶部 ===== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0;
  margin-top: 2rem;
}
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.back-top:hover {
  background: rgba(255, 255, 255, 0.16);
}
.back-top svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2;
  fill: none;
}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
}