.page-home {
  --ph-line: rgba(199, 211, 224, 0.2);
  --ph-cyan-glow: rgba(0, 255, 198, 0.25);
  --ph-cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  position: relative;
  min-height: 100vh;
  background: var(--color-deep);
  color: var(--color-metal);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ===== 区块通用 ===== */
.page-home .ph-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.page-home .ph-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 12px;
}
.page-home .ph-section-head h2,
.page-home .ph-update h2,
.page-home .ph-help h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.25;
  color: var(--color-silver);
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}
.page-home .ph-section-summary {
  margin: 0;
  color: var(--color-blue-gray);
  font-size: 15px;
  line-height: 1.75;
}

/* ===== 框景首屏 + 档案检索总入口 ===== */
.page-home .ph-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 28px) 20px 48px;
  background:
    linear-gradient(rgba(199, 211, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 211, 224, 0.04) 1px, transparent 1px),
    radial-gradient(ellipse at 78% 22%, rgba(17, 41, 92, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(0, 255, 198, 0.06) 0%, transparent 40%),
    var(--color-deep);
  background-size: 60px 60px, 60px 60px, auto, auto, auto;
  overflow: hidden;
}
.page-home .ph-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -25%;
  width: 70%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(0, 255, 198, 0.05) 75%, rgba(17, 41, 92, 0.4) 100%);
  transform: skewX(-12deg);
  pointer-events: none;
  z-index: 0;
}

.page-home .ph-hero-frame {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 20px 26px;
  background: rgba(17, 41, 92, 0.32);
  border: 1px solid var(--ph-line);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  box-shadow: var(--shadow-panel);
  z-index: 1;
}
.page-home .ph-hero-frame::after {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  opacity: 0.4;
}

.page-home .ph-fcorner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 0 solid var(--color-cyan);
  z-index: 2;
  opacity: 0.85;
  pointer-events: none;
}
.page-home .ph-fcorner--tl { top: -1px; left: -1px; border-top-width: 3px; border-left-width: 3px; }
.page-home .ph-fcorner--tr { top: -1px; right: -1px; border-top-width: 3px; border-right-width: 3px; }
.page-home .ph-fcorner--bl { bottom: -1px; left: -1px; border-bottom-width: 3px; border-left-width: 3px; }
.page-home .ph-fcorner--br { bottom: -1px; right: -1px; border-bottom-width: 3px; border-right-width: 3px; }

.page-home .ph-frame-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px dashed var(--ph-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-blue-gray);
}
.page-home .ph-frame-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-cyan);
}
.page-home .ph-frame-state .state-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-cyan);
  border-radius: 50%;
  display: inline-block;
}

.page-home .ph-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-home .ph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 16px;
}
.page-home .ph-kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--ph-cyan-glow);
}

.page-home .ph-hero h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(27px, 5.4vw, 46px);
  line-height: 1.24;
  color: var(--color-silver);
  letter-spacing: 0.02em;
  margin: 0 0 16px;
}
.page-home .ph-hero-summary {
  max-width: 540px;
  color: var(--color-blue-gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* 检索框 */
.page-home .ph-searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  padding: 10px 10px 10px 16px;
  background: rgba(11, 16, 22, 0.78);
  border: 1px solid rgba(0, 255, 198, 0.35);
  clip-path: var(--ph-cut);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.page-home .ph-searchbox:hover,
.page-home .ph-searchbox:focus-within {
  border-color: var(--color-cyan);
  box-shadow: 0 0 28px var(--ph-cyan-glow);
}
.page-home .ph-search-icon {
  flex: none;
  opacity: 0.85;
}
.page-home .ph-search-ph {
  flex: 1;
  min-width: 0;
  color: var(--color-blue-gray);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .ph-search-action {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-ink);
  background: var(--color-cyan);
  padding: 10px 18px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.page-home .ph-search-action:hover {
  background: var(--color-silver);
  transform: translateY(-2px);
}

/* 分类标签 */
.page-home .ph-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.page-home .ph-cats-label {
  font-size: 13px;
  color: var(--color-blue-gray);
}
.page-home .ph-cat {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-metal);
  border: 1px solid rgba(199, 211, 224, 0.28);
  padding: 6px 12px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.page-home .ph-cat:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
  background: rgba(0, 255, 198, 0.06);
}

/* 配图 */
.page-home .ph-hero-fig {
  margin: 0;
  position: relative;
}
.page-home .ph-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(199, 211, 224, 0.2);
  filter: saturate(0.85) brightness(0.95);
}
.page-home .ph-hero-fig figcaption {
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-blue-gray);
  background: rgba(11, 16, 22, 0.65);
  margin-top: 8px;
}

/* 首屏指标 */
.page-home .ph-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--ph-line);
}
.page-home .ph-stat {
  position: relative;
  padding: 14px 12px;
  background: rgba(11, 16, 22, 0.55);
  border-left: 3px solid var(--color-cyan);
  overflow: hidden;
}
.page-home .ph-stat::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 255, 198, 0.18);
  transform: rotate(45deg);
}
.page-home .ph-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-silver);
  letter-spacing: 0.01em;
}
.page-home .ph-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-blue-gray);
}

/* 首屏数据流线 */
.page-home .ph-hero-flow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  z-index: 0;
}

/* 竖向刻度标签 */
.page-home .ph-vertical-label {
  display: none;
}

/* ===== 数据流概览 ===== */
.page-home .ph-metrics {
  position: relative;
  padding: 80px 24px;
  background:
    linear-gradient(rgba(199, 211, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 211, 224, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-home .ph-metrics::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 198, 0.35), transparent);
}
.page-home .ph-metrics-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-home .ph-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .ph-metric-card {
  position: relative;
  padding: 24px 20px;
  background: rgba(17, 41, 92, 0.68);
  border: 1px solid rgba(199, 211, 224, 0.16);
  clip-path: var(--ph-cut);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.page-home .ph-metric-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 198, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.page-home .ph-metric-label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-blue-gray);
  margin-bottom: 8px;
}
.page-home .ph-metric-value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  color: var(--color-silver);
  letter-spacing: -0.02em;
}
.page-home .ph-metric-note {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(199, 211, 224, 0.2);
  font-size: 13px;
  color: var(--color-blue-gray);
}

.page-home .ph-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 36px;
  padding: 16px 20px;
  background: rgba(11, 16, 22, 0.5);
  border: 1px solid rgba(199, 211, 224, 0.14);
}
.page-home .ph-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-metal);
}
.page-home .ph-trust-item::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  transform: rotate(45deg);
}

/* ===== 核心功能直达 ===== */
.page-home .ph-features {
  position: relative;
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--color-deep) 0%, #07132A 100%);
}
.page-home .ph-features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 211, 224, 0.18), transparent);
}
.page-home .ph-features-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-home .ph-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.page-home .ph-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: rgba(17, 41, 92, 0.5);
  border: 1px solid rgba(199, 211, 224, 0.16);
  clip-path: var(--ph-cut);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.page-home .ph-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 198, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32);
}
.page-home .ph-feature-index {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-cyan);
  background: rgba(11, 16, 22, 0.75);
  padding: 4px 10px;
  border: 1px solid rgba(0, 255, 198, 0.25);
}
.page-home .ph-feature-imgwrap {
  overflow: hidden;
}
.page-home .ph-feature-imgwrap img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.8) brightness(0.92);
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}
.page-home .ph-feature-card:hover .ph-feature-imgwrap img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}
.page-home .ph-feature-body {
  padding: 26px 20px;
}
.page-home .ph-feature-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 23px;
  color: var(--color-silver);
  margin: 0 0 12px;
}
.page-home .ph-feature-body > p {
  font-size: 14px;
  color: var(--color-blue-gray);
  line-height: 1.75;
  margin: 0 0 16px;
}
.page-home .ph-feature-points {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-home .ph-feature-points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--color-metal);
}
.page-home .ph-feature-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  color: var(--color-cyan);
}
.page-home .ph-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-cyan);
  transition: gap var(--transition-fast);
}
.page-home .ph-feature-link:hover {
  gap: 10px;
}

/* ===== 大屏端站内检索反馈更新 ===== */
.page-home .ph-update {
  position: relative;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 255, 198, 0.07) 0%, transparent 55%),
    var(--color-deep-up);
  overflow: hidden;
}
.page-home .ph-update::before {
  content: "";
  position: absolute;
  top: 0;
  left: -15%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(199, 211, 224, 0.06), transparent);
  transform: skewX(-14deg);
  pointer-events: none;
}
.page-home .ph-update-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-home .ph-update-copy {
  max-width: 620px;
}
.page-home .ph-update-summary {
  margin: 0 0 24px;
  color: var(--color-blue-gray);
  font-size: 15px;
  line-height: 1.8;
}
.page-home .ph-update-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-home .ph-update-list li {
  position: relative;
  padding: 14px 14px 14px 44px;
  background: rgba(11, 16, 22, 0.45);
  border-left: 3px solid var(--color-cyan);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-metal);
}
.page-home .ph-update-list li::before {
  content: "R4";
  position: absolute;
  left: 10px;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-cyan);
}
.page-home .ph-update-fig {
  margin: 0;
}
.page-home .ph-update-fig img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(199, 211, 224, 0.2);
  filter: saturate(0.9);
}
.page-home .ph-update-fig figcaption {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-blue-gray);
  background: rgba(11, 16, 22, 0.6);
  margin-top: 8px;
}
.page-home .ph-update-track {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--max-width);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(199, 211, 224, 0.16);
  font-family: var(--font-mono);
  font-size: 13px;
}
.page-home .ph-track-label {
  flex: none;
  color: var(--color-blue-gray);
  white-space: nowrap;
}
.page-home .ph-progress {
  flex: 1;
  min-width: 60px;
  height: 6px;
  background: rgba(199, 211, 224, 0.14);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}
.page-home .ph-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-cyan-deep), var(--color-cyan));
  box-shadow: 0 0 12px var(--ph-cyan-glow);
}
.page-home .ph-track-num {
  flex: none;
  color: var(--color-cyan);
  white-space: nowrap;
}

/* ===== 内容中心帮助记录 ===== */
.page-home .ph-help {
  position: relative;
  padding: 80px 24px;
  background: var(--color-ink);
}
.page-home .ph-help-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 24px;
  background: linear-gradient(135deg, rgba(17, 41, 92, 0.7), rgba(10, 27, 58, 0.85));
  border: 1px solid rgba(199, 211, 224, 0.16);
  clip-path: var(--ph-cut);
}
.page-home .ph-help-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 10px;
}
.page-home .ph-help-copy p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-blue-gray);
  margin: 0 0 22px;
}
.page-home .ph-help-direction {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 20px;
  background: rgba(11, 16, 22, 0.45);
  border: 1px dashed rgba(199, 211, 224, 0.18);
}
.page-home .ph-help-dir {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-silver);
  padding: 8px 14px;
  background: rgba(17, 41, 92, 0.85);
  border: 1px solid rgba(199, 211, 224, 0.18);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.page-home .ph-help-arrow {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--color-cyan);
  flex: none;
}

/* ===== 平板：双列过渡 ===== */
@media (min-width: 768px) {
  .page-home .ph-hero {
    padding-left: 28px;
    padding-right: 28px;
  }
  .page-home .ph-hero-frame {
    padding: 44px 34px 32px;
  }
  .page-home .ph-hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .page-home .ph-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-home .ph-feature-grid {
    gap: 40px;
  }
  .page-home .ph-update-inner {
    gap: 40px;
  }
  .page-home .ph-help-card {
    padding: 40px 32px;
  }
}

/* ===== 桌面：非对称全文布局 ===== */
@media (min-width: 1024px) {
  .page-home .ph-metrics,
  .page-home .ph-features,
  .page-home .ph-update,
  .page-home .ph-help {
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .page-home .ph-vertical-label {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: left top;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(199, 211, 224, 0.5);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
  }

  .page-home .ph-hero {
    padding: calc(var(--header-height) + 48px) 32px 64px;
  }
  .page-home .ph-hero-frame {
    padding: 52px 48px 40px;
  }
  .page-home .ph-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
  .page-home .ph-hero-stats {
    margin-top: 40px;
    padding-top: 32px;
  }
  .page-home .ph-stat {
    padding: 18px 16px;
  }
  .page-home .ph-stat-num {
    font-size: 26px;
  }

  .page-home .ph-metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .ph-metric-value {
    font-size: 42px;
  }

  .page-home .ph-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
  .page-home .ph-feature-card:nth-child(even) {
    margin-top: 64px;
  }
  .page-home .ph-feature-body {
    padding: 30px 26px;
  }

  .page-home .ph-update-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .page-home .ph-help-card {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    padding: 44px 40px;
  }
}
