.page-home {
  --ph-accent-glow: rgba(255, 106, 0, 0.22);
  --ph-purple-glow: rgba(166, 77, 244, 0.18);
  --ph-card-border: rgba(255, 255, 255, 0.16);
  --ph-diagonal: 72px;
  background:
    radial-gradient(1200px 480px at 85% -5%, rgba(166, 77, 244, 0.14), transparent 60%),
    radial-gradient(900px 420px at 10% 110%, rgba(255, 106, 0, 0.1), transparent 55%),
    var(--bg-deep);
  position: relative;
  overflow: hidden;
}

/* ===== 面包屑 ===== */
.page-home .ph-breadcrumbs {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 28px) 24px 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

/* ===== 首屏框景区 ===== */
.page-home .ph-hero {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 24px 56px;
}

.page-home .ph-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  position: relative;
}

.page-home .ph-hero-brand {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(135deg, rgba(26, 58, 110, 0.72) 0%, rgba(11, 29, 58, 0.9) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - var(--ph-diagonal)) 0, 100% 100%, 0 100%);
}

.page-home .ph-hero-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--purple) 100%);
}

.page-home .ph-hero-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(255, 106, 0, 0.12);
  border-left: 2px solid var(--accent);
}

.page-home .ph-hero-brand h1 {
  font-family: var(--font-head);
  font-size: clamp(24px, 4.6vw, 38px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px;
  max-width: 14em;
}

.page-home .ph-hero-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 36em;
  margin: 0 0 24px;
}

.page-home .ph-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.page-home .ph-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.page-home .ph-stat-item {
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.page-home .ph-stat-item .stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.page-home .ph-stat-item .stat-label {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-faint);
}

.page-home .ph-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 首屏右侧浏览器窗框 */
.page-home .ph-hero-window {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 440px;
}

.page-home .ph-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(11, 29, 58, 0.94);
  border-bottom: 1px solid var(--border);
}

.page-home .ph-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.page-home .ph-window-dot-yellow {
  background: #febc2e;
}

.page-home .ph-window-dot-green {
  background: #27c93f;
}

.page-home .ph-window-addr {
  flex: 1;
  margin-left: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .ph-window-body {
  position: relative;
  z-index: 2;
  padding: 36px 28px 28px;
}

.page-home .ph-window-kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 18px;
}

.page-home .ph-window-login {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.page-home .ph-window-login-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: var(--radius);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.page-home .ph-window-note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 24px;
}

.page-home .ph-window-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .ph-window-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-faint);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
}

.page-home .ph-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27c93f;
  box-shadow: 0 0 0 4px rgba(39, 201, 63, 0.18);
  animation: ph-pulse 2s ease-in-out infinite;
}

.page-home .ph-window-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
}

/* ===== 版更新公告 ===== */
.page-home .ph-update {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 22, 45, 0.9) 0%, rgba(26, 58, 110, 0.6) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.page-home .ph-update-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.page-home .ph-update-copy {
  padding: 0;
}

.page-home .ph-section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--ph-accent-glow);
  border-radius: 20px;
}

.page-home .ph-update-copy h2,
.page-home .ph-panel-head h2,
.page-home .ph-support-copy h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 16px;
}

.page-home .ph-update-lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 24px;
  max-width: 34em;
}

.page-home .ph-update-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.page-home .ph-update-list li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.page-home .ph-update-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.9;
}

.page-home .ph-update-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--bg-deep);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .ph-update-visual {
  position: relative;
}

.page-home .ph-update-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  display: block;
}

.page-home .ph-update-visual::after {
  content: "";
  position: absolute;
  right: -12px;
  top: -12px;
  width: 48px;
  height: 48px;
  border-right: 3px solid var(--purple);
  border-top: 3px solid var(--purple);
  border-radius: 0 var(--radius) 0 0;
  opacity: 0.7;
}

.page-home .ph-update-visual::before {
  content: "";
  position: absolute;
  left: -12px;
  bottom: -12px;
  width: 48px;
  height: 48px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  border-radius: 0 0 0 var(--radius);
  opacity: 0.7;
}

/* ===== 功能快捷面板 ===== */
.page-home .ph-panel {
  padding: 72px 0 64px;
  position: relative;
}

.page-home .ph-panel-head {
  max-width: 720px;
  margin-bottom: 40px;
  position: relative;
}

.page-home .ph-panel-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 12px 0 0;
}

.page-home .ph-panel-texture {
  position: absolute;
  right: -80px;
  top: -40px;
  width: 280px;
  height: auto;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.page-home .ph-panel-head > * {
  position: relative;
  z-index: 1;
}

.page-home .ph-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .ph-panel-card {
  position: relative;
  display: block;
  padding: 28px 24px 24px;
  background: linear-gradient(145deg, rgba(26, 58, 110, 0.72) 0%, rgba(11, 29, 58, 0.9) 100%);
  border: 1px dashed var(--ph-card-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.page-home .ph-panel-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--purple) 100%);
  transition: height 0.28s ease;
}

.page-home .ph-panel-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--ph-purple-glow),
    0 14px 44px rgba(0, 0, 0, 0.34);
}

.page-home .ph-panel-card:hover::before {
  height: 100%;
}

.page-home .ph-panel-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding: 3px 10px;
  background: var(--ph-accent-glow);
  border-radius: var(--radius);
}

.page-home .ph-panel-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 10px;
}

.page-home .ph-panel-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 20px;
}

.page-home .ph-panel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ph-card-border);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.page-home .ph-panel-card:hover .ph-panel-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===== 支持与反馈 ===== */
.page-home .ph-support {
  border-top: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(166, 77, 244, 0.08) 0%, rgba(11, 29, 58, 0) 42%, rgba(255, 106, 0, 0.08) 100%);
  padding: 72px 0 84px;
}

.page-home .ph-support-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.page-home .ph-support-copy h2 {
  margin-bottom: 18px;
}

.page-home .ph-support-lead {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 30px;
  max-width: 34em;
}

.page-home .ph-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .ph-support-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  display: block;
  object-fit: cover;
}

/* ===== 动画 ===== */
@keyframes ph-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(39, 201, 63, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(39, 201, 63, 0.06); }
}

/* ===== 响应式：平板 ===== */
@media (min-width: 640px) {
  .page-home .ph-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .ph-hero-brand {
    padding: 40px 36px;
  }

  .page-home .ph-window-body {
    padding: 44px 36px 32px;
  }
}

/* ===== 响应式：桌面 ===== */
@media (min-width: 960px) {
  .page-home .ph-hero {
    padding: 48px 24px 80px;
  }

  .page-home .ph-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: stretch;
  }

  .page-home .ph-hero-brand {
    align-self: stretch;
  }

  .page-home .ph-hero-window {
    min-height: 520px;
  }

  .page-home .ph-window-img {
    width: 100%;
    height: 120%;
    top: -10%;
  }

  .page-home .ph-update-container {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
  }

  .page-home .ph-update-copy {
    padding-left: 12px;
  }

  .page-home .ph-update-visual img {
    max-width: 100%;
  }

  .page-home .ph-panel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-home .ph-support-container {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
  }

  .page-home .ph-support-img {
    max-width: 440px;
    justify-self: end;
  }
}

/* ===== 响应式：大屏 ===== */
@media (min-width: 1280px) {
  .page-home .ph-hero-grid {
    gap: 56px;
  }

  .page-home .ph-hero-brand {
    padding: 48px 44px 44px;
  }
}

/* ===== 减少动态效果 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home .ph-status-dot {
    animation: none;
  }

  .page-home .ph-panel-card,
  .page-home .ph-panel-card::before {
    transition: none;
  }
}
