/* ===== 首页专属样式 .page-home ===== */
.page-home {
  --home-hero-min-height: calc(100vh - var(--header-h, 72px));
  --home-section-gap: 4rem;
  --home-card-radius: 8px;
  --home-split-gap: 3rem;
  font-family: var(--font-body);
  color: var(--text-primary);
}

/* 首屏框景 */
.page-home .home-hero {
  position: relative;
  min-height: var(--home-hero-min-height);
  width: 100%;
  overflow: hidden;
}

.page-home .hero-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero-overlay {
  position: relative;
  z-index: 2;
  background: var(--overlay);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.page-home .hero-content {
  text-align: center;
  max-width: 800px;
}

.page-home .hero-label {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,107,53,0.15);
  padding: 0.25rem 1rem;
  border: 1px solid var(--accent);
  margin-bottom: 1.5rem;
}

.page-home .hero-title {
  font-family: var(--font-headings);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  color: var(--bg);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-home .hero-sub {
  font-size: 1.25rem;
  color: #ccc;
  margin: 0 0 2rem;
  letter-spacing: 0.15em;
}

.page-home .hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-home .hero-actions .btn {
  padding: 0.75rem 2rem;
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  font-weight: 700;
}

.page-home .hero-actions .btn-primary {
  background: var(--primary);
  color: var(--bg);
  border: 2px solid var(--primary);
  transition: background 0.3s, color 0.3s;
}

.page-home .hero-actions .btn-primary:hover {
  background: transparent;
  color: var(--primary);
}

.page-home .hero-actions .btn-accent {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  transition: background 0.3s, border-color 0.3s;
}

.page-home .hero-actions .btn-accent:hover {
  background: #e55a2b;
  border-color: #e55a2b;
}

/* 框景装饰 */
.page-home .hero-frame-ornament {
  position: absolute;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}

.page-home .hero-frame-ornament.top-left {
  top: 20px;
  left: 20px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.page-home .hero-frame-ornament.top-right {
  top: 20px;
  right: 20px;
  border-top-width: 3px;
  border-right-width: 3px;
}

.page-home .hero-frame-ornament.bottom-left {
  bottom: 20px;
  left: 20px;
  border-bottom-width: 3px;
  border-left-width: 3px;
}

.page-home .hero-frame-ornament.bottom-right {
  bottom: 20px;
  right: 20px;
  border-bottom-width: 3px;
  border-right-width: 3px;
}

.page-home .hero-scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--bg);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: hero-scroll-bounce 2s infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* 通用section */
.page-home .home-section {
  padding: var(--home-section-gap) 0;
}

.page-home .content-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.page-home .section-heading {
  font-family: var(--font-headings);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin: 0 0 1rem;
  position: relative;
}

.page-home .section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 0.5rem;
}

.page-home .section-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

/* 斜向分割色块 */
.page-home .section-split {
  display: flex;
  gap: var(--home-split-gap);
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.page-home .section-split::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}

.page-home .split-text {
  flex: 1 1 45%;
  min-width: 280px;
}

.page-home .split-image {
  flex: 1 1 45%;
  min-width: 280px;
}

.page-home .split-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--home-card-radius);
  box-shadow: 0 8px 24px rgba(26,42,58,0.12);
}

.page-home .section-split--reverse {
  flex-direction: row-reverse;
}

/* 特征列表 */
.page-home .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.page-home .feature-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.page-home .feature-list li:last-child {
  border-bottom: none;
}

.page-home .feature-icon {
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
}

/* 实时数据区 */
.page-home .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-home .section-header .section-heading::after {
  margin-left: auto;
  margin-right: auto;
}

.page-home .data-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--border);
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.page-home .data-scroll::-webkit-scrollbar {
  height: 6px;
}

.page-home .data-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.page-home .data-scroll-inner {
  display: flex;
  gap: 1.5rem;
  min-width: max-content;
}

.page-home .data-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--home-card-radius);
  padding: 1.25rem;
  min-width: 200px;
  max-width: 260px;
  flex-shrink: 0;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: default;
}

.page-home .data-card:hover {
  box-shadow: 0 8px 24px rgba(255,107,53,0.2);
  transform: translateY(-4px);
}

.page-home .data-card-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-headings);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.page-home .data-card-title {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  color: var(--primary);
  margin: 0 0 0.25rem;
}

.page-home .data-card-score {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 0.25rem 0;
}

.page-home .data-card-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.page-home .data-card-detail {
  font-size: 0.85rem;
  color: var(--primary);
  border-top: 1px solid var(--border);
  padding-top: 0.4rem;
}

.page-home .data-card-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* 新闻动态区 */
.page-home .news-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,107,53,0.08);
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.page-home .news-highlight-icon {
  color: var(--accent);
  font-size: 1.2rem;
}

/* 快速入口 */
.page-home .quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-home .quicklink-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--home-card-radius);
  padding: 2rem 0.5rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  text-align: center;
}

.page-home .quicklink-item:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.page-home .quicklink-item:hover .quicklink-number,
.page-home .quicklink-item:hover .quicklink-label {
  color: #fff;
}

.page-home .quicklink-number {
  font-family: var(--font-headings);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.page-home .quicklink-label {
  font-family: var(--font-headings);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  transition: color 0.3s;
}

/* 移动端调整 */
@media (max-width: 768px) {
  .page-home {
    --home-section-gap: 2.5rem;
  }

  .page-home .section-split {
    flex-direction: column;
    gap: 2rem;
  }

  .page-home .section-split--reverse {
    flex-direction: column;
  }

  .page-home .split-text,
  .page-home .split-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-home .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .page-home .hero-sub {
    font-size: 1rem;
  }

  .page-home .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .page-home .data-card {
    min-width: 160px;
    max-width: 200px;
  }

  .page-home .quicklinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
