.page-home {
  --home-grid-alpha: rgba(177, 75, 255, 0.07);
  --home-v4-glow: 0 0 28px rgba(0, 229, 160, 0.18);
  --home-purple-glow: 0 0 38px rgba(177, 75, 255, 0.45);
}

/* ===== 首屏英雄区 ===== */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 88px;
  background: linear-gradient(135deg, #0B1D3A 0%, #1A0B2E 55%, #05101F 100%);
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-alpha) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-alpha) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(8deg) scale(1.2);
  animation: home-grid-drift 18s linear infinite alternate;
  pointer-events: none;
}

.page-home .home-hero__palm {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  background:
    radial-gradient(ellipse at 30% 70%, transparent 40%, rgba(0, 229, 160, 0.1) 42%, transparent 50%),
    radial-gradient(ellipse at 60% 40%, transparent 45%, rgba(177, 75, 255, 0.08) 48%, transparent 55%);
  filter: blur(18px);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

.page-home .home-hero__rail {
  display: none;
}

.page-home .home-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.page-home .home-hero__title {
  margin: 0 0 22px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -2px;
}

.page-home .home-hero__title-en {
  display: block;
  font-size: clamp(4.8rem, 14vw, 8rem);
  color: var(--c-soft-white);
  text-shadow: 0 0 42px rgba(177, 75, 255, 0.55), 4px 4px 0 rgba(177, 75, 255, 0.2);
}

.page-home .home-hero__title-cn {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: var(--c-electric-green);
  margin-left: 1.3em;
  text-shadow: 0 0 30px rgba(0, 229, 160, 0.45);
}

.page-home .home-hero__lead {
  max-width: 560px;
  color: var(--c-blue-gray);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.page-home .home-hero__keyword {
  color: var(--c-soft-white);
  font-weight: 700;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}

.page-home .home-hero__btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 16px 28px;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.page-home .home-hero__btn:hover {
  transform: translateX(4px);
}

.page-home .home-hero__btn--v4 {
  background: linear-gradient(135deg, #B14BFF 0%, #7a2dff 100%);
  box-shadow: var(--home-purple-glow);
}

.page-home .home-hero__btn--v4:hover {
  box-shadow: 0 0 52px rgba(177, 75, 255, 0.65);
}

.page-home .home-hero__btn--legacy {
  background: rgba(5, 16, 31, 0.6);
  border: 1px solid rgba(255, 140, 66, 0.5);
}

.page-home .home-hero__btn--legacy:hover {
  border-color: var(--c-warning-orange);
  box-shadow: 0 0 24px rgba(255, 140, 66, 0.2);
}

.page-home .home-hero__btn-label {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-style: italic;
  text-transform: uppercase;
  color: var(--c-soft-white);
}

.page-home .home-hero__btn-note {
  font-size: 0.78rem;
  color: rgba(230, 240, 255, 0.72);
}

.page-home .home-hero__visual {
  position: relative;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

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

/* ===== 通用区块头 ===== */
.page-home .home-section__head {
  margin-bottom: 44px;
}

.page-home .home-section__head--center {
  text-align: center;
}

.page-home .home-section__kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-electric-green);
  border-left: 3px solid var(--c-neon-purple);
  padding-left: 10px;
  margin-bottom: 12px;
}

.page-home .home-section__title {
  margin: 0 0 12px;
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--c-soft-white);
}

.page-home .home-section__desc {
  color: var(--c-blue-gray);
  max-width: 640px;
  line-height: 1.7;
}

/* ===== 版本入口区 ===== */
.page-home .home-gate {
  padding-top: 80px;
  padding-bottom: 64px;
}

.page-home .home-gate__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-gate__card {
  position: relative;
  background: linear-gradient(150deg, var(--c-deep-sea-light), rgba(11, 29, 58, 0.85));
  border: 1px solid;
  padding: 32px 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .home-gate__card:hover {
  transform: translateY(-4px);
}

.page-home .home-gate__card--v4 {
  border-color: rgba(0, 229, 160, 0.5);
  box-shadow: var(--home-v4-glow);
}

.page-home .home-gate__card--v4:hover {
  box-shadow: 0 0 38px rgba(0, 229, 160, 0.28);
}

.page-home .home-gate__card--legacy {
  border-color: rgba(255, 140, 66, 0.3);
}

.page-home .home-gate__card--v4::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 42px 42px 0;
  border-style: solid;
  border-color: transparent var(--c-electric-green) transparent transparent;
}

.page-home .home-gate__card--legacy::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 42px 42px 0;
  border-style: solid;
  border-color: transparent var(--c-warning-orange) transparent transparent;
}

.page-home .home-gate__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.page-home .home-gate__icon {
  font-size: 1.6rem;
  color: var(--c-electric-green);
}

.page-home .home-gate__card--legacy .home-gate__icon {
  color: var(--c-warning-orange);
}

.page-home .home-gate__card h3 {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-style: italic;
  text-transform: uppercase;
  color: var(--c-soft-white);
}

.page-home .home-gate__card-desc {
  color: var(--c-blue-gray);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.page-home .home-gate__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-home .home-gate__list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.8;
  color: var(--c-blue-gray);
  font-size: 0.92rem;
}

.page-home .home-gate__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--c-electric-green);
}

.page-home .home-gate__card--legacy .home-gate__list li::before {
  background: var(--c-warning-orange);
}

.page-home .home-gate__link {
  color: var(--c-electric-green);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.page-home .home-gate__card--legacy .home-gate__link {
  color: var(--c-warning-orange);
}

.page-home .home-gate__link:hover {
  border-bottom-color: currentColor;
}

.page-home .home-gate__figure {
  margin: 40px 0 0;
}

.page-home .home-gate__figure img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}

.page-home .home-gate__figure figcaption {
  font-size: 0.85rem;
  color: var(--c-blue-gray);
  padding: 14px 0 0 20px;
  border-left: 2px solid var(--c-neon-purple);
  line-height: 1.6;
}

/* ===== 记录查询快车道 ===== */
.page-home .home-lanes {
  background: linear-gradient(90deg, var(--c-deep-sea-light) 0%, var(--c-dark-night-purple) 100%);
  padding: 72px 0;
}

.page-home .home-lanes__inner {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-lanes__desc {
  color: var(--c-blue-gray);
  line-height: 1.8;
  margin-bottom: 0;
}

.page-home .home-lanes__actions {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-home .home-lanes__btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 18px 22px;
  text-decoration: none;
}

.page-home .home-lanes__btn-title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-style: italic;
  text-transform: uppercase;
}

.page-home .home-lanes__btn-sub {
  font-size: 0.8rem;
  opacity: 0.78;
}

.page-home .home-lanes__help {
  margin-top: 18px;
  color: var(--c-blue-gray);
  font-size: 0.86rem;
}

.page-home .home-lanes__help a {
  color: var(--c-electric-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .home-lanes__help a:hover {
  border-bottom-color: var(--c-electric-green);
}

.page-home .home-lanes__visual img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

/* ===== 为什么选择V4 ===== */
.page-home .home-why {
  padding: 80px 0 72px;
}

.page-home .home-why__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-why__item {
  background: var(--c-deep-sea-light);
  padding: 36px 28px;
  border-top: 3px solid var(--c-neon-purple);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .home-why__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.page-home .home-why__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: rgba(177, 75, 255, 0.15);
  color: var(--c-neon-purple);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}

.page-home .home-why__icon--grid {
  color: var(--c-electric-green);
  background: rgba(0, 229, 160, 0.1);
}

.page-home .home-why__icon--auto {
  color: var(--c-gold);
  background: rgba(255, 215, 0, 0.08);
}

.page-home .home-why__item h3 {
  margin: 0 0 10px;
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-style: italic;
  text-transform: uppercase;
  color: var(--c-soft-white);
}

.page-home .home-why__item p {
  color: var(--c-blue-gray);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* ===== 平台数据 ===== */
.page-home .home-stats {
  background: var(--c-deep-black-blue);
  padding: 80px 0;
}

.page-home .home-section__head--center .home-section__desc {
  margin-left: auto;
  margin-right: auto;
}

.page-home .home-stats__grid {
  display: grid;
  gap: 16px;
  margin: 40px 0 28px;
}

.page-home .home-stats__item {
  border-bottom: 3px solid var(--c-neon-purple);
  padding: 32px 16px 24px;
  background: linear-gradient(180deg, rgba(19, 42, 74, 0.8), rgba(5, 16, 31, 0.9));
}

.page-home .home-stats__item:nth-child(2) {
  border-bottom-color: var(--c-electric-green);
}

.page-home .home-stats__item:nth-child(3) {
  border-bottom-color: var(--c-gold);
}

.page-home .home-stats__item:nth-child(4) {
  border-bottom-color: var(--c-neon-purple);
}

.page-home .home-stats__item dt {
  color: var(--c-blue-gray);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.page-home .home-stats__item dd {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  font-style: italic;
  color: var(--c-soft-white);
}

.page-home .home-stats__item:nth-child(1) dd {
  color: var(--c-gold);
  text-shadow: 0 0 24px rgba(255, 215, 0, 0.3);
}

.page-home .home-stats__item:nth-child(2) dd {
  color: var(--c-electric-green);
  text-shadow: 0 0 24px rgba(0, 229, 160, 0.3);
}

.page-home .home-stats__item:nth-child(3) dd {
  color: var(--c-neon-purple);
  text-shadow: 0 0 24px rgba(177, 75, 255, 0.35);
}

.page-home .home-stats__note {
  color: var(--c-blue-gray);
  font-size: 0.9rem;
  border-left: 3px solid var(--c-gold);
  padding-left: 14px;
  line-height: 1.8;
  margin: 0;
}

.page-home .home-stats__note a {
  color: var(--c-electric-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .home-stats__note a:hover {
  border-bottom-color: var(--c-electric-green);
}

.page-home .home-stats img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 32px;
  opacity: 0.85;
}

/* ===== 最新动态 ===== */
.page-home .home-news {
  padding: 80px 0 96px;
}

.page-home .home-news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.page-home .home-news__more {
  color: var(--c-neon-purple);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.page-home .home-news__more:hover {
  border-bottom-color: var(--c-neon-purple);
}

.page-home .home-news__list {
  display: grid;
  gap: 16px;
}

.page-home .home-news__item {
  background: var(--c-deep-sea-light);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-home .home-news__item:hover {
  background: #183256;
  transform: translateX(6px);
}

.page-home .home-news__body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.page-home .home-news__body h3 a {
  color: var(--c-soft-white);
  text-decoration: none;
  transition: color 0.3s;
}

.page-home .home-news__body h3 a:hover {
  color: var(--c-electric-green);
}

.page-home .home-news__time {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--c-blue-gray);
}

/* ===== 动效协议补充 ===== */
@keyframes home-grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 56px 112px;
  }
}

.page-home [data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===== 响应式：平板 768px ===== */
@media (min-width: 768px) {
  .page-home .home-gate__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-home .home-lanes__inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }

  .page-home .home-lanes__actions {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-why__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .page-home .home-stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .page-home .home-news__list {
    grid-template-columns: 1fr;
  }
}

/* ===== 响应式：桌面 992px ===== */
@media (min-width: 992px) {
  .page-home .home-hero {
    padding: 72px 0 110px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: 72px 1fr 360px;
    gap: 44px;
    align-items: center;
    min-height: 620px;
  }

  .page-home .home-hero__rail {
    display: flex;
    flex-direction: column;
    gap: 20px;
    writing-mode: vertical-rl;
    justify-content: flex-start;
    align-items: center;
    color: var(--c-blue-gray);
    font-size: 0.78rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    border-right: 1px solid rgba(177, 75, 255, 0.35);
    padding-right: 14px;
  }

  .page-home .home-hero__rail span {
    line-height: 1.4;
    padding: 6px 0;
  }

  .page-home .home-hero__visual {
    margin-top: 88px;
  }

  .page-home .home-hero__visual img {
    height: 520px;
    object-fit: cover;
  }

  .page-home .home-hero__lead {
    font-size: 1.05rem;
  }

  .page-home .home-lanes {
    padding: 96px 0;
  }

  .page-home .home-stats {
    padding: 96px 0;
  }

  .page-home .home-news {
    padding: 96px 0 120px;
  }
}
