/* 首页专属排版 - dyvip.homes */
.page-home main {
  overflow-x: hidden;
}

/* ── 全屏视觉区 ── */
.hp-splash {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 32px;
  text-align: center;
  overflow: hidden;
}

.hp-splash-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hp-splash-bg::before,
.hp-splash-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hp-splash-bg::before {
  width: 55vw;
  height: 55vw;
  max-width: 520px;
  max-height: 520px;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.hp-splash-bg::after {
  width: 50vw;
  height: 50vw;
  max-width: 480px;
  max-height: 480px;
  bottom: -5%;
  right: -6%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.hp-splash-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
}

.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(8px);
}

.hp-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: hp-pulse 2s ease infinite;
}

@keyframes hp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hp-title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hp-title-line {
  display: block;
}

.hp-title-accent {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hp-lead {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hp-splash-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hp-phones {
  position: relative;
  height: 320px;
  max-width: 680px;
  margin: 0 auto;
}

.hp-phone {
  position: absolute;
  bottom: 0;
  width: 38%;
  max-width: 200px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease;
}

.hp-phone img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.hp-phone--left {
  left: 8%;
  transform: rotate(-8deg) translateY(12px);
  z-index: 1;
}

.hp-phone--center {
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 42%;
  max-width: 220px;
}

.hp-phone--right {
  right: 8%;
  transform: rotate(8deg) translateY(12px);
  z-index: 2;
}

.hp-phone:hover {
  z-index: 4;
}

.hp-phone--left:hover { transform: rotate(-4deg) translateY(0) scale(1.03); }
.hp-phone--center:hover { transform: translateX(-50%) translateY(-8px) scale(1.04); }
.hp-phone--right:hover { transform: rotate(4deg) translateY(0) scale(1.03); }

/* ── 滚动关键词条 ── */
.hp-ticker {
  border-block: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow: hidden;
  padding: 14px 0;
}

.hp-ticker-track {
  display: flex;
  width: max-content;
  animation: hp-scroll 35s linear infinite;
}

.hp-ticker-track span {
  flex-shrink: 0;
  padding: 0 28px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hp-ticker-track span::after {
  content: "◆";
  margin-left: 28px;
  color: var(--accent);
  font-size: 0.55rem;
  vertical-align: middle;
}

@keyframes hp-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 能力矩阵 ── */
.hp-matrix {
  padding: 72px 0;
}

.hp-matrix-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.hp-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.hp-matrix-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.25;
}

.hp-matrix-head p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.hp-matrix-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.hp-matrix-row {
  display: grid;
  grid-template-columns: 72px 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background 0.2s;
}

.hp-matrix-row:last-child {
  border-bottom: none;
}

.hp-matrix-row:hover {
  background: rgba(255, 45, 85, 0.04);
}

.hp-matrix-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
}

.hp-matrix-row:hover .hp-matrix-num {
  color: var(--accent);
}

.hp-matrix-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.hp-matrix-row p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Bento 图库 ── */
.hp-bento-wrap {
  padding: 72px 0;
  background: var(--bg-secondary);
}

.hp-bento-head {
  text-align: center;
  margin-bottom: 40px;
}

.hp-bento-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.hp-bento-head p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.hp-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.hp-bento-cell {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.hp-bento-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hp-bento-cell:hover img {
  transform: scale(1.06);
}

.hp-bento-cell figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.78rem;
  color: #fff;
  font-weight: 600;
}

.hp-bento-cell--a { grid-column: span 2; grid-row: span 3; }
.hp-bento-cell--b { grid-column: span 2; grid-row: span 2; }
.hp-bento-cell--c { grid-column: span 2; grid-row: span 1; }
.hp-bento-cell--d { grid-column: span 1; grid-row: span 2; }
.hp-bento-cell--e { grid-column: span 1; grid-row: span 2; }
.hp-bento-cell--f { grid-column: span 2; grid-row: span 2; }
.hp-bento-cell--g { grid-column: span 2; grid-row: span 1; }
.hp-bento-cell--h { grid-column: span 2; grid-row: span 1; }
.hp-bento-cell--i { grid-column: span 2; grid-row: span 2; }
.hp-bento-cell--j { grid-column: span 2; grid-row: span 1; }

/* ── 下载流程带 ── */
.hp-rail {
  padding: 64px 0;
  background: linear-gradient(135deg, #120810 0%, #0a1218 50%, #100a12 100%);
  border-block: 1px solid var(--border);
}

.hp-rail-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.hp-rail-top {
  text-align: center;
  margin-bottom: 44px;
}

.hp-rail-top h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 8px;
}

.hp-rail-top p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.hp-rail-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  position: relative;
}

.hp-rail-flow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent));
  opacity: 0.35;
}

.hp-rail-step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.hp-rail-dot {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
}

.hp-rail-step h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.hp-rail-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.hp-rail-cta {
  text-align: center;
  margin-top: 40px;
}

/* ── 知识中心：双栏 ── */
.hp-hub {
  padding: 72px 0 80px;
}

.hp-hub-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.hp-chapter {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.hp-chapter:first-child {
  padding-top: 0;
}

.hp-chapter-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  padding-top: 4px;
}

.hp-chapter-body h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  padding: 0;
  border: none;
}

.hp-chapter-body h3 {
  font-size: 1.05rem;
  margin: 20px 0 10px;
  color: var(--accent-cyan);
}

.hp-chapter-body p {
  color: #c8c8c8;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.hp-chapter-body ul {
  margin: 0 0 14px 20px;
  color: #c8c8c8;
  font-size: 0.95rem;
}

.hp-chapter-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.hp-chapter-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.hp-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.hp-toc h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.hp-toc ol {
  list-style: none;
  counter-reset: toc;
}

.hp-toc li {
  counter-increment: toc;
  margin-bottom: 8px;
}

.hp-toc a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.hp-toc a::before {
  content: counter(toc, decimal-leading-zero) " ";
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 6px;
}

.hp-toc a:hover {
  color: var(--text-primary);
}

.hp-faq-compact h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.hp-faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.hp-faq-card strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

.hp-faq-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.hp-links-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hp-links-bar a {
  font-size: 0.82rem;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  transition: border-color 0.2s, color 0.2s;
}

.hp-links-bar a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .hp-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
  }

  .hp-bento-cell--a { grid-column: span 2; grid-row: span 2; }
  .hp-bento-cell--b { grid-column: span 2; grid-row: span 2; }
  .hp-bento-cell--c,
  .hp-bento-cell--g,
  .hp-bento-cell--h,
  .hp-bento-cell--j { grid-column: span 2; grid-row: span 1; }
  .hp-bento-cell--d,
  .hp-bento-cell--e { grid-column: span 1; grid-row: span 2; }
  .hp-bento-cell--f,
  .hp-bento-cell--i { grid-column: span 2; grid-row: span 2; }

  .hp-hub-grid {
    grid-template-columns: 1fr;
  }

  .hp-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .hp-toc { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .hp-splash {
    padding-top: 32px;
    min-height: auto;
    padding-bottom: 48px;
  }

  .hp-phones {
    height: 260px;
  }

  .hp-phone {
    width: 34%;
    max-width: 150px;
  }

  .hp-phone--center {
    width: 38%;
    max-width: 170px;
  }

  .hp-matrix-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-matrix-row {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    padding: 20px;
  }

  .hp-matrix-row h3 {
    grid-column: 2;
  }

  .hp-matrix-row p {
    grid-column: 1 / -1;
  }

  .hp-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .hp-bento-cell--a,
  .hp-bento-cell--b,
  .hp-bento-cell--f,
  .hp-bento-cell--i {
    grid-column: span 2;
    grid-row: span 2;
  }

  .hp-bento-cell--c,
  .hp-bento-cell--d,
  .hp-bento-cell--e,
  .hp-bento-cell--g,
  .hp-bento-cell--h,
  .hp-bento-cell--j {
    grid-column: span 1;
    grid-row: span 2;
  }

  .hp-rail-flow {
    flex-direction: column;
    gap: 28px;
  }

  .hp-rail-flow::before {
    display: none;
  }

  .hp-rail-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 16px;
    text-align: left;
    padding: 0;
  }

  .hp-rail-dot {
    margin: 0;
    grid-row: span 2;
    align-self: start;
  }

  .hp-chapter {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hp-chapter-num {
    font-size: 1.8rem;
  }

  .hp-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hp-title {
    font-size: 2.4rem;
  }

  .hp-splash-actions .btn {
    width: 100%;
  }

  .hp-phones {
    height: 220px;
  }

  .hp-ticker-track span {
    font-size: 0.78rem;
    padding: 0 18px;
  }
}
