/* v0.5.2-D3 Hero Polish: 简约大气首页首屏 */

#homePage {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  background:
    radial-gradient(circle at 18% 10%, rgba(109, 93, 252, 0.18), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(25, 184, 216, 0.14), transparent 30%),
    linear-gradient(180deg, #f7f9ff 0%, #eef4ff 54%, #f8fbff 100%) !important;
}

#homePage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.76), rgba(255,255,255,0.24)),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.78), transparent 28%);
  opacity: 0.78;
  z-index: 0;
}

#homePage::after {
  content: "";
  position: absolute;
  top: 110px;
  right: -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(109,93,252,.12), rgba(25,184,216,.10));
  filter: blur(6px);
  z-index: 0;
}

#homePage > * {
  position: relative;
  z-index: 1;
}

/* 顶部品牌区 */
#homePage header,
#homePage .header,
#homePage .nav {
  backdrop-filter: blur(12px);
}

#homePage h1 {
  max-width: 820px;
  margin-top: 34px;
  margin-bottom: 22px;
  color: #111322;
  font-size: clamp(46px, 9.4vw, 86px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 950;
}

#homePage h1 span,
#homePage h1 strong,
#homePage h1 b,
#homePage h1 em {
  background: linear-gradient(135deg, #6d5dfc 8%, #19b8d8 58%, #1fc98d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-style: normal;
}

/* 首页说明文字 */
#homePage p {
  max-width: 820px;
  color: rgba(20, 20, 33, 0.56);
  line-height: 1.9;
  letter-spacing: -0.02em;
}

#homePage p strong,
#homePage p b {
  color: rgba(20, 20, 33, 0.86);
}

/* 顶部小标签：正在检测你的隐藏运行模式 */
#homePage .badge,
#homePage .pill,
#homePage .tag,
#homePage .eyebrow {
  border: 1px solid rgba(20, 20, 33, 0.08) !important;
  background: rgba(255, 255, 255, 0.68) !important;
  box-shadow: 0 10px 26px rgba(20, 20, 33, 0.055);
  backdrop-filter: blur(16px);
}

/* 首页按钮区 */
#homePage button,
#homePage .btn {
  min-height: 54px;
  border-radius: 999px !important;
  font-weight: 850;
  letter-spacing: -0.02em;
}

#homePage #startBtn,
#homePage .primary,
#homePage .btn.primary {
  background: linear-gradient(135deg, #6d5dfc 0%, #20b8e5 70%, #22cba3 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow:
    0 18px 38px rgba(25, 184, 216, 0.24),
    0 8px 18px rgba(109, 93, 252, 0.15);
}

#homePage #startBtn:hover,
#homePage .primary:hover,
#homePage .btn.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 22px 46px rgba(25, 184, 216, 0.30),
    0 10px 24px rgba(109, 93, 252, 0.18);
}

#homePage button:not(#startBtn):not(.primary),
#homePage .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(20, 20, 33, 0.07) !important;
  color: #171827 !important;
  box-shadow: 0 12px 28px rgba(20, 20, 33, 0.055);
}

/* “预计 3-5 分钟”提示 */
#homePage small,
#homePage .hint,
#homePage .subtle {
  color: rgba(20, 20, 33, 0.45) !important;
}

/* 首页展示卡片：SYSTEM SCAN 那块 */
#homePage .card {
  border-radius: 34px !important;
  border: 1px solid rgba(20, 20, 33, 0.08) !important;
  box-shadow:
    0 26px 70px rgba(20, 20, 33, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.68);
}

#homePage .card img,
#homePage .card svg {
  filter: drop-shadow(0 12px 24px rgba(20,20,33,0.12));
}

/* 类型卡片区域，保留简洁感 */
#homePage .type-card {
  border-radius: 26px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(20, 20, 33, 0.075) !important;
  box-shadow: 0 14px 32px rgba(20, 20, 33, 0.055);
}

#homePage .type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(20, 20, 33, 0.095);
  border-color: rgba(109, 93, 252, 0.18) !important;
}

/* 手机端优化 */
@media (max-width: 720px) {
  #homePage {
    background:
      radial-gradient(circle at 10% 4%, rgba(109, 93, 252, 0.16), transparent 26%),
      radial-gradient(circle at 94% 18%, rgba(25, 184, 216, 0.12), transparent 28%),
      linear-gradient(180deg, #f7f9ff 0%, #eef4ff 58%, #f9fbff 100%) !important;
  }

  #homePage::after {
    width: 180px;
    height: 180px;
    top: 90px;
    right: -80px;
  }

  #homePage h1 {
    margin-top: 28px;
    font-size: clamp(42px, 12vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.075em;
  }

  #homePage p {
    font-size: 18px;
    line-height: 1.85;
  }

  #homePage button,
  #homePage .btn {
    min-height: 52px;
  }

  #homePage #startBtn:hover,
  #homePage .primary:hover,
  #homePage .btn.primary:hover,
  #homePage .type-card:hover {
    transform: none;
  }

  #homePage .card {
    border-radius: 28px !important;
  }
}
