/* ===================== 首页 · page-home ===================== */

.page-home {
  --home-glow-jade: rgba(0, 168, 107, .34);
  --home-glow-gold: rgba(212, 175, 55, .22);
  --home-glow-coral: rgba(255, 107, 107, .14);
  --home-soft: rgba(242, 245, 247, .78);
  --home-softer: rgba(242, 245, 247, .64);
  display: block;
}

/* ---------- 首屏 ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(1.2) contrast(1.05);
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 88% at 86% 8%, var(--home-glow-jade), transparent 56%),
    radial-gradient(88% 78% at 4% 88%, var(--home-glow-gold), transparent 58%),
    radial-gradient(70% 62% at 74% 98%, var(--home-glow-coral), transparent 62%),
    linear-gradient(168deg, rgba(11, 29, 58, .56) 0%, rgba(5, 16, 31, .9) 56%, rgba(5, 16, 31, .99) 100%);
}

.page-home .hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 6vw, 3rem);
  padding-block: clamp(2.25rem, 7vw, 4.5rem);
}

.page-home .hero__lead {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.page-home .hero__title {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: 0;
}

.page-home .hero__cn {
  display: block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.7rem, 13vw, 6rem);
  line-height: 1;
  letter-spacing: -.02em;
  background: linear-gradient(108deg, var(--cloud) 6%, var(--gold) 48%, var(--jade) 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .page-home .hero__cn { color: var(--cloud); }
}

.page-home .hero__sub {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(.92rem, 3.5vw, 1.12rem);
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .hero__lede {
  max-width: 38ch;
  color: var(--home-soft);
}

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

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

/* ---------- 权益切换卡 ---------- */

.page-home .equity {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(1.15rem, 4vw, 1.75rem);
  background: linear-gradient(152deg, rgba(242, 245, 247, .1), rgba(11, 29, 58, .78));
  border: 1px solid var(--line);
  box-shadow: 0 30px 74px -34px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(242, 245, 247, .1);
}

.page-home .equity__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: .16;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.page-home .equity__texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .equity__head,
.page-home .equity__bar,
.page-home .equity__panels {
  position: relative;
  z-index: 1;
}

.page-home .equity__title {
  margin: .35rem 0 .9rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.12rem, 4.2vw, 1.42rem);
  line-height: 1.4;
  color: var(--cloud);
}

.page-home .equity__bar {
  margin-bottom: 1rem;
}

.page-home .equity__bar .filter-btn {
  padding: .48rem 1.05rem;
  border-radius: var(--pill);
  font-size: .9rem;
}

.page-home .equity__panels {
  display: grid;
  gap: .75rem;
}

.page-home .equity-panel {
  border-radius: var(--r-md);
  padding: 1.1rem 1.15rem 1.2rem;
  background: rgba(5, 16, 31, .66);
  border: 1px solid var(--line-soft);
}

.page-home .equity-panel[hidden] {
  display: none;
}

.page-home .equity-panel__name {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--gold);
}

.page-home .equity-panel__list {
  display: grid;
  gap: .45rem;
  margin: .7rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .equity-panel__list li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .94rem;
  line-height: 1.65;
  color: var(--home-soft);
}

.page-home .equity-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
}

.page-home .equity-panel__note {
  margin: .85rem 0 0;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--grey);
}

/* ---------- 章节通用 ---------- */

.page-home .sec-head {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  max-width: 64ch;
  margin-bottom: clamp(1.3rem, 4vw, 2.1rem);
}

/* ---------- 服务索引横带 ---------- */

.page-home .band {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-home .band::-webkit-scrollbar {
  display: none;
}

.page-home .band:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: var(--r-md);
}

.page-home .band__track {
  display: flex;
  gap: .9rem;
  margin: 0;
  padding: 0 0 .9rem;
  list-style: none;
}

.page-home .band__item {
  display: flex;
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
}

.page-home .band__item > .band-card {
  flex: 1;
}

.page-home .band-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  border-radius: var(--r-md);
  padding: 1.4rem 1.25rem 1.5rem;
  background: linear-gradient(158deg, rgba(242, 245, 247, .08), rgba(11, 29, 58, .62));
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
  transition: border-color .32s var(--ease), transform .32s var(--ease),
              box-shadow .32s var(--ease), background .32s var(--ease);
}

.page-home .band-card:hover,
.page-home .band-card:focus-visible {
  border-color: rgba(212, 175, 55, .62);
  transform: translateY(-5px);
  box-shadow: 0 24px 46px -30px rgba(0, 168, 107, .85);
}

.page-home .band-card .num {
  padding-bottom: .5rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
}

.page-home .band-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--cloud);
}

.page-home .band-card__text {
  font-size: .9rem;
  line-height: 1.68;
  color: var(--home-softer);
}

/* ---------- 首次到访 ---------- */

.page-home .start__head {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.page-home .start__head .btn {
  align-self: flex-start;
  margin-top: .35rem;
}

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

.page-home .start-step {
  position: relative;
  padding: 1.2rem 1.25rem 1.3rem 3.05rem;
  border-radius: var(--r-md);
  background: rgba(242, 245, 247, .045);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--jade);
}

.page-home .start-step .num {
  position: absolute;
  left: 1.1rem;
  top: 1.35rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-home .start-step__title {
  margin: 0 0 .4rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cloud);
}

.page-home .start-step p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.72;
  color: var(--home-soft);
}

/* ---------- 版本与节奏带 ---------- */

.page-home .pulse {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--night);
}

.page-home .pulse__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .pulse__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
}

.page-home .pulse__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 90% 4%, var(--home-glow-jade), transparent 58%),
    linear-gradient(122deg, rgba(5, 16, 31, .95) 0%, rgba(11, 29, 58, .78) 56%, rgba(5, 16, 31, .94) 100%);
}

.page-home .pulse__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 5vw, 2.75rem);
  align-items: center;
}

.page-home .pulse__figure {
  display: flex;
  justify-content: center;
}

.page-home .pulse__phone {
  width: min(280px, 74vw);
  border-radius: 30px;
  overflow: hidden;
  transform: rotate(-3.2deg);
  box-shadow:
    0 0 0 1px rgba(63, 224, 200, .42),
    0 0 44px -8px rgba(0, 168, 107, .6),
    0 36px 72px -34px rgba(0, 0, 0, .95);
}

.page-home .pulse__phone img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .pulse__body {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.page-home .pulse__facts {
  display: grid;
  gap: .85rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .pulse-fact {
  position: relative;
  padding-left: 1.15rem;
  font-size: .93rem;
  line-height: 1.72;
  color: var(--home-soft);
}

.page-home .pulse-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.page-home .pulse-fact__tag {
  display: inline-block;
  margin-right: .55rem;
  padding: .1rem .5rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--gold);
  vertical-align: .08em;
}

.page-home .pulse__body .btn {
  align-self: flex-start;
  margin-top: .5rem;
}

/* ---------- 客服与备案 ---------- */

.page-home .reach {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 5vw, 3rem);
  padding-top: clamp(1.75rem, 5vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.page-home .reach__intro {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

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

.page-home .reach-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: .25rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .contact-item__key {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .contact-item__val {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--cloud);
  word-break: break-word;
}

.page-home .reach__link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .reach__link:hover,
.page-home .reach__link:focus-visible {
  color: var(--gold);
}

.page-home .reach .note-text {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .84rem;
  line-height: 1.72;
  color: var(--grey);
}

/* ---------- 桌面端 ---------- */

@media (min-width: 960px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr);
    align-items: end;
    gap: clamp(2rem, 4vw, 3.25rem);
    min-height: 60vh;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
  }

  .page-home .hero__switch {
    align-self: start;
    transform: translateY(-2.25rem) rotate(-1.2deg);
  }
}

@media (min-width: 900px) {
  .page-home .pulse__grid {
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  }

  .page-home .pulse__phone {
    width: min(320px, 100%);
  }

  .page-home .reach {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .page-home .reach-item {
    grid-template-columns: 9rem 1fr;
    align-items: baseline;
    gap: 1rem;
  }
}

@media (min-width: 1080px) {
  .page-home .band__item {
    flex-basis: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__switch,
  .page-home .pulse__phone {
    transform: none;
  }

  .page-home .band-card {
    transition: none;
  }
}
</main>
