.page-home {
  --home-bento-radius: clamp(1rem, 2.4vw, 1.75rem);
  --home-gold-glow: 0 0 60px rgba(212, 175, 55, 0.28), 0 0 120px rgba(230, 0, 18, 0.14);
  --home-card-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.12) inset;
  position: relative;
  background: var(--color-night);
  color: var(--color-rice);
  overflow-x: hidden;
}

/* ========== 首屏 ========== */
.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background: radial-gradient(ellipse at 78% 30%, rgba(123, 12, 27, 0.6) 0%, rgba(18, 18, 26, 0.94) 62%), var(--color-night);
  overflow: hidden;
}
.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.page-home .hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(18, 18, 26, 0.96) 0%, rgba(123, 12, 27, 0.55) 48%, rgba(18, 18, 26, 0.8) 100%);
}
.page-home .hero-cloud {
  position: absolute;
  left: 42%;
  bottom: 10%;
  width: 320px;
  height: 200px;
  z-index: 0;
  pointer-events: none;
}
.page-home .hero-slant {
  position: absolute;
  top: 0;
  right: -8%;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, rgba(230, 0, 18, 0.85), rgba(212, 175, 55, 0.7), transparent);
  transform: rotate(-8deg);
  transform-origin: top right;
  z-index: 0;
}
.page-home .hero-slant-alt {
  position: absolute;
  top: 36%;
  right: -10%;
  width: 40%;
  height: 1px;
  background: rgba(230, 0, 18, 0.4);
  transform: rotate(6deg);
  z-index: 0;
}
.page-home .hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
}
.page-home .hero-copy {
  max-width: 42rem;
}
.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.4rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
}
.page-home .hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-china-red);
  box-shadow: 0 0 0 4px rgba(230, 0, 18, 0.28);
}
.page-home #hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--color-rice);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.14);
  margin-bottom: 1.6rem;
}
.page-home .hero-highlight {
  color: var(--color-gold);
  position: relative;
  white-space: nowrap;
}
.page-home .hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.34em;
  background: rgba(230, 0, 18, 0.3);
  z-index: -1;
  transform: skewX(-8deg);
}
.page-home .hero-lead {
  font-size: 1.04rem;
  line-height: 1.85;
  color: rgba(245, 240, 225, 0.82);
  max-width: 35rem;
  margin-bottom: 2.3rem;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.4rem;
}
.page-home .hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  font-size: 0.88rem;
  color: var(--color-gold-light);
}
.page-home .hero-quick-links a {
  color: inherit;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  padding-bottom: 0.2rem;
}
.page-home .hero-quick-links a::after {
  content: "→";
  margin-left: 0.3rem;
  color: var(--color-china-red);
}
.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2.6rem;
}
.page-home .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.page-home .hero-stats .stat-num {
  font-family: var(--font-num);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.1;
}
.page-home .hero-stats li span:last-child {
  font-size: 0.82rem;
  color: rgba(245, 240, 225, 0.55);
  letter-spacing: 0.08em;
}

/* 首屏数据卡片 */
.page-home .hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.page-home .hero-stage::before {
  content: "";
  position: absolute;
  top: -3rem;
  right: -2rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(230, 0, 18, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(230, 0, 18, 0.12), transparent 70%);
  z-index: -1;
}
.page-home .hero-card {
  position: relative;
  background: rgba(43, 32, 32, 0.64);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem;
  box-shadow: var(--home-card-shadow);
}
.page-home .hero-card-rank {
  transform: rotate(-1.2deg);
}
.page-home .hero-card-zone {
  transform: rotate(1.4deg);
}
.page-home .card-tag {
  display: inline-block;
  padding: 0.32rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.page-home .rank-cell {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.page-home .rank-cell + .rank-cell {
  margin-top: 0.6rem;
}
.page-home .rank-num {
  font-family: var(--font-num);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
}
.page-home .rank-cap {
  font-size: 0.85rem;
  color: rgba(245, 240, 225, 0.75);
}
.page-home .rank-tip {
  font-size: 0.83rem;
  margin-top: 1rem;
  color: rgba(245, 240, 225, 0.6);
  border-top: 1px dashed rgba(212, 175, 55, 0.32);
  padding-top: 0.8rem;
}
.page-home .zone-chart-svg,
.page-home .zone-bar-wide {
  width: 100%;
  height: auto;
  display: block;
}
.page-home .svg-label {
  font-family: var(--font-body);
  font-size: 12px;
  fill: rgba(245, 240, 225, 0.75);
}
.page-home .svg-value {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  fill: var(--color-gold);
}
.page-home .svg-note {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.04em;
  fill: rgba(245, 240, 225, 0.5);
}
.page-home .svg-label-lg {
  font-family: var(--font-body);
  font-size: 14px;
  fill: rgba(245, 240, 225, 0.78);
}
.page-home .svg-value-lg {
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 800;
  fill: var(--color-gold);
}
.page-home .svg-note-lg {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  fill: rgba(245, 240, 225, 0.55);
}
.page-home .zone-legend {
  display: flex;
  gap: 1.4rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: rgba(245, 240, 225, 0.72);
}
.page-home .legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 0.4rem;
}
.page-home .legend-dot-gold {
  background: var(--color-gold);
}
.page-home .legend-dot-red {
  background: var(--color-china-red);
}

/* ========== 功能模块速览 ========== */
.page-home .home-services {
  padding: 6rem 0 4.5rem;
  background: linear-gradient(180deg, var(--color-night) 0%, var(--color-night-soft) 100%);
}
.page-home .home-services .section-head {
  margin-bottom: 2.4rem;
}
.page-home .section-number {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.5vw, 3.7rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.65);
  display: block;
  margin-bottom: 0.4rem;
}
.page-home .section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}
.page-home .section-sub {
  margin-top: 0.85rem;
  color: rgba(245, 240, 225, 0.62);
  max-width: 46rem;
  line-height: 1.8;
}
.page-home .slant-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.8), rgba(230, 0, 18, 0.15));
  transform: skewY(-1.5deg);
  margin-bottom: 1.8rem;
  position: relative;
  overflow: hidden;
}
.page-home .slant-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32%;
  height: 100%;
  background: rgba(245, 240, 225, 0.5);
}
.page-home .home-bento-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.page-home .home-bento-card {
  grid-column: span 12;
  background: var(--color-warm-ink);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--home-bento-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.page-home .home-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-gold);
}
.page-home .bento-media {
  position: relative;
  overflow: hidden;
  background: #1a0f0f;
}
.page-home .bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .home-bento-browser .bento-media {
  min-height: 240px;
}
.page-home .home-bento-zone .bento-media {
  min-height: 200px;
}
.page-home .bento-content {
  padding: 1.8rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-home .bento-content .card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0.7rem 0 0.7rem;
  color: var(--color-rice);
}
.page-home .bento-content .card-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(245, 240, 225, 0.7);
  margin-bottom: 1.2rem;
}
.page-home .bento-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}
.page-home .bento-list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.89rem;
  color: rgba(245, 240, 225, 0.76);
}
.page-home .bento-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.55em;
  height: 0.55em;
  border: 2px solid var(--color-gold);
  border-radius: 3px;
  transform: rotate(45deg);
}
.page-home .bento-metric {
  margin-top: auto;
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(18, 18, 26, 0.45);
  border: 1px solid rgba(92, 122, 92, 0.4);
  border-radius: var(--radius-md);
  color: var(--color-moss-light);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}
.page-home .query-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0 1.5rem;
  font-size: 0.85rem;
  color: rgba(245, 240, 225, 0.78);
}
.page-home .query-steps span {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
}
.page-home .step-arrow {
  color: var(--color-gold);
  font-style: normal;
}

/* ========== 最新动态 ========== */
.page-home .home-journal {
  padding: 5rem 0;
  background: linear-gradient(120deg, rgba(123, 12, 27, 0.66), rgba(18, 18, 26, 0.92)), var(--color-night);
}
.page-home .section-head-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.2rem;
}
.page-home .section-head-inline .btn {
  margin-bottom: 0.3rem;
}
.page-home .journal-grid {
  display: grid;
  gap: 1.2rem;
}
.page-home .journal-item {
  background: rgba(18, 18, 26, 0.58);
  border: 1px solid rgba(245, 240, 225, 0.12);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.page-home .journal-item:hover {
  transform: translateX(6px);
  background: rgba(43, 32, 32, 0.78);
}
.page-home .journal-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
}
.page-home .journal-item h3 {
  font-size: 1.08rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 0.7rem;
  color: var(--color-rice);
}
.page-home .journal-item p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(245, 240, 225, 0.68);
  margin: 0;
}

/* ========== 历史档案亮点 ========== */
.page-home .home-archive {
  padding: 6rem 0;
  background: var(--color-night);
}
.page-home .archive-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.page-home .archive-media {
  position: relative;
}
.page-home .archive-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: var(--shadow-card);
}
.page-home .archive-media::after {
  content: "";
  position: absolute;
  inset: auto -1.2rem -1.2rem auto;
  width: 38%;
  height: 42%;
  border-right: 3px solid rgba(230, 0, 18, 0.65);
  border-bottom: 3px solid rgba(230, 0, 18, 0.65);
  border-radius: 0 0 var(--radius-lg) 0;
}
.page-home .archive-copy .section-head {
  margin-bottom: 1.5rem;
}
.page-home .archive-lead {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(245, 240, 225, 0.82);
  margin: 0 0 2.2rem;
}
.page-home .archive-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.4rem;
  display: grid;
  gap: 1.3rem;
}
.page-home .archive-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.page-home .archive-list-num {
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.75);
  flex: 0 0 auto;
}
.page-home .archive-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
  color: var(--color-rice);
}
.page-home .archive-list p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245, 240, 225, 0.66);
}
.page-home .archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ========== 服务承诺 ========== */
.page-home .home-trust {
  padding: 4rem 0 5rem;
  background: var(--color-night-soft);
}
.page-home .trust-metrics {
  list-style: none;
  padding: 0;
  margin: 0 0 2.4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.page-home .trust-metrics li {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.page-home .trust-metrics span {
  font-family: var(--font-num);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.1;
}
.page-home .trust-metrics small {
  font-size: 0.84rem;
  color: rgba(245, 240, 225, 0.62);
  letter-spacing: 0.06em;
}
.page-home .home-trust blockquote {
  position: relative;
  max-width: 74rem;
  margin: 0 auto;
  padding: 2.4rem 2rem 2.4rem 3.2rem;
  background: linear-gradient(135deg, rgba(123, 12, 27, 0.5), rgba(212, 175, 55, 0.08));
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--color-gold);
}
.page-home .home-trust blockquote::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 1.2rem;
  width: 1.5rem;
  height: 1.5rem;
  border-left: 3px solid var(--color-china-red);
  border-top: 3px solid var(--color-china-red);
  opacity: 0.85;
}
.page-home .home-trust blockquote p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-rice);
  margin: 0 0 1.1rem;
}
.page-home .home-trust blockquote footer {
  font-size: 0.88rem;
  color: var(--color-gold-light);
  letter-spacing: 0.12em;
}
.page-home .home-contact-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.2rem;
  font-size: 0.9rem;
  color: rgba(245, 240, 225, 0.62);
}
.page-home .home-contact-note a {
  color: var(--color-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 0.15rem;
}

/* ========== 响应式 ========== */
@media (min-width: 720px) {
  .page-home .trust-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .hero-container {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 4rem;
    align-items: center;
  }
  .page-home .home-bento-card.cell-span-8 {
    grid-column: span 8;
  }
  .page-home .home-bento-card.cell-span-4 {
    grid-column: span 4;
  }
  .page-home .home-bento-browser {
    flex-direction: row;
  }
  .page-home .home-bento-zone {
    flex-direction: row-reverse;
  }
  .page-home .home-bento-browser .bento-media {
    flex: 1.05;
    min-width: 0;
  }
  .page-home .home-bento-zone .bento-media {
    flex: 0.75;
    min-width: 0;
  }
  .page-home .home-bento-browser .bento-content {
    flex: 1;
  }
  .page-home .journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .archive-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero {
    min-height: 88vh;
    padding: 9rem 0 6rem;
  }
  .page-home .hero-cloud {
    left: 46%;
    bottom: 8%;
    width: 420px;
    height: 260px;
  }
}
