.page-home {
  --home-bg: #061321;
  --home-card: #0C1D33;
  --home-card-2: #112742;
  --home-line: rgba(255, 255, 255, 0.1);
  --home-line-gold: rgba(247, 183, 51, 0.55);
  --home-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: var(--home-bg);
  color: var(--color-white);
  overflow-x: hidden;
}

/* ============ 首屏 Hero ============ */
.page-home .home-hero {
  position: relative;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: clamp(96px, 14vh, 150px) var(--gutter) 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -140px;
  width: 480px;
  height: 420px;
  background: linear-gradient(135deg, transparent 40%, rgba(247, 183, 51, 0.1) 40.5%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
}

.page-home .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 7px 14px;
  border: 1px solid rgba(247, 183, 51, 0.45);
  background: rgba(247, 183, 51, 0.07);
  margin: 0 0 22px;
}

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

.page-home .home-h1 {
  font-size: clamp(30px, 5.2vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--color-white);
}

.page-home .h1-cn {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.page-home .hero-intro {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 30px;
}

.page-home .hero-version {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 26px;
  cursor: default;
  outline: none;
}

.page-home .hero-version-num {
  font-family: var(--font-mono);
  font-size: clamp(88px, 13vw, 168px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--color-accent);
  text-shadow: 0 4px 30px rgba(247, 183, 51, 0.18);
}

.page-home .hero-version-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 16px;
}

.page-home .version-side-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.page-home .version-side-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.page-home .version-pop-mini {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  max-width: calc(100vw - 32px);
  background: #0D2138;
  border: 1px solid var(--home-line-gold);
  padding: 16px 18px;
  box-shadow: var(--home-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  z-index: 8;
}

.page-home .hero-version:hover .version-pop-mini,
.page-home .hero-version:focus .version-pop-mini,
.page-home .hero-version:focus-within .version-pop-mini {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-home .vp-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-accent);
  margin: 0 0 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.page-home .vp-line {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  padding-left: 2px;
}

.page-home .vp-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  border-top: 1px solid var(--home-line);
  padding-top: 10px;
  transition: color 0.2s ease;
}

.page-home .vp-more:hover {
  color: var(--color-accent-orange);
}

.page-home .hero-desc {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 30px;
}

.page-home .inline-link {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 183, 51, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .inline-link:hover {
  border-color: var(--color-accent);
  color: #FFD270;
}

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

.page-home .hero-visual {
  position: relative;
  z-index: 2;
  margin: 0;
}

.page-home .hero-frame {
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow);
}

.page-home .hero-cap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.page-home .cap-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  display: inline-block;
}

/* ============ Bento 信息板 ============ */
.page-home .bento-zone {
  position: relative;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 8px var(--gutter) 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .bento-section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .title-idx {
  color: var(--color-accent);
}

.page-home .bento-card {
  background: var(--home-card);
  border: 1px solid var(--home-line);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.page-home .bento-card:hover {
  border-color: var(--home-line-gold);
  background: var(--home-card-2);
  transform: translateY(-3px);
}

.page-home .bento-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.page-home .bento-card:hover::after {
  width: 100%;
}

.page-home .card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .card-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-orange);
  letter-spacing: 0.1em;
}

.page-home .card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--home-line);
  padding: 4px 10px;
}

.page-home .bento-card h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.page-home .card-body {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 16px;
}

.page-home .card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  padding-top: 14px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.page-home .card-more .arr {
  transition: transform 0.2s ease;
}

.page-home .card-more:hover .arr {
  transform: translate(3px, -3px);
}

.page-home .card-figure {
  margin: 18px 0 0;
}

.page-home .card-figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--home-line);
}

.page-home .arr {
  font-style: normal;
}

/* 卡片01：导航迁移提示 */
.page-home .switch-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  flex: 1;
}

.page-home .switch-main {
  display: flex;
  flex-direction: column;
}

.page-home .switch-main .card-more {
  margin-top: 12px;
}

.page-home .figure-goals img {
  width: 100%;
  max-width: 220px;
}

/* 卡片02：数据覆盖 */
.page-home .stat-grid {
  list-style: none;
  margin: auto 0 0;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--home-line);
}

.page-home .stat-item {
  padding: 0 8px 0 0;
}

.page-home .stat-item dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 6px;
}

.page-home .stat-item dd {
  margin: 0;
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
}

.page-home .stat-num em {
  font-style: normal;
  color: var(--color-accent-orange);
  font-size: 22px;
  margin-left: 1px;
}

/* 卡片03：版本说明 */
.page-home .figure-version img {
  width: 100%;
}

.page-home .change-list,
.page-home .mobile-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .change-list li,
.page-home .mobile-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.page-home .change-list li::before,
.page-home .mobile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 2px;
}

.page-home .change-list li::before {
  background: var(--color-accent);
}

.page-home .mobile-list li::before {
  background: var(--color-accent-orange);
}

/* 卡片04：反馈通道 */
.page-home .c-feedback {
  background:
    linear-gradient(180deg, rgba(255, 107, 53, 0.07) 0%, transparent 38%),
    var(--home-card);
}

.page-home .c-feedback:hover {
  border-color: rgba(255, 107, 53, 0.55);
}

.page-home .c-feedback .card-tag {
  color: var(--color-accent-orange);
  border-color: rgba(255, 107, 53, 0.4);
}

.page-home .btn-feedback {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
  box-sizing: border-box;
}

/* 卡片06：体验升级 */
.page-home .schedule-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: auto;
  padding-top: 18px;
}

/* ============ 响应式：平板与桌面 ============ */
@media (min-width: 760px) {
  .page-home .bento-zone {
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
  }

  .page-home .c-switch,
  .page-home .c-version {
    grid-column: span 7;
  }

  .page-home .c-data,
  .page-home .c-feedback {
    grid-column: span 5;
  }

  .page-home .c-mobile,
  .page-home .c-schedule {
    grid-column: span 6;
  }

  .page-home .switch-layout {
    grid-template-columns: 1fr 200px;
    align-items: start;
  }

  .page-home .figure-goals img {
    width: 200px;
    height: 150px;
    object-fit: cover;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 88px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero {
    gap: 72px;
  }
}
