/* ===== 首页专属样式 ===== */
.page-home {
  --home-gold-soft: rgba(212, 163, 42, 0.36);
  --home-gold-line: rgba(212, 163, 42, 0.14);
  --home-mist: rgba(253, 252, 249, 0.78);
  position: relative;
  overflow-x: clip;
  background: var(--c-deep-blue);
}

/* ===== 面板通用：堆叠式斜切画板 ===== */
.page-home .home-section {
  position: relative;
  padding: calc(3rem + 24px) var(--gutter) 3.5rem;
  margin-top: -1px;
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-section__action {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

/* ===== ① 框景首屏 ===== */
.page-home .home-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter) 3rem;
  background: var(--c-deep-blue);
  color: var(--c-mist-white);
  overflow: hidden;
  isolation: isolate;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .home-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 30%, rgba(10, 29, 62, 0) 0%, rgba(7, 21, 38, 0.7) 78%),
    linear-gradient(180deg, rgba(10, 29, 62, 0.74) 0%, rgba(7, 21, 38, 0.9) 100%);
}

.page-home .home-hero__pattern {
  position: absolute;
  top: 2.25rem;
  right: 1.75rem;
  z-index: 0;
  width: min(38vw, 320px);
  height: auto;
  opacity: 0.85;
  pointer-events: none;
}

.page-home .home-hero__frame {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.page-home .home-hero__crumbs {
  margin-bottom: 1.25rem;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--home-gold-soft);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--c-gold);
  background: rgba(7, 21, 38, 0.35);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.16;
  letter-spacing: 0.04em;
  color: var(--c-mist-white);
}

.page-home .home-hero__lead {
  margin: 0.9rem 0 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  letter-spacing: 0.2em;
  color: var(--c-gold);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.page-home .home-hero .btn--ghost {
  color: var(--c-mist-white);
  border-color: rgba(253, 252, 249, 0.4);
}

.page-home .home-hero__modules {
  max-width: 58ch;
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--home-gold-line);
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--home-mist);
}

.page-home .home-hero__meta {
  max-width: 52ch;
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(253, 252, 249, 0.62);
}

.page-home .home-hero__note {
  position: absolute;
  right: 0.9rem;
  bottom: 3.2rem;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.42em;
  color: var(--c-gold);
  text-orientation: upright;
}

/* ===== ② 当季新版订阅页速览 ===== */
.page-home .home-section--stats {
  background: var(--c-rice-white);
  color: var(--c-deep-blue);
}

.page-home .home-stats {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-home .home-stats__item {
  position: relative;
  padding: 1.5rem 1.25rem 1.6rem 1.75rem;
  background: var(--c-mist-white);
  border-left: 3px solid var(--c-gold);
  border-radius: 2px 14px 2px 14px;
  box-shadow: 0 10px 24px rgba(7, 21, 38, 0.07);
}

.page-home .home-stats__num {
  margin: 0 0 0.6rem;
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-deep-gold) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .page-home .home-stats__num {
    color: var(--c-deep-gold);
  }
}

.page-home .home-stats__title {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-deep-blue);
}

.page-home .home-stats__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #40506b;
}

/* ===== ③ 左侧导航使用指南 ===== */
.page-home .home-section--guide {
  background: var(--c-charcoal-blue);
  color: var(--c-mist-white);
}

.page-home .home-section--guide .section-head__title,
.page-home .home-section--cases .section-head__title {
  color: var(--c-mist-white);
}

.page-home .home-section--guide .section-head__note,
.page-home .home-section--cases .section-head__note {
  color: var(--c-gold);
}

.page-home .home-guide {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.page-home .home-guide__steps {
  order: 2;
}

.page-home .home-guide__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.page-home .home-guide__step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
}

.page-home .home-guide__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(212, 163, 42, 0.5);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: 1.1rem;
  color: var(--c-gold);
}

.page-home .home-guide__step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-mist-white);
}

.page-home .home-guide__step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(253, 252, 249, 0.72);
}

.page-home .home-guide__media {
  order: 1;
  margin: 0;
}

.page-home .home-guide__img {
  width: 100%;
  height: auto;
}

.page-home .home-guide__note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: rgba(212, 163, 42, 0.1);
  border-left: 3px solid var(--c-gold);
  border-radius: 0 10px 0 10px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(253, 252, 249, 0.92);
}

.page-home .home-guide__note p {
  margin: 0;
}

/* ===== ④ 服务清单 ===== */
.page-home .home-section--services {
  background: var(--c-rice-white);
  color: var(--c-deep-blue);
}

.page-home .home-services__overview {
  margin-top: 2rem;
}

.page-home .home-services__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-home .home-services__card {
  border: 1px solid var(--c-beige);
  border-radius: 2px 16px 2px 16px;
  padding: 1.3rem 1.25rem 1.45rem;
  background: var(--c-mist-white);
  box-shadow: 0 6px 16px rgba(7, 21, 38, 0.07);
}

/* ===== ⑤ 案例合集 ===== */
.page-home .home-section--cases {
  background: var(--c-deep-blue);
  color: var(--c-mist-white);
  overflow: hidden;
}

.page-home .home-cases__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .home-cases__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(7, 21, 38, 0.92), rgba(10, 29, 62, 0.86));
}

.page-home .home-cases__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-cases__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .home-cases__card {
  padding: 1.4rem 1.4rem 1.5rem;
  background: rgba(7, 21, 38, 0.55);
  border: 1px solid rgba(212, 163, 42, 0.36);
  border-radius: 2px 16px 2px 16px;
}

.page-home .home-cases__card .card__title {
  margin-bottom: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.08rem;
  color: var(--c-mist-white);
}

.page-home .home-cases__card .card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(253, 252, 249, 0.74);
}

.page-home .home-cases__count {
  max-width: 48ch;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--home-gold-line);
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(253, 252, 249, 0.78);
}

/* ===== ⑥ 常见问题前置 ===== */
.page-home .home-section--faq {
  background: var(--c-rice-white);
  color: var(--c-deep-blue);
}

.page-home .home-faq__list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-home .home-faq__item {
  padding: 1.5rem 1.25rem;
  background: var(--c-mist-white);
  border: 1px solid var(--c-beige);
  border-left: 4px solid var(--c-gold);
  border-radius: 2px 12px 2px 12px;
}

.page-home .home-faq__q {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-deep-blue);
}

.page-home .home-faq__a {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #40506b;
}

.page-home .home-faq__link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.86rem;
  color: var(--c-deep-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .home-faq__more {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.25rem;
}

/* ===== 桌面与平板增强 ===== */
@media (min-width: 768px) {
  .page-home .home-section {
    padding-top: calc(4rem + 32px);
    clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .home-hero__pattern {
    display: block;
  }

  .page-home .home-hero__frame {
    padding: 2.25rem 2.5rem;
  }

  .page-home .home-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .page-home .home-guide {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2.5rem;
  }

  .page-home .home-guide__steps {
    order: 1;
  }

  .page-home .home-guide__media {
    order: 2;
  }

  .page-home .home-services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .page-home .home-cases__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .page-home .home-faq__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .page-home .home-cases__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
