.page-home {
  --home-slate: #475569;
  --home-slate-2: #64748b;
  --home-slate-3: #94a3b8;
  --home-gap-lg: clamp(4rem, 9vw, 7rem);
  --home-gap-md: clamp(2.5rem, 5vw, 4rem);
  --home-radius: 18px;
  --home-shadow: 0 18px 50px rgba(23, 43, 107, .12);
  background: var(--c-snow);
}

/* ===== 首屏品牌区 ===== */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0;
  background: linear-gradient(145deg, var(--c-blue-900) 0%, var(--c-blue-800) 55%, var(--c-blue-500) 135%);
  color: #fff;
}

.page-home .home-hero__decor {
  position: absolute;
  top: 0;
  right: -80px;
  width: 600px;
  height: 100%;
  pointer-events: none;
  opacity: .9;
}

.page-home .home-hero__decor svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.page-home .home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.page-home .home-hero__breadcrumb {
  margin-bottom: .5rem;
}

.page-home .home-hero__breadcrumb .breadcrumb__link {
  color: rgba(255, 255, 255, .62);
}

.page-home .home-hero__breadcrumb .breadcrumb__item[aria-current="page"] {
  color: #fff;
}

.page-home .home-hero__chapter {
  color: rgba(255, 255, 255, .72);
  border-color: rgba(255, 255, 255, .25);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.2vw, 4.7rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
  max-width: 13em;
}

.page-home .home-hero__desc {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .86);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .25rem;
}

.page-home .home-hero__cta {
  box-shadow: 0 12px 32px rgba(249, 115, 22, .32);
}

.page-home .home-hero .btn--ghost {
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.page-home .home-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 0;
  margin: .5rem 0 0;
  list-style: none;
}

.page-home .home-hero .tag--accent {
  background: var(--c-orange);
  color: var(--c-blue-900);
  border-color: var(--c-orange);
}

.page-home .tag--light {
  background: rgba(255, 255, 255, .12);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, .28);
}

.page-home .home-hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .home-hero__media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  aspect-ratio: 4 / 3;
}

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

.page-home .home-hero__caption {
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--c-orange);
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .62);
}

/* ===== 章节头部 ===== */
.page-home .section-head {
  margin-bottom: clamp(2rem, 4.5vw, 3.25rem);
}

.page-home .section-head__title {
  margin: .75rem 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-blue-900);
}

.page-home .section-head__desc {
  margin: 0;
  max-width: 680px;
  color: var(--home-slate);
  line-height: 1.7;
}

.page-home .section-head__more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .5rem;
  font-weight: 600;
  color: var(--c-blue-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.page-home .section-head__more:hover {
  border-color: var(--c-blue-500);
}

.page-home .section-head--invert .chapter-label {
  color: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .2);
}

.page-home .section-head--invert .section-head__title {
  color: #fff;
}

.page-home .section-head--invert .section-head__desc {
  color: rgba(255, 255, 255, .75);
}

/* ===== 核心功能入口 ===== */
.page-home .home-features {
  padding: var(--home-gap-lg) 0;
  background: var(--c-snow);
}

.page-home .home-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-home .feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--home-radius);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.page-home .feature-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--c-snow);
  border: 1px solid var(--c-gray-200);
  overflow: hidden;
}

.page-home .feature-card__icon img,
.page-home .feature-card__icon svg {
  display: block;
  width: 64px;
  height: 64px;
}

.page-home .feature-card__title {
  margin: .25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-blue-900);
}

.page-home .feature-card__text {
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--home-slate);
}

.page-home .feature-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  color: var(--c-blue-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.page-home .feature-card__link:hover {
  border-color: var(--c-blue-500);
}

/* ===== 数据概览 ===== */
.page-home .home-data {
  padding: var(--home-gap-lg) 0;
  background: linear-gradient(180deg, var(--c-gray-100) 0%, var(--c-gray-200) 140%);
}

.page-home .home-data__layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;
}

.page-home .console-panel {
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .26);
}

.page-home .console-panel__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.25rem;
  background: var(--c-blue-900);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
}

.page-home .console-panel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .2);
}

.page-home .console-panel__path {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .console-panel__tag {
  flex-shrink: 0;
}

.page-home .console-panel__body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.page-home .console-panel__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.page-home .console-filter {
  display: inline-block;
  padding: .4rem .9rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .65);
  font-family: var(--font-mono);
  font-size: .78rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}

.page-home .console-filter:hover {
  border-color: var(--c-orange);
  color: #fff;
}

.page-home .console-filter--active {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-blue-900);
  font-weight: 600;
}

.page-home .console-panel__table {
  margin: 0;
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, .08);
}

.page-home .console-panel__table th,
.page-home .console-panel__table td {
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, .07);
}

.page-home .console-panel__table thead th {
  background: rgba(255, 255, 255, .04);
  color: #fff;
}

.page-home .console-panel__table tbody tr:hover {
  background: rgba(255, 255, 255, .03);
}

.page-home .console-panel__table tbody th {
  color: #fff;
  font-weight: 600;
}

.page-home .console-panel__chart {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.page-home .console-panel__chart-title {
  margin: 0 0 .5rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: rgba(255, 255, 255, .55);
}

.page-home .console-panel__chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .console-panel__chart rect {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: home-bar-grow .6s ease-out both;
}

@keyframes home-bar-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

.page-home .home-data__figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: 20px;
  box-shadow: var(--home-shadow);
}

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

.page-home .home-data__figure figcaption {
  padding: .9rem 1.25rem;
  border-top: 1px solid var(--c-gray-200);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--home-slate-2);
}

/* ===== 最新动态 ===== */
.page-home .home-news {
  padding: var(--home-gap-lg) 0;
  background: var(--c-snow);
}

.page-home .home-news__grid {
  display: grid;
  gap: 1.5rem;
}

.page-home .home-news__side {
  display: grid;
  gap: 1.5rem;
}

.page-home .news-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-gray-200);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}

.page-home .news-item--featured {
  display: flex;
  flex-direction: column;
}

.page-home .news-item__thumb {
  overflow: hidden;
  background: var(--c-gray-100);
}

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

.page-home .news-item__body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.5rem;
}

.page-home .news-item__meta {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.page-home .news-item__time {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--home-slate-3);
}

.page-home .news-item__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-blue-900);
}

.page-home .news-item__text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--home-slate);
}

/* ===== 信任背书 ===== */
.page-home .home-trust {
  padding: var(--home-gap-lg) 0;
  background: linear-gradient(160deg, var(--c-gray-100) 0%, #fff 70%);
}

.page-home .home-trust__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5.5vw, 4rem);
  background: linear-gradient(135deg, var(--c-blue-900) 0%, var(--c-blue-800) 70%, var(--c-blue-900) 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 28px 80px rgba(23, 43, 107, .3);
}

.page-home .home-trust__patch {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 200px;
  height: 200px;
  opacity: .6;
  pointer-events: none;
}

.page-home .home-trust__stats {
  display: grid;
  gap: 1.75rem;
  margin: clamp(1.5rem, 3.5vw, 2.5rem) 0;
}

.page-home .trust-stat {
  padding-left: 1.25rem;
  border-left: 3px solid var(--c-orange);
}

.page-home .trust-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.page-home .trust-stat__label {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}

.page-home .home-trust__meta {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.page-home .home-trust__meta p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
}

.page-home .home-trust__meta .contact-tag {
  margin-right: .35rem;
}

.page-home .home-trust__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}

.page-home .home-trust .btn--ghost {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.page-home .home-trust .btn--ghost:hover {
  border-color: var(--c-orange);
  color: #fff;
}

/* ===== 平板：≥768px ===== */
@media (min-width: 768px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

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

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

  .page-home .home-data__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-home .home-news__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

  .page-home .news-item--featured {
    flex-direction: column;
  }

  .page-home .home-trust__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 2rem;
  }

  .page-home .home-trust__meta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .page-home .home-trust__meta p {
    flex-basis: 100%;
  }
}

/* ===== 桌面：≥1080px ===== */
@media (min-width: 1080px) {
  .page-home .home-hero {
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  }

  .page-home .home-hero__inner {
    gap: 3rem;
  }

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

  .page-home .feature-card--xl {
    grid-column: span 6;
    grid-row: span 2;
  }

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

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

  .page-home .home-data__layout {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-home .home-data__figure img {
    height: 100%;
    max-height: 720px;
  }

  .page-home .home-news__grid {
    gap: 2rem;
  }

  .page-home .home-trust__meta p {
    flex-basis: auto;
    margin-right: 1.5rem;
  }

  .page-home .home-trust__actions {
    margin-left: auto;
  }
}

/* ===== 动效降级偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home .console-panel__chart rect {
    animation: none;
  }

  .page-home .feature-card {
    transition: none;
  }
}
