/* ========== 案例详情页样式 ========== */
.detail-hero {
  padding: 140px 24px 80px;
  color: white;
  text-align: center;
}
.detail-hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.detail-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}
.detail-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}
.detail-hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

.detail-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

.detail-main {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 40px;
}
.detail-block {
  margin-bottom: 48px;
}
.detail-block:last-child {
  margin-bottom: 0;
}
.detail-block h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e293b;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}
.detail-block p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.8;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.solution-item {
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.3s;
}
.solution-item:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}
.solution-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.solution-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e293b;
}
.solution-item p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.result-item {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, rgba(14,176,133,0.08), rgba(14,176,133,0.08));
  border-radius: 12px;
  border: 1px solid rgba(14,176,133,0.15);
}
.result-num {
  font-size: 28px;
  font-weight: 800;
  color: #0eb085;
  margin-bottom: 6px;
}
.result-label {
  font-size: 13px;
  color: #64748b;
}

.quote-box {
  padding: 28px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 3px solid #0eb085;
}
.quote-box p {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 16px;
}
.quote-author strong {
  color: #1e293b;
  font-size: 14px;
}
.quote-author span {
  color: #94a3b8;
  font-size: 13px;
  margin-left: 8px;
}

/* 侧边栏 */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
}
.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e293b;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid #f8fafc;
}
.info-row span:first-child {
  color: #94a3b8;
}
.info-row span:last-child {
  color: #1e293b;
  font-weight: 500;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.module-tag {
  padding: 6px 12px;
  background: rgba(14,176,133,0.1);
  color: #0eb085;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

.back-btn {
  display: block;
  text-align: center;
  padding: 14px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.3s;
}
.back-btn:hover {
  border-color: #0eb085;
  color: #0eb085;
}

@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { order: -1; }
  .solution-grid { grid-template-columns: 1fr; }
  .result-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .detail-hero-content h1 { font-size: 28px; }
  .detail-main { padding: 24px; }
  .result-stats { grid-template-columns: 1fr 1fr; }
}
