/* Newsletter Lead Magnet Section Styles */
.newsletter-lead-magnet {
  background-color: #f8f9fa;
  padding: 60px 0;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.newsletter-lead-magnet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  box-shadow: 0 2px 10px rgba(139, 0, 139, 0.2);
}

.newsletter-lead-magnet::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.lead-magnet-wrapper {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(48, 25, 52, 0.15);
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 0, 139, 0.1);
}

.lead-magnet-wrapper::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(139, 0, 139, 0.03);
  border-radius: 50%;
  z-index: 0;
}

.lead-magnet-wrapper::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(218, 165, 32, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.lead-magnet-image {
  position: relative;
  text-align: center;
}

.lead-magnet-image img {
  max-height: 300px;
  box-shadow: 0 5px 15px rgba(48, 25, 52, 0.25);
  border-radius: 5px;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
  border: 4px solid white;
}

.lead-magnet-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

.lead-magnet-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent-color), #e5a100);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  transform: rotate(15deg);
  box-shadow: 0 3px 10px rgba(218, 165, 32, 0.4);
  z-index: 2;
  border: 2px solid white;
}

.lead-magnet-content {
  position: relative;
  z-index: 1;
}

.lead-magnet-content h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.lead-magnet-content h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.lead-magnet-benefits {
  margin: 25px 0;
  position: relative;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
}

.benefit-item i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 1.1rem;
  background-color: rgba(218, 165, 32, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item span {
  font-size: 1rem;
}

#homeLeadMagnetForm {
  background-color: rgba(248, 248, 255, 0.5);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(139, 0, 139, 0.1);
}

#homeLeadMagnetForm .form-control {
  border: 1px solid #ced4da;
  transition: all 0.2s ease;
  border-radius: 6px;
  padding: 10px 15px;
}

#homeLeadMagnetForm .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(139, 0, 139, 0.25);
}

#homeLeadMagnetForm .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 6px;
  padding: 10px 15px;
}

#homeLeadMagnetForm .btn-primary:hover {
  background-color: var(--dark-color);
  border-color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(48, 25, 52, 0.3);
}

.form-text {
  color: #6c757d;
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .newsletter-lead-magnet {
    padding: 40px 0;
  }
  
  .lead-magnet-wrapper {
    padding: 20px;
  }
  
  .lead-magnet-image {
    margin-bottom: 30px;
  }
  
  .lead-magnet-badge {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  #homeLeadMagnetForm .btn-primary {
    margin-top: 10px;
  }
}
