/* ==========================================================================
   微信数字员工 · 06 本地部署版
   风格：纯白极简产品官网（学自秒哒「OpenClawSwitch」）
   —— 白底 + 唯一橙红跳色 + 近黑文字 + 小圆角 + 细边框
   ========================================================================== */

:root {
  --orange:      #f9521c;   /* 全站唯一跳色 */
  --orange-deep: #e03f0d;
  --orange-soft: #fff1ec;
  --halo:        rgba(249, 82, 28, .21);

  --ink:    #1a1a1a;        /* 近黑，不是纯黑 */
  --ink-2:  #5c5c5c;
  --ink-3:  #8a8a8a;

  --paper:  #ffffff;        /* 页面白 */
  --band:   #f9f9f9;        /* 模块带浅灰 */
  --line:   #ececec;
  --line-2: #e3e3e3;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 18px;

  --shadow-1: 0 1px 2px rgba(20, 20, 20, .04);
  --shadow-2: 0 14px 40px rgba(20, 20, 20, .08);
  --shadow-o: 0 16px 42px rgba(249, 82, 28, .22);

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3 { margin: 0; letter-spacing: -.015em; line-height: 1.22; }
p { margin: 0; }

.sprite { display: none; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 880px; }

.section { padding: 74px 0; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease,
              border-color .18s ease, box-shadow .22s ease, color .18s ease;
}
.btn svg { flex: none; }
.btn-solid {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-o);
}
.btn-solid:hover { background: var(--orange-deep); border-color: var(--orange-deep); transform: translateY(-2px); }
.btn-line {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.btn-wide { width: 100%; }

/* ==========================================================================
   顶栏
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-ico { border-radius: 10px; }
.brand-txt { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.brand-txt em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink-3);
  font-size: 13px;
  margin-left: 5px;
  letter-spacing: .02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.nav a { position: relative; padding: 4px 0; transition: color .18s ease; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  opacity: 0;
  transition: opacity .2s ease;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { opacity: 1; }

.topbar-actions { display: flex; align-items: center; gap: 10px; }
.dl-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background-color .18s ease, transform .18s ease;
}
.dl-mini:hover { background: var(--orange-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  cursor: pointer;
}

/* ==========================================================================
   首屏
   ========================================================================== */
.hero {
  position: relative;
  padding: 76px 0 0;
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 1180px;
  height: 620px;
  margin-left: -590px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--halo), rgba(249, 82, 28, 0) 72%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-b {
  top: auto;
  bottom: -8%;
  width: 760px;
  height: 360px;
  margin-left: -380px;
  background: radial-gradient(closest-side, rgba(249, 82, 28, .18), rgba(249, 82, 28, 0) 74%);
}
.hero-inner { position: relative; z-index: 1; }

.hero-title {
  margin-top: 26px;
  font-size: clamp(34px, 5.9vw, 64px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.14;
}
.hero-hi {
  display: inline-block;
  color: var(--orange);
}

.hero-sub {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.hero-note b { color: var(--ink-2); font-weight: 700; }

/* ==========================================================================
   区块标题
   ========================================================================== */
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -.025em;
}
.sec-head p {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.band { background: var(--band); padding: 78px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ==========================================================================
   六张功能卡
   ========================================================================== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-1);
  transition: transform .22s ease, box-shadow .26s ease, border-color .22s ease;
}
.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}
.feat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
}
.feat-ico.is-orange { background: #fff0ea; color: #f9521c; }
.feat-ico.is-blue   { background: #eef4ff; color: #2f6fe4; }
.feat-ico.is-green  { background: #eafaf1; color: #189a5c; }
.feat-ico.is-red    { background: #fdeeee; color: #d93b3b; }
.feat-ico.is-purple { background: #f4eeff; color: #7a4be0; }
.feat-ico.is-slate  { background: #eef1f4; color: #4a5568; }

.feat h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 800;
}
.feat p {
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ==========================================================================
   下载区
   ========================================================================== */
.download { padding: 80px 0; }

.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.dl-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-1);
}
.dl-mark {
  position: absolute;
  right: -26px;
  top: -18px;
  color: #f3f3f3;
  pointer-events: none;
  z-index: 0;
}
.dl-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}
.dl-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  flex: none;
}
.dl-head h3 { font-size: 22px; font-weight: 800; }

.dl-req {
  position: relative;
  z-index: 1;
  margin: 14px 0 22px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

.dl-help {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}
.dl-help-btn {
  background: none;
  border: 0;
  padding: 0;
  font-weight: 700;
  color: var(--orange);
  cursor: pointer;
  border-bottom: 1px solid rgba(249, 82, 28, .35);
}

/* ==========================================================================
   三步
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px 28px;
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform .22s ease, box-shadow .26s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

.step-no {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
}
.step-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: var(--orange);
  background: #fff;
}
.step h3 { margin-top: 18px; font-size: 17.5px; font-weight: 800; }
.step p {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  text-align: center;
}

/* ==========================================================================
   常见问题
   ========================================================================== */
.faq-sec { padding: 80px 0; }

.faq {
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color .18s ease;
}
.faq-q:hover { color: var(--orange); }
.faq-q svg { flex: none; color: var(--ink-3); transition: transform .3s ease, color .2s ease; }
.faq-item.is-open .faq-q { color: var(--orange); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); color: var(--orange); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .34s ease, opacity .26s ease, padding .34s ease;
}
.faq-item.is-open .faq-a {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 20px;
}
.faq-a p {
  padding-right: 30px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ==========================================================================
   收尾 CTA
   ========================================================================== */
.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 62px 46px;
  background: linear-gradient(140deg, #2a1a13 0%, #14262b 100%);
  color: #fff;
  text-align: center;
}
.cta-copy { position: relative; z-index: 2; }
.cta-inner h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 900;
  letter-spacing: -.025em;
}
.cta-inner p {
  margin: 15px auto 0;
  max-width: 520px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .76);
}
.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.cta-link {
  background: none;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  transition: color .18s ease;
}
.cta-link:hover { color: #ffb898; }

.cta-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.cta-orb-a {
  width: 420px; height: 420px;
  right: -110px; top: -160px;
  background: radial-gradient(closest-side, rgba(249, 82, 28, .5), rgba(249, 82, 28, 0) 72%);
}
.cta-orb-b {
  width: 300px; height: 300px;
  left: -90px; bottom: -140px;
  background: radial-gradient(closest-side, rgba(90, 190, 214, .32), rgba(90, 190, 214, 0) 72%);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: var(--band);
  padding: 0 0 40px;
}
.footer-inner { padding: 56px 24px 0; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
}
.footer-brand img { border-radius: 10px; }

.footer-qr {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-qr img {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.footer-qr-cap { display: flex; flex-direction: column; gap: 4px; }
.footer-qr-cap b { font-size: 14.5px; font-weight: 800; }
.footer-qr-cap span { font-size: 12.5px; color: var(--ink-3); max-width: 220px; line-height: 1.7; }

.footer-line {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-links {
  display: flex;
  gap: 22px;
  margin-top: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
}
.footer-links a { color: var(--ink-2); border-bottom: 1px solid transparent; transition: color .18s ease, border-color .18s ease; }
.footer-links a:hover { color: var(--orange); border-color: var(--orange); }

.footer-legal {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer-legal .legal-item:empty { display: none; }

.footer-copy {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ==========================================================================
   悬浮按钮 + 二维码弹窗
   ========================================================================== */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(249, 82, 28, .34);
  transition: transform .2s ease, background-color .2s ease;
}
.fab:hover { transform: translateY(-3px); background: var(--orange-deep); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 12, .5);
  backdrop-filter: blur(3px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  padding: 28px 26px 24px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}
.modal-close {
  position: absolute;
  right: 12px; top: 12px;
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #f5f5f5;
  color: var(--ink-2);
  cursor: pointer;
}
.modal-title { font-size: 17px; font-weight: 800; }
.modal-qr {
  width: 210px; height: 210px;
  margin: 18px auto 0;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.modal-hint { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.modal-open {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--orange);
  border-bottom: 1px solid rgba(249, 82, 28, .35);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 980px) {
  .feat-grid { gap: 16px; }
  .hero-glow { width: 860px; margin-left: -430px; }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    left: 16px; right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-2);
    display: none;
    margin-left: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: var(--r-sm); }
  .nav a::after { display: none; }
  .nav a:hover { background: var(--band); }
  .nav-toggle { display: inline-flex; }
  .dl-mini { display: none; }

  .hero { padding-top: 54px; }

  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step p { text-align: center; }

  .cta-inner { padding: 46px 24px; }
  .footer-inner { padding-top: 40px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .section { padding: 54px 0; }
  .band, .download, .faq-sec { padding: 56px 0; }
  .hero-sub { font-size: 15.5px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .feat { padding: 24px 20px; }
  .dl-card { padding: 26px 22px 24px; }
  .step { padding: 26px 20px 24px; }
  .faq-q { font-size: 15.5px; }
  .fab { right: 14px; bottom: 14px; padding: 12px 16px; }
  .fab span { display: none; }
  .cta-btns { flex-direction: column; }
}

/* ==========================================================================
   第二轮调整（2026-09-16 · 按用户反馈）
   1) 首屏两张歪斜窗口卡已删，改一行功能关键词带
   2) 下载区只留 Windows 一张卡，居中收窄
   ========================================================================== */

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 44px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-strip span { white-space: nowrap; }
.hero-strip i { width: 1px; height: 13px; background: var(--line-2); flex: none; }

.dl-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
  margin: 0 auto;
}
.dl-note {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 560px) {
  .hero-strip { gap: 9px; font-size: 12.5px; margin-top: 34px; }
}

/* ==========================================================================
   06 修订：首屏副标降级为次级标题
   — 原来 .hero-hi 与 h1 同号（clamp 34–64px），换成整句后橙色巨字比主标还抢眼，
     小屏还会把末字挤成孤行。这里只调字号与行距，不改颜色。
   ========================================================================== */
.hero-hi {
  display: inline-block;
  font-size: .5em;
  font-weight: 800;
  letter-spacing: -.005em;
  line-height: 1.52;
  margin-top: 12px;
}
@media (max-width: 560px) {
  .hero-hi { font-size: .58em; margin-top: 9px; }
}
