.page-home {
  --home-gap: 20px;
  --home-pad: 24px;
  --home-section: 88px;
  overflow-x: hidden;
  background: var(--cream);
  font-family: var(--font-body);
}

/* ---------- 通用标签与索引 ---------- */
.page-home .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.page-home .tag-gold {
  background: var(--gold);
  color: var(--green-deep);
}
.page-home .tag-purple {
  background: var(--purple);
  color: var(--white);
}
.page-home .label-index {
  font-family: var(--font-index);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--purple);
}
.page-home .stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: var(--purple);
}

/* ---------- 通用板块头部 ---------- */
.page-home .home-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 32px;
  max-width: 720px;
}
.page-home .home-section-head__kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
  font-family: var(--font-body);
}
.page-home .home-section-head__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.page-home .home-section-head__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(31, 29, 27, 0.76);
  margin: 0;
  max-width: 640px;
}
.page-home .home-section-head--invert .home-section-head__title {
  color: var(--white);
}
.page-home .home-section-head--invert .home-section-head__desc {
  color: rgba(250, 244, 232, 0.8);
}
.page-home .home-section-head--invert .label-index {
  color: var(--gold-light);
}

/* ---------- 首屏展示 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--purple-light) 55%, var(--gold-light) 100%);
  padding: 88px 0 64px;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 45, 139, 0.22) 0%, rgba(107, 45, 139, 0) 68%);
  animation: home-hero-glow 10s ease-in-out infinite alternate;
  pointer-events: none;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -50px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0) 70%);
  animation: home-hero-glow 14s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
@keyframes home-hero-glow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, 18px, 0) scale(1.12);
  }
}
.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}
.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 7px 16px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(107, 45, 139, 0.14);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 660px;
}
.page-home .home-hero__title-em {
  display: block;
  color: var(--purple);
}
.page-home .home-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(31, 29, 27, 0.8);
  max-width: 520px;
  margin: 0 0 28px;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.page-home .home-hero__actions .btn {
  min-width: 160px;
  justify-content: center;
}
.page-home .home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(107, 45, 139, 0.16);
}
.page-home .home-hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-home .home-hero__meta dt {
  font-family: var(--font-index);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 29, 27, 0.58);
}
.page-home .home-hero__meta dd {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--purple);
}
.page-home .home-hero__meta dd .stat-number {
  font-size: 1.6rem;
}
.page-home .home-hero__visual {
  position: relative;
  min-height: 300px;
}
.page-home .home-hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(107, 45, 139, 0.2);
}
.page-home .home-hero__grape {
  position: absolute;
  top: -30px;
  left: -16px;
  width: 150px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  transform: rotate(-8deg);
  animation: home-grape-float 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 16px rgba(107, 45, 139, 0.25));
}
@keyframes home-grape-float {
  from {
    transform: rotate(-10deg) translateY(0);
  }
  to {
    transform: rotate(-4deg) translateY(-12px);
  }
}
.page-home .home-hero__version {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  color: var(--white);
  background: var(--purple);
  padding: 10px 24px 14px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(107, 45, 139, 0.4);
  cursor: help;
}
.page-home .home-hero__version::after {
  content: "近期发布";
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
}
.page-home .home-hero__version:hover::after,
.page-home .home-hero__version:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 四步指引 ---------- */
.page-home .home-guide {
  background: var(--cream);
  padding: var(--home-section) 0;
  scroll-margin-top: 96px;
}
.page-home .home-guide__layout {
  display: grid;
  gap: 32px;
  align-items: start;
}
.page-home .home-guide__accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-home .home-guide__item {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.page-home .home-guide__item-title {
  margin: 0;
}
.page-home .home-guide__item .accordion-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-align: left;
  transition: background-color 0.3s ease;
}
.page-home .home-guide__item .accordion-trigger:hover {
  background: var(--purple-light);
  color: var(--purple);
}
.page-home .home-guide__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--purple-light);
  color: var(--purple);
  font-family: var(--font-index);
  font-size: 0.82rem;
}
.page-home .home-guide__item .accordion-icon {
  margin-left: auto;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--gold);
}
.page-home .home-guide__item .accordion-panel {
  padding: 0 22px 22px 68px;
}
.page-home .home-guide__item .accordion-panel p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(31, 29, 27, 0.76);
  margin: 0 0 10px;
}
.page-home .home-guide__more {
  display: inline-block;
  font-family: var(--font-index);
  font-size: 0.86rem;
  color: var(--purple);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 45, 139, 0.3);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.page-home .home-guide__more:hover {
  border-bottom-color: var(--purple);
  color: var(--green-deep);
}
.page-home .home-guide__media {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(31, 29, 27, 0.08);
  background: var(--green-soft);
}
.page-home .home-guide__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.page-home .home-guide__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(250, 244, 232, 0.94);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(31, 29, 27, 0.08);
}

/* ---------- 版本更迭摘要 ---------- */
.page-home .home-version {
  position: relative;
  overflow: hidden;
  background: var(--green-deep);
  padding: var(--home-section) 0;
  color: var(--white);
}
.page-home .home-version::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 82% 12%, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0) 44%),
    radial-gradient(circle at 8% 90%, rgba(107, 45, 139, 0.45) 0%, rgba(107, 45, 139, 0) 52%);
  pointer-events: none;
}
.page-home .home-version__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
}
.page-home .home-version__timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-home .home-version__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: background 0.3s ease;
}
.page-home .home-version__item:hover {
  background: rgba(255, 255, 255, 0.12);
}
.page-home .home-version__tag {
  flex-shrink: 0;
  margin-top: 2px;
}
.page-home .home-version__item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--white);
}
.page-home .home-version__item p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(250, 244, 232, 0.78);
  margin: 0;
}
.page-home .home-version__more {
  align-self: flex-start;
  margin-top: 6px;
  border-color: rgba(212, 175, 55, 0.6) !important;
  color: var(--gold) !important;
}
.page-home .home-version__more:hover {
  background: var(--gold) !important;
  color: var(--green-deep) !important;
}
.page-home .home-version__media {
  position: relative;
  z-index: 1;
}
.page-home .home-version__big-num {
  position: absolute;
  top: -32px;
  right: -6px;
  z-index: 0;
  font-size: clamp(7rem, 16vw, 12rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}
.page-home .home-version__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.page-home .home-version__note {
  position: absolute;
  left: 12px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.page-home .home-version__graphic {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.page-home .home-version__graphic img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 资料下载分栏 ---------- */
.page-home .home-download {
  background: var(--gold-light);
  padding: var(--home-section) 0;
}
.page-home .home-download__grid {
  display: grid;
  gap: var(--home-gap);
}
.page-home .home-download__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-home .home-download__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.page-home .home-download__card .label-index {
  font-size: 0.9rem;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--purple-light);
  color: var(--purple);
}
.page-home .home-download__card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}
.page-home .home-download__card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(31, 29, 27, 0.74);
  flex: 1;
}
.page-home .home-download__card .btn {
  margin-top: 8px;
}
.page-home .home-download__card--primary {
  background: var(--purple);
  border-color: var(--purple);
}
.page-home .home-download__card--primary .label-index {
  background: rgba(255, 255, 255, 0.16);
  color: var(--gold-light);
}
.page-home .home-download__card--primary h3,
.page-home .home-download__card--primary p {
  color: var(--white);
}
.page-home .home-download__card--primary p {
  color: rgba(250, 244, 232, 0.84);
}
.page-home .home-download__card--primary .btn-primary {
  background: var(--gold);
  color: var(--green-deep);
}
.page-home .home-download__card--primary .btn-primary:hover {
  background: var(--gold-light);
  color: var(--ink);
}

/* ---------- 新闻动态预览 ---------- */
.page-home .home-news {
  background: var(--purple-light);
  padding: var(--home-section) 0;
}
.page-home .home-news__list {
  display: grid;
  gap: var(--home-gap);
}
.page-home .home-news__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(107, 45, 139, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.page-home .home-news__item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0;
}
.page-home .home-news__item h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s ease;
}
.page-home .home-news__item h3 a:hover {
  color: var(--purple);
}
.page-home .home-news__item p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  color: rgba(31, 29, 27, 0.76);
}
.page-home .home-news__more {
  margin-top: 32px;
}

/* ---------- 问题反馈入口 ---------- */
.page-home .home-feedback {
  position: relative;
  overflow: hidden;
  background: var(--purple);
  padding: var(--home-section) 0;
  color: var(--white);
  scroll-margin-top: 96px;
}
.page-home .home-feedback::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.24);
  pointer-events: none;
}
.page-home .home-feedback::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(250, 244, 232, 0.12);
  pointer-events: none;
}
.page-home .home-feedback__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}
.page-home .home-feedback__kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-body);
}
.page-home .home-feedback__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--white);
}
.page-home .home-feedback p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(250, 244, 232, 0.86);
  margin: 0 0 10px;
}
.page-home .home-feedback__email {
  display: inline-block;
  padding: 12px 16px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-index);
  font-size: 0.9rem;
  color: var(--gold-light);
}
.page-home .home-feedback .btn-primary {
  background: var(--gold);
  color: var(--green-deep);
}
.page-home .home-feedback .btn-primary:hover {
  background: var(--gold-light);
  color: var(--ink);
}
.page-home .home-feedback__promise {
  background: var(--gold);
  color: var(--green-deep);
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.page-home .home-feedback__promise .stat-number {
  display: block;
  font-size: clamp(4.2rem, 8vw, 6.5rem);
  line-height: 1;
  color: var(--green-deep);
}
.page-home .home-feedback__promise p {
  margin: 12px 0 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green-deep);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-download__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .home-news__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-feedback__inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .page-home .home-hero__visual {
    min-height: 360px;
  }
}

@media (min-width: 860px) {
  .page-home .home-hero {
    padding: 72px 0 96px;
  }
  .page-home .home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
  }
  .page-home .home-hero__title {
    font-size: clamp(3rem, 5vw, 4.4rem);
  }
  .page-home .home-guide__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
  .page-home .home-version__layout {
    grid-template-columns: 1fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .page-home .home-guide,
  .page-home .home-download,
  .page-home .home-news {
    padding: 96px 0;
  }
  .page-home .home-version,
  .page-home .home-feedback {
    padding: 104px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero::before,
  .page-home .home-hero::after,
  .page-home .home-hero__grape {
    animation: none !important;
    transition: none !important;
  }
}
