/* ===== 极简 Landing v4（首页只剩：居中标题 + 一个按钮） ===== */

/* --- 1. 隐藏全部非核心块 --- */
body:has(.terminal-window) header,
body:has(.terminal-window) footer,
body:has(.terminal-window) .terminal-container,          /* 终端仿真图 */
body:has(.terminal-window) [class*="md:grid-cols-3"],      /* 三列特性卡 */
body:has(.terminal-window) [class*="mb-6"][class*="h-20"],  /* 大号 logo */
body:has(.terminal-window) [class*="mb-12"][class*="flex-wrap"],  /* 次级按钮组 */
body:has(.terminal-window) [class*="mb-16"][class*="flex-wrap"],  /* 合作方/徽标条 */
body:has(.terminal-window) .btn:not(.btn-primary) {        /* 除主按钮外全部按钮 */
  display:none !important;
}

/* --- 2. 隐藏副标题段落，只留标题 --- */
body:has(.terminal-window) [class*="mb-8"][class*="text-lg"],
body:has(.terminal-window) [class*="md:text-xl"],
body:has(.terminal-window) [class*="text-base"][class*="text-gray-600"]{
  display:none !important;
}

/* --- 3. 首页整体：垂直水平居中，铺满视口 --- */
body:has(.terminal-window) [class*="relative"][class*="z-10"][class*="flex-1"]{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:100vh !important;
  padding:0 24px !important;
}
body:has(.terminal-window) [class*="flex-col"][class*="lg:flex-row"]{
  display:block !important;
  text-align:center !important;
  margin:0 !important;
  max-width:100% !important;
}
body:has(.terminal-window) [class*="max-w-2xl"]{
  text-align:center !important;
  margin:0 auto !important;
}

/* --- 4. 标题：单行居中，字距收紧 --- */
body:has(.terminal-window) h1,
body:has(.terminal-window) [class*="text-4xl"]{
  font-size:clamp(30px, 4.2vw, 52px) !important;
  line-height:1.12 !important;
  letter-spacing:-.03em !important;
  font-weight:600 !important;
  margin:0 auto 32px !important;
  max-width:18em;
  color:#111 !important;
  text-align:center !important;
}

/* --- 5. 唯一的按钮：黑底白字，居中 --- */
body:has(.terminal-window) .btn-primary{
  display:inline-flex !important;
  align-items:center;justify-content:center;
  margin:0 auto !important;
  padding:12px 28px !important;
  font-size:15px !important;
  font-weight:500 !important;
  background:#111 !important;
  color:#fff !important;
  border:1px solid #111 !important;
  border-radius:6px !important;
  box-shadow:none !important;
}
body:has(.terminal-window) .btn-primary:hover{
  background:#000 !important;
  opacity:1 !important;
}

/* --- 6. 兜底：清掉残余阴影/渐变/动画 --- */
body:has(.terminal-window) *,
body:has(.terminal-window) *::before,
body:has(.terminal-window) *::after{
  box-shadow:none !important;
  text-shadow:none !important;
  background-image:none !important;
  animation:none !important;
  transition:none !important;
}
body:has(.terminal-window) [class*="bg-gradient"],
body:has(.terminal-window) [class*="from-"],
body:has(.terminal-window) [class*="via-"],
body:has(.terminal-window) [class*="to-"]{
  background-color:#fff !important;
}
body:has(.terminal-window),
body:has(.terminal-window) [class*="min-h-screen"]{
  background:#fff !important;
}
