/* 案例详情页增强样式 */

/* 项目概览区域 */
.case-overview {
  background: #fff;
  padding: 60px 0;
}

.case-overview .overview-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

.case-overview .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.case-overview .section-title h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

.case-overview .section-title p {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
}

/* 项目信息卡片 */
.project-info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.project-info-card {
  flex: 1;
  min-width: 280px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
}

.project-info-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.project-info-card .card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff7019, #ff9a5a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.project-info-card .card-icon .iconfont {
  font-size: 28px;
  color: #fff;
}

.project-info-card .card-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.project-info-card .card-value {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* 项目背景区域 */
.project-background {
  background: #f6f6f6;
  padding: 60px 0;
}

.project-background .bg-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

.project-background .section-header {
  margin-bottom: 40px;
}

.project-background .section-header h3 {
  font-size: 24px;
  color: #333;
  position: relative;
  padding-left: 20px;
}

.project-background .section-header h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #ff7019;
  border-radius: 2px;
}

.project-background .bg-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.project-background .bg-text {
  flex: 1;
}

.project-background .bg-text p {
  font-size: 15px;
  color: #666;
  line-height: 2;
  margin-bottom: 20px;
}

.project-background .bg-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.project-background .highlight-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.project-background .highlight-item .iconfont {
  color: #ff7019;
  margin-right: 10px;
  font-size: 18px;
}

.project-background .highlight-item span {
  font-size: 14px;
  color: #333;
}

/* 解决方案区域 */
.project-solution {
  background: #fff;
  padding: 60px 0;
}

.project-solution .solution-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

.project-solution .section-header {
  margin-bottom: 40px;
}

.project-solution .section-header h3 {
  font-size: 24px;
  color: #333;
  position: relative;
  padding-left: 20px;
}

.project-solution .section-header h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #ff7019;
  border-radius: 2px;
}

.solution-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.solution-step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 30px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  position: relative;
}

.solution-step::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #ddd;
}

.solution-step:last-child::after {
  display: none;
}

.solution-step .step-number {
  width: 50px;
  height: 50px;
  background: #ff7019;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.solution-step .step-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.solution-step .step-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* 技术栈展示 */
.tech-stack-section {
  background: #1a1a1a;
  padding: 60px 0;
}

.tech-stack-section .tech-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

.tech-stack-section .section-header {
  margin-bottom: 40px;
  text-align: center;
}

.tech-stack-section .section-header h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}

.tech-stack-section .section-header p {
  font-size: 14px;
  color: #999;
}

.tech-stack-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tech-item {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: rgba(255,112,25,0.2);
  border-color: #ff7019;
  transform: translateY(-5px);
}

.tech-item .tech-icon {
  font-size: 36px;
  color: #ff7019;
  margin-bottom: 10px;
}

.tech-item .tech-name {
  font-size: 14px;
  color: #fff;
}

/* 技术分类 */
.tech-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.tech-category {
  flex: 1;
  min-width: 200px;
}

.tech-category .category-title {
  font-size: 16px;
  color: #ff7019;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tech-category .tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-category .tech-tag {
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  font-size: 13px;
  color: #ccc;
  transition: all 0.3s ease;
}

.tech-category .tech-tag:hover {
  background: #ff7019;
  color: #fff;
}

/* 客户评价区域 */
.client-review-section {
  background: #f6f6f6;
  padding: 60px 0;
}

.client-review-section .review-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.client-review-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.client-review-section .section-header h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.client-review-section .section-header p {
  font-size: 14px;
  color: #999;
}

.review-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  position: relative;
}

.review-card .quote-icon {
  position: absolute;
  top: 30px;
  left: 40px;
  font-size: 60px;
  color: #f0f0f0;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card .review-content {
  font-size: 18px;
  color: #555;
  line-height: 2;
  margin-bottom: 30px;
  padding-left: 50px;
  position: relative;
  z-index: 1;
}

.review-card .review-author {
  display: flex;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.review-card .author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  background: #f5f5f5;
}

.review-card .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card .author-info h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
}

.review-card .author-info p {
  font-size: 14px;
  color: #999;
}

.review-card .review-rating {
  margin-left: auto;
}

.review-card .review-rating .star {
  color: #ffc107;
  font-size: 20px;
}

/* 项目成果展示 */
.project-results {
  background: #fff;
  padding: 60px 0;
}

.project-results .results-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

.project-results .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.project-results .section-header h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.results-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.result-item {
  text-align: center;
  padding: 30px;
  min-width: 200px;
}

.result-item .result-number {
  font-size: 48px;
  font-weight: bold;
  color: #ff7019;
  margin-bottom: 10px;
}

.result-item .result-number span {
  font-size: 24px;
}

.result-item .result-label {
  font-size: 16px;
  color: #666;
}

/* 相关案例推荐 */
.related-cases {
  background: #f6f6f6;
  padding: 60px 0;
}

.related-cases .related-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

.related-cases .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.related-cases .section-header h3 {
  font-size: 24px;
  color: #333;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .project-info-cards {
    flex-direction: column;
  }
  
  .project-background .bg-content {
    flex-direction: column;
  }
  
  .solution-steps {
    flex-direction: column;
  }
  
  .solution-step::after {
    display: none;
  }
  
  .tech-item {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 25px;
  }
  
  .review-card .review-content {
    font-size: 15px;
    padding-left: 0;
  }
  
  .review-card .quote-icon {
    display: none;
  }
  
  .result-item .result-number {
    font-size: 36px;
  }
}
