/* 解决方案页专用样式 */

/* ---------- Hero ---------- */
.sol-hero { padding-bottom: var(--sp-16); }
.sol-hero-text { text-align: center; max-width: 820px; margin: 0 auto; }
.sol-hero-text .breadcrumb { justify-content: center; }
.sol-hero-text .lead { margin-bottom: 0; }
.sol-anchors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); margin-top: var(--sp-10); }
.card.sol-anchor { display: flex; align-items: center; gap: 12px; padding: var(--sp-4) var(--sp-5); overflow: hidden; }
.card.sol-anchor:hover { text-decoration: none; border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sa-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); transition: background .2s, color .2s; }
.sa-ico svg { width: 22px; height: 22px; }
.sol-anchor:hover .sa-ico { background: var(--primary); color: var(--on-primary); }
.sa-text { flex: 1; min-width: 0; }
.sa-text b { display: block; font-size: 15.5px; color: var(--text); line-height: 1.4; }
.sa-text span { display: block; font-size: 13px; color: var(--text-3); line-height: 1.45; }
.sa-num { position: absolute; right: 12px; bottom: -8px; font-size: 40px; font-weight: 800; line-height: 1; color: var(--text); opacity: .05; letter-spacing: -.04em; pointer-events: none; }

/* ---------- 场景区块 ---------- */
.sol-head { display: flex; gap: var(--sp-6); align-items: flex-start; max-width: 900px; margin-bottom: var(--sp-10); }
.sol-badge { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #06281c; box-shadow: 0 12px 30px rgba(52, 211, 153,.28); }
.sol-badge svg { width: 30px; height: 30px; }
.sol-head h2 { margin-bottom: var(--sp-3); }
.sol-head .lead { font-size: var(--fs-md); color: var(--text-2); margin: 0; }

/* 痛点 → 方案 → 收益 */
.psb { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--sp-3); align-items: stretch; }
.psb-col { display: flex; flex-direction: column; }
.psb-col h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: var(--sp-4); }
.psb-step { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; }
.psb-step::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.psb-pain .psb-step { color: var(--danger); }
.psb-plan .psb-step { color: var(--primary); }
.psb-gain .psb-step { color: var(--success); }
.psb-pain { border-top: 3px solid var(--danger); }
.psb-plan { border-top: 3px solid var(--primary); }
.psb-gain { border-top: 3px solid var(--success); }
.psb-arrow { align-self: center; color: var(--text-3); display: grid; place-items: center; }
.psb-arrow svg { width: 20px; height: 20px; }
.pain-list { list-style: none; display: grid; gap: 10px; }
.pain-list li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.pain-list li::before {
  content: "!"; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1;
  color: var(--danger); background: rgba(248,113,113,.14);
}
.gain-metrics { display: grid; gap: var(--sp-4); }
.gm { padding-bottom: var(--sp-4); border-bottom: 1px dashed var(--border); }
.gm:last-child { padding-bottom: 0; border-bottom: 0; }
.gm b { display: block; font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.gm b small { font-size: .5em; margin-left: 2px; font-weight: 700; }
.gm > span { display: block; font-size: 14px; color: var(--text-3); margin-top: 2px; }

/* 流程 + 能力 */
.sol-bottom { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: var(--sp-5); margin-top: var(--sp-5); }
.sol-bottom h3 { font-size: 15px; color: var(--text-3); font-weight: 700; letter-spacing: .04em; margin-bottom: var(--sp-4); }
.sol-arch .flow { justify-content: space-between; flex-wrap: nowrap; }
.sol-arch .flow-item { background: var(--surface-2); padding: 12px 8px; min-width: 0; }
.sol-arch .flow-item span { font-size: 11.5px; }
.sol-arch .flow-item.is-core { background: linear-gradient(160deg, #10261f 0%, #0f5c45 55%, #0e7466 100%); border-color: transparent; }
.sol-arch .flow-item.is-core strong { color: #fff; }
.sol-arch .flow-item.is-core span { color: rgba(255,255,255,.8); }
.sol-arch .flow-item.is-core .fi-ico { background: rgba(255,255,255,.16); color: #fff; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cap-tag {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: var(--r-full);
  font-size: 13.5px; font-weight: 600; color: var(--primary-soft-text); background: var(--primary-soft);
  border: 1px solid transparent; transition: border-color .15s, background .15s;
}
.cap-tag::after { content: "→"; font-weight: 600; opacity: .6; transition: transform .15s; }
.cap-tag:hover { text-decoration: none; border-color: var(--primary); }
.cap-tag:hover::after { transform: translateX(2px); opacity: 1; }

.boundary { position: relative; margin-top: 22px; padding: 26px 14px 14px; border-radius: var(--r-lg); border: 1.5px dashed var(--accent-500); background: rgba(45,212,191,.05); }
.boundary-label {
  position: absolute; top: -12px; left: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px; border-radius: var(--r-full); font-size: 12px; font-weight: 700;
  background: var(--accent-500); color: #042f2e; max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.boundary-label svg { width: 13px; height: 13px; }
.section-alt .sol-arch, .section-alt .sol-caps { background: var(--surface); }

/* ---------- 行业 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-4); }
.ind {
  padding: var(--sp-5) var(--sp-4); border-radius: var(--r-lg); text-align: center;
  background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ind:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ind-ico { width: 48px; height: 48px; margin: 0 auto var(--sp-3); border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.ind-ico svg { width: 24px; height: 24px; }
.ind h3 { font-size: 17px; margin-bottom: 6px; }
.ind p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-3); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .sol-anchors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psb { grid-template-columns: 1fr; }
  .psb-arrow { transform: rotate(90deg); height: 20px; }
  .sol-bottom { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .sol-head { flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-8); }
  .sol-badge { width: 48px; height: 48px; border-radius: 13px; }
  .sol-badge svg { width: 24px; height: 24px; }
  .sol-head .lead { font-size: var(--fs-base); }
  .sol-arch .flow { flex-wrap: wrap; justify-content: center; }
  .gain-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); }
  .gm { padding-bottom: 0; border-bottom: 0; }
  .gm b { font-size: 24px; }
  .gm > span { font-size: 12.5px; }
}
@media (max-width: 480px) {
  .sol-anchors { grid-template-columns: 1fr; gap: var(--sp-3); }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
}
