/* 首页（workbuddy 风格）：白底黑字、黑色胶囊按钮、绿色徽章点缀、大区块静态长页 */

/* ---------- 通用 ---------- */
.home-sec { padding: 96px 0 84px; }
.home-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.h-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  background: #eaf6ee; color: #1d8a4e; font-size: 13px; font-weight: 600; letter-spacing: 1px;
}
.h-badge i { font-style: normal; font-size: 10.5px; color: #6fbf8d; letter-spacing: 1.5px; text-transform: uppercase; }
.h-sec-head { max-width: 860px; margin: 0 auto 52px; text-align: center; }
.h-sec-head h2 { font-size: 44px; font-weight: 600; color: #0a0a0a; line-height: 1.3; margin: 18px 0 0; letter-spacing: .5px; }
.h-sec-head p { margin: 14px 0 0; font-size: 16.5px; color: #6b7280; line-height: 1.8; }
/* 黑色胶囊按钮（全站首页统一） */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 32px; border-radius: 999px; background: #1a1a1a; color: #fff;
  font-size: 15.5px; font-weight: 600; border: 1px solid #1a1a1a; cursor: pointer;
  transition: background .18s ease, transform .12s ease;
}
.h-btn:hover { background: #333; color: #fff; text-decoration: none; }
.h-btn:active { transform: translateY(1px); }
.h-btn svg { width: 17px; height: 17px; }
.h-btn-ghost { background: transparent; color: #0a0a0a; border-color: #d4d4d8; }
.h-btn-ghost:hover { background: #f4f4f5; color: #0a0a0a; }
.h-link { color: #0a0a0a; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c8c8cc; }
.h-link:hover { text-decoration-color: #1d8a4e; }

/* ---------- Hero：居中大标题 + 黑胶囊 CTA + 产品界面示意 ---------- */
.h-hero { padding: 88px 0 72px; text-align: center; background: #fff; }
.h-hero .h-badge { margin-bottom: 26px; }
.h-hero-title { font-size: 64px; font-weight: 600; color: #0a0a0a; line-height: 1.22; margin: 0; letter-spacing: 1px; }
.h-hero-title em { font-style: normal; color: #1d8a4e; }
.h-hero-sub { max-width: 680px; margin: 22px auto 0; font-size: 18px; color: #52525b; line-height: 1.85; }
.h-hero-cta { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 38px 0 14px; }
.h-hero-cta .h-btn { padding: 15px 38px; font-size: 16.5px; }
.h-hero-note { font-size: 13px; color: #a1a1aa; }
/* 下载面板（WorkBuddy 式）：主按钮点击直接下载当前系统安装包，悬停展开其他平台选项 */
.h-dlpop-wrap { position: relative; display: inline-flex; }
.h-dlpop {
  display: none;
  position: absolute; left: 0; top: calc(100% + 14px); z-index: 60;
  width: 360px; padding: 10px; border-radius: 18px;
  background: #fff; border: 1px solid #ececef;
  box-shadow: 0 24px 64px rgba(10,10,10,.14);
  text-align: left; animation: hFade .18s ease;
}
/* 悬停桥接：透明块填满按钮与面板间的 14px 空隙，鼠标移过去不会中途闪退 */
.h-dlpop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.h-dlpop-wrap:hover .h-dlpop,
.h-dlpop-wrap:focus-within .h-dlpop { display: block; }
.h-dlpop-group { padding: 10px 12px 6px; font-size: 12px; color: #a1a1aa; letter-spacing: 1px; }
.h-dlpop-item {
  display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 12px;
  color: inherit; text-decoration: none; transition: background .14s ease;
}
.h-dlpop-item:hover { background: #f7f7f8; text-decoration: none; color: inherit; }
.h-dlpop-item.now { background: #f7f7f8; }
.h-dlpop-ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: #f7f7f8; border: 1px solid #e4e4e7; color: #18181b;
  display: inline-flex; align-items: center; justify-content: center;
}
.h-dlpop-item.now .h-dlpop-ic { background: #eaf6ee; border-color: #bfe3cc; color: #1d8a4e; }
.h-dlpop-ic svg { width: 19px; height: 19px; }
.h-dlpop-txt { flex: 1; min-width: 0; }
.h-dlpop-txt b { display: block; font-size: 14.5px; color: #0a0a0a; font-weight: 600; }
.h-dlpop-txt i { font-style: normal; font-size: 12px; color: #a1a1aa; }
.h-dlpop-arrow { flex: none; color: #c8c8cc; font-size: 17px; }
.h-dlpop-now { flex: none; font-size: 12.5px; color: #1d8a4e; font-weight: 600; }
/* 产品界面示意：真实工作区截图 */
.h-shot { max-width: 1040px; margin: 56px auto 0; text-align: left; }
.h-shot img { display: block; width: 100%; height: auto; border: 1px solid #e4e4e7; border-radius: 18px; box-shadow: 0 24px 70px rgba(10,10,10,.10); background: #fff; }

/* ---------- AI 场景：左侧场景列表 + 右侧大展示卡 ---------- */
.h-scenes { background: #fff; }
.h-scene-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.h-scene-list { display: flex; flex-direction: column; gap: 6px; }
.h-scene-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease; background: none; text-align: left; font: inherit; width: 100%; }
.h-scene-item:hover { background: #f7f7f8; }
.h-scene-item.on { background: #f4f9f5; border-color: #d5ecdd; }
.h-scene-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid #e4e4e7; display: inline-flex; align-items: center; justify-content: center; color: #52525b; }
.h-scene-ic svg { width: 22px; height: 22px; }
.h-scene-item.on .h-scene-ic { border-color: #bfe3cc; background: #eaf6ee; color: #1d8a4e; }
.h-scene-txt { flex: 1; min-width: 0; }
.h-scene-txt b { display: block; font-size: 16.5px; color: #0a0a0a; font-weight: 600; }
.h-scene-txt i { font-style: normal; font-size: 13px; color: #71717a; }
.h-scene-arrow { flex: none; color: #c8c8cc; font-size: 16px; transition: color .15s ease, transform .15s ease; }
.h-scene-item.on .h-scene-arrow { color: #1d8a4e; transform: translateX(3px); }
.h-scene-show { position: relative; border-radius: 22px; background: #fafafa; border: 1px solid #e9e9ec; padding: 34px 36px; min-height: 420px; overflow: hidden; }
.h-scene-pane { display: none; }
.h-scene-pane.on { display: block; animation: hFade .3s ease; }
@keyframes hFade { from { opacity: 0; transform: translateY(10px); } }
.h-scene-pane h3 { margin: 0 0 10px; font-size: 24px; color: #0a0a0a; }
.h-scene-pane > p { margin: 0 0 24px; font-size: 14.5px; color: #71717a; line-height: 1.8; }
/* 展示卡内的对话/输入示意 */
.h-demo { background: #fff; border: 1px solid #e9e9ec; border-radius: 14px; padding: 18px 20px; box-shadow: 0 8px 26px rgba(10,10,10,.06); margin-bottom: 14px; }
.h-demo b { display: block; font-size: 13px; color: #1d8a4e; margin-bottom: 6px; }
.h-demo p { margin: 0; font-size: 13.5px; color: #3f3f46; line-height: 1.75; }
.h-demo.user b { color: #2563eb; }

/* ---------- 生态 / 能力（浅灰底） ---------- */
.h-eco { background: #f7f7f8; }
.h-eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-eco-card { background: #fff; border: 1px solid #ececef; border-radius: 18px; padding: 30px 30px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.h-eco-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(10,10,10,.08); }
.h-eco-ic { width: 50px; height: 50px; border-radius: 14px; background: #f4f9f5; border: 1px solid #d5ecdd; display: inline-flex; align-items: center; justify-content: center; color: #1d8a4e; margin-bottom: 18px; }
.h-eco-ic svg { width: 24px; height: 24px; }
.h-eco-card h3 { margin: 0 0 8px; font-size: 18.5px; color: #0a0a0a; }
.h-eco-card p { margin: 0 0 16px; font-size: 14px; color: #71717a; line-height: 1.8; }
.h-eco-card .h-link { font-size: 14px; }

/* ---------- 隐私安全（浅绿大圆角容器 + 3 卡片） ---------- */
.h-safe-box { background: #f0faf3; border-radius: 28px; padding: 64px 56px 56px; }
.h-safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-safe-card { background: #fff; border-radius: 16px; padding: 28px 26px; border: 1px solid #e2f0e7; }
.h-safe-card .h-safe-ic { width: 44px; height: 44px; border-radius: 50%; background: #eaf6ee; color: #1d8a4e; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.h-safe-card .h-safe-ic svg { width: 20px; height: 20px; }
.h-safe-card h3 { margin: 0 0 8px; font-size: 17px; color: #0a0a0a; }
.h-safe-card p { margin: 0; font-size: 13.5px; color: #6b7280; line-height: 1.8; }

/* ---------- 下载（平台卡） ---------- */
.h-dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.h-dl-card { background: #fff; border: 1px solid #e4e4e7; border-radius: 18px; padding: 30px 32px; display: flex; align-items: center; gap: 20px; transition: border-color .15s ease, box-shadow .15s ease; }
.h-dl-card:hover { border-color: #c8c8cc; box-shadow: 0 10px 30px rgba(10,10,10,.07); }
.h-dl-ic { flex: none; width: 54px; height: 54px; border-radius: 16px; background: #f7f7f8; border: 1px solid #e4e4e7; color: #18181b; display: inline-flex; align-items: center; justify-content: center; }
.h-dl-ic svg { width: 24px; height: 24px; }
.h-dl-main { flex: 1; min-width: 0; }
.h-dl-main b { display: block; font-size: 17px; color: #0a0a0a; }
.h-dl-main i { font-style: normal; font-size: 13px; color: #a1a1aa; }
.h-dl-card .h-btn { padding: 10px 22px; font-size: 14px; flex: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .h-hero-title { font-size: 48px; }
  .h-sec-head h2 { font-size: 34px; }
  .h-scene-grid { grid-template-columns: 1fr; gap: 28px; }
  .h-eco-grid, .h-safe-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .home-sec { padding: 60px 0 54px; }
  .home-wrap { padding: 0 20px; }
  .h-hero { padding: 56px 0 48px; }
  .h-hero-title { font-size: 34px; }
  .h-hero-sub { font-size: 15px; }
  .h-hero-cta .h-btn { width: 100%; max-width: 320px; }
  .h-dlpop-wrap { width: 100%; max-width: 320px; }
  .h-dlpop { left: 50%; transform: translateX(-50%); width: min(360px, 92vw); animation: hFade .18s ease; }
  .h-sec-head h2 { font-size: 26px; }
  .h-sec-head p { font-size: 14.5px; }
  .h-eco-grid, .h-safe-grid, .h-dl-grid { grid-template-columns: 1fr; }
  .h-safe-box { padding: 40px 24px 36px; border-radius: 20px; }
  .h-scene-show { padding: 24px 20px; }
}
