/* 解决方案页面现代化样式 */

/* 通用样式 */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #1f90d0;
  margin: 15px auto 0;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* 图片占位符 - 用于放置实际图片前的占位 */
.image-placeholder {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #777;
  font-size: 14px;
  min-height: 120px;
  transition: all 0.3s ease;
}

.large-placeholder {
  min-height: 300px;
  font-size: 18px;
}

/* 动画类 */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeIn {
  animation-name: fadeIn;
}

.fadeInUp {
  animation-name: fadeInUp;
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

.fadeInRight {
  animation-name: fadeInRight;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* 解决方案概述部分 */
.solution-overview {
  padding: 80px 0;
}

.solution-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  transition: all 0.3s ease;
}

.solution-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.solution-title {
  font-size: 28px;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.solution-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #1f90d0;
}

.solution-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.solution-text {
  flex: 1;
  min-width: 300px;
}

.solution-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.solution-image {
  flex: 1;
  min-width: 300px;
}

/* 核心痛点部分 */
.solution-pain-points {
  padding: 80px 0;
  background: #fff;
}

.pain-points-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.pain-point-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  transition: all 0.3s ease;
}

.pain-point-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pain-point-icon {
  margin-bottom: 20px;
}

.pain-point-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.pain-point-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* 机器人应用部分 */
.solution-robots {
  padding: 80px 0;
}

.robot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.robot-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.robot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.robot-icon {
  margin-bottom: 20px;
}

.robot-card h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.star-rating {
  color: #ffc107;
  font-size: 16px;
  margin-bottom: 15px;
}

.robot-hover-content {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 144, 208, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.robot-card:hover .robot-hover-content {
  opacity: 1;
  transform: translateY(0);
}

.robot-hover-content p {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}

.robot-learn-more {
  display: inline-block;
  padding: 8px 20px;
  background: #fff;
  color: #1f90d0;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.robot-learn-more:hover {
  background: #f8f8f8;
  transform: scale(1.05);
}

/* 解决方案优势部分 */
.solution-advantages {
  padding: 80px 0;
  background: #fff;
}

.advantages-container {
  margin-top: 40px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 25px;
}

.advantage-icon {
  flex: 0 0 80px;
}

.advantage-content {
  flex: 1;
}

.advantage-content h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 12px;
}

.advantage-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* 案例展示部分 */
.solution-case-studies {
  padding: 80px 0;
  background: #f8f9fa;
}

.case-study-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.case-study-image {
  flex: 1;
  min-width: 300px;
}

.case-study-content {
  flex: 1;
  min-width: 300px;
}

.case-study-content h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.case-highlights {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.case-highlight-item {
  text-align: center;
  flex: 1;
}

.case-highlight-item strong {
  display: block;
  font-size: 28px;
  color: #1f90d0;
  margin-bottom: 5px;
}

.case-highlight-item span {
  font-size: 14px;
  color: #666;
}

.case-study-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-link {
  display: inline-block;
  color: #1f90d0;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.case-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* 技术架构部分 */
.solution-architecture {
  padding: 80px 0;
}

.architecture-container {
  margin-top: 40px;
  text-align: center;
}

.architecture-image {
  margin-bottom: 30px;
}

.architecture-description {
  max-width: 800px;
  margin: 0 auto;
}

.architecture-description p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* 联系我们部分 */
.solution-contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.contact-content {
  flex: 1;
  min-width: 300px;
}

.contact-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-content p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: #1e3c72;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-image {
  flex: 1;
  min-width: 300px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .section-title {
    font-size: 28px;
  }

  .solution-title {
    font-size: 24px;
  }

  .advantage-item {
    flex-direction: column;
  }

  .advantage-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 24px;
  }

  .solution-card {
    padding: 25px;
  }

  .solution-title {
    font-size: 22px;
  }

  .robot-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .contact-content h2 {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .pain-point-card {
    min-width: 100%;
  }

  .case-highlights {
    flex-direction: column;
    gap: 15px;
  }
}
