/* 全站轻量 + 首页：首屏后仅保留自注入的 #x-home-lower，隐藏原主题营销长版式 */
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
#app {
  min-height: 100vh;
}
#app .ant-card {
  border-radius: 12px !important;
}
#app p,
#app .ant-typography {
  line-height: 1.6;
}

#index .home-spec,
#index .home-advance,
#index .home-service,
#index .home-question,
#index .home-about,
#index #reveal > .ant-divider,
#index .copyright {
  display: none !important;
}

/* 原主题在顶栏隐藏的锚点（已无对应块），保留自增的两项由 .x-nav-add 出现 */
#index .home-header .ant-anchor a[href='#spec'],
#index .home-header .ant-anchor a[href='#advance'],
#index .home-header .ant-anchor a[href='#question'],
#index .home-header .ant-anchor a[href='#about'] {
  display: none !important;
}
#index .header-menu .ant-anchor a[href='#spec'],
#index .header-menu .ant-anchor a[href='#advance'],
#index .header-menu .ant-anchor a[href='#question'],
#index .header-menu .ant-anchor a[href='#about'] {
  display: none !important;
}
#index .x-nav-add a {
  color: #000;
  font-size: 18px;
  padding: 8px 20px;
  display: inline-block;
  box-sizing: border-box;
}
#index .header-menu .x-nav-add a {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  width: 100%;
}
#index .x-nav-add a:hover {
  color: rgba(var(--primary-color), 1);
}

/* 首屏下方自注入内容区 */
#x-home-lower.x-home-lower,
#index #x-home-lower {
  display: block !important;
  background: #fff;
  padding: 0 0 64px;
}
.x-lower-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 0;
  box-sizing: border-box;
}
.x-lower-h {
  font-size: 26px;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.x-lower-lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto 40px;
}
.x-lower-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
  margin: 0 0 40px;
}
.x-lower-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-sizing: border-box;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.x-lower-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.x-lower-card h4 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}
.x-lower-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
}
.x-lower-a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(var(--primary-color), 1);
  text-decoration: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.x-lower-a:hover {
  text-decoration: underline;
  opacity: 0.9;
}
.x-lower-cta {
  text-align: center;
  padding: 36px 20px 28px;
  background: #f1f5f9;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin: 0 0 8px;
}
.x-lower-cta-t {
  margin: 0 0 18px;
  font-size: 15px;
  color: #475569;
}
.x-lower-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s, transform 0.2s;
}
.x-btn-ghost {
  color: #0f172a;
  background: #fff;
  border: 1px solid #cbd5e1;
}
.x-btn-ghost:hover {
  border-color: #94a3b8;
  opacity: 0.95;
}
.x-btn-primary {
  color: #fff;
  background: rgba(var(--primary-color), 1);
  border: 0;
}
.x-btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
@media screen and (max-width: 900px) {
  .x-lower-grid {
    grid-template-columns: 1fr;
  }
  .x-lower-h {
    font-size: 22px;
  }
}
