.page-home {
  --home-ease: cubic-bezier(.22, .61, .36, 1);
  --home-panel-bg: rgba(245, 240, 230, .05);
  --home-grid-lines: linear-gradient(rgba(74, 85, 104, .14) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(74, 85, 104, .14) 1px, transparent 1px);
}

/* ===== 首屏框景 ===== */
.page-home .hero-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  margin-top: clamp(24px, 5vh, 52px);
  border-radius: var(--radius-lg);
  border-color: var(--c-rock);
  background: linear-gradient(130deg, rgba(11, 31, 58, .9), rgba(7, 21, 37, .82)), var(--c-space);
  color: var(--c-cream);
  box-shadow: var(--shadow-md);
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, var(--c-yellow), var(--c-purple) 55%, transparent);
}

.page-home .hero-frame__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: saturate(.85) contrast(1.05);
}

.page-home .hero-frame__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 68px) clamp(20px, 5vw, 60px);
}

.page-home .page-context {
  margin: 0 0 22px;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-fog);
  opacity: .82;
}

.page-home .hero-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 860px) {
  .page-home .hero-layout {
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
  }
}

.page-home .hero-layout__kicker {
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-yellow);
}

.page-home .hero-layout h1 {
  margin: 0 0 24px;
  max-width: 9.5em;
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: clamp(2.1rem, 6.4vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: .01em;
}

.page-home .hero-layout__lead {
  margin: 0 0 28px;
  max-width: 38em;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(242, 240, 230, .8);
}

.page-home .hero-layout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .updates-panel {
  padding: 24px;
  border: var(--border);
  border-radius: var(--radius-md);
  background: var(--home-panel-bg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}

.page-home .updates-panel__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-yellow);
}

.page-home .updates-panel__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--c-rock), transparent);
}

.page-home .updates-panel__item {
  padding: 18px 0 2px;
}

.page-home .updates-panel__item + .updates-panel__item {
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(74, 85, 104, .6);
}

.page-home .updates-panel__item h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-cream);
}

.page-home .updates-panel__item p {
  margin: 0 0 12px;
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, .76);
}

.page-home .updates-panel__link {
  display: inline-block;
  padding-bottom: 2px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-purple);
  text-decoration: none;
  border-bottom: 1px solid rgba(155, 89, 182, .4);
  transition: color .2s var(--home-ease), border-color .2s var(--home-ease);
}

.page-home .updates-panel__link:hover {
  color: var(--c-yellow);
  border-color: var(--c-yellow);
}

/* ===== 核心服务 ===== */
.page-home .services-section {
  padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(1100px 420px at 88% 0%, rgba(155, 89, 182, .14), transparent 60%), var(--c-space);
}

.page-home .services-section .section__title,
.page-home .stats-section .section__title {
  color: var(--c-cream);
}

.page-home .services-section .section__desc,
.page-home .stats-section .section__desc {
  color: rgba(242, 240, 230, .72);
}

.page-home .services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}

@media (min-width: 680px) {
  .page-home .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
}

.page-home .services-grid__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, rgba(245, 240, 230, .07), rgba(11, 31, 58, .32));
  color: var(--c-cream);
  text-decoration: none;
  transition: border-color .25s var(--home-ease), box-shadow .25s var(--home-ease), transform .25s var(--home-ease);
}

.page-home .services-grid__card:hover,
.page-home .services-grid__card:focus-visible {
  border-color: var(--c-purple);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translateY(-4px);
}

.page-home .services-grid__media,
.page-home .services-grid__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: var(--border);
}

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

.page-home .services-grid__icon {
  background: radial-gradient(circle at 82% 18%, rgba(155, 89, 182, .34), transparent 42%),
              linear-gradient(135deg, rgba(245, 240, 230, .08), rgba(11, 31, 58, .22));
  color: var(--c-yellow);
}

.page-home .services-grid__icon svg {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 0 14px rgba(155, 89, 182, .5));
}

.page-home .services-grid__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px;
}

.page-home .services-grid__body .tag {
  align-self: flex-start;
}

.page-home .services-grid__body h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-cream);
}

.page-home .services-grid__body p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(242, 240, 230, .72);
}

.page-home .services-grid__arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--c-yellow);
  transition: color .2s var(--home-ease);
}

.page-home .services-grid__card:hover .services-grid__arrow {
  color: var(--c-purple);
}

/* ===== 数据沉淀 ===== */
.page-home .stats-section {
  position: relative;
  padding: clamp(56px, 9vw, 112px) 0;
  border-top: 1px solid rgba(74, 85, 104, .5);
  border-bottom: 1px solid rgba(74, 85, 104, .5);
  background: var(--home-grid-lines), linear-gradient(180deg, var(--c-space), var(--c-ink));
  background-size: 38px 38px, cover;
}

.page-home .stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-purple), var(--c-yellow));
}

.page-home .stats-layout {
  display: grid;
  gap: 44px;
}

@media (min-width: 900px) {
  .page-home .stats-layout {
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
  }
}

.page-home .stats-layout__strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 32px 0 28px;
}

.page-home .data-strip__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  border: 1px solid rgba(74, 85, 104, .55);
  border-radius: var(--radius-md);
  background: rgba(7, 21, 37, .35);
  box-shadow: var(--shadow-sm);
}

.page-home .data-strip__item .data-num {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-yellow);
}

.page-home .data-strip__item .data-label {
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--c-fog);
}

.page-home .stats-layout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.page-home .stats-layout__frame {
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.page-home .stats-layout__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .stats-layout__caption {
  margin: 14px 0 0;
  font-size: .85rem;
  text-align: right;
  letter-spacing: .04em;
  color: var(--c-fog);
}
