.page-home {
  --hero-gap: 48px;
  --card-radius: 0;
  --sync-bar-height: 4px;
  --compare-shadow: 0 4px 24px rgba(211,47,47,0.08);
  --step-size: 48px;
}

/* ===== 首屏分屏 ===== */
.page-home .hero-split {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 70vh;
  background: var(--bg-light, #F5F5F5);
  position: relative;
  overflow: hidden;
}
.page-home .hero-content {
  flex: 1 1 auto;
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.page-home .hero-badge {
  display: inline-block;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary, #D32F2F);
  border: 1px solid var(--primary, #D32F2F);
  padding: 4px 12px;
  margin-bottom: 20px;
  align-self: flex-start;
}
.page-home .hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 1.05;
  color: var(--text-primary, #111);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.page-home .hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary, #666);
  max-width: 520px;
  margin: 0 0 28px;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .hero-actions .btn {
  min-width: 160px;
  text-align: center;
}
.page-home .btn-outline {
  background: transparent;
  border: 2px solid var(--primary, #D32F2F);
  color: var(--primary, #D32F2F);
}
.page-home .btn-outline:hover,
.page-home .btn-outline:focus-visible {
  background: var(--primary, #D32F2F);
  color: #fff;
}
.page-home .hero-visual {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark, #1A1A1A);
  min-height: 280px;
  position: relative;
}
.page-home .hero-img {
  width: 100%;
  height: auto;
  max-width: 720px;
  display: block;
  object-fit: cover;
}
@media (min-width: 768px) {
  .page-home .hero-split {
    flex-direction: row;
    min-height: 80vh;
  }
  .page-home .hero-content {
    flex: 0 0 50%;
    padding: 60px 48px 60px 60px;
  }
  .page-home .hero-content h1 {
    font-size: 72px;
  }
  .page-home .hero-subtitle {
    font-size: 18px;
  }
  .page-home .hero-visual {
    flex: 0 0 50%;
    min-height: 480px;
  }
  .page-home .hero-img {
    height: 100%;
    object-fit: cover;
  }
}

/* ===== 同步状态条 ===== */
.page-home .sync-band {
  background: var(--bg-dark, #1A1A1A);
  padding: 16px 0;
}
.page-home .sync-indicator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  color: var(--accent, #FFD700);
}
.page-home .sync-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--success, #4CAF50);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.page-home .sync-label {
  font-weight: 600;
  letter-spacing: 0.5px;
}
.page-home .sync-meta {
  color: rgba(255,215,0,0.6);
  margin-left: auto;
  font-size: 12px;
}
@media (max-width: 767px) {
  .page-home .sync-meta {
    margin-left: 0;
    width: 100%;
  }
}

/* ===== 版本对比区 ===== */
.page-home .version-compare {
  padding: 60px 0 48px;
  background: #fff;
}
.page-home .section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  color: var(--text-primary, #111);
  margin: 0 0 32px;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid var(--primary, #D32F2F);
}
@media (min-width: 768px) {
  .page-home .section-title {
    font-size: 32px;
  }
}
.page-home .compare-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .page-home .compare-grid {
    flex-direction: row;
    gap: 32px;
  }
}
.page-home .compare-card {
  flex: 1;
  padding: 28px 24px 24px;
  background: var(--bg-light, #F5F5F5);
  border: 1px solid var(--border, #E0E0E0);
  position: relative;
  transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
  cursor: default;
}
.page-home .compare-card:hover,
.page-home .compare-card:focus-within {
  box-shadow: var(--compare-shadow);
  transform: translateY(-4px);
}
.page-home .version-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary, #111);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-home .compare-card[data-version="browser"] .version-label::before {
  content: "🌐";
  font-size: 20px;
}
.page-home .compare-card[data-version="simplified"] .version-label::before {
  content: "📄";
  font-size: 20px;
}
.page-home .sync-progress {
  height: var(--sync-bar-height, 4px);
  background: var(--accent, #FFD700);
  border-radius: 0;
  margin-bottom: 16px;
  position: relative;
}
.page-home .sync-progress::after {
  content: "同步状态 100%";
  position: absolute;
  right: 0;
  top: -18px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  color: var(--text-secondary, #666);
}
.page-home .version-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary, #666);
  margin: 0 0 16px;
}
.page-home .compare-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}
.page-home .compare-card:hover .compare-detail,
.page-home .compare-card:focus-within .compare-detail {
  max-height: 120px;
  opacity: 1;
}
.page-home .detail-item {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  color: var(--text-primary, #111);
  padding: 2px 8px;
  background: rgba(211,47,47,0.06);
  border-left: 2px solid var(--primary, #D32F2F);
}
.page-home .compare-visual {
  margin-bottom: 24px;
}
.page-home .compare-visual img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border: 1px solid var(--border, #E0E0E0);
}
.page-home .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary, #D32F2F);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  transition: border-color 0.2s;
}
.page-home .btn-link:hover {
  border-bottom-color: var(--primary, #D32F2F);
}

/* ===== 收藏入口 ===== */
.page-home .bookmark-section {
  padding: 60px 0;
  background: var(--bg-dark, #1A1A1A);
}
.page-home .bookmark-section .section-title {
  color: #fff;
  border-left-color: var(--accent, #FFD700);
}
.page-home .bookmark-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .page-home .bookmark-content {
    flex-direction: row;
    align-items: flex-start;
  }
  .page-home .bookmark-steps {
    flex: 0 0 50%;
  }
  .page-home .bookmark-visual {
    flex: 0 0 50%;
  }
}
.page-home .bookmark-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.page-home .step {
  display: flex;
  align-items: center;
  gap: 16px;
}
.page-home .step-num {
  flex-shrink: 0;
  width: var(--step-size, 48px);
  height: var(--step-size, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent, #FFD700);
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
}
.page-home .step p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.page-home .btn-large {
  padding: 14px 36px;
  font-size: 18px;
  font-weight: 700;
  background: var(--primary, #D32F2F);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease-out, transform 0.2s ease-out;
  align-self: flex-start;
}
.page-home .btn-large:hover {
  background: #b71c1c;
  transform: scale(1.02);
}
.page-home .bookmark-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ===== 快速查询入口 ===== */
.page-home .quick-access {
  padding: 60px 0 48px;
  background: #fff;
}
.page-home .access-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .page-home .access-grid {
    flex-direction: row;
    gap: 32px;
  }
}
.page-home .access-card {
  flex: 1;
  padding: 32px 24px;
  background: var(--bg-light, #F5F5F5);
  border: 1px solid var(--border, #E0E0E0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.3s ease-out;
}
.page-home .access-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.06);
}
.page-home .access-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}
.page-home .access-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary, #111);
  margin: 0;
}
.page-home .access-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary, #666);
  margin: 0;
}
.page-home .search-box {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border, #E0E0E0);
  padding: 8px 12px;
}
.page-home .search-icon {
  font-size: 22px;
  color: var(--text-secondary, #666);
  margin-right: 8px;
  font-weight: 300;
}
.page-home .search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary, #111);
  background: transparent;
  padding: 4px 0;
  cursor: default;
}
.page-home .search-box input::placeholder {
  color: var(--text-secondary, #666);
  opacity: 0.7;
}
.page-home .search-hint {
  font-size: 13px;
  color: var(--text-secondary, #666);
  margin: 0;
}
.page-home .access-card .btn {
  margin-top: auto;
}

/* ===== 信任声明 ===== */
.page-home .trust-note {
  padding: 24px 0;
  background: var(--bg-light, #F5F5F5);
  border-top: 1px solid var(--border, #E0E0E0);
}
.page-home .trust-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #666);
  text-align: center;
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 响应式微调 ===== */
@media (max-width: 767px) {
  .page-home .hero-content h1 {
    font-size: 36px;
  }
  .page-home .hero-actions .btn {
    min-width: 140px;
    font-size: 14px;
  }
  .page-home .section-title {
    font-size: 24px;
    padding-left: 14px;
  }
  .page-home .version-label {
    font-size: 18px;
  }
  .page-home .compare-detail {
    max-height: none;
    opacity: 1;
    margin-top: 12px;
  }
  .page-home .step-num {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .page-home .btn-large {
    width: 100%;
    text-align: center;
  }
  .page-home .search-box {
    max-width: 100%;
  }
  .page-home .sync-progress::after {
    font-size: 10px;
    top: -16px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .page-home .hero-content h1 {
    font-size: 56px;
  }
  .page-home .hero-content {
    padding: 40px 32px;
  }
}

/* ===== 打印样式 ===== */
@media print {
  .page-home .hero-split {
    min-height: auto;
  }
  .page-home .hero-visual {
    background: #eee;
  }
  .page-home .sync-dot {
    animation: none;
  }
  .page-home .compare-card:hover {
    transform: none;
    box-shadow: none;
  }
  .page-home .compare-detail {
    max-height: none;
    opacity: 1;
  }
}
