/* ============================================================
   选型支持板块专用样式（support/*.html）
   深色科技风，与主站一致；含表格、步骤、卡片、视频、下载、FAQ
   ============================================================ */

.sp-wrap { max-width: 1180px; margin: 0 auto; }

/* 选型支持页顶部横幅：真实图片，桌面端 cover 铺满、居中、不重复；
   移动端由主样式 @media(max-width:768) 的 !important 规则改为 contain 完整显示 */
.page-header-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* 真实照片上不叠加默认网格纹理，保持画面干净 */
.page-header-bg::after { display: none; }

/* 通用区块标题 */
.sp-section { padding: 56px 0; }
.sp-section + .sp-section { border-top: 1px solid var(--border); }
.sp-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sp-head .section-label { display: block; margin-bottom: 12px; }
.sp-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-bottom: 14px; }
.sp-head p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.8; }

/* 提示 / 待核实框 */
.sp-notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 176, 60, 0.1);
  border: 1px solid rgba(255, 176, 60, 0.35);
  border-radius: 12px; padding: 16px 18px; margin: 0 0 28px;
  color: #ffd9a0; font-size: 14px; line-height: 1.75;
}
.sp-notice.info {
  background: rgba(0, 200, 255, 0.08);
  border-color: rgba(0, 200, 255, 0.3); color: #b8ecff;
}
.sp-notice .sp-ico { font-size: 20px; line-height: 1.3; }
.sp-notice b { color: #fff; font-weight: 700; }

/* 步骤流程 */
.sp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sp-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 22px; position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.sp-step:hover { transform: translateY(-6px); border-color: var(--border-accent); }
.sp-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; margin-bottom: 16px;
  background: rgba(0, 200, 255, .12); color: var(--accent);
  border: 1px solid var(--border-accent);
}
.sp-step h3 { font-size: 17px; margin-bottom: 10px; font-weight: 700; }
.sp-step p { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }

/* 数据表格 */
.sp-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
table.sp-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.sp-table th, .sp-table td { padding: 15px 16px; text-align: center; font-size: 14.5px; }
.sp-table thead th {
  background: rgba(0, 200, 255, .1); color: var(--text-primary);
  font-weight: 700; white-space: nowrap;
}
.sp-table tbody tr { border-top: 1px solid var(--border); transition: background .2s ease; }
.sp-table tbody tr:hover { background: rgba(0, 200, 255, .06); }
.sp-table td:first-child, .sp-table th:first-child { text-align: left; font-weight: 600; }
.sp-table .num { color: var(--accent); font-weight: 700; }
.sp-table .muted { color: var(--text-tertiary); }

/* 卡片网格 */
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sp-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.sp-card:hover { transform: translateY(-6px); border-color: var(--border-accent); }
.sp-card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #0c1426; }
.sp-card-body { padding: 20px 22px 24px; }
.sp-card-body h3 { font-size: 17px; margin-bottom: 10px; font-weight: 700; }
.sp-card-body p { color: var(--text-secondary); font-size: 14px; line-height: 1.75; margin-bottom: 16px; }

/* 选型工具交互区 */
.sp-tool {
  background: var(--bg-card); border: 1px solid var(--border-accent);
  border-radius: 16px; padding: 32px 30px;
}
.sp-tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.sp-tool label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.sp-tool select, .sp-tool input {
  width: 100%; padding: 13px 14px; font-size: 15px; font-family: inherit;
  background: var(--bg); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 10px; box-sizing: border-box;
}
.sp-tool-result {
  border-radius: 12px; padding: 20px 22px; font-size: 15px; line-height: 1.7;
  background: rgba(0, 200, 255, .08); border: 1px solid var(--border-accent);
}
.sp-tool-result .rec-power { color: var(--accent); font-size: 26px; font-weight: 800; margin-right: 8px; }

/* 视频网格 */
.sp-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sp-video-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.sp-video-card:hover { transform: translateY(-6px); border-color: var(--border-accent); }
.sp-video-thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #0c1426; }
.sp-play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(0, 200, 255, .9); display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #04121f; padding-left: 4px;
  box-shadow: 0 0 24px rgba(0, 200, 255, .6);
}
.sp-video-card .sp-video-title { padding: 16px 18px; font-size: 15px; font-weight: 600; }

/* 下载卡片 */
.sp-dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sp-dl-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 24px;
}
.sp-dl-ico {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: rgba(0, 200, 255, .1); border: 1px solid var(--border-accent);
}
.sp-dl-info { flex: 1; min-width: 0; }
.sp-dl-info h3 { font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.sp-dl-info p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }
.sp-dl-tag { display: inline-block; font-size: 12px; color: var(--accent); margin-top: 6px; }
.sp-dl-btn {
  flex: 0 0 auto; padding: 10px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}

/* FAQ */
.sp-faq { display: flex; flex-direction: column; gap: 14px; }
.sp-faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.sp-faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text-primary);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
.sp-faq-q .sp-faq-caret { color: var(--accent); font-size: 20px; transition: transform .25s ease; }
.sp-faq-item.open .sp-faq-caret { transform: rotate(45deg); }
.sp-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.sp-faq-a p { padding: 0 24px 22px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.85; }

/* 内链胶囊 */
.sp-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sp-link-pill {
  padding: 10px 20px; border-radius: 100px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border); color: var(--text-secondary);
  transition: all .2s ease;
}
.sp-link-pill:hover { border-color: var(--border-accent); color: var(--text-primary); background: rgba(0,200,255,.08); }

/* 产品对比高亮列 */
.sp-table .col-best { background: rgba(0, 200, 255, .05); }

/* 视频播放弹窗（可缩放） */
.sp-video-modal {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(2, 8, 20, .88); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.spvm-box {
  width: min(960px, 100%); max-height: 92vh; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border-accent); border-radius: 14px; overflow: hidden;
}
.spvm-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.spvm-title { flex: 1; font-size: 15px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spvm-zoom { display: flex; align-items: center; gap: 8px; }
.spvm-btn {
  min-width: 34px; height: 34px; padding: 0 10px; border-radius: 8px;
  background: rgba(0, 200, 255, .1); border: 1px solid var(--border-accent);
  color: var(--text-primary); font-size: 15px; cursor: pointer; font-family: inherit;
}
.spvm-btn:hover { background: rgba(0, 200, 255, .22); }
.spvm-pct { font-size: 13px; color: var(--accent); min-width: 46px; text-align: center; }
.spvm-close {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; color: var(--text-primary); font-size: 22px; cursor: pointer; line-height: 1;
}
.spvm-stage {
  flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center;
  background: #000; min-height: 240px;
}
.spvm-stage video {
  width: 100%; max-width: 100%; transform-origin: center center; transition: transform .12s ease;
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .sp-steps { grid-template-columns: repeat(2, 1fr); }
  .sp-cards, .sp-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sp-section { padding: 40px 0; }
  .sp-steps, .sp-cards, .sp-video-grid, .sp-dl-grid { grid-template-columns: 1fr; }
  .sp-tool-row { grid-template-columns: 1fr; gap: 16px; }
  .sp-tool { padding: 24px 20px; }
  .sp-dl-card { flex-wrap: wrap; }
}
