/* ============================================================
   business-pages.css — 业务系统页面（solutions 行业页 / products 企业页）
   依赖 style.css 设计变量，仅新增组件样式
   ============================================================ */

/* ---- 通用 ---- */
.bp-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-600);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bp-h2 {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.bp-lead {
  color: var(--gray-500);
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* ---- ① 系统概览 ---- */
.bp-overview {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: start;
}
.bp-overview-text .feature-list {
  margin-top: 8px;
}
.bp-shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bp-shots--3 .bp-shot:first-child {
  grid-column: 1 / -1;
}
.bp-shot {
  margin: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.bp-shot:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.bp-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.bp-shot figcaption {
  font-size: 0.8rem;
  color: var(--gray-500);
  padding: 10px 14px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.bp-shot--portrait img {
  max-height: 280px;
  width: auto;
  margin: 0 auto;
}

/* ---- ② 核心功能（截图 Tab） ---- */
.bp-mod-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.bp-mod-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}
.bp-mod-btn:hover {
  color: var(--accent-600);
  background: rgba(6, 182, 212, 0.1);
}
.bp-mod-btn.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-600), var(--indigo-500));
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.28);
}
.bp-mod-panel {
  display: none;
}
.bp-mod-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(0, 5fr);
  gap: 36px;
  align-items: center;
  animation: bpFadeIn 0.4s ease;
}
@keyframes bpFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.bp-mod-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.bp-mod-media img {
  display: block;
  width: 100%;
  height: auto;
}
.bp-mod-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.bp-mod-body .bp-lead {
  margin-bottom: 16px;
}
.bp-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.bp-points li {
  display: grid;
  gap: 1px;
  padding: 7px 13px;
  background: var(--white);
  border-radius: 8px;
}
.bp-points li strong {
  font-size: 0.92rem;
  color: var(--gray-800);
}
.bp-points li span {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ---- ③ 系统架构 ---- */
.bp-arch {
  margin: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.bp-arch img {
  display: block;
  width: 100%;
  height: auto;
}
.bp-arch--visual svg {
  display: block;
  width: 100%;
  height: auto;
}
.bp-arch--visual figcaption {
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.bp-arch figcaption {
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* ---- ④ 硬件感知层（去黑竖条，统一全站「渐变徽章 + 白卡」设计语言） ---- */
.bp-hw {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.bp-hw-rows {
  display: grid;
  gap: 16px;
}
.bp-hw-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 20px 20px;
  box-shadow: var(--shadow-sm);
}
.bp-hw-cat {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gray-800);
  padding-left: 12px;
  border-left: 3px solid var(--accent-500);
  line-height: 1.2;
}
.bp-hw-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.bp-hw-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 14px;
  background: var(--white);
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bp-hw-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-400);
  box-shadow: var(--shadow-md);
}
.bp-hw-item .bp-hw-svg {
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  box-shadow: 0 6px 14px rgba(99, 102, 241, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex: none;
}
.bp-hw-item .bp-hw-img {
  box-sizing: border-box;
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.12));
}
.bp-hw-item .bp-hw-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  line-height: 1.35;
}

/* ---- 企业数字化总览（系统卡） ---- */
.bp-sys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bp-sys-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.bp-sys-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.bp-sys-card .bp-sys-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-600);
  padding: 16px 20px 0;
}
.bp-sys-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  padding: 6px 20px 0;
}
.bp-sys-card h3 .bp-sys-en {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-left: 8px;
}
.bp-sys-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
  padding: 10px 20px 16px;
  flex: 1;
}
.bp-sys-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.bp-sys-card .bp-sys-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-600);
}

/* ---- 动效克制 ---- */
@media (prefers-reduced-motion: reduce) {
  .bp-shot,
  .bp-sys-card,
  .bp-hw-item {
    transition: none;
  }
  .bp-shot:hover,
  .bp-sys-card:hover,
  .bp-hw-item:hover {
    transform: none;
  }
  .bp-mod-panel.active {
    animation: none;
  }
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
  .bp-overview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bp-mod-panel.active {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bp-sys-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .bp-h2 {
    font-size: 1.5rem;
  }
  .bp-shots {
    grid-template-columns: 1fr;
  }
  .bp-shot--portrait img {
    max-height: 220px;
  }
  .bp-hw-items {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
  .bp-sys-grid {
    grid-template-columns: 1fr;
  }
  .bp-mod-btns {
    gap: 8px;
  }
  .bp-mod-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}
