.page-home {
  --card-accent: #FFB300;
}

/* ===== 首屏 ===== */
.page-home .hero {
  background: var(--night);
  color: var(--moon);
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-home .hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.14) 0%, transparent 62%);
  pointer-events: none;
}
.page-home .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-home .breadcrumb {
  margin-bottom: 20px;
}
.page-home .hero-kicker {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255, 179, 0, .45);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.page-home .hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.page-home .hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(233, 242, 247, .85);
  margin: 0 0 28px;
  max-width: 56ch;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.page-home .hero .btn-outline {
  border-color: rgba(233, 242, 247, .5);
  color: var(--moon);
}
.page-home .hero .btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.page-home .hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.page-home .hero-meta li {
  font-family: var(--font-data);
  font-size: 13px;
  color: rgba(233, 242, 247, .7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-home .hero-meta li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 0, .2);
}
.page-home .hero-media {
  position: relative;
}
.page-home .hero-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}
.page-home .hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.page-home .hero-ornament {
  display: none;
  position: absolute;
  top: -24px;
  right: 18px;
  z-index: 2;
  opacity: .8;
  pointer-events: none;
}
@media (min-width: 768px) {
  .page-home .hero-ornament {
    display: block;
  }
}

/* ===== 站点导览 ===== */
.page-home .index-section {
  background: var(--paper);
  color: var(--ink);
  padding: 72px 0;
}
.page-home .section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.page-home .section-index {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .08em;
}
.page-home .section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  margin: 0;
  color: var(--ink);
}
.page-home .section-note {
  font-size: 14px;
  color: var(--muted);
  margin-left: auto;
}
.page-home .index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.page-home .index-card {
  display: block;
  background: var(--moon);
  border: 1px solid rgba(58, 90, 124, .2);
  border-left: 4px solid var(--card-accent, #FFB300);
  border-radius: 10px;
  padding: 24px 22px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform .25s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.page-home .index-card:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 12px 20px rgba(13, 32, 48, .18));
}
.page-home .index-card--current {
  background: var(--night);
  color: var(--moon);
  cursor: default;
}
.page-home .index-card--current:hover {
  transform: none;
  filter: none;
}
.page-home .index-num {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  color: var(--card-accent, #FFB300);
  display: block;
  margin-bottom: 8px;
}
.page-home .index-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: inherit;
}
.page-home .index-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}
.page-home .index-card--current .index-desc {
  color: rgba(233, 242, 247, .7);
}
.page-home .index-link {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  color: var(--card-accent, #FFB300);
}

/* ===== 多平台覆盖 ===== */
.page-home .platform {
  background: var(--night-2);
  color: var(--moon);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-home .platform::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border: 2px solid rgba(255, 179, 0, .12);
  border-radius: 50%;
  pointer-events: none;
}
.page-home .platform-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.page-home .platform .section-title,
.page-home .upgrade .section-title {
  color: var(--moon);
}
.page-home .platform .section-index,
.page-home .upgrade .section-index {
  color: var(--amber);
}
.page-home .platform-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(233, 242, 247, .85);
  margin: 0 0 24px;
  max-width: 60ch;
}
.page-home .platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home .platform-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(233, 242, 247, .9);
}
.page-home .platform-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  background: var(--amber);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.page-home .platform-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.page-home .platform-badge {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255, 179, 0, .3);
  background: linear-gradient(to bottom, var(--amber), var(--amber) 3px, rgba(10, 27, 42, .55) 3px);
  color: var(--moon);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.page-home .platform-badge--android,
.page-home .platform-badge--mac {
  background-image: linear-gradient(to bottom, var(--orange), var(--orange) 3px, rgba(10, 27, 42, .55) 3px);
  border-color: rgba(255, 122, 0, .35);
}

/* ===== 数据刷新表现 ===== */
.page-home .databar {
  background: var(--paper);
  color: var(--ink);
  padding: 72px 0;
}
.page-home .databar-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.page-home .databar-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(13, 32, 48, .18);
}
.page-home .databar-lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 58ch;
}
.page-home .data-bars {
  display: grid;
  gap: 24px;
}
.page-home .data-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.page-home .data-bar-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.page-home .data-bar-value {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}
.page-home .data-bar-track {
  height: 12px;
  border-radius: 99px;
  background: rgba(58, 90, 124, .18);
  overflow: hidden;
}
.page-home .data-bar-fill {
  height: 100%;
  width: var(--bar-width);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  animation: homeGrow .8s var(--ease) both;
}
@keyframes homeGrow {
  from { width: 0; }
  to { width: var(--bar-width); }
}

/* ===== 升级版对照指南 ===== */
.page-home .upgrade {
  background: var(--night);
  color: var(--moon);
  padding: 72px 0;
}
.page-home .upgrade-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.page-home .upgrade-media {
  position: relative;
}
.page-home .upgrade-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 179, 0, .25);
}
.page-home .upgrade-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 179, 0, .3);
  border-radius: 12px;
  transform: translate(12px, 12px);
  pointer-events: none;
}
.page-home .upgrade-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(233, 242, 247, .85);
  margin: 0 0 24px;
  max-width: 58ch;
}
.page-home .upgrade-points {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-home .upgrade-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(233, 242, 247, .85);
}
.page-home .upgrade-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 14px;
  height: 14px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  box-sizing: border-box;
}

/* ===== 最新动态摘要 ===== */
.page-home .news {
  background: var(--paper);
  color: var(--ink);
  padding: 72px 0;
}
.page-home .news-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.page-home .news-head .section-head {
  margin-bottom: 0;
}
.page-home .news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.page-home .news-feature img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(13, 32, 48, .16);
}
.page-home .news-list {
  display: grid;
  gap: 16px;
}
.page-home .news-card {
  background: var(--moon);
  border-radius: 10px;
  padding: 22px 24px;
  border-left: 3px solid var(--amber);
  box-shadow: 0 4px 14px rgba(13, 32, 48, .06);
}
.page-home .news-tag {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--orange);
  background: rgba(255, 122, 0, .08);
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 10px;
}
.page-home .news-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.4;
  color: var(--ink);
}
.page-home .news-summary {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 12px;
}
.page-home .news-more {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}
.page-home .news-more:hover {
  color: var(--ink);
}

/* ===== 桌面端增强 ===== */
@media (min-width: 1024px) {
  .page-home .hero {
    padding: 96px 0 120px;
  }
  .page-home .hero-inner {
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
  }
  .page-home .index-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .page-home .platform-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .page-home .platform-cards {
    gap: 18px;
  }
  .page-home .databar-inner {
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
  }
  .page-home .upgrade-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .page-home .news-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

/* ===== 减少动效偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home .data-bar-fill {
    animation: none;
  }
  .page-home .index-card {
    transition: none;
  }
}

.page-home {
  --bar-width: 1rem;
}
