.lead-magnets {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: var(--shadow-color);
  color: var(--text-color-oposite);
}

.lead-magnets-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 1480px;
  max-width: 100vw;
  padding: 80px;
  gap: 0;
}

.lead-magnets-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.lead-magnets-title {
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-color-oposite);
}

.lead-magnets-subtitle {
  font-size: 24px;
  opacity: 0.8;
  max-width: 800px;
  line-height: 1.4;
  color: var(--secondary-color);
}

.lead-cards-container {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.lead-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 24, 0.9) 0%,
    rgba(20, 20, 24, 0.8) 100%
  );
  cursor: pointer;
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  padding: 20px 0;
  border: 1px solid rgba(169, 139, 104, 0.2);
  overflow: hidden;
}

.lead-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--tertiary-color),
    var(--tertiary-light),
    var(--tertiary-color)
  );
  z-index: 10;
}

.lead-card:hover {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 24, 0.95) 0%,
    rgba(20, 20, 24, 0.9) 100%
  );
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(169, 139, 104, 0.4);
}

.lead-card:hover::before {
  background: linear-gradient(
    90deg,
    var(--tertiary-light),
    var(--tertiary-color),
    var(--tertiary-light)
  );
}

.lead-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--tertiary-color),
    var(--tertiary-dark)
  );
  color: var(--light-color);
  font-size: 32px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(169, 139, 104, 0.3);
}

.lead-card:hover .lead-card-icon {
  background: linear-gradient(
    135deg,
    var(--tertiary-light),
    var(--tertiary-color)
  );
  transform: scale(1.05);
}

.lead-card-title {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 10px;
  color: var(--tertiary-light);
  text-shadow: 1px 1px 3px rgba(20, 20, 24, 0.3);
}

.lead-card-description {
  font-size: 16px;
  line-height: 1.4;
  opacity: 0.9;
  max-width: 280px;
  color: var(--light-color);
}

.lead-card:hover .lead-card-description {
  opacity: 1;
}

/* Разделители между карточками */
.lead-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(169, 139, 104, 0.2);
  transition: opacity 0.3s ease;
}

.lead-card:hover::after,
.lead-card:hover + .lead-card::before {
  opacity: 0;
}

@media (max-width: 1024px) {
  .lead-magnets-container {
    flex-wrap: wrap;
    width: 100vw;
    padding: 60px 20px;
  }

  .lead-card {
    flex: 1 1 calc(50% - 0px);
    height: 280px;
  }

  .lead-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .lead-magnets {
    min-height: auto;
    padding: 40px 0;
  }

  .lead-magnets-container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .lead-card {
    width: 100%;
    height: 220px;
    margin-bottom: 20px;
  }

  .lead-card-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 12px;
  }

  .lead-card-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .lead-card-description {
    font-size: 14px;
  }
}

/* Анимация для декора */
@keyframes contentDecor {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(-20px) translateY(20px) rotate(360deg);
  }
}
