.page-home {
  --home-glow-cyan: rgba(127, 231, 255, 0.16);
  --home-glow-orange: rgba(255, 138, 61, 0.14);
  --home-hairline: rgba(127, 231, 255, 0.22);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow-x: hidden;
}

/* ---------- Hero ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(22px, 4vw, 46px) clamp(34px, 5vw, 64px);
}

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

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(7, 11, 20, 0.94) 0%, rgba(7, 11, 20, 0.62) 52%, rgba(7, 11, 20, 0.96) 100%),
    radial-gradient(620px 380px at 84% 8%, var(--home-glow-orange), transparent 68%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: 6%;
  right: -10%;
  z-index: 1;
  width: 48%;
  height: 84%;
  pointer-events: none;
  background: linear-gradient(155deg, rgba(127, 231, 255, 0.12), rgba(21, 34, 56, 0.42) 55%, rgba(7, 11, 20, 0.18));
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
}

.page-home .home-hero__head {
  max-width: 64ch;
  margin-bottom: clamp(22px, 3.4vw, 42px);
}

.page-home .home-hero__head h1 {
  margin: 10px 0 14px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .home-hero__head .lede {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 60ch;
}

.page-home .home-hero__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 900px) {
  .page-home .home-hero__split {
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    align-items: start;
  }
}

/* 入口索引 */
.page-home .home-entry {
  padding: clamp(14px, 2vw, 20px);
  border: var(--hair);
  border-radius: var(--r-m);
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.94), rgba(14, 22, 38, 0.72));
  box-shadow: var(--shadow-1);
}

.page-home .home-entry__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: var(--hair);
}

.page-home .home-entry__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-home .home-entry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 620px) {
  .page-home .home-entry__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .home-entry__grid > li {
  display: flex;
}

.page-home .home-entry__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  padding: 13px 12px 15px;
  border: var(--hair);
  border-radius: var(--r-s);
  background: rgba(21, 34, 56, 0.55);
  text-decoration: none;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.page-home .home-entry__card:hover,
.page-home .home-entry__card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--home-hairline);
  box-shadow: var(--shadow-2);
}

.page-home .home-entry__no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .home-entry__card .card-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.page-home .home-entry__card .card-text {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* 分类标签墙 */
.page-home .home-tags {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(14px, 2vw, 20px);
  border: var(--hair);
  border-radius: var(--r-m);
  background:
    radial-gradient(420px 220px at 100% 0%, var(--home-glow-cyan), transparent 70%),
    rgba(21, 34, 56, 0.5);
}

.page-home .home-tags__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.page-home .home-tags__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-tags__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-tags__media {
  margin: 0;
  border-radius: var(--r-s);
  overflow: hidden;
}

.page-home .home-tags__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 分类区块 ---------- */
.page-home .home-cats {
  padding-block: clamp(40px, 5.5vw, 78px);
}

.page-home .home-cats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .page-home .home-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .page-home .home-cats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .home-cat {
  padding: 18px;
  border: var(--hair);
  border-radius: var(--r-m);
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.88), rgba(14, 22, 38, 0.6));
  scroll-margin-top: 110px;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}

.page-home .home-cat:hover {
  border-color: var(--home-hairline);
  transform: translateY(-2px);
}

.page-home .home-cat__name {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-home .home-cat__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-cat--new {
  background: linear-gradient(160deg, var(--orange-soft), rgba(14, 22, 38, 0.72));
  border-color: rgba(255, 138, 61, 0.34);
}

.page-home .home-cat--new .tag {
  display: inline-block;
  margin-bottom: 10px;
}

/* ---------- 电脑端 ---------- */
.page-home .home-client {
  padding-block: clamp(40px, 5.5vw, 80px);
  border-top: var(--hair);
  border-bottom: var(--hair);
  background:
    radial-gradient(720px 320px at 8% 0%, var(--home-glow-cyan), transparent 72%),
    rgba(14, 22, 38, 0.34);
}

.page-home .home-client__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .home-client__inner {
    grid-template-columns: 1fr 1.05fr;
    gap: 44px;
  }
}

.page-home .home-client__lede {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .home-client__list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-home .home-client__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--muted);
}

.page-home .home-client__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.page-home .home-client__media {
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.page-home .home-client__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 三步找入口 ---------- */
.page-home .home-steps {
  padding-block: clamp(40px, 5.5vw, 78px);
}

.page-home .home-steps__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .page-home .home-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .home-step {
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
  border: var(--hair);
  border-radius: var(--r-m);
  background: rgba(14, 22, 38, 0.72);
}

.page-home .home-step::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(127, 231, 255, 0));
}

.page-home .home-step__num {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.page-home .home-step__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.page-home .home-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 更新节奏 ---------- */
.page-home .home-updates {
  padding-block: clamp(40px, 5.5vw, 78px);
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.34), rgba(7, 11, 20, 0));
}

.page-home .home-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .page-home .home-flow {
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: start;
  }
}

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

.page-home .home-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), rgba(31, 51, 82, 0.7));
}

.page-home .home-timeline__item {
  position: relative;
  padding-bottom: 24px;
}

.page-home .home-timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .home-timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
}

.page-home .home-timeline__time {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .home-timeline__title {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.page-home .home-timeline__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-flow__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-flow__media {
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
}

.page-home .home-flow__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-flow__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 信任与支持 ---------- */
.page-home .home-trust {
  padding-block: clamp(40px, 5.5vw, 82px);
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

@media (min-width: 760px) {
  .page-home .home-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .home-stat {
  padding: 16px;
  border: var(--hair);
  border-radius: var(--r-m);
  background: rgba(14, 22, 38, 0.66);
}

.page-home .home-stat__value {
  display: block;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cyan);
}

.page-home .home-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-support {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 760px) {
  .page-home .home-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .page-home .home-support {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .home-support__item {
  padding: 18px;
  border: var(--hair);
  border-radius: var(--r-m);
  background: linear-gradient(180deg, rgba(21, 34, 56, 0.6), rgba(14, 22, 38, 0.6));
}

.page-home .home-support__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.page-home .home-support__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .home-support__text .link-arrow {
  display: inline-block;
  margin-top: 4px;
}
