.page-home {
  --hm-bd: 1px solid rgba(56, 242, 208, 0.16);
  --hm-bd-soft: 1px solid rgba(143, 166, 178, 0.2);
  --hm-cyan-glow: 0 18px 44px -24px rgba(56, 242, 208, 0.55);
  display: block;
  position: relative;
  padding: clamp(16px, 3.4vw, 40px) clamp(16px, 3.4vw, 48px) clamp(56px, 8vw, 104px);
  overflow-x: clip;
}

/* ---------- 通用排版 ---------- */
.page-home .hm-context {
  margin: 0 0 clamp(16px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .hm-eyebrow {
  margin: 0 0 14px;
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: var(--hm-bd);
  background: var(--cyan-soft);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  font-family: var(--font-mono);
}

.page-home .hm-h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--mist);
}

.page-home .hm-h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--mist);
}

.page-home .hm-p {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.78;
  max-width: 60ch;
}

.page-home .hm-more {
  display: inline-block;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 242, 208, 0.35);
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.page-home .hm-more:hover,
.page-home .hm-more:focus-visible {
  color: var(--gold);
  border-color: rgba(242, 200, 121, 0.5);
}

.page-home .hm-section-head {
  max-width: 68ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}

/* ---------- 首屏 ---------- */
.page-home .hm-hero {
  position: relative;
  isolation: isolate;
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  inset: -4% -3% auto -3%;
  height: 82%;
  background-image:
    linear-gradient(rgba(56, 242, 208, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 242, 208, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(78% 62% at 26% 4%, #000 0%, transparent 78%);
  mask-image: radial-gradient(78% 62% at 26% 4%, #000 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.page-home .hm-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}

.page-home .hm-hero-main {
  min-width: 0;
}

.page-home .hm-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(12px, 2vw, 20px);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--slate);
  font-family: var(--font-mono);
}

.page-home .hm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 5px rgba(242, 77, 138, 0.16);
  flex: none;
}

.page-home .hm-hero-title {
  margin: 0 0 clamp(16px, 2.4vw, 24px);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--mist);
}

.page-home .hm-hero-title-sub {
  display: block;
  margin-top: 0.45em;
  font-size: clamp(1rem, 2.1vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--cyan);
}

.page-home .hm-hero-lede {
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  max-width: 52ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.82;
  color: rgba(232, 241, 242, 0.86);
}

.page-home .hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-home .hm-hero-alt {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--slate);
}

.page-home .hm-hero-alt a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 200, 121, 0.45);
}

.page-home .hm-hero-alt a:hover,
.page-home .hm-hero-alt a:focus-visible {
  color: var(--cyan);
  border-color: rgba(56, 242, 208, 0.5);
}

/* 悬浮快捷卡 */
.page-home .hm-hero-cards {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.page-home .hm-quick {
  position: relative;
  display: block;
  padding: 18px 44px 18px 20px;
  border-radius: var(--r-lg);
  border: var(--hm-bd);
  background: linear-gradient(150deg, rgba(11, 42, 51, 0.94), rgba(6, 19, 31, 0.92));
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.page-home .hm-quick:hover,
.page-home .hm-quick:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(56, 242, 208, 0.5);
  box-shadow: var(--hm-cyan-glow);
}

.page-home .hm-quick-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 6px;
}

.page-home .hm-quick-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--mist);
  margin-bottom: 6px;
}

.page-home .hm-quick-text {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .hm-quick-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--cyan);
  font-size: 15px;
  transition: transform var(--t-fast) var(--ease);
}

.page-home .hm-quick:hover .hm-quick-arrow,
.page-home .hm-quick:focus-visible .hm-quick-arrow {
  transform: translateX(4px);
}

/* 首屏主图 */
.page-home .hm-hero-media {
  position: relative;
  z-index: 1;
  margin: clamp(24px, 3.4vw, 42px) 0 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: var(--hm-bd);
  background: var(--ink-800);
}

.page-home .hm-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92);
}

.page-home .hm-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 31, 0.12) 0%, rgba(6, 19, 31, 0.78) 100%);
  pointer-events: none;
}

.page-home .hm-hero-caption {
  position: absolute;
  left: clamp(18px, 3vw, 32px);
  bottom: clamp(14px, 2.4vw, 26px);
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(232, 241, 242, 0.78);
  font-family: var(--font-mono);
}

/* ---------- 档期档带 ---------- */
.page-home .hm-docket {
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  margin-top: clamp(40px, 6vw, 84px);
  padding: clamp(22px, 3.4vw, 48px);
  border-radius: var(--r-xl);
  border: var(--hm-bd);
  background:
    radial-gradient(120% 130% at 10% 0%, rgba(56, 242, 208, 0.12), transparent 58%),
    var(--ink-800);
}

.page-home .hm-docket-copy {
  min-width: 0;
}

.page-home .hm-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(20px, 2.6vw, 28px) 0 0;
}

.page-home .hm-node {
  position: relative;
  padding: 14px 12px 14px 14px;
  border-radius: var(--r-md);
  background: rgba(6, 19, 31, 0.55);
  border-left: 2px solid var(--cyan);
}

.page-home .hm-node-num {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}

.page-home .hm-node-label {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--slate);
}

.page-home .hm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(16px, 2.2vw, 24px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-tag {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(143, 166, 178, 0.28);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  background: rgba(6, 19, 31, 0.4);
}

.page-home .hm-tag:nth-child(1) {
  border-color: rgba(56, 242, 208, 0.4);
  color: var(--cyan);
}

.page-home .hm-docket-media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: var(--hm-bd-soft);
}

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

/* ---------- 多端客户端 ---------- */
.page-home .hm-clients {
  margin-top: clamp(40px, 6vw, 84px);
  padding: clamp(22px, 3.4vw, 52px);
  border-radius: var(--r-xl);
  border: var(--hm-bd);
  background: linear-gradient(165deg, var(--ink-700) 0%, var(--ink-900) 82%);
}

.page-home .hm-clients-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-home .hm-clients-media {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: var(--hm-bd-soft);
}

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

.page-home .hm-platforms {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.page-home .hm-platform {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(143, 166, 178, 0.2);
}

.page-home .hm-platform:last-child {
  border-bottom: 1px solid rgba(143, 166, 178, 0.2);
}

.page-home .hm-platform-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.page-home .hm-platform-note {
  grid-column: 1 / 2;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--slate);
}

.page-home .hm-platform-tag {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  justify-self: end;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-home .hm-callout {
  display: grid;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(242, 200, 121, 0.28);
  background: rgba(242, 200, 121, 0.07);
}

.page-home .hm-callout-key {
  justify-self: start;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--ink-900);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.page-home .hm-callout-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(232, 241, 242, 0.88);
  max-width: 62ch;
}

/* ---------- 案例合集 ---------- */
.page-home .hm-cases {
  margin-top: clamp(40px, 6vw, 84px);
}

.page-home .hm-case-grid {
  display: grid;
  gap: 12px;
}

.page-home .hm-case {
  border-radius: var(--r-md);
  border: 1px solid rgba(143, 166, 178, 0.22);
  background: rgba(11, 42, 51, 0.5);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.page-home .hm-case[open] {
  border-color: rgba(56, 242, 208, 0.45);
  background: rgba(11, 42, 51, 0.78);
}

.page-home .hm-case summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
}

.page-home .hm-case summary::-webkit-details-marker {
  display: none;
}

.page-home .hm-case summary::after {
  content: "+";
  margin-left: auto;
  color: var(--cyan);
  font-size: 16px;
  line-height: 1;
  transition: transform var(--t-fast) var(--ease);
}

.page-home .hm-case[open] summary::after {
  content: "−";
}

.page-home .hm-case summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -3px;
}

.page-home .hm-case-num {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(242, 200, 121, 0.35);
}

.page-home .hm-case-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mist);
  line-height: 1.45;
}

.page-home .hm-case-body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(143, 166, 178, 0.18);
}

.page-home .hm-case-body p {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--slate);
}

.page-home .hm-case-key {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: var(--cyan-soft);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-home .hm-support-card {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-xl);
  border: var(--hm-bd);
  background:
    radial-gradient(100% 140% at 92% 0%, rgba(242, 77, 138, 0.16), transparent 62%),
    var(--ink-800);
}

.page-home .hm-support-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
  max-width: 58ch;
}

.page-home .hm-support-card .btn {
  justify-self: start;
}

/* ---------- 信任区 ---------- */
.page-home .hm-trust {
  margin-top: clamp(40px, 6vw, 84px);
  padding: clamp(22px, 3.4vw, 48px);
  border-radius: var(--r-xl);
  border: var(--hm-bd-soft);
  background: rgba(27, 23, 64, 0.55);
}

.page-home .hm-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(143, 166, 178, 0.22);
  border: 1px solid rgba(143, 166, 178, 0.22);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .hm-stat {
  display: grid;
  gap: 4px;
  padding: 16px 14px;
  background: var(--ink-900);
}

.page-home .hm-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.page-home .hm-stat-unit {
  font-size: 0.62em;
  margin-left: 2px;
  color: var(--slate);
}

.page-home .hm-stat-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.page-home .hm-signals {
  display: grid;
  gap: 12px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hm-signal {
  padding: 14px 16px;
  border-radius: var(--r-md);
  border-left: 2px solid rgba(56, 242, 208, 0.5);
  background: rgba(6, 19, 31, 0.45);
}

.page-home .hm-signal-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--mist);
  margin-bottom: 5px;
}

.page-home .hm-signal-text {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---------- 下一步 ---------- */
.page-home .hm-next {
  position: relative;
  margin-top: clamp(40px, 6vw, 84px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--wine);
  isolation: isolate;
}

.page-home .hm-next-media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}

.page-home .hm-next-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-home .hm-next::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(74, 16, 36, 0.92) 0%, rgba(6, 19, 31, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-home .hm-next-inner {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3.6vw, 52px);
}

.page-home .hm-next-lede {
  margin: 0 0 clamp(20px, 2.8vw, 30px);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(232, 241, 242, 0.82);
  max-width: 50ch;
}

.page-home .hm-next-grid {
  display: grid;
  gap: 12px;
}

.page-home .hm-next-card {
  display: block;
  padding: 18px 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(232, 241, 242, 0.18);
  background: rgba(6, 19, 31, 0.5);
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.page-home .hm-next-card:hover,
.page-home .hm-next-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(242, 200, 121, 0.55);
  background: rgba(6, 19, 31, 0.72);
}

.page-home .hm-next-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 8px;
}

.page-home .hm-next-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--mist);
  margin-bottom: 6px;
}

.page-home .hm-next-text {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(232, 241, 242, 0.72);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .hm-case-grid,
  .page-home .hm-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hm-callout {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 8px 18px;
  }

  .page-home .hm-callout .hm-more {
    grid-column: 2 / 3;
    margin-top: 4px;
  }

  .page-home .hm-support-card {
    grid-template-columns: 1fr auto;
  }

  .page-home .hm-support-card .btn {
    justify-self: end;
  }
}

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

  .page-home .hm-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .hm-clients-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .page-home .hm-docket {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .page-home .hm-hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
    align-items: start;
  }

  .page-home .hm-hero-main {
    padding-top: clamp(4px, 1.2vw, 18px);
  }

  .page-home .hm-hero-cards {
    padding-top: clamp(26px, 4vw, 64px);
  }

  .page-home .hm-quick:nth-child(2) {
    margin-left: clamp(8px, 1.6vw, 22px);
  }

  .page-home .hm-quick:nth-child(3) {
    margin-left: clamp(16px, 3vw, 44px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-quick,
  .page-home .hm-next-card,
  .page-home .hm-quick-arrow,
  .page-home .hm-more {
    transition: none;
  }

  .page-home .hm-quick:hover,
  .page-home .hm-quick:focus-visible,
  .page-home .hm-next-card:hover,
  .page-home .hm-next-card:focus-visible {
    transform: none;
  }
}
