/* ===================================================================
 * 服务支持 · 软件下载 专属样式
 * 配色沿用全站科技蓝体系（#2563eb / #06b6d4 / #0f172a）
 * =================================================================== */

/* ---- 列表工具栏：分类 + 搜索 ---- */
.soft-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.soft-toolbar .chips { flex: 1; min-width: 260px; margin-bottom: 0; }
.soft-search { display: flex; gap: 8px; flex: none; }
.soft-search input {
  width: 230px;
  padding: 9px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.soft-search input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* ---- 软件卡片网格 ---- */
.soft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.soft-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.soft-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}
.soft-head { display: flex; align-items: center; gap: 12px; }
.soft-head-main { flex: 1; min-width: 0; }
.soft-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.soft-title:hover { color: #2563eb; }
.soft-ver {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 5px;
  padding: 1px 7px;
}
.soft-badge {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.soft-badge-lg {
  display: inline-flex;
  width: 54px; height: 54px;
  font-size: 14px;
  vertical-align: middle;
  margin-right: 10px;
}
.soft-lock {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #b45309;
  background: #fef3c7;
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
}
.soft-lock .ic { width: 13px; height: 13px; }
.soft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: #64748b;
}
.soft-tag {
  color: #0e7490;
  background: #ecfeff;
  border-radius: 5px;
  padding: 1px 8px;
}
.soft-summary {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.soft-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #e2e8f0;
  padding-top: 12px;
}
.soft-more {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
}
.soft-more:hover { color: #2563eb; }
.soft-foot .btn .ic { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }

.soft-tip {
  margin-top: 26px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}
.soft-tip .ic { width: 15px; height: 15px; color: #2563eb; vertical-align: -2px; margin-right: 4px; }

/* ---- 详情页 ---- */
.soft-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.soft-main {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 30px;
}
.soft-dname {
  margin: 0 0 14px;
  font-size: 22px;
  color: #0f172a;
  line-height: 1.5;
}
.soft-lead {
  margin: 0 0 18px;
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}
.soft-desc { color: #475569; font-size: 14px; line-height: 1.9; }
.soft-desc p { margin: 0 0 10px; }

.soft-side { position: sticky; top: 90px; }
.soft-side-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 24px;
}
.soft-side-card h3 { margin: 0 0 14px; font-size: 17px; color: #0f172a; }
.soft-info { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 18px; }
.soft-info th, .soft-info td {
  padding: 8px 0;
  border-bottom: 1px dashed #eef2f7;
  text-align: left;
  vertical-align: top;
}
.soft-info th { color: #94a3b8; font-weight: 400; width: 76px; white-space: nowrap; }
.soft-info td { color: #1e293b; word-break: break-all; }
.soft-dlbtn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 11px 0;
}
.soft-dlbtn .ic { width: 16px; height: 16px; margin-right: 4px; }
.soft-side-tip {
  margin: 10px 0 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.7;
  text-align: center;
}
.soft-side-note {
  margin: 12px 4px 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.7;
  text-align: center;
}
.soft-side-note .ic { width: 13px; height: 13px; vertical-align: -2px; color: #2563eb; }

/* ---- 提取码表单 ---- */
.soft-pw label { display: block; font-size: 14px; color: #334155; margin-bottom: 8px; }
.soft-pw input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  margin-bottom: 8px;
}
.soft-pw input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.soft-pw input.input-err {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.pw-err {
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 7px;
  font-size: 13px;
  padding: 7px 11px;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* ---- 响应式：平板 / 手机 ---- */
@media (max-width: 1024px) {
  .soft-grid { grid-template-columns: repeat(2, 1fr); }
  .soft-detail { grid-template-columns: 1fr; }
  .soft-side { position: static; }
}
@media (max-width: 640px) {
  .soft-grid { grid-template-columns: 1fr; }
  .soft-search { width: 100%; }
  .soft-search input { width: 100%; flex: 1; }
  .soft-main { padding: 20px; }
  .soft-dname { font-size: 19px; }
}
