.page-home {
  --ph-accent: #00E676;
  --ph-blue: #1E90FF;
  --ph-orange: #FF6B00;
  position: relative;
  background: var(--primary-bg);
}

/* ---------- 面包屑 ---------- */
.page-home .ph-crumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) 1.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-mid);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
}

.page-home .ph-crumb [aria-current="page"] {
  color: var(--accent);
}

/* ---------- Hero 状态区 ---------- */
.page-home .ph-hero {
  position: relative;
  padding: 2.5rem 0 4.5rem;
  overflow: hidden;
}

.page-home .ph-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 44vw;
  height: 44vw;
  max-width: 520px;
  max-height: 520px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.16), transparent 72%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
  z-index: 0;
}

.page-home .ph-hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.page-home .ph-hero__left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-home .ph-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  clip-path: polygon(0 0, 94% 0, 80% 100%, 0 100%);
  min-height: 320px;
  max-height: 420px;
}

.page-home .ph-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 38, 0.12) 0%, rgba(11, 16, 38, 0.52) 100%);
  pointer-events: none;
}

.page-home .ph-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .ph-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 1.25rem 0 0;
}

.page-home .ph-hero__title {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 900;
  color: var(--text-high);
  max-width: 11em;
}

.page-home .ph-hero__lead {
  margin: 0;
  color: var(--text-mid);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 33em;
}

.page-home .ph-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.page-home .ph-hero__link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .ph-hero__link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hero 右侧索引 */
.page-home .ph-hero__right {
  position: relative;
}

.page-home .ph-index {
  position: relative;
  background: rgba(28, 39, 81, 0.62);
  border: 1px solid var(--divider);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 2rem 1.5rem 1.25rem;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.page-home .ph-index::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 88px;
  height: 88px;
  background: rgba(0, 230, 118, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.page-home .ph-index__kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-left: 0.5rem;
  letter-spacing: 0.14em;
}

.page-home .ph-index__kicker .sk-mono {
  color: var(--accent);
}

.page-home .ph-index__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0.75rem;
  border-bottom: 1px solid rgba(42, 58, 92, 0.72);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.page-home .ph-index__item:last-child {
  border-bottom: none;
}

.page-home .ph-index__item:hover {
  background: rgba(0, 230, 118, 0.05);
  border-left: 2px solid var(--accent);
  transform: translateX(4px);
  border-bottom-color: transparent;
}

.page-home .ph-index__num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 2.4em;
  line-height: 1;
  opacity: 0.85;
}

.page-home .ph-index__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.page-home .ph-index__label {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-high);
  line-height: 1.3;
}

.page-home .ph-index__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ---------- 内容索引（四大入口） ---------- */
.page-home .ph-sections {
  position: relative;
  padding: 3.5rem 0;
  background: var(--secondary-bg);
}

.page-home .ph-sections::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: rgba(30, 144, 255, 0.07);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.page-home .ph-sections__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  max-width: 48em;
}

.page-home .ph-sections__title {
  margin: 0;
}

.page-home .ph-sections__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-home .ph-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem;
  background: rgba(28, 39, 81, 0.66);
  border: 1px solid var(--divider);
  border-radius: 4px;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.page-home .ph-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 230, 118, 0.42);
  box-shadow: 0 16px 40px rgba(2, 4, 16, 0.5);
  background: rgba(28, 39, 81, 0.82);
}

.page-home .ph-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-home .ph-card__index {
  color: rgba(167, 180, 199, 0.35);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.page-home .ph-card h3 {
  margin: 0;
  font-size: 1.375rem;
}

.page-home .ph-card p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.page-home .ph-card__link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .ph-card__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.page-home .ph-card--scan .ph-card__scan {
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--divider);
  max-height: 220px;
}

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

/* ---------- 数据状态面板 ---------- */
.page-home .ph-panel {
  position: relative;
  padding: 4rem 0;
}

.page-home .ph-panel__inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(19, 26, 54, 0.92), rgba(28, 39, 81, 0.72));
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 2rem 1.5rem;
}

.page-home .ph-panel__inner::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: rgba(0, 230, 118, 0.08);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .ph-panel__head {
  margin-bottom: 2rem;
}

.page-home .ph-panel__title {
  margin: 0;
}

.page-home .ph-panel__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-home .ph-panel__metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-home .ph-metric {
  padding: 1rem 1.25rem;
  background: rgba(11, 16, 38, 0.4);
  border: 1px solid var(--divider);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .ph-metric:hover {
  border-left-color: var(--accent);
  transform: translateX(2px);
}

.page-home .ph-metric__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .ph-metric__value {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.25;
  margin-top: 0.25rem;
}

.page-home .ph-metric__note {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-mid);
  margin-top: 0.5rem;
}

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

.page-home .ph-panel__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--divider);
}

/* ---------- 收藏引导块 ---------- */
.page-home .ph-bookmark {
  position: relative;
  padding: 3.5rem 0 5rem;
}

.page-home .ph-bookmark__inner {
  position: relative;
  background: var(--secondary-bg);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.page-home .ph-bookmark__inner::before {
  content: "★";
  position: absolute;
  top: -40px;
  left: -10px;
  font-size: 150px;
  color: rgba(0, 230, 118, 0.06);
  line-height: 1;
  pointer-events: none;
}

.page-home .ph-bookmark__inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(0, 230, 118, 0.1) 60%, transparent 100%);
  pointer-events: none;
}

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

.page-home .ph-bookmark__text {
  max-width: 38em;
  margin: 0;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.page-home .ph-bookmark__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* ---------- 窄屏适配（默认移动端优先，以下为增强） ---------- */
@media (min-width: 640px) {
  .page-home .ph-sections__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-home .ph-panel__img--sm {
    align-self: center;
  }
}

@media (min-width: 960px) {
  .page-home .ph-crumb {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .page-home .ph-hero {
    padding-top: 3.5rem;
  }

  .page-home .ph-hero__container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: stretch;
  }

  .page-home .ph-hero__left {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    padding: 0;
  }

  .page-home .ph-hero__media {
    position: absolute;
    inset: 0;
    min-height: 0;
    max-height: none;
    clip-path: polygon(0 0, 86% 0, 68% 100%, 0 100%);
  }

  .page-home .ph-hero__media::after {
    background: linear-gradient(to top, rgba(11, 16, 38, 0.95) 0%, rgba(11, 16, 38, 0.68) 48%, rgba(11, 16, 38, 0.15) 100%);
  }

  .page-home .ph-hero__content {
    padding: 2.75rem 2.5rem;
    background: linear-gradient(to top, rgba(11, 16, 38, 0.94) 0%, rgba(11, 16, 38, 0.7) 52%, transparent 100%);
  }

  .page-home .ph-hero__title {
    font-size: clamp(2.6rem, 4.2vw, 4rem);
  }

  .page-home .ph-hero__right {
    display: flex;
  }

  .page-home .ph-index {
    width: 100%;
    align-self: stretch;
    padding: 2.5rem 2rem 1.5rem;
  }

  .page-home .ph-sections {
    padding: 5rem 0;
  }

  .page-home .ph-sections__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
  }

  .page-home .ph-card:nth-child(1) {
    grid-column: span 5;
  }

  .page-home .ph-card:nth-child(2) {
    grid-column: span 7;
  }

  .page-home .ph-card:nth-child(3) {
    grid-column: span 7;
  }

  .page-home .ph-card:nth-child(4) {
    grid-column: span 5;
  }

  .page-home .ph-card--scan .ph-card__scan {
    max-height: 200px;
  }

  .page-home .ph-panel {
    padding: 5rem 0;
  }

  .page-home .ph-panel__inner {
    padding: 3rem 2.5rem;
  }

  .page-home .ph-panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

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

  .page-home .ph-panel__img {
    height: 100%;
    max-height: 300px;
  }

  .page-home .ph-bookmark {
    padding: 4rem 0 6rem;
  }

  .page-home .ph-bookmark__inner {
    padding: 4.5rem 3rem;
  }
}

@media (min-width: 1200px) {
  .page-home .ph-crumb {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .page-home .ph-hero__container {
    gap: 4rem;
  }

  .page-home .ph-hero__content {
    padding: 3rem;
  }

  .page-home .ph-sections__grid {
    gap: 1.5rem;
  }

  .page-home .ph-panel__inner {
    padding: 3.5rem 3rem;
  }

  .page-home .ph-panel__grid {
    gap: 4rem;
  }
}
