/*
 * 首屏最终对齐：以 2026-11-25 桌面设计稿为准。
 * 本文件后加载，集中覆盖旧版首屏的定位、字级和动线，避免旧样式交叉影响。
 */

@media (min-width: 1200px) {
  .hero {
    position: relative;
    height: 100svh !important;
    min-height: 760px !important;
    padding-top: var(--header-height, 80px) !important;
    overflow: hidden;
  }

  .hero .hero-media,
  .hero .hero-shade {
    inset: var(--header-height, 80px) 0 0 !important;
  }

  .hero .hero-content {
    position: relative;
    z-index: 2;
    height: calc(100% - 150px) !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero .hero-fact {
    margin: 0 0 28px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: .14em !important;
    opacity: .84;
  }

  .hero .hero-title {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: var(--display, "Noto Sans SC", "Microsoft YaHei", sans-serif) !important;
    font-size: clamp(74px, 6.5625vw, 100.8px) !important;
    font-weight: 500 !important;
    line-height: .98 !important;
    letter-spacing: -.075em !important;
    white-space: nowrap;
    text-wrap: nowrap;
    text-shadow: 0 14px 48px rgba(4, 20, 37, .26);
  }

  .hero .hero-position {
    width: auto !important;
    max-width: none !important;
    margin: 28px 0 0 !important;
    color: #fff !important;
    font-size: clamp(20px, 1.5vw, 25px) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: .04em !important;
  }

  .hero .hero-position em {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
  }

  .hero .hero-actions {
    margin-top: 34px !important;
    gap: 14px !important;
  }

  .hero .hero-brand-proof {
    display: none !important;
  }

  .hero .scroll-cue {
    display: none !important;
  }

  /* 设计稿中的首屏动线：细线保持克制，光点往返移动。 */
  .hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 5%;
    right: 5%;
    bottom: 141px;
    height: 1px;
    background: rgba(255, 255, 255, .22);
    pointer-events: none;
  }

  .hero::before {
    content: "";
    position: absolute;
    z-index: 3;
    left: 5%;
    bottom: 138px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .1);
    pointer-events: none;
    animation: minstarHeroRoute 7s ease-in-out infinite;
  }

  .hero .hero-fact,
  .hero .hero-title,
  .hero .hero-position,
  .hero .hero-actions {
    opacity: 1;
    transform: none;
    animation: minstarHeroText .9s cubic-bezier(.2, .72, .2, 1) both !important;
  }

  .hero .hero-position {
    animation-delay: .14s !important;
  }

  .hero .hero-actions {
    animation-delay: .24s !important;
  }
}

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

@keyframes minstarHeroRoute {
  0%, 100% { left: 5%; }
  50% { left: calc(95% - 7px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero .hero-fact,
  .hero .hero-title,
  .hero .hero-position,
  .hero .hero-actions {
    animation: none !important;
  }
}
