.page-home {
  --home-orange: var(--c-primary);
  --home-orange-deep: var(--c-primary-deep);
  --home-yellow: var(--c-secondary);
  --home-yellow-soft: #FFF7D6;
  --home-blue: var(--c-accent);
  --home-dark: var(--c-dark);
  --home-bg: var(--c-bg);
  --home-text: var(--c-text);
  --home-border: var(--c-border);
  --home-white: var(--c-white);
  --home-radius-xl: 30px;
  --home-radius-lg: 22px;
  --home-radius-md: 14px;
  overflow-x: hidden;
  background: var(--home-bg);
}

/* ========== 首屏框景 ========== */
.page-home .home-hero {
  padding: 24px 16px 56px;
}

.page-home .home-hero__frame {
  position: relative;
  border-radius: var(--home-radius-xl);
  padding: 4px;
  background: linear-gradient(135deg, var(--home-orange) 0%, var(--home-yellow) 50%, var(--home-blue) 100%);
  box-shadow: var(--shadow-float);
}

.page-home .home-hero__frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--home-blue) 0 2px, transparent 2px 12px);
  opacity: 0.35;
  z-index: 2;
  pointer-events: none;
  border-radius: 4px;
}

.page-home .home-hero__inner {
  position: relative;
  border-radius: calc(var(--home-radius-xl) - 4px);
  background: var(--home-bg);
  overflow: hidden;
  padding-bottom: 24px;
}

.page-home .home-hero__media {
  margin: 0;
  position: relative;
  z-index: 1;
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: center 30%;
}

.page-home .home-hero__content {
  position: relative;
  z-index: 3;
  margin: -56px 16px 0;
  background: rgba(250, 247, 240, 0.96);
  border: 1px solid rgba(255, 122, 0, 0.22);
  border-radius: 20px;
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
}

.page-home .home-hero__breadcrumb {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--home-blue);
  margin-bottom: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.page-home .home-hero__breadcrumb a {
  color: var(--home-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-home .home-hero__breadcrumb a:hover {
  border-color: var(--home-blue);
}

.page-home .home-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--home-orange-deep);
  margin-bottom: 8px;
}

.page-home .home-hero__title {
  font-family: var(--font-title);
  font-size: clamp(40px, 8vw, 66px);
  line-height: 1.08;
  color: var(--home-text);
  margin: 0 0 12px;
  background: linear-gradient(120deg, var(--home-orange) 0%, var(--home-blue) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--home-text);
}

.page-home .home-hero__lead {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--home-text);
  margin: 0 0 18px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px 20px 0;
}

.page-home .home-hero__stats .stat {
  text-align: center;
  border-right: 1px dashed var(--home-border);
  padding: 0 4px;
}

.page-home .home-hero__stats .stat:last-child {
  border-right: none;
}

.page-home .home-hero__stats .stat__num {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  color: var(--home-blue);
  display: block;
}

.page-home .home-hero__stats .stat__label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--home-text);
  opacity: 0.75;
  margin-top: 2px;
}

.page-home .home-hero__deco {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 120px;
  height: 120px;
  z-index: 4;
  pointer-events: none;
  opacity: 0.9;
}

/* ========== 章节编号 ========== */
.page-home .home-section-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--home-orange);
  color: var(--home-white);
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.28);
}

.page-home .home-section-num--yellow {
  background: var(--home-yellow);
  color: var(--home-blue);
  box-shadow: 0 8px 24px rgba(255, 209, 0, 0.35);
}

.page-home .home-section-num--dark {
  background: var(--home-dark);
  color: var(--home-white);
  box-shadow: 0 8px 24px rgba(61, 44, 78, 0.25);
}

/* ========== 核心功能 ========== */
.page-home .home-features {
  padding: 8px 16px 72px;
}

.page-home .home-features__header,
.page-home .home-news__header,
.page-home .home-data__header,
.page-home .home-partners__header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.page-home .home-features__intro,
.page-home .home-news__intro,
.page-home .home-data__intro,
.page-home .home-partners__intro {
  flex: 1;
}

.page-home .home-features__intro .lead,
.page-home .home-news__intro .lead,
.page-home .home-data__intro .lead,
.page-home .home-partners__intro .lead {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

/* 筛选栏 */
.page-home .home-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding-left: 74px;
}

.page-home .home-filter-bar__btn {
  flex: 1 1 auto;
  min-width: 72px;
  padding: 10px 18px;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  background: var(--home-white);
  color: var(--home-text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.page-home .home-filter-bar__btn:hover {
  border-color: var(--home-orange);
  color: var(--home-orange-deep);
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.18);
}

/* 功能卡片 */
.page-home .home-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .home-feature-card {
  position: relative;
  background: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-lg);
  padding: 22px;
  display: flex;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-home .home-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 122, 0, 0.4);
}

.page-home .home-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--home-orange), var(--home-yellow));
  color: var(--home-white);
  font-size: 20px;
  font-weight: 700;
}

.page-home .home-feature-card__body {
  flex: 1;
  min-width: 0;
}

.page-home .home-feature-card__body .card__title {
  font-family: var(--font-title);
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--home-text);
}

.page-home .home-feature-card__body .card__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
  color: var(--home-text);
}

.page-home .home-feature-card__link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--home-blue);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.page-home .home-feature-card__link:hover {
  border-color: var(--home-orange);
  color: var(--home-orange-deep);
}

/* 宽卡片 */
.page-home .home-feature-card--wide {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.page-home .home-feature-card--wide .home-feature-card__media {
  margin: 0;
  overflow: hidden;
}

.page-home .home-feature-card--wide .home-feature-card__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-home .home-feature-card--wide:hover .home-feature-card__media img {
  transform: scale(1.03);
}

.page-home .home-feature-card--wide .home-feature-card__body {
  padding: 0 22px 24px;
}

.page-home .home-feature-card--wide .home-feature-card__icon {
  margin-top: 18px;
}

/* ========== 最新动态 ========== */
.page-home .home-news {
  padding: 72px 16px;
  background: linear-gradient(180deg, var(--home-bg) 0%, var(--home-yellow-soft) 100%);
  border-top: 4px solid var(--home-yellow);
}

.page-home .home-news__layout {
  display: grid;
  gap: 36px;
  align-items: center;
}

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

.page-home .home-news__item {
  position: relative;
  background: var(--home-white);
  border-radius: var(--home-radius-lg);
  padding: 22px 24px;
  border-left: 4px solid var(--home-orange);
  box-shadow: 0 6px 24px rgba(30, 20, 10, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.page-home .home-news__item:nth-child(2) {
  border-left-color: var(--home-blue);
}

.page-home .home-news__item:nth-child(3) {
  border-left-color: var(--home-yellow);
}

.page-home .home-news__item:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.page-home .home-news__item h3 {
  font-family: var(--font-title);
  font-size: 18px;
  margin: 10px 0 6px;
  color: var(--home-text);
}

.page-home .home-news__item p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 10px;
  color: var(--home-text);
}

.page-home .home-news__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--home-blue);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.page-home .home-news__link:hover {
  border-color: var(--home-orange);
  color: var(--home-orange-deep);
}

.page-home .home-news__figure {
  margin: 0;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.page-home .home-news__figure::after {
  content: "";
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--home-yellow);
  opacity: 0.85;
  border: 4px solid var(--home-white);
}

.page-home .home-news__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}

/* ========== 数据与信任 ========== */
.page-home .home-data {
  padding: 72px 16px;
}

.page-home .home-data__grid {
  display: grid;
  gap: 36px;
}

.page-home .home-data__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-home .home-data__stat-card {
  background: var(--home-white);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-lg);
  padding: 24px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.page-home .home-data__stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--home-orange), var(--home-yellow));
}

.page-home .home-data__stat-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--home-blue), var(--home-yellow));
}

.page-home .home-data__stat-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--home-yellow), var(--home-orange));
}

.page-home .home-data__stat-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--home-dark), var(--home-blue));
}

.page-home .home-data__stat-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.page-home .home-data__stat-card .stat__num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--home-blue);
  line-height: 1.2;
}

.page-home .home-data__stat-card .stat__label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--home-text);
  opacity: 0.8;
  margin-top: 6px;
}

.page-home .home-data__trust {
  background: var(--home-blue);
  border-radius: var(--home-radius-xl);
  padding: 28px;
  color: var(--home-white);
  position: relative;
  overflow: hidden;
}

.page-home .home-data__trust::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--home-orange);
  opacity: 0.25;
}

.page-home .home-data__trust::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--home-yellow);
  opacity: 0.2;
}

.page-home .home-data__statement {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.page-home .home-data__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 1;
}

.page-home .home-data__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

/* ========== 合作生态 ========== */
.page-home .home-partners {
  padding: 72px 16px 80px;
  background: var(--home-dark);
  color: var(--home-white);
  position: relative;
  overflow: hidden;
}

.page-home .home-partners::before {
  content: "";
  position: absolute;
  top: 40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--home-orange);
  opacity: 0.15;
}

.page-home .home-partners::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--home-yellow);
  opacity: 0.1;
}

.page-home .home-partners__header {
  position: relative;
  z-index: 1;
}

.page-home .home-partners .eyebrow {
  color: var(--home-yellow);
}

.page-home .home-partners .t-section {
  color: var(--home-white);
}

.page-home .home-partners .lead {
  color: rgba(255, 255, 255, 0.85);
}

.page-home .home-partners__list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.page-home .home-partners__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--home-radius-lg);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--home-text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s, background 0.25s;
}

.page-home .home-partners__badge:hover {
  transform: scale(1.02);
  background: var(--home-white);
}

.page-home .home-partners__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--home-orange);
  color: var(--home-white);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.page-home .home-partners__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.page-home .home-partners__actions .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--home-white);
}

.page-home .home-partners__actions .btn--ghost:hover {
  border-color: var(--home-yellow);
  background: rgba(255, 209, 0, 0.1);
}

/* ========== 桌面端媒体查询 ========== */
@media (min-width: 640px) {
  .page-home .home-hero {
    padding: 32px 24px 64px;
  }

  .page-home .home-hero__media img {
    max-height: 360px;
  }

  .page-home .home-hero__content {
    margin: -72px 24px 0;
    padding: 28px 32px 22px;
  }

  .page-home .home-features,
  .page-home .home-news,
  .page-home .home-data,
  .page-home .home-partners {
    padding-right: 24px;
    padding-left: 24px;
  }

  .page-home .home-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-feature-card--wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
  }

  .page-home .home-feature-card--wide .home-feature-card__media {
    flex: 0 0 45%;
  }

  .page-home .home-feature-card--wide .home-feature-card__media img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .page-home .home-feature-card--wide .home-feature-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px;
  }

  .page-home .home-partners__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-news__layout {
    gap: 28px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 40px 40px 72px;
  }

  .page-home .home-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .page-home .home-hero__media {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .page-home .home-hero__media img {
    max-height: 420px;
  }

  .page-home .home-hero__content {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    margin: -96px 0 0 36px;
    max-width: 560px;
    border-radius: 24px;
    padding: 32px 34px 26px;
  }

  .page-home .home-hero__stats {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    padding: 24px 36px 16px 30px;
    gap: 16px;
  }

  .page-home .home-hero__stats .stat__num {
    font-size: 24px;
  }

  .page-home .home-hero__deco {
    top: 16px;
    right: 20px;
    width: 150px;
    height: 150px;
  }

  .page-home .home-features {
    padding: 16px 40px 88px;
  }

  .page-home .home-news {
    padding: 88px 40px;
  }

  .page-home .home-data {
    padding: 88px 40px;
  }

  .page-home .home-partners {
    padding: 88px 40px 96px;
  }

  .page-home .home-features__header,
  .page-home .home-news__header,
  .page-home .home-data__header,
  .page-home .home-partners__header {
    max-width: 860px;
  }

  .page-home .home-filter-bar {
    max-width: 720px;
    margin-left: 74px;
  }

  .page-home .home-filter-bar__btn {
    flex: 0 0 auto;
    padding: 10px 22px;
  }

  .page-home .home-features__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-feature-card {
    grid-column: span 1;
  }

  .page-home .home-feature-card--wide {
    grid-column: span 2;
  }

  .page-home .home-feature-card--wide .home-feature-card__media {
    flex: 0 0 50%;
  }

  .page-home .home-news__layout {
    grid-template-columns: 1fr 0.85fr;
    gap: 40px;
  }

  .page-home .home-news__figure {
    order: 2;
  }

  .page-home .home-news__item h3 {
    font-size: 19px;
  }

  .page-home .home-data__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: stretch;
  }

  .page-home .home-data__stats {
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
  }

  .page-home .home-data__stat-card {
    padding: 28px 20px;
  }

  .page-home .home-data__trust {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
  }

  .page-home .home-partners__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-partners__badge {
    flex-direction: column;
    text-align: center;
    padding: 22px 14px;
  }

  .page-home .home-partners__badge .home-partners__icon {
    margin-bottom: 4px;
  }
}

@media (min-width: 1280px) {
  .page-home .home-hero {
    padding: 48px 60px 80px;
  }

  .page-home .home-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .page-home .home-features,
  .page-home .home-news,
  .page-home .home-data,
  .page-home .home-partners {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__media img,
  .page-home .home-feature-card--wide .home-feature-card__media img {
    transition: none;
  }

  .page-home .home-feature-card,
  .page-home .home-news__item,
  .page-home .home-data__stat-card,
  .page-home .home-partners__badge {
    transition: none;
  }
}
