/* ========================================
   SOLUTIONS OVERVIEW SECTION
   ======================================== */

.solutions-overview {
  padding: 100px 0;
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  position: relative;
}

/* Заголовок секции */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.solutions-overview .section-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1F2937;
}

.solutions-overview .section-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
}

/* Сетка карточек */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Карточка решения */
.solution-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 20px;
  padding: 40px 28px 28px 28px;
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible;
}

.solution-card:hover {
  border-color: #667eea;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
  transform: translateY(-5px);
}

/* Featured карточка */
.solution-card.featured {
  border-color: #667eea;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1F2937;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Иконка */
.card-icon {
  margin-bottom: 24px;
}

/* Заголовок */
.solution-card .card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  min-height: 58px;
}

.solution-card .card-title a {
  color: #1F2937;
  text-decoration: none;
  transition: color 0.3s ease;
}

.solution-card .card-title a:hover {
  color: #667eea;
}

/* Описание */
.solution-card .card-description {
  font-size: 14px;
  line-height: 1.5;
  color: #6B7280;
  margin-bottom: 16px;
  height: 63px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Преимущества */
.solution-card .card-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  height: 102px;
  overflow: hidden;
}

.solution-card .card-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #374151;
  line-height: 1.4;
}

.solution-card .card-benefits li:last-child {
  margin-bottom: 0;
}

.solution-card .icon-check {
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-card .card-benefits strong {
  font-weight: 700;
  color: #1F2937;
}

/* Метрики */
.solution-card .card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 16px;
  gap: 6px;
}

.solution-card .card-stats .stat-item {
  text-align: center;
  flex: 1;
  padding: 8px 4px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.solution-card .card-stats .stat-item:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.solution-card .stat-value {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #667eea;
  line-height: 1;
  margin-bottom: 4px;
}

.solution-card .stat-label {
  display: block;
  font-size: 9px;
  color: #6B7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.solution-card .stat-divider {
  display: none;
}

/* CTA кнопка карточки */
.solution-card .card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.solution-card .card-cta:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.solution-card .card-cta svg {
  transition: transform 0.3s ease;
}

.solution-card .card-cta:hover svg {
  transform: translateX(3px);
}

/* CTA секции */
.solutions-overview .section-cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: 16px;
  border: 2px dashed #D1D5DB;
}

.solutions-overview .section-cta p {
  font-size: 18px;
  color: #374151;
  margin-bottom: 20px;
  font-weight: 500;
}

.btn-secondary-solutions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-solutions:hover {
  background: #667eea;
  color: white;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .solutions-overview {
    padding: 60px 0;
  }

  .solutions-overview .section-title {
    font-size: 32px;
  }

  .solutions-overview .section-subtitle {
    font-size: 16px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
  }

  .solution-card {
    padding: 32px 24px;
    min-height: auto;
  }

  .solution-card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }

  .solution-card .card-description {
    max-height: none;
  }

  .solution-card .card-benefits {
    max-height: none;
  }

  .solution-card .card-stats {
    flex-direction: column;
    gap: 16px;
  }

  .solution-card .stat-divider {
    display: none;
  }

  .solution-card .card-stats .stat-item {
    width: 100%;
  }
}

