/* ============================================================
   千匠 · 汽车汽配解决方案页  模块〇：行业经营痛点（整页开篇）
   ------------------------------------------------------------
   基调：白底 section + 五张浅蓝卡片
   - 标题/描述沿用站内 .section-title / .section-desc（白底黑字，无 !important 冲突）
   - 卡片：F7FAFC 底 / E3EAF5 描边 / #277FFF 主色 / 图标圆底 #E8F1FF
   断点：1200 / 1000 / 768（与站内一致）
   ============================================================ */

.pain-sec {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.pain-title {
  margin-bottom: 18px;
}

.pain-desc {
  margin-bottom: 46px;
}

/* ---- 五卡网格：桌面 5 列并列；中屏 2 列；窄屏单列 ---- */
.pain-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 0;
}

.pain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 20px 16px 16px;
  background: #f7fafc;
  border: 1px solid #e3eaf5;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}

.pain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 127, 255, 0.35);
  box-shadow: 0 14px 30px rgba(39, 127, 255, 0.09);
}

/* 卡片顶部：图标（左） + 序号（右） */
.pain-card-head {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pain-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e8f1ff;
  color: var(--color, #277fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.pain-ico svg {
  width: 20px;
  height: 20px;
}

.pain-idx {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(39, 127, 255, 0.55);
  line-height: 38px;
}

.pain-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.pain-t {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #277fff;
  line-height: 1.55;
}

.pain-d {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.75;
  color: #55617a;
  flex: 1 0 auto;
}

.pain-out {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.65;
  font-weight: 500;
  color: #1f2c47;
  background: rgba(39, 127, 255, 0.07);
  border-radius: 8px;
  padding: 6px 9px;
}

.pain-out::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: #277fff;
}

/* ============ 响应式 ============ */
@media screen and (max-width: 1000px) {
  .pain-grid {
    flex-wrap: wrap;
    gap: 16px;
  }
  .pain-card {
    flex: 1 1 calc((100% - 16px) / 2);
    min-width: 260px;
    padding: 24px 20px 20px;
  }
  .pain-ico {
    width: 42px;
    height: 42px;
  }
  .pain-ico svg {
    width: 22px;
    height: 22px;
  }
  .pain-idx {
    line-height: 42px;
  }
  .pain-card h3 {
    font-size: 20px;
  }
  .pain-t {
    font-size: 14px;
  }
  .pain-d {
    font-size: 13px;
  }
  .pain-out {
    font-size: 12px;
  }
  .pain-desc {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 768px) {
  .pain-grid {
    flex-wrap: wrap;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .pain-card {
    flex: 1 1 100%;
    min-width: auto;
  }
}
