/* ==============================================
   PAGE: 首页 (home)
   作用域: .page-home
   移动端优先 + 桌面增强
   ============================================== */
.page-home {
  --home-gold-glow: rgba(212, 175, 55, 0.15);
  --home-card-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  --home-particle-size: 4px;
  --home-particle-count: 8;
  display: block;
  width: 100%;
  background-color: var(--bg-black);
  color: var(--text-white);
}

/* ---- 共享工具（作用域内） ---- */
.page-home .section-inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.page-home .section-label {
  display: inline-block;
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.15rem 0.75rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.page-home .section-title {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: var(--h2-size, 2.8rem);
  color: var(--gold);
  margin: 0 0 1rem 0;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.page-home .section-desc {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: var(--body-size, 1rem);
  color: var(--muted-gray, #999);
  max-width: 720px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.page-home .section-footer-link {
  margin-top: 2.5rem;
  text-align: center;
}

.page-home .btn-section {
  display: inline-block;
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.9rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
  transition: all var(--transition-base, 0.25s ease);
  letter-spacing: 0.05em;
}

.page-home .btn-section:hover,
.page-home .btn-section:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateX(4px);
}

.page-home .home-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.page-home .home-section--alt {
  background-color: var(--surface-dark, #1a1a1a);
}

/* ==============================================
   首屏 Hero
   ============================================== */
.page-home .home-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1.25rem 4rem;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: screen;
}

/* 粒子层 */
.page-home .hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-home .hero-particles span {
  position: absolute;
  width: var(--home-particle-size);
  height: var(--home-particle-size);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold), 0 0 16px rgba(212, 175, 55, 0.3);
  animation: home-particle-float 6s ease-in-out infinite;
  opacity: 0;
}

.page-home .hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 5px; height: 5px; }
.page-home .hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 0.8s; width: 3px; height: 3px; }
.page-home .hero-particles span:nth-child(3) { left: 45%; top: 15%; animation-delay: 1.6s; width: 6px; height: 6px; }
.page-home .hero-particles span:nth-child(4) { left: 65%; top: 70%; animation-delay: 2.4s; width: 4px; height: 4px; }
.page-home .hero-particles span:nth-child(5) { left: 80%; top: 30%; animation-delay: 3.2s; width: 5px; height: 5px; }
.page-home .hero-particles span:nth-child(6) { left: 15%; top: 85%; animation-delay: 4s; width: 3px; height: 3px; }
.page-home .hero-particles span:nth-child(7) { left: 55%; top: 45%; animation-delay: 4.8s; width: 6px; height: 6px; }
.page-home .hero-particles span:nth-child(8) { left: 90%; top: 10%; animation-delay: 5.6s; width: 4px; height: 4px; }

@keyframes home-particle-float {
  0%   { opacity: 0; transform: translateY(20px) scale(0.5); }
  20%  { opacity: 0.9; }
  60%  { opacity: 0.7; transform: translateY(-30px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-60px) scale(0.3); }
}

/* 首屏内容层 */
.page-home .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1100px;
  width: 100%;
}

.page-home .hero-suptitle {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 1rem 0;
  opacity: 0.8;
}

.page-home .hero-title {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 3.2rem;
  color: var(--gold);
  margin: 0 0 0.5rem 0;
  line-height: 1.05;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3), 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.04em;
}

.page-home .hero-subtitle {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 1.1rem;
  color: var(--text-white);
  margin: 0 0 3rem 0;
  opacity: 0.7;
  letter-spacing: 0.1em;
}

/* 三入口卡片 */
.page-home .hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}

.page-home .hero-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-card, 12px);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text-white);
  overflow: hidden;
  transition: transform var(--transition-base, 0.25s ease), box-shadow var(--transition-base, 0.25s ease), border-color var(--transition-base, 0.25s ease);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-home .hero-card:hover,
.page-home .hero-card:focus-visible {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
}

.page-home .hero-card-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.page-home .hero-card-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-card-text {
  position: relative;
  z-index: 1;
  flex: 1;
}

.page-home .hero-card-heading {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 1.25rem;
  color: var(--gold);
  margin: 0 0 0.15rem 0;
  line-height: 1.2;
}

.page-home .hero-card-desc {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 0.85rem;
  color: var(--muted-gray, #999);
  margin: 0;
  line-height: 1.4;
}

/* 滚动提示 */
.page-home .hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.page-home .scroll-hint-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: home-scroll-pulse 2s ease-in-out infinite;
}

@keyframes home-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==============================================
   账号指引 — 步骤区
   ============================================== */
.page-home .guide-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-home .step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.page-home .step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 1.3rem;
  color: var(--bg-black);
  background: var(--gold);
  border-radius: 50%;
  line-height: 1;
}

.page-home .step-body {
  flex: 1;
}

.page-home .step-heading {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 0 0.3rem 0;
  line-height: 1.3;
}

.page-home .step-text {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 0.95rem;
  color: var(--text-white);
  opacity: 0.8;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.page-home .step-link {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.8rem;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.page-home .step-link:hover,
.page-home .step-link:focus-visible {
  border-bottom-color: var(--gold-light);
}

/* ==============================================
   服务更新 — 网格卡片
   ============================================== */
.page-home .update-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-home .update-card {
  background: var(--bg-black);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.page-home .update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 175, 55, 0.5);
}

.page-home .update-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.page-home .update-tag {
  display: inline-block;
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.page-home .update-badge {
  display: inline-block;
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bg-black);
  background: var(--dark-red);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.page-home .update-card-title {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 1.1rem;
  color: var(--text-white);
  margin: 0 0 0.4rem 0;
  line-height: 1.3;
}

.page-home .update-card-text {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 0.9rem;
  color: var(--muted-gray);
  margin: 0;
  line-height: 1.5;
}

/* ==============================================
   版本比对 — 双面板
   ============================================== */
.page-home .compare-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-home .compare-panel {
  background: var(--bg-black);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-home .compare-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.4);
}

.page-home .compare-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.page-home .compare-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.page-home .compare-panel-title {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0;
}

.page-home .compare-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.page-home .compare-item {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 0.9rem;
  color: var(--text-white);
  opacity: 0.8;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.page-home .compare-item::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.6;
}

.page-home .compare-link {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.8rem;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.page-home .compare-link:hover,
.page-home .compare-link:focus-visible {
  border-bottom-color: var(--gold-light);
}

.page-home .compare-note {
  text-align: center;
  padding: 1rem 1.25rem;
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-card);
  border: 1px dashed rgba(212, 175, 55, 0.2);
}

.page-home .compare-note p {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 0.9rem;
  color: var(--text-white);
  opacity: 0.7;
  margin: 0;
  line-height: 1.5;
}

/* ==============================================
   电脑导航模块 — 5卡片网格
   ============================================== */
.page-home .modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-home .module-card {
  position: relative;
  background: var(--bg-black);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

.page-home .module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  opacity: 0.3;
  transition: opacity var(--transition-base);
}

.page-home .module-card:hover::before {
  opacity: 1;
}

.page-home .module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 175, 55, 0.5);
}

.page-home .module-num {
  display: inline-block;
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.page-home .module-name {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 1.15rem;
  color: var(--text-white);
  margin: 0 0 0.3rem 0;
  line-height: 1.3;
}

.page-home .module-brief {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 0.85rem;
  color: var(--muted-gray);
  margin: 0 0 0.6rem 0;
  line-height: 1.4;
}

.page-home .module-version {
  display: inline-block;
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
}

/* ==============================================
   下载区 — 双卡片
   ============================================== */
.page-home .download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .download-card {
  background: var(--bg-black);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.page-home .download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
}

.page-home .download-card-icon {
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 50%;
}

.page-home .download-card-icon svg {
  width: 40px;
  height: 40px;
}

.page-home .download-card-title {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.page-home .download-card-text {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 0.9rem;
  color: var(--muted-gray);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.page-home .btn-download {
  display: inline-block;
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.9rem;
  color: var(--bg-black);
  background: var(--gold);
  padding: 0.6rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background var(--transition-base), transform var(--transition-base);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.page-home .btn-download:hover,
.page-home .btn-download:focus-visible {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ==============================================
   信任区
   ============================================== */
.page-home .home-trust {
  padding: 2.5rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.page-home .home-trust .trust-text {
  font-family: var(--font-body, Georgia, 'Times New Roman', serif);
  font-size: 0.85rem;
  color: var(--muted-gray);
  margin: 0 0 0.3rem 0;
  opacity: 0.7;
}

.page-home .home-trust .trust-icp {
  font-family: var(--font-heading, Impact, 'Helvetica Neue', sans-serif);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin: 0;
  opacity: 0.6;
}

/* ==============================================
   响应式 — 桌面增强 (≥768px)
   ============================================== */
@media (min-width: 768px) {
  .page-home .hero-title {
    font-size: 5.5rem;
  }

  .page-home .hero-subtitle {
    font-size: 1.4rem;
  }

  .page-home .hero-cards {
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
  }

  .page-home .hero-card {
    flex: 1;
    max-width: 340px;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.75rem 1.5rem;
  }

  .page-home .hero-card-icon {
    width: 60px;
    height: 60px;
  }

  .page-home .hero-card-bg-img {
    width: 140px;
  }

  .page-home .hero-card-heading {
    font-size: 1.4rem;
  }

  .page-home .guide-steps {
    flex-direction: row;
    gap: 2.5rem;
  }

  .page-home .step {
    flex: 1;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .page-home .step-num {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .page-home .update-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .compare-panels {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .modules-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .module-card {
    padding: 1.75rem 1rem;
    text-align: center;
  }

  .page-home .module-card::before {
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
  }

  .page-home .download-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  .page-home .home-section {
    padding: 5rem 0;
  }

  .page-home .home-hero {
    min-height: 85vh;
    padding: 8rem 2rem 5rem;
  }
}

/* 更大桌面 (≥1024px) 微调 */
@media (min-width: 1024px) {
  .page-home .hero-title {
    font-size: 7rem;
  }

  .page-home .hero-card {
    max-width: 380px;
    padding: 2rem 2rem 1.75rem;
  }

  .page-home .section-title {
    font-size: var(--h1-size, 4rem);
  }

  .page-home .modules-grid {
    gap: 1.25rem;
  }
}
