/* ============================================================
   CASES PAGE — 合作案例页专属样式
============================================================ */

/* ── 案例网格 ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── 案例卡片 ── */
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: inherit;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,58,107,0.18);
}

/* ── 案例 Logo（圆形渐变图块+汉字） ── */
.case-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px; font-weight: 800;
  color: #fff;
  position: relative;
}

/* ── 案例名称 ── */
.case-name {
  font-size: 17px; font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

/* ── 案例标签 ── */
.case-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px; font-weight: 600;
  color: var(--blue);
  background: rgba(41,169,225,0.08);
  letter-spacing: 0.5px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cases-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-card { padding: 28px 20px 22px; }
  .case-logo { width: 60px; height: 60px; font-size: 24px; }
  .case-name { font-size: 15px; }
}
