.page-home {
  --home-accent-glow: 0 0 20px rgba(57,255,20,0.12);
  --home-path-bg: rgba(10,31,63,0.85);
  --home-card-bg: linear-gradient(135deg, #0D1B2A 0%, #1A2F4F 100%);
  --home-divider-angle: -3deg;
  --home-grid-gap: 1.5rem;
}

/* 跳过链接已由共享 CSS 处理，这里不重复定义 */

/* ===== 首屏英雄 ===== */
.page-home .hero-preview {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-end) 60%, #0D1B2A 100%);
  overflow: hidden;
}

.page-home .hero-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    var(--home-divider-angle),
    transparent 0px,
    transparent 120px,
    rgba(57,255,20,0.03) 120px,
    rgba(57,255,20,0.03) 122px
  );
  pointer-events: none;
}

.page-home .hero-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-home .hero-preview__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .hero-preview__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin: 0;
}

.page-home .hero-preview__desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 30rem;
}

.page-home .hero-preview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home .hero-preview__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

.page-home .hero-preview__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.page-home .hero-preview__img:hover {
  transform: scale(1.05);
}

.page-home .hero-preview__paths {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
  justify-content: center;
}

.page-home .hero-preview__path {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--home-path-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.page-home .hero-preview__path:hover {
  border-color: var(--color-accent);
  background: rgba(57,255,20,0.08);
}

.page-home .hero-preview__path-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.page-home .hero-preview__path-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===== 数据看板 ===== */
.page-home .dashboard {
  padding: 5rem 0;
  background: var(--color-bg-gradient-start);
  position: relative;
}

.page-home .dashboard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.3;
}

.page-home .dashboard__header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-home .dashboard__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-text-primary);
  margin: 0.5rem 0;
}

.page-home .dashboard__sub {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  max-width: 36rem;
  margin: 0 auto;
}

.page-home .dashboard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--home-grid-gap);
  align-items: start;
}

.page-home .dashboard__card {
  background: var(--home-card-bg);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(57,255,20,0.08);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: default;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .dashboard__card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--home-accent-glow);
}

.page-home .dashboard__card--highlight {
  grid-row: span 2;
  background: linear-gradient(135deg, #0A1F3F 0%, #1E3A5F 100%);
}

.page-home .dashboard__card-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.3;
}

.page-home .dashboard__card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text-primary);
  margin: 0;
}

.page-home .dashboard__card-desc {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.5;
  flex: 1;
}

.page-home .dashboard__card-visual {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.page-home .dashboard__image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-home .dashboard__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.page-home .dashboard__img:hover {
  transform: scale(1.03);
}

/* ===== 功能预览 ===== */
.page-home .functions {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--color-bg-gradient-end) 0%, #0A1F3F 100%);
}

.page-home .functions__header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-home .functions__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-text-primary);
  margin: 0.5rem 0;
}

.page-home .functions__sub {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
}

.page-home .functions__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--home-grid-gap);
}

.page-home .function-card {
  background: var(--home-card-bg);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(192,192,192,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.page-home .function-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.page-home .function-card__icon svg {
  display: block;
}

.page-home .function-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-text-primary);
  margin: 0;
}

.page-home .function-card__desc {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.5;
  flex: 1;
}

.page-home .function-card__image {
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
}

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

.page-home .function-card__link {
  align-self: flex-start;
}

/* ===== 最新动态 ===== */
.page-home .updates {
  padding: 5rem 0;
  background: var(--color-bg-gradient-start);
  position: relative;
}

.page-home .updates__header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-home .updates__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-text-primary);
  margin: 0.5rem 0;
}

.page-home .updates__sub {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
}

.page-home .updates__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

.page-home .updates__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--home-card-bg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.page-home .updates__item:hover {
  border-left-color: var(--color-accent);
  box-shadow: var(--home-accent-glow);
}

.page-home .updates__item-tag {
  flex-shrink: 0;
}

.page-home .updates__item-text {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  flex: 1;
  margin: 0;
  line-height: 1.4;
}

.page-home .updates__item-link {
  flex-shrink: 0;
}

/* ===== 联系反馈 ===== */
.page-home .contact-feedback {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0A1F3F 0%, #1A2F4F 100%);
}

.page-home .contact-feedback__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.page-home .contact-feedback__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-home .contact-feedback__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-text-primary);
  margin: 0.5rem 0 0;
}

.page-home .contact-feedback__desc {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.page-home .contact-feedback__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-home .contact-feedback__contact {
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.page-home .contact-feedback__contact-label {
  color: var(--color-accent);
  font-weight: 600;
  min-width: 6rem;
}

.page-home .contact-feedback__contact-value {
  color: var(--color-text-primary);
}

.page-home .contact-feedback__note {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
}

.page-home .contact-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .contact-feedback__image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-home .contact-feedback__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.page-home .contact-feedback__img:hover {
  transform: scale(1.05);
}

/* ===== 滚动显现（渐进增强） ===== */
.page-home [data-observe] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-home .is-visible[data-observe] {
  opacity: 1;
  transform: translateY(0);
}

/* 兼容 reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .page-home [data-observe],
  .page-home .is-visible[data-observe] {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .page-home .hero-preview__img,
  .page-home .dashboard__img,
  .page-home .contact-feedback__img {
    transition: none;
  }
  .page-home .hero-preview__img:hover,
  .page-home .dashboard__img:hover,
  .page-home .contact-feedback__img:hover {
    transform: none;
  }
}

/* ===== 响应式：移动端优先 + 平板适配 ===== */
@media (max-width: 1024px) {
  .page-home .hero-preview__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .page-home .hero-preview__title {
    font-size: 2.2rem;
  }
  .page-home .hero-preview__desc {
    margin: 0 auto;
  }
  .page-home .hero-preview__tags {
    justify-content: center;
  }
  .page-home .hero-preview__paths {
    flex-direction: column;
    align-items: stretch;
    max-width: 24rem;
    margin: 2rem auto 0;
  }
  .page-home .hero-preview__path {
    justify-content: center;
  }
  .page-home .dashboard__grid {
    grid-template-columns: 1fr;
  }
  .page-home .dashboard__card--highlight {
    grid-row: auto;
  }
  .page-home .dashboard__image {
    order: -1;
  }
  .page-home .functions__cards {
    grid-template-columns: 1fr;
    max-width: 30rem;
    margin: 0 auto;
  }
  .page-home .contact-feedback__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .page-home .contact-feedback__image {
    order: -1;
    max-width: 20rem;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .page-home .hero-preview {
    min-height: 70vh;
    padding: 5rem 0 2rem;
  }
  .page-home .hero-preview__title {
    font-size: 1.8rem;
  }
  .page-home .hero-preview__desc {
    font-size: 1rem;
  }
  .page-home .dashboard__title,
  .page-home .functions__title,
  .page-home .updates__title,
  .page-home .contact-feedback__title {
    font-size: 1.6rem;
  }
  .page-home .dashboard__card {
    padding: 1.5rem;
  }
  .page-home .updates__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .page-home .contact-feedback__contact {
    flex-direction: column;
    gap: 0.25rem;
  }
  .page-home .contact-feedback__contact-label {
    min-width: auto;
  }
}
/* 桌面下内容宽度由 container 控制，无需额外媒体查询 */
</style>
