.page-home {
  overflow-x: clip;
  background: var(--ink);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  padding: clamp(36px, 6vw, 88px) 0 clamp(64px, 9vw, 140px);
}

.page-home .hero-glow {
  position: absolute;
  inset: -22% -12% auto -12%;
  height: 96%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 56% at 78% 26%, rgba(164, 107, 255, .44), transparent 68%),
    radial-gradient(40% 50% at 20% 10%, rgba(53, 224, 232, .2), transparent 72%);
  filter: blur(8px);
  animation: home-drift 20s ease-in-out infinite alternate;
}

@keyframes home-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}

.page-home .hero-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}

.page-home .hero-copy {
  max-width: 42ch;
}

.page-home .hero-title {
  margin: 20px 0 22px;
  font-size: clamp(38px, 8vw, 86px);
  line-height: 1.05;
  letter-spacing: .04em;
  font-weight: 900;
  color: var(--white);
}

.page-home .hero-title em {
  font-style: normal;
  background: linear-gradient(96deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-lede {
  margin: 0;
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.95;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.page-home .hero-actions .btn {
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out);
}

.page-home .hero-actions .btn-primary:hover,
.page-home .hero-actions .btn-primary:focus-visible {
  transform: translate(7px, -5px);
}

.page-home .hero-actions .btn-ghost:hover,
.page-home .hero-actions .btn-ghost:focus-visible {
  transform: translate(-7px, -5px);
}

.page-home .hero-visual {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(150deg, rgba(43, 47, 122, .9), rgba(10, 15, 44, .96) 62%);
}

.page-home .hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}

.page-home .hero-plate {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 12px 26px 12px 22px;
  background: rgba(10, 15, 44, .84);
  border-top: 1px solid rgba(53, 224, 232, .4);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  position: relative;
  padding: clamp(56px, 8vw, 118px) 0;
}

.page-home .section-head {
  max-width: 46rem;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.page-home h2 {
  margin: 14px 0 16px;
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.18;
  letter-spacing: .03em;
  font-weight: 800;
  color: var(--white);
}

.page-home .section-lede {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.page-home .section-note {
  margin: 22px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

.page-home .text-link {
  display: inline-block;
  color: var(--violet);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(164, 107, 255, .45);
  padding-bottom: 2px;
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 22px 0 0;
}

/* ---------- 访问自查 ---------- */
.page-home .triage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.page-home .steps {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: triage;
}

.page-home .step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px 24px 22px 22px;
  background: linear-gradient(140deg, rgba(20, 26, 63, .92), rgba(10, 15, 44, .62));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
}

.page-home .step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--cyan);
  line-height: 1.9;
}

.page-home .step-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--white);
}

.page-home .step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.page-home .triage-tail {
  margin: 26px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.page-home .triage-media {
  margin: 0;
}

.page-home .triage-media img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 34px));
}

.page-home .media-caption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ---------- 固定分类 ---------- */
.page-home .cat-strip {
  list-style: none;
  margin: 0 0 clamp(32px, 4vw, 54px);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .cat-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px 14px 20px;
  background: rgba(20, 26, 63, .8);
  box-shadow: inset 0 0 0 1px rgba(153, 162, 201, .18);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: default;
  outline: none;
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.page-home .cat-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 13px;
  height: 100%;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: .55;
  transition: opacity .3s var(--ease-out);
}

.page-home .cat-item:hover,
.page-home .cat-item:focus-visible {
  background: rgba(43, 47, 122, .95);
  box-shadow: inset 0 0 0 1px var(--violet);
}

.page-home .cat-item:hover::after,
.page-home .cat-item:focus-visible::after {
  opacity: 1;
}

.page-home .cat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-home .cat-name {
  white-space: nowrap;
}

.page-home .cat-tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 6;
  width: max-content;
  max-width: 260px;
  padding: 12px 16px;
  background: var(--panel);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(164, 107, 255, .4);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out);
}

.page-home .cat-item:hover .cat-tip,
.page-home .cat-item:focus-visible .cat-tip {
  opacity: 1;
  transform: translateY(0);
}

.page-home .cats-media {
  margin: 0;
}

.page-home .cats-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%);
}

/* ---------- 会员五档 ---------- */
.page-home .section-member {
  background:
    linear-gradient(180deg, rgba(43, 47, 122, .28), transparent 62%);
}

.page-home .tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(153, 162, 201, .16);
}

.page-home .tier {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(153, 162, 201, .16);
  transition: background .3s var(--ease-out), padding-left .3s var(--ease-out);
}

.page-home .tier:hover {
  background: linear-gradient(90deg, rgba(243, 185, 74, .12), transparent 72%);
  padding-left: 16px;
}

.page-home .tier-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-home .tier h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gold);
}

.page-home .tier p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

/* ---------- 专区动态 ---------- */
.page-home .section-timeline {
  position: relative;
  overflow: hidden;
}

.page-home .tl-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .tl-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .15;
}

.page-home .section-timeline > .container {
  position: relative;
  z-index: 1;
}

.page-home .timeline {
  list-style: none;
  margin: 0 0 36px;
  padding: 0 0 0 30px;
  position: relative;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet) 58%, transparent);
}

.page-home .tl-item {
  position: relative;
  padding-bottom: 30px;
}

.page-home .tl-item:last-child {
  padding-bottom: 6px;
}

.page-home .tl-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(53, 224, 232, .8);
  transform: rotate(45deg);
}

.page-home .tl-time {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold);
}

.page-home .tl-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--white);
}

.page-home .tl-item p {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.88;
}

/* ---------- 联系 ---------- */
.page-home .trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  margin-bottom: clamp(36px, 5vw, 60px);
  padding: 28px 0;
  border-top: 1px solid rgba(153, 162, 201, .2);
  border-bottom: 1px solid rgba(153, 162, 201, .2);
}

.page-home .ts-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--white);
}

.page-home .ts-unit {
  font-size: .58em;
  color: var(--gold);
  margin-left: 2px;
}

.page-home .ts-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-home .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.page-home .contact-cards {
  display: grid;
  gap: 14px;
  margin: 0;
}

.page-home .cc {
  position: relative;
  padding: 18px 22px 18px 24px;
  background: linear-gradient(150deg, rgba(20, 26, 63, .95), rgba(10, 15, 44, .72));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-home .cc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--violet);
}

.page-home .cc dt {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--muted);
}

.page-home .cc dd {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  line-height: 1.8;
  word-break: break-word;
}

.page-home .cc dd.mono {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--cyan);
}

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

  .page-home .tier {
    grid-template-columns: 3.6rem minmax(6rem, 8rem) minmax(0, 1fr);
    align-items: baseline;
    gap: 8px 20px;
  }
}

@media (min-width: 980px) {
  .page-home .hero-stage {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }

  .page-home .hero-visual {
    aspect-ratio: 4 / 3;
  }

  .page-home .triage-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  }

  .page-home .contact-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-glow {
    animation: none;
  }

  .page-home .hero-actions .btn,
  .page-home .cat-tip,
  .page-home .tier {
    transition: none;
  }

  .page-home .hero-actions .btn-primary:hover,
  .page-home .hero-actions .btn-primary:focus-visible,
  .page-home .hero-actions .btn-ghost:hover,
  .page-home .hero-actions .btn-ghost:focus-visible {
    transform: none;
  }
}
