/* ============================================================
   武汉赛贝斯案例库 - 共享样式
   沿用首页 style.css 视觉规范，保持品牌一致性
   主色绿 #0a7e5e  辅色金 #d4a13a
============================================================ */

.cases-hero {
  background: linear-gradient(135deg, #0a7e5e 0%, #065940 100%);
  padding: 70px 0 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cases-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(212, 161, 58, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cases-hero h1 { font-size: 34px; font-weight: 700; margin-bottom: 12px; position: relative; }
.cases-hero p { font-size: 16px; opacity: 0.92; max-width: 720px; margin: 0 auto; line-height: 1.7; }

.cases-stats {
  background: #f7faf8;
  padding: 36px 0;
  border-bottom: 1px solid #e5e7eb;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-item .stat-num { font-size: 32px; font-weight: 700; color: #0a7e5e; line-height: 1.1; }
.stat-item .stat-label { font-size: 14px; color: #4b5563; margin-top: 6px; }

.cases-section { padding: 60px 0 80px; background: #fff; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.case-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 126, 94, 0.15);
  border-color: #0a7e5e;
}
.case-card-header {
  background: linear-gradient(135deg, #0a7e5e 0%, #065940 100%);
  padding: 24px;
  color: #fff;
  position: relative;
}
.case-card-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(212, 161, 58, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.case-card-tag {
  display: inline-block;
  background: rgba(212, 161, 58, 0.92);
  color: #1f2937;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  position: relative;
}
.case-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  position: relative;
  line-height: 1.4;
}
.case-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.case-card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e5e7eb;
}
.case-meta-item { font-size: 13px; }
.case-meta-item .meta-label { color: #6b7280; display: block; margin-bottom: 2px; }
.case-meta-item .meta-value { color: #1f2937; font-weight: 600; font-size: 14px; }
.case-card-desc { font-size: 14px; color: #4b5563; line-height: 1.7; flex: 1; }
.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #0a7e5e;
  font-weight: 600;
  font-size: 14px;
}
.case-card-link::after { content: '→'; transition: transform 0.3s; }
.case-card:hover .case-card-link::after { transform: translateX(4px); }

/* 单个案例页 */
.case-page { padding: 50px 0 80px; background: #fafafa; }
.case-container { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.case-page-card {
  background: #fff;
  border-radius: 12px;
  padding: 50px 48px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.case-page-card h1 {
  font-size: 32px;
  color: #1f2937;
  margin: 0 0 16px;
  line-height: 1.4;
  padding-bottom: 20px;
  border-bottom: 2px solid #0a7e5e;
}
.case-page-card h2 {
  font-size: 22px;
  color: #0a7e5e;
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #0a7e5e;
}
.case-page-card h3 {
  font-size: 18px;
  color: #1f2937;
  margin: 24px 0 12px;
}
.case-page-card p { font-size: 15px; line-height: 1.85; color: #374151; margin-bottom: 14px; }
.case-page-card ul, .case-page-card ol { padding-left: 22px; line-height: 1.85; color: #374151; margin-bottom: 16px; }
.case-page-card li { margin-bottom: 6px; }
.case-page-card strong { color: #0a7e5e; }
.case-page-card blockquote {
  background: #f0f9f5;
  border-left: 4px solid #0a7e5e;
  padding: 16px 20px;
  margin: 24px 0;
  color: #1f2937;
  border-radius: 0 8px 8px 0;
}
.case-page-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.case-page-card table th {
  background: #0a7e5e;
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
}
.case-page-card table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.case-page-card table tr:nth-child(even) td { background: #f7faf8; }
.case-page-card a { color: #0a7e5e; text-decoration: none; font-weight: 500; }
.case-page-card a:hover { text-decoration: underline; }

.case-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px 0 32px;
}
.case-fact {
  text-align: center;
  padding: 18px 12px;
  background: linear-gradient(135deg, #f0f9f5 0%, #e6f4ed 100%);
  border-radius: 10px;
  border: 1px solid #d4ede0;
}
.case-fact .fact-num {
  font-size: 28px;
  font-weight: 700;
  color: #0a7e5e;
  line-height: 1.1;
}
.case-fact .fact-label { font-size: 13px; color: #4b5563; margin-top: 6px; }

.case-related {
  background: #fff;
  border-radius: 12px;
  padding: 30px 36px;
  margin-top: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.case-related h3 { font-size: 18px; color: #1f2937; margin: 0 0 18px; }
.case-related ul { list-style: none; padding: 0; margin: 0; }
.case-related li { padding: 10px 0; border-bottom: 1px dashed #e5e7eb; }
.case-related li:last-child { border-bottom: none; }
.case-related a { color: #0a7e5e; font-weight: 500; }

@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .case-fact-grid { grid-template-columns: repeat(2, 1fr); }
  .case-page-card { padding: 32px 22px; }
}
@media (max-width: 600px) {
  .cases-hero { padding: 48px 16px; }
  .cases-hero h1 { font-size: 26px; }
  .case-page-card h1 { font-size: 24px; }
  .cases-grid { grid-template-columns: 1fr; }
}