/* ============================================================
   易特软件 下载中心 download.css
   依赖 style.css 的变量与公共类（.wrap / .btn / header / footer）
   全部类名以 dl- 前缀，避免与首页 / 产品页样式冲突
   ============================================================ */

/* ===================== 页头 ===================== */
.dl-head{background:linear-gradient(180deg,#eef4fb 0%,#fff 100%);
  border-bottom:1px solid var(--line);padding:42px 0 28px}
.dl-eyebrow{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);
  color:var(--brand);font-weight:700;font-size:12px;padding:5px 13px;border-radius:999px;letter-spacing:1px}
.dl-head h1{font-size:clamp(26px,3.6vw,38px);font-weight:800;margin:16px 0 12px;color:var(--ink)}
.dl-lead{color:var(--muted);font-size:16px}
.dl-lead2{margin-top:10px}
.dl-lead b{color:var(--brand-d)}
.dl-stats{display:flex;gap:34px;margin-top:16px;flex-wrap:wrap}
.dl-stats b{display:block;font-size:22px;font-weight:800;color:var(--brand-d);line-height:1.3}
.dl-stats span{font-size:13px;color:var(--muted)}

/* ===================== 左侧栏：下载前先看 ===================== */
.dl-tip{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line)}
.dl-tip h2{font-size:14px;font-weight:800;color:var(--brand-d);margin:0 0 10px;
  display:flex;align-items:center;gap:7px}
.dl-tip h2::before{content:"";width:3px;height:14px;background:var(--brand);border-radius:2px;flex:none}
.dl-tip-item{margin-bottom:12px}
.dl-tip-item:last-child{margin-bottom:0}
.dl-tip-item .lbl{font-size:13px;font-weight:700;color:var(--brand);margin-bottom:3px}
.dl-tip-item p{font-size:12.5px;color:var(--muted);line-height:1.7;margin:0}

/* ===================== 主体布局 ===================== */
.dl-layout{display:grid;grid-template-columns:280px 1fr;gap:34px;padding:38px 0 10px;align-items:start}

.dl-side{position:sticky;top:86px;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:14px}
.dl-side .t{font-size:12px;letter-spacing:1px;color:var(--muted);font-weight:700;padding:6px 10px 10px}
.dl-side a{display:flex;align-items:center;gap:9px;padding:10px 12px;
  border-radius:10px;font-size:14px;font-weight:600;color:#374151;transition:.2s}
.dl-side a .si{flex:none;width:18px;height:18px;color:#9aa7b8;transition:.2s}
.dl-side a .si svg{width:100%;height:100%;display:block}
.dl-side a .tx{flex:1;min-width:0}
.dl-side a .n{font-size:12px;color:#9aa7b8;font-weight:600;flex:none}
.dl-side a:hover{background:var(--brand-l);color:var(--brand)}
.dl-side a:hover .si{color:var(--brand)}
.dl-side a.on{background:var(--brand);color:#fff}
.dl-side a.on .si{color:#fff}
.dl-side a.on .n{color:rgba(255,255,255,.82)}

/* ===================== 分类分组 ===================== */
.dl-group{margin-bottom:40px;scroll-margin-top:90px}
.dl-ghead{display:flex;align-items:center;gap:11px;flex-wrap:wrap;
  margin-bottom:6px;padding-bottom:10px;border-bottom:2px solid var(--line)}
.dl-ghead .gi{flex:none;width:26px;height:26px;color:var(--brand)}
.dl-ghead .gi svg{width:100%;height:100%;display:block;stroke-width:1.7}
.dl-ghead h2{font-size:21px;font-weight:800;color:var(--brand-d)}
.dl-ghead .num{font-size:13px;color:var(--muted)}
.dl-gdesc{font-size:14px;color:var(--muted);margin:10px 0 16px}

.dl-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.dl-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;transition:.25s;display:flex;flex-direction:column}
.dl-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent}
.dl-top{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.dl-ic{width:44px;height:44px;border-radius:12px;background:var(--brand-l);color:var(--brand);
  display:grid;place-items:center;flex:none;transition:.25s}
.dl-ic svg{width:23px;height:23px;display:block}
.dl-card:hover .dl-ic{background:var(--brand);color:#fff}
.dl-card h3{font-size:17px;font-weight:800;color:var(--brand-d);line-height:1.4}
.dl-desc{font-size:13.5px;color:var(--muted);flex:1;margin-bottom:15px;line-height:1.75}
.dl-act{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.dl-act .btn{padding:9px 16px;font-size:14px;border-radius:9px;gap:6px}
.ico-dl{display:inline-flex;width:16px;height:16px;flex:none}
.ico-dl svg{width:100%;height:100%;display:block;stroke-width:1.9}
.dl-more{margin-left:auto;font-size:13.5px;color:var(--brand);font-weight:600}
.dl-more:hover{text-decoration:underline}
/* 手机端提示（默认隐藏，仅在 max-width:820px 显示，替代被隐藏的下载按钮） */
.dl-mobile-note{display:none}
.dl-hot{position:absolute;top:-9px;right:16px;font-size:11px;font-weight:700;color:#fff;
  background:#e0603a;border-radius:6px;padding:3px 9px;letter-spacing:.5px}

/* ===================== 安装步骤 + 常见问题 ===================== */
.dl-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:6px 0 46px}
.dl-step{background:var(--soft);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.dl-step .no{width:30px;height:30px;border-radius:8px;background:var(--brand);color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:14px;margin-bottom:10px}
.dl-step h3{font-size:15.5px;font-weight:800;margin-bottom:6px}
.dl-step p{font-size:13.5px;color:var(--muted)}

.dl-faq{margin-bottom:20px}
.dl-faq h2{font-size:21px;font-weight:800;color:var(--brand-d);margin-bottom:16px}
.dl-faq details{background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:14px 18px;margin-bottom:10px}
.dl-faq summary{cursor:pointer;font-weight:700;font-size:15px;color:var(--ink);list-style:none}
.dl-faq summary::-webkit-details-marker{display:none}
.dl-faq summary::before{content:"Q";display:inline-grid;place-items:center;width:20px;height:20px;
  border-radius:5px;background:var(--brand-l);color:var(--brand);font-size:12px;margin-right:9px;
  vertical-align:1px}
.dl-faq details[open] summary{color:var(--brand-d)}
.dl-faq .a{font-size:14px;color:var(--muted);margin-top:10px;padding-left:29px;line-height:1.8}

/* ===================== 响应式 ===================== */
@media(max-width:1024px){
  .dl-cards{grid-template-columns:1fr}
}
@media(max-width:900px){
  .dl-layout{grid-template-columns:1fr;gap:20px}
  .dl-side{position:static;display:flex;flex-wrap:wrap;gap:8px;padding:12px}
  .dl-side .t{width:100%}
  .dl-side a{flex:1 1 40%}
  .dl-side .dl-tip{flex:1 1 100%;margin-top:8px}
  .dl-steps{grid-template-columns:1fr}
}
@media(max-width:520px){
  .dl-stats{gap:20px}
  .dl-act .btn{flex:1 1 100%;justify-content:center}
  .dl-more{margin-left:0}
}
/* 手机端：隐藏下载按钮，改显示"请在电脑端下载"提示（与老站一致） */
@media(max-width:820px){
  .dl-act .btn-primary,
  .dl-act .btn-ghost{display:none}
  .dl-act .dl-mobile-note{
    display:flex;align-items:center;justify-content:center;gap:6px;
    flex:1 1 100%;
    padding:9px 14px;border-radius:9px;
    background:#f1f5fd;color:var(--brand-d);
    font-size:13.5px;font-weight:600;text-align:center;
    border:1px dashed #c7d8f5;
  }
}
