.page-home {
  --home-gap: clamp(48px, 8vw, 88px);
  --home-panel-clip: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  font-family: var(--font-body);
}

/* ---------- 首屏封面 ---------- */
.page-home .home-hero {
  position: relative;
  min-height: clamp(440px, 66vh, 640px);
  display: flex;
  align-items: center;
  background: var(--c-ink);
  color: var(--c-white);
  overflow: hidden;
}

.page-home .hero-img {
  position: absolute;
  inset: 0;
}

.page-home .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.1);
  opacity: 0.42;
}

.page-home .hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(13, 13, 13, 0.96) 0%, rgba(13, 13, 13, 0.76) 42%, rgba(13, 13, 13, 0.18) 100%);
}

.page-home .hero-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--c-primary) 0 14px, transparent 14px 28px);
  z-index: 3;
}

.page-home .hero-container {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: 56px var(--gutter);
}

.page-home .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px 8px 18px;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  clip-path: var(--home-panel-clip);
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-home .hero-lead {
  margin: 12px 0 18px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--c-primary-bright);
}

.page-home .hero-desc {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}

.page-home .hero-cta .btn {
  padding-inline: 26px;
  padding-block: 13px;
}

.page-home .hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.page-home .hero-specs li {
  padding-left: 14px;
  border-left: 2px solid var(--c-primary);
}

.page-home .hero-spec-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumbs {
  padding-block: 16px;
  border-bottom: 1px solid var(--c-line);
}

.page-home .breadcrumbs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}

/* ---------- 编号索引 ---------- */
.page-home .home-toc-section {
  padding-block: 48px 64px;
  border-bottom: 1px solid var(--c-line);
}

.page-home .home-toc-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 2px solid var(--c-ink);
}

.page-home .home-toc-list li {
  border-bottom: 1px solid var(--c-line);
}

.page-home .home-toc-list .toc-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 6px;
  color: var(--c-ink);
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, padding-left 0.22s ease;
}

.page-home .toc-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-primary);
  min-width: 48px;
}

.page-home .toc-name {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
}

.page-home .toc-arrow {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--c-light);
  transition: transform 0.22s ease;
}

.page-home .home-toc-list .toc-link:hover,
.page-home .home-toc-list .toc-link.is-active {
  background: var(--c-ink);
  color: var(--c-white);
  padding-left: 14px;
}

.page-home .home-toc-list .toc-link:hover .toc-num,
.page-home .home-toc-list .toc-link.is-active .toc-num {
  color: var(--c-primary-bright);
}

.page-home .home-toc-list .toc-link:hover .toc-arrow,
.page-home .home-toc-list .toc-link.is-active .toc-arrow {
  transform: translateX(5px);
  color: var(--c-primary);
}

/* ---------- 章节通用 ---------- */
.page-home .home-section {
  padding-block: var(--home-gap);
  scroll-margin-top: 96px;
}

.page-home .section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}

.page-home .section-index {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 52px;
  padding: 8px 10px;
  background: var(--c-ink);
  color: var(--c-primary);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  clip-path: var(--home-panel-clip);
}

.page-home .section-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.page-home .section-desc {
  margin: 0;
  font-size: 14px;
  color: var(--c-light);
}

/* ---------- 图文容器 ---------- */
.page-home .home-figure {
  position: relative;
  margin: 0;
  background: var(--c-cool);
  overflow: hidden;
  aspect-ratio: var(--figure-ratio, 16 / 9);
  clip-path: var(--home-panel-clip);
  transition: transform 0.3s ease;
}

.page-home .home-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: grayscale(0.78) contrast(1.05);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.page-home .home-figure:hover img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.02);
}

.page-home .figure-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.page-home .figure-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(transparent, rgba(13, 13, 13, 0.72));
  color: var(--c-white);
  font-size: 12px;
  text-align: right;
}

/* ---------- 01 手机中心 ---------- */
.page-home .section-service {
  background: var(--c-white);
}

.page-home .service-flex,
.page-home .favorite-flex {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-home .service-text,
.page-home .favorite-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-mid);
}

.page-home .service-text > p,
.page-home .favorite-text > p {
  margin-top: 0;
}

.page-home .check-list,
.page-home .step-list {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.page-home .check-list li,
.page-home .step-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
}

.page-home .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--c-primary);
  font-weight: 800;
}

.page-home .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---------- 02 周末收藏 ---------- */
.page-home .section-favorite {
  background: var(--c-cool);
}

.page-home .step-list li {
  padding-left: 44px;
}

.page-home .step-num {
  position: absolute;
  left: 0;
  top: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-ink);
  color: var(--c-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- 03 转会动态 ---------- */
.page-home .section-transfer {
  background: var(--c-white);
}

.page-home .transfer-wrap {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  background: var(--c-charcoal);
  color: var(--c-white);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.page-home .transfer-bg {
  position: absolute;
  inset: 0;
}

.page-home .transfer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(0.9);
}

.page-home .transfer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 0 12px, transparent 12px 24px);
}

.page-home .transfer-body {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-home .transfer-body > p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin: 0 0 24px;
}

.page-home .section-head--light .section-index {
  background: var(--c-primary);
  color: var(--c-ink);
}

.page-home .section-head--light .section-title {
  color: var(--c-white);
}

.page-home .section-head--light .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.page-home .transfer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .stat-block {
  padding: 6px 0 6px 16px;
  border-left: 3px solid var(--c-primary);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-white);
}

.page-home .stat-num--orange {
  color: var(--c-primary-bright);
}

.page-home .stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 04 常见问题 ---------- */
.page-home .section-faq {
  background: var(--c-cool);
}

.page-home .faq-grid {
  display: grid;
  gap: 18px;
}

.page-home .home-faq-card {
  margin: 0;
  padding: 22px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-primary);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-left-color 0.22s ease;
}

.page-home .home-faq-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
}

.page-home .home-faq-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-mid);
}

.page-home .home-faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  border-left-color: var(--c-primary-bright);
}

.page-home .faq-more {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
}

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

@media (min-width: 960px) {
  .page-home .service-flex {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .page-home .favorite-flex {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-home .transfer-bg img {
    object-position: 75% center;
  }
}

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

.page-home {
  --figure-ratio: inherit;
}
