/* ==========================================================================
   AblePMS 官网 · 极简前台样式（lite）
   --------------------------------------------------------------------------
   加载顺序：style.css（基础层，服务 monitor 等旧页面） → lite.css（覆盖层）
   设计取向：白底 / 单一主色 / 大留白 / 一屏只讲一件事 / 不做入场动画
   ========================================================================== */

:root {
  --l-brand: #3D8BFF;
  --l-brand-d: #2E6FD8;
  --l-ink: #0F172A;
  --l-mute: #64748B;
  --l-faint: #94A3B8;
  --l-line: #E8ECF3;
  --l-soft: #F7F9FC;
  --l-tint: #F2F7FF;
  --l-r: 14px;
  --l-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

/* ---- 基础 ---- */
body {
  font-family: var(--l-font);
  color: var(--l-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.28; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 极简版不做滚动入场动画（去掉 .reveal 的 opacity:0，避免无 JS 时内容不可见） */
.reveal { opacity: 1 !important; transform: none !important; }

/* 容器统一（覆盖旧版式宽度与内边距） */
.container, .hero-container, .cta-container,
.home-pricing-container, .nav-inner { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ==========================================================================
   导航（60px 吸顶，三项）
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--l-line);
}
.header-nav { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.nav-content { display: flex; align-items: center; gap: 26px; height: 60px; }
.nav-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--l-ink); }
.nav-logo-img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-item .nav-link { font-size: 15px; color: var(--l-mute); transition: color .15s; }
.nav-item .nav-link:hover { color: var(--l-ink); }
.nav-item.active .nav-link { color: var(--l-brand); font-weight: 600; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-actions .btn-download {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 9px; background: var(--l-brand); color: #fff;
  font-size: 14px; font-weight: 600; transition: background .15s;
}
.nav-actions .btn-download:hover { background: var(--l-brand-d); }
.nav-actions .btn-login { font-size: 14px; color: var(--l-mute); padding: 0 6px; }
.nav-actions .btn-login:hover { color: var(--l-ink); }

/* 逐字滚动动画在极简版关闭，避免 hover 抖动 */
.letter-roll .single-letter { transform: none !important; transition: none !important; display: inline; }
.letter-roll { display: inline; }

/* 移动端菜单 */
.mobile-menu-toggle { display: none; }
@media (max-width: 860px) {
  .nav-menu, .nav-actions .btn-login { display: none; }
  .mobile-menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    margin-left: auto; width: 38px; height: 38px; padding: 0 8px;
    background: none; border: 0; cursor: pointer;
  }
  .hamburger-line { display: block; height: 2px; background: var(--l-ink); border-radius: 2px; }
}
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: 280px; z-index: 80;
  background: #fff; border-left: 1px solid var(--l-line);
  transform: translateX(100%); transition: transform .22s ease; padding: 20px;
}
.mobile-menu.open { transform: none; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mobile-logo img { width: 28px; height: 28px; border-radius: 7px; }
.mobile-menu-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--l-mute); }
.mobile-nav-menu { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-link { display: block; padding: 11px 8px; border-radius: 9px; font-size: 15px; }
.mobile-nav-link:hover { background: var(--l-soft); }
.mobile-nav-link .mnl-desc { display: block; font-size: 12.5px; color: var(--l-faint); }
.mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn, .btn-primary, .btn-ghost, .btn-lg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--l-brand); color: #fff; }
.btn-primary:hover { background: var(--l-brand-d); }
.btn-ghost { background: #fff; border-color: var(--l-line); color: var(--l-ink); }
.btn-ghost:hover { border-color: #CBD5E1; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 16px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); text-align: center; }
.hero-eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--l-brand); font-weight: 700; margin-bottom: 14px; }
.hero h1, .hero-title { font-size: clamp(28px, 3.8vw, 46px); max-width: 960px; margin: 0 auto 16px; }
.hero-sub { color: var(--l-mute); font-size: clamp(15px, 1.7vw, 18px); max-width: 680px; margin: 0 auto 30px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 20px; color: var(--l-faint); font-size: 13.5px; }

/* ==========================================================================
   区块
   ========================================================================== */
.sec { padding: clamp(56px, 7vw, 84px) 0; }
.sec-soft { background: var(--l-soft); }
.sec-tint { background: var(--l-tint); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(22px, 2.9vw, 32px); margin-bottom: 8px; }
.sec-head p { color: var(--l-mute); font-size: 15px; }
.sec-head.left { text-align: left; }
.sec-note { text-align: center; color: var(--l-faint); font-size: 13px; margin-top: 20px; }

/* ==========================================================================
   价格（3 档）
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--l-line); border-radius: var(--l-r);
  padding: 26px 22px; background: #fff;
}
.price-card.rec { border-color: var(--l-brand); box-shadow: 0 10px 34px rgba(61,139,255,.10); }
.price-ribbon {
  position: absolute; top: -11px; left: 22px;
  background: var(--l-brand); color: #fff;
  font-size: 12px; font-weight: 600; padding: 3px 11px; border-radius: 999px;
}
.price-name { font-size: 14px; font-weight: 600; color: var(--l-mute); }
.price-num { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 0; }
.price-num small { font-size: 15px; font-weight: 600; color: var(--l-mute); margin-left: 4px; }
.price-sub { font-size: 13px; color: var(--l-brand-d); margin-top: 4px; }
.price-desc { font-size: 13.5px; color: var(--l-mute); margin-top: 12px; }
.price-card .btn { margin-top: 18px; width: 100%; }
.price-list {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--l-line);
  display: flex; flex-direction: column; gap: 9px;
  font-size: 13.5px; color: #475569; line-height: 1.5;
}
.price-list li { display: flex; gap: 8px; align-items: flex-start; }
.price-list svg { flex: none; margin-top: 3px; color: var(--l-brand); }

/* 35 天说明条 */
.trial-band {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-bottom: 26px; padding: 14px 18px;
  background: var(--l-tint); border: 1px solid #D9E7FF; border-radius: var(--l-r);
}
.trial-band .tb-badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 30px; padding: 0 13px; border-radius: 999px;
  background: var(--l-brand); color: #fff; font-size: 13.5px; font-weight: 700;
}
.trial-band ul { display: flex; gap: 6px 24px; flex-wrap: wrap; font-size: 13.5px; color: #475569; }
.trial-band li { display: flex; align-items: center; gap: 7px; }
.trial-band svg { color: var(--l-brand-d); flex: none; }

/* ==========================================================================
   功能（6 词条，一屏看完）
   ========================================================================== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { border: 1px solid var(--l-line); border-radius: var(--l-r); padding: 20px; background: #fff; }
.feat-ico {
  width: 34px; height: 34px; border-radius: 9px; background: var(--l-tint); color: var(--l-brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.feat h3 { font-size: 16px; margin-bottom: 5px; }
.feat p { font-size: 13.5px; color: var(--l-mute); line-height: 1.6; }

/* ==========================================================================
   9527 故事
   ========================================================================== */
.story { background: var(--l-tint); padding: clamp(56px, 7vw, 84px) 0; }
.story-inner { max-width: 760px; margin: 0 auto; }
.story-num {
  font-size: clamp(48px, 8vw, 74px); font-weight: 800; line-height: 1;
  color: var(--l-brand); letter-spacing: .04em; text-align: center;
}
.story h2 { font-size: clamp(20px, 2.6vw, 27px); text-align: center; margin: 12px 0 22px; }
.story p { font-size: 15px; color: #475569; line-height: 1.9; margin-bottom: 13px; }
.story-quote {
  margin-top: 20px; padding-left: 16px; border-left: 3px solid var(--l-brand);
  font-size: clamp(16px, 2vw, 19px); font-weight: 700; color: var(--l-brand-d); line-height: 1.6;
}
.story-foot { text-align: center; color: var(--l-faint); font-size: 12.5px; margin-top: 22px; }

/* ==========================================================================
   关于页正文（连贯一整篇：介绍 → 引出 9527 → 原文 → 落款）
   ========================================================================== */
.essay { max-width: 700px; margin: 0 auto; font-size: 16.5px; line-height: 1.95; color: #334155; }
.essay p { margin-bottom: 16px; }
.essay .lead { margin-top: 28px; font-size: 17.5px; font-weight: 700; color: var(--l-ink); }
.essay .num {
  font-size: clamp(44px, 7vw, 62px); font-weight: 800; line-height: 1.1;
  color: var(--l-brand); letter-spacing: .06em; text-align: center;
  margin: 8px 0 22px;
}
.essay .quote {
  margin-top: 26px; padding-left: 16px; border-left: 3px solid var(--l-brand);
  font-size: clamp(17px, 2.2vw, 20px); font-weight: 700; color: var(--l-brand-d); line-height: 1.6;
}
.essay .sign { margin-top: 14px; font-size: 15px; color: var(--l-mute); }
/* 章节小标题与要点列表 */
.essay h2 {
  font-size: 19px; margin: 34px 0 14px; color: var(--l-ink);
  padding-left: 12px; border-left: 3px solid var(--l-brand); line-height: 1.5;
}
.essay ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.essay ul li {
  position: relative; padding-left: 20px; color: #334155;
}
.essay ul li::before {
  content: ''; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--l-brand);
}
@media (max-width: 560px) {
  .essay { font-size: 16px; line-height: 1.85; }
  .essay h2 { font-size: 17.5px; }
}

/* ==========================================================================
   下载 / CTA
   ========================================================================== */
.dl-hero { padding: clamp(48px, 6vw, 72px) 0 0; text-align: center; }
.dl-hero h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 10px; }
.dl-hero p { color: var(--l-mute); font-size: 15.5px; }
.dl-card {
  border: 1px solid var(--l-line); border-radius: var(--l-r);
  padding: 26px 24px; background: #fff; margin-top: 32px;
}
.dl-top { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.dl-icon {
  width: 46px; height: 46px; border-radius: 11px; flex: none;
  background: var(--l-tint); color: var(--l-brand);
  display: flex; align-items: center; justify-content: center;
}
.dl-top-body { flex: 1; min-width: 240px; }
.dl-top-body h2 { font-size: 19px; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ver-badge {
  font-size: 12.5px; font-weight: 700; color: var(--l-brand-d);
  background: var(--l-tint); border-radius: 999px; padding: 2px 10px;
}
.dl-top-body .sub { font-size: 14px; color: var(--l-mute); margin-bottom: 14px; }
.dl-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.dl-date { font-size: 13px; color: var(--l-faint); }
.dl-notes { font-size: 14px; color: #475569; white-space: pre-line; }

/* 折叠块（SHA256 / 更新内容） */
details.fold { border-top: 1px solid var(--l-line); margin-top: 16px; padding-top: 12px; }
details.fold > summary {
  cursor: pointer; font-size: 13.5px; color: var(--l-mute);
  display: flex; align-items: center; gap: 6px; list-style: none;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: '+'; color: var(--l-brand); font-weight: 700; }
details.fold[open] > summary::before { content: '−'; }
details.fold > div { margin-top: 10px; font-size: 13.5px; color: #475569; }
.sha-code {
  display: block; margin-top: 6px; padding: 10px 12px; background: var(--l-soft);
  border-radius: 8px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px;
  word-break: break-all; color: #475569;
}

/* 更新日志（紧凑时间线） */
.log-list { margin-top: 8px; }
.log-item { padding: 16px 0; border-bottom: 1px solid var(--l-line); }
.log-item:last-child { border-bottom: 0; }
.log-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.log-ver { font-size: 15px; font-weight: 700; }
.log-date { font-size: 13px; color: var(--l-faint); }
.log-notes { font-size: 13.5px; color: #475569; white-space: pre-line; }
.log-item details.fold { border-top: 0; padding-top: 0; margin-top: 6px; }

/* 环境要求（3 项一行） */
.req-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.req-box { border: 1px solid var(--l-line); border-radius: var(--l-r); padding: 18px; }
.req-box h3 { font-size: 15px; margin-bottom: 10px; }
.req-box dl { display: flex; flex-direction: column; gap: 7px; }
.req-box .rr { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.req-box dt { color: var(--l-mute); }
.req-box dd { color: var(--l-ink); font-weight: 600; text-align: right; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--l-line); border-radius: var(--l-r); background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 18px; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--l-ink); text-align: left;
}
.faq-ico { color: var(--l-faint); flex: none; transition: transform .18s; }
.faq-q[aria-expanded="true"] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 18px 16px; }
.faq-a p { font-size: 14px; color: var(--l-mute); line-height: 1.75; }

/* ==========================================================================
   页脚（一行式）
   ========================================================================== */
.footer { border-top: 1px solid var(--l-line); padding: 30px 0; background: #fff; }
.footer-inner {
  max-width: 1060px; margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.footer-brand img { width: 24px; height: 24px; border-radius: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a, .footer-tel a { font-size: 13.5px; color: var(--l-mute); }
.footer-links a:hover, .footer-tel a:hover { color: var(--l-brand-d); }
.footer-tel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-tel b { font-size: 14px; color: var(--l-ink); }
.footer-bottom {
  max-width: 1060px; margin: 22px auto 0; padding: 16px 24px 0;
  border-top: 1px solid var(--l-line);
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--l-faint);
}
.footer-bottom a { color: var(--l-faint); }
.footer-bottom a:hover { color: var(--l-brand-d); }
.filing-info { display: flex; gap: 14px; flex-wrap: wrap; }

/* 页头小页（下载/关于） */
.page-head { padding: clamp(40px, 5vw, 60px) 0 0; text-align: center; }
.page-head h1 { font-size: clamp(25px, 3.6vw, 36px); margin-bottom: 10px; }
.page-head p { color: var(--l-mute); font-size: 15px; max-width: 620px; margin: 0 auto; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 860px) {
  .price-grid, .feat-grid, .req-row-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-btns .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
