.page-home {
  --home-gap: clamp(72px, 11vw, 148px);
  background: var(--ink);
  color: var(--text);
  overflow-x: clip;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .hero {
  padding-top: clamp(20px, 4vw, 52px);
  padding-bottom: var(--home-gap);
}

.page-home .hero-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "main"
    "stat"
    "entries";
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "main stat"
      "main entries";
    gap: 18px;
  }
}

.page-home .hero-main {
  grid-area: main;
  position: relative;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 60px);
  min-height: clamp(400px, 52vw, 620px);
  display: flex;
  align-items: flex-end;
}

.page-home .hero-main-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: .52;
  z-index: 0;
}

.page-home .hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, .15) 0%, rgba(11, 18, 32, .82) 68%, rgba(11, 18, 32, .95) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-home .hero-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 16%;
  width: 100%;
  height: clamp(120px, 26%, 210px);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.page-home .hero-line path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  opacity: .7;
  animation: home-pulse-glow 5.5s var(--ease) infinite;
}

@keyframes home-pulse-glow {
  0%, 100% { opacity: .28; }
  50% { opacity: .82; }
}

.page-home .hero-main-body {
  position: relative;
  z-index: 3;
  max-width: 640px;
  animation: home-enter .62s var(--ease) both;
}

@keyframes home-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-home .hero-main-body h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--white);
  margin: 16px 0 0;
}

.page-home .hero-main-body .lede {
  margin-top: 22px;
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.75;
  color: var(--text);
  max-width: 560px;
}

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

.page-home .hero-stat {
  grid-area: stat;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
}

.page-home .hero-stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .hero-stat-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .hero-stat-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
}

.page-home .stat-label {
  font-size: .8125rem;
  color: var(--mist);
  text-align: right;
  line-height: 1.4;
}

.page-home .hero-entries {
  grid-area: entries;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 520px) {
  .page-home .hero-entries {
    grid-template-columns: 1fr;
  }
}

.page-home .entry-card {
  position: relative;
  display: block;
  background: var(--ink-2);
  padding: 20px 20px 22px;
  color: var(--text);
  text-decoration: none;
  transition: background .24s var(--ease);
}

.page-home .entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .24s var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  background: var(--ink-3);
}

.page-home .entry-card:hover::before,
.page-home .entry-card:focus-visible::before {
  border-color: var(--red);
}

.page-home .entry-idx {
  display: block;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--mist);
  margin-bottom: 12px;
  transition: color .24s var(--ease);
}

.page-home .entry-card:hover .entry-idx,
.page-home .entry-card:focus-visible .entry-idx {
  color: var(--red-lite);
}

.page-home .entry-title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: -.01em;
}

.page-home .entry-desc {
  display: block;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--mist);
}

/* ---------- 服务路径轨道 ---------- */
.page-home .path {
  padding-block: var(--home-gap);
  border-top: 1px solid var(--line-soft);
}

.page-home .path-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.page-home .path-head .h2 {
  margin: 18px 0 0;
  max-width: 780px;
  color: var(--white);
}

.page-home .path-head .lede {
  margin-top: 20px;
  max-width: 620px;
  color: var(--text-dim);
}

.page-home .path-track {
  padding-bottom: 6px;
}

.page-home .path-card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 28px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .26s var(--ease);
}

.page-home .path-card:hover {
  border-color: var(--line-strong);
}

.page-home .path-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 44px;
  background: var(--red);
  transition: width .34s var(--ease);
}

.page-home .path-card:nth-child(2)::after { background: var(--ochre); }
.page-home .path-card:nth-child(3)::after { background: var(--cyan); }

.page-home .path-card:hover::after { width: 100%; }

.page-home .path-num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--red);
}

.page-home .path-card:nth-child(2) .path-num { color: var(--ochre); }
.page-home .path-card:nth-child(3) .path-num { color: var(--cyan); }

.page-home .path-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}

.page-home .path-card p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-home .path-points {
  list-style: none;
  margin: 6px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 9px;
}

.page-home .path-points li {
  position: relative;
  padding-left: 18px;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-home .path-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 8px;
  height: 1px;
  background: var(--mist);
}

/* ---------- 栏目专区精选 ---------- */
.page-home .columns-block {
  padding-block: var(--home-gap);
  border-top: 1px solid var(--line-soft);
}

.page-home .columns-grid {
  align-items: start;
  row-gap: 44px;
}

.page-home .columns-visual {
  margin: 0;
}

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

.page-home .columns-text .h2 {
  margin: 18px 0 0;
  color: var(--white);
}

.page-home .columns-text .lede {
  margin-top: 20px;
  max-width: 620px;
  color: var(--text-dim);
}

.page-home .cat-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .cat-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1rem;
  color: var(--text);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.page-home .cat-list li:hover {
  color: var(--white);
  padding-left: 10px;
}

.page-home .cat-idx {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-home .columns-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.page-home .columns-note {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ---------- 客户端能力亮点 ---------- */
.page-home .apps-block {
  padding-block: var(--home-gap);
  background: var(--ink-3);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .apps-grid {
  align-items: center;
  row-gap: 44px;
}

.page-home .apps-text .h2 {
  margin: 18px 0 0;
  color: var(--white);
}

.page-home .apps-text .lede {
  margin-top: 20px;
  max-width: 560px;
  color: var(--text-dim);
}

.page-home .feat-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

@media (min-width: 620px) {
  .page-home .feat-list {
    grid-template-columns: 1fr 1fr;
  }
}

.page-home .feat-item {
  background: var(--ink-3);
  padding: 24px 20px 26px;
}

.page-home .feat-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.page-home .feat-item h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}

.page-home .feat-item p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.68;
  color: var(--text-dim);
}

.page-home .apps-cta {
  margin-top: 34px;
}

.page-home .apps-visual {
  margin: 0;
}

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

/* ---------- 订阅三步收束 ---------- */
.page-home .subs-block {
  padding-block: var(--home-gap);
}

.page-home .subs-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.page-home .subs-head .h2 {
  margin: 18px 0 0;
  color: var(--white);
}

.page-home .subs-head .lede {
  margin-top: 20px;
  max-width: 620px;
  color: var(--text-dim);
}

.page-home .subs-grid {
  align-items: start;
  row-gap: 44px;
}

.page-home .subs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .subs-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .subs-step:first-child {
  border-top: 1px solid var(--line);
}

.page-home .subs-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width .5s var(--ease);
}

.page-home .subs-step:hover::before {
  width: 68px;
}

.page-home .subs-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--mist);
  transition: color .28s var(--ease);
}

.page-home .subs-step:hover .subs-num {
  color: var(--cyan);
}

.page-home .subs-step h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}

.page-home .subs-step p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.74;
  color: var(--text-dim);
}

.page-home .subs-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-home .subs-visual {
  margin: 0;
}

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

.page-home .subs-cta {
  align-self: flex-start;
}

/* ---------- 数据与信任条带 ---------- */
.page-home .trust-band {
  padding-block: var(--home-gap);
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.page-home .trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.page-home .trust-item {
  background: var(--ink-2);
  padding: 28px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .trust-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--white);
}

.page-home .trust-item:nth-child(1) .trust-num { color: var(--red-lite); }
.page-home .trust-item:nth-child(2) .trust-num { color: var(--gold); }
.page-home .trust-item:nth-child(3) .trust-num { color: var(--cyan); }
.page-home .trust-item:nth-child(4) .trust-num { color: var(--ochre); }

.page-home .trust-label {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--mist);
}

.page-home .trust-badges {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.page-home .trust-badges li {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-dim);
  padding: 9px 15px;
  border: 1px solid var(--line);
}

.page-home .trust-badges li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--cyan);
  transform: translateY(-1px) rotate(45deg);
}

.page-home .trust-note {
  margin: 30px 0 0;
  max-width: 720px;
  font-size: .875rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .trust-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .hero-line path {
    animation: none;
    opacity: .6;
  }
  .page-home .hero-main-body {
    animation: none;
  }
  .page-home .path-card::after,
  .page-home .subs-step::before,
  .page-home .cat-list li,
  .page-home .entry-card,
  .page-home .entry-card::before {
    transition: none;
  }
}
