.page-home {
  --home-orange: #FF7A00;
  --home-orange-soft: #FF9A3D;
  --home-mint: #00D4AA;
  --home-gold: #FFD666;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
}

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

.page-home a {
  text-decoration: none;
}

.page-home .breadcrumb {
  padding-top: 24px;
  font-family: var(--font-headline);
  font-size: 14px;
  color: var(--color-text-secondary);
}

.page-home .breadcrumb__current {
  color: var(--home-orange);
  font-weight: 700;
}

/* ========== Hero 拼贴 ========== */
.page-home .hero-mosaic {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 0 56px;
}

.page-home .hero-main {
  padding-top: 8px;
}

.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--home-gold);
}

.page-home .hero-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.18);
}

.page-home .hero-title {
  font-family: var(--font-headline);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
}

.page-home .hero-desc {
  color: var(--color-text-secondary);
  font-size: 16px;
  max-width: 46em;
  margin-bottom: 24px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
}

.page-home .hero-index a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.page-home .hero-index a span {
  color: var(--home-orange);
  margin-right: 5px;
}

.page-home .hero-index a:hover {
  color: var(--color-text);
  border-color: var(--home-orange);
  transform: translateY(-2px);
}

.page-home .hero-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  animation: pgHomeFadeUp 0.55s ease both;
}

.page-home .hero-card:nth-child(2) {
  animation-delay: 0.06s;
}

.page-home .hero-card:nth-child(3) {
  animation-delay: 0.12s;
}

.page-home .hero-card:nth-child(4) {
  animation-delay: 0.18s;
}

.page-home .hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--home-orange);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.page-home .hero-card__media {
  height: 184px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.page-home .hero-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .hero-card__body {
  padding: 18px;
}

.page-home .hero-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-home .hero-card__label {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.page-home .hero-card__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 8px 0 14px;
}

.page-home .hero-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .filter-btn {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.page-home .filter-btn:hover {
  color: var(--color-text);
  border-color: var(--home-orange);
}

.page-home .filter-btn[data-active="true"] {
  color: #fff;
  background: var(--home-orange);
  border-color: var(--home-orange);
}

.page-home .hero-device-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .hero-device-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-home .hero-device-item:hover {
  border-color: var(--color-border);
}

.page-home .hero-device-item__name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
}

.page-home .hero-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  color: var(--home-orange);
  transition: color 0.2s;
}

.page-home .hero-card__link:hover {
  color: var(--home-orange-soft);
}

.page-home .hero-card--version {
  padding: 20px;
}

.page-home .version-badge {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--home-gold);
  border: 2px solid rgba(255, 122, 0, 0.55);
  border-radius: 14px;
  padding: 9px 18px;
  background: rgba(255, 122, 0, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1), 0 0 24px rgba(255, 122, 0, 0.16);
  transition: box-shadow 0.2s, transform 0.2s;
}

.page-home .hero-card--version:hover .version-badge {
  box-shadow: 0 0 0 8px rgba(255, 122, 0, 0.12), 0 0 32px rgba(255, 122, 0, 0.24);
  transform: translateY(-2px);
}

.page-home .version-pop {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.page-home .version-pop__item {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 10px;
}

.page-home .hero-card--category {
  padding: 20px;
}

.page-home .hero-card__count {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 58px;
  line-height: 1;
  color: var(--home-orange);
  margin: 12px 0 4px;
}

/* ========== 章节通用 ========== */
.page-home .section {
  padding: 64px 0;
}

.page-home .section__header,
.page-home .trust-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}

.page-home .section__number {
  position: relative;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 20px;
  color: var(--home-orange);
  padding-left: 18px;
  flex-shrink: 0;
  line-height: 1.4;
}

.page-home .section__number::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--home-orange), var(--home-gold));
}

.page-home .section-title {
  font-family: var(--font-headline);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.page-home .section__description {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin: 0;
  max-width: 46em;
}

/* ========== 01 设备清单 ========== */
.page-home .device-section {
  background: linear-gradient(180deg, transparent 0%, rgba(28, 30, 58, 0.5) 6%, rgba(28, 30, 58, 0.5) 94%, transparent 100%);
}

.page-home .device-board {
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-bg-card);
  padding: 20px;
}

.page-home .device-board__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .device-board__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .device-board__meta {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  color: var(--home-gold);
}

.page-home .device-board__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .device-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--home-orange);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.page-home .device-tile:hover {
  transform: translateY(-3px);
  border-color: var(--home-orange);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.page-home .device-tile__cat {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  color: var(--home-orange);
}

.page-home .device-tile__name {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 800;
  margin: 2px 0 2px;
}

.page-home .device-tile__meta {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
}

.page-home .device-tile__status {
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  color: var(--home-mint);
  border: 1px solid rgba(0, 212, 170, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.page-home .device-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--color-text-secondary);
  text-align: center;
}

.page-home .device-note a {
  color: var(--home-orange);
  font-weight: 700;
}

/* ========== 02 稳定版入口 ========== */
.page-home .stable-section {
  position: relative;
  margin: 24px 0;
  padding: 80px 0;
  background: linear-gradient(135deg, #292C57 0%, var(--color-bg-card) 55%, #141530 100%);
  overflow: hidden;
}

.page-home .stable-section::before,
.page-home .stable-section::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 52px;
  background: var(--color-bg);
  z-index: 0;
}

.page-home .stable-section::before {
  top: -20px;
  transform: skewY(-1.4deg);
  transform-origin: 0 100%;
}

.page-home .stable-section::after {
  bottom: -20px;
  transform: skewY(-1.4deg);
  transform-origin: 100% 0;
}

.page-home .stable-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-home .stable-main .section__header {
  margin-bottom: 20px;
}

.page-home .stable-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.page-home .stable-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .stable-figure figcaption {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.18);
}

.page-home .stable-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 24px;
  border-left: 2px dashed rgba(255, 122, 0, 0.45);
}

.page-home .version-card {
  position: relative;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.page-home .version-card::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--home-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.15);
}

.page-home .version-card:hover {
  border-color: var(--home-orange);
  transform: translateX(6px);
  background: rgba(255, 122, 0, 0.06);
}

.page-home .version-card__title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 20px;
  margin: 8px 0 4px;
}

.page-home .version-card__desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

.page-home .stable-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* ========== 03 分类数量与账户设置 ========== */
.page-home .category-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home .category-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.page-home .category-media img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .category-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.page-home .category-stat {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg-card);
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.page-home .category-stat:hover {
  border-color: var(--home-orange);
  transform: translateY(-3px);
}

.page-home .category-stat__value {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--home-orange);
}

.page-home .category-stat:nth-child(even) .category-stat__value {
  color: var(--home-gold);
}

.page-home .category-stat__label {
  display: block;
  margin-top: 10px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.page-home .account-note {
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.12) 0%, rgba(28, 30, 58, 0.6) 60%);
  padding: 22px;
}

.page-home .account-note__title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 8px;
}

.page-home .account-note__text {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0 0 16px;
}

/* ========== 04 适配清单额度说明 ========== */
.page-home .quota-section {
  background: linear-gradient(180deg, transparent 0%, rgba(28, 30, 58, 0.5) 8%, rgba(28, 30, 58, 0.5) 92%, transparent 100%);
}

.page-home .quota-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.page-home .quota-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.page-home .quota-step:hover {
  border-color: var(--home-orange);
  transform: translateY(-4px);
}

.page-home .quota-step__num {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 24px;
  color: var(--home-orange);
  border: 2px solid rgba(255, 122, 0, 0.4);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-home .quota-step__title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 6px;
}

.page-home .quota-step__body p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0;
}

.page-home .quota-callout {
  padding: 16px 20px;
  border: 1px solid rgba(0, 212, 170, 0.35);
  border-radius: 14px;
  background: rgba(0, 212, 170, 0.08);
  color: var(--color-text-secondary);
  font-size: 15px;
}

.page-home .quota-callout p {
  margin: 0;
}

/* ========== 05 信任保障 ========== */
.page-home .trust-section {
  padding-bottom: 72px;
}

.page-home .trust-head {
  margin-bottom: 28px;
}

.page-home .trust-figure {
  margin: 0 0 36px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.page-home .trust-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.page-home .trust-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 22px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.2s;
}

.page-home .trust-item:hover {
  border-color: var(--home-orange);
  transform: translateY(-3px);
}

.page-home .trust-item strong {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  color: var(--home-gold);
}

.page-home .trust-item span {
  color: var(--color-text-secondary);
  font-size: 13px;
}

.page-home .trust-contact {
  padding: 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  text-align: center;
}

.page-home .trust-contact__title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 20px;
  margin: 0 0 8px;
}

.page-home .trust-contact__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 0 18px;
}

.page-home .trust-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ========== 桌面端调整 ========== */
@media (min-width: 960px) {
  .page-home .hero-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    padding: 40px 0 80px;
  }

  .page-home .hero-main {
    grid-column: 1 / 8;
    grid-row: 1;
    padding-top: 36px;
  }

  .page-home .hero-card--device {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
  }

  .page-home .hero-card--version {
    grid-column: 1 / 5;
    grid-row: 2;
  }

  .page-home .hero-card--category {
    grid-column: 5 / 8;
    grid-row: 2;
  }

  .page-home .hero-title {
    font-size: 56px;
  }

  .page-home .section-title {
    font-size: 34px;
  }

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

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

  .page-home .device-board {
    padding: 24px;
  }

  .page-home .stable-layout {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .category-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
  }

  .page-home .quota-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home .trust-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-card__media {
    height: 220px;
  }
}

@keyframes pgHomeFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
