.page-home {
  --home-glow-purple: rgba(176, 38, 255, 0.35);
  --home-glow-blue: rgba(0, 229, 255, 0.22);
  --home-grid-line: rgba(176, 38, 255, 0.08);
  --home-card-bg: rgba(26, 16, 37, 0.8);
  --home-border-purple: rgba(176, 38, 255, 0.35);
  background: var(--bg-deep);
  color: var(--text-light);
  overflow-x: hidden;
  font-family: var(--font-body);
}

/* ===== Hero 区 ===== */
.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 48px) 0 64px;
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-home .home-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.page-home .home-hero__glow--purple {
  width: 420px;
  height: 420px;
  background: var(--home-glow-purple);
  top: 8%;
  left: -140px;
}

.page-home .home-hero__glow--blue {
  width: 340px;
  height: 340px;
  background: var(--home-glow-blue);
  bottom: 4%;
  right: -100px;
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 10%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 40%, black 10%, transparent 75%);
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home .home-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.page-home .home-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--neon-blue);
  text-transform: uppercase;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(0, 229, 255, 0.06);
}

.page-home .home-hero h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--text-light);
  text-shadow: 0 0 18px rgba(176, 38, 255, 0.4);
}

.page-home .home-hero__lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  max-width: 560px;
}

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

.page-home .home-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(176, 38, 255, 0.2);
  width: 100%;
}

.page-home .home-hero__metrics div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-hero__metrics span {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--neon-green);
}

.page-home .home-hero__metrics em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.page-home .home-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-hero__visual-frame {
  position: relative;
  border: 1px solid var(--home-border-purple);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(176, 38, 255, 0.18);
  transform: rotate(0.6deg);
}

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

.page-home .home-hero__visual-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bg-deep);
  background: var(--neon-green);
  padding: 4px 8px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.page-home .home-mini-console {
  background: var(--home-card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.page-home .home-mini-console__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.page-home .home-mini-console__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.page-home .home-mini-console__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.page-home .home-mini-console__body {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-mini-console__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.page-home .home-mini-console__key {
  color: var(--text-muted);
}

.page-home .home-mini-console__val--green {
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-home .home-mini-console__link {
  color: var(--neon-blue);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  transition: color var(--transition);
}

.page-home .home-mini-console__link:hover {
  color: var(--neon-purple);
}

/* ===== 分类标签速达 ===== */
.page-home .home-cats {
  position: relative;
  padding: 80px 0;
  background: var(--bg-deep);
}

.page-home .home-cats__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.page-home .home-cats__index,
.page-home .home-features__index,
.page-home .home-updates__index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--neon-blue);
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 2px;
  white-space: nowrap;
}

.page-home .home-cats__head h2,
.page-home .home-features__head h2,
.page-home .home-updates__head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: var(--text-light);
}

.page-home .home-cats__head p,
.page-home .home-features__head p,
.page-home .home-updates__head p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.page-home .home-cats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-cats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  background: var(--home-card-bg);
  border: 1px solid rgba(176, 38, 255, 0.18);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.page-home .home-cats__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--neon-purple);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.page-home .home-cats__item:hover {
  border-color: rgba(176, 38, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(176, 38, 255, 0.18);
}

.page-home .home-cats__icon {
  font-size: 32px;
  line-height: 1;
  color: var(--neon-purple);
}

.page-home .home-cats__label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
}

.page-home .home-cats__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-home .home-cats__link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--neon-blue);
  transition: color var(--transition);
}

.page-home .home-cats__item:hover .home-cats__link {
  color: var(--neon-green);
}

/* ===== 功能快览 ===== */
.page-home .home-features {
  position: relative;
  padding: 80px 0;
  background: var(--bg-dark);
}

.page-home .home-features__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
}

.page-home .home-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .home-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px;
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 8px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page-home .home-feature-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: rotate(-0.5deg) translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 229, 255, 0.08);
}

.page-home .home-feature-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-home .home-feature-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--neon-purple);
  letter-spacing: 0.1em;
}

.page-home .home-feature-card__content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text-light);
}

.page-home .home-feature-card__content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.page-home .home-feature-card__visual {
  border-radius: 6px;
  overflow: hidden;
}

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

/* ===== 最新动态 ===== */
.page-home .home-updates {
  position: relative;
  padding: 80px 0;
  background: var(--bg-deep);
}

.page-home .home-updates__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-home .home-updates__head .btn {
  margin-left: auto;
}

.page-home .home-updates__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .home-updates__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: rgba(26, 16, 37, 0.55);
  border: 1px solid rgba(176, 38, 255, 0.15);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.page-home .home-updates__item:hover {
  border-color: rgba(176, 38, 255, 0.5);
  box-shadow: 0 8px 24px rgba(176, 38, 255, 0.15);
  transform: translateY(-2px);
}

.page-home .home-updates__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.08);
  padding: 4px 10px;
  border-radius: 2px;
  align-self: flex-start;
}

.page-home .home-updates__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.4;
}

.page-home .home-updates__meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 响应式：平板 ≥768px ===== */
@media (min-width: 768px) {
  .page-home .home-hero {
    padding: calc(var(--header-height) + 64px) 0 80px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
  }

  .page-home .home-hero h1 {
    font-size: 36px;
  }

  .page-home .home-hero__lead {
    font-size: 16px;
  }

  .page-home .home-cats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-home .home-cats,
  .page-home .home-features,
  .page-home .home-updates {
    padding: 100px 0;
  }

  .page-home .home-feature-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 32px;
    padding: 32px;
  }

  .page-home .home-feature-card--reverse .home-feature-card__visual {
    order: -1;
  }

  .page-home .home-updates__list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ===== 响应式：桌面 ≥1024px ===== */
@media (min-width: 1024px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-home .home-hero h1 {
    font-size: 42px;
  }

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

  .page-home .home-features__grid {
    gap: 40px;
  }

  .page-home .home-feature-card__content h3 {
    font-size: 22px;
  }

  .page-home .home-feature-card__content p {
    font-size: 15px;
  }
}
