/* Porównawcza Modeli - Sekcja */

.comparison-models {
  background-color: #e9ebef;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Blob tła */
.comparison-models-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(175px);
}

/* Blob 1 - Fioletowy spłaszczony na dole na środku */
.comparison-models-blob-1 {
  width: 800px;
  height: 250px;
  background-color: #5247e740; /* Fioletowy kolor z 25% przezroczystością */
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%) scaleY(0.6); /* Spłaszczenie w pionie */
  border-radius: 50% / 40%; /* Eliptyczny kształt */
}

.comparison-models .container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.comparison-models__header {
  text-align: left;
  margin-bottom: 48px;
}

.comparison-models__title {
  font-family: 'Inter', sans-serif;
  font-size: 2.125rem;
  font-weight: 700;
  color: #213361;

  letter-spacing: -1.8px;
}

.comparison-models__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: rgba(33, 51, 97, 0.5);
  margin: 0;
}

.comparison-models__cards {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.comparison-models__card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0px 4px 12px 0px rgba(142, 152, 168, 0.06);
  box-sizing: border-box;
  width: auto;
  display: flex;
  flex-direction: column;
}

.comparison-models__card-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #213361;
  margin: 0 0 18px 0;
}

.comparison-models__card-description {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #213361;
  margin: 0 0 16px 0;
}

/* Model Linearny */
.comparison-models__diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;

  img {
    max-width: 100%;
  }
}

.comparison-models__step {
  text-align: center;
}

.comparison-models__circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;

  background-color: #c747e7; /* Kolor bazowy */
}

/* Różne odcienie dla kolejnych kółek */
.comparison-models__step:nth-child(2) .comparison-models__circle {
  background-color: rgba(199, 71, 231, 0.8);
}
.comparison-models__step:nth-child(3) .comparison-models__circle {
  background-color: rgba(199, 71, 231, 0.6);
}
.comparison-models__step:nth-child(4) .comparison-models__circle {
  background-color: rgba(199, 71, 231, 0.4);
}

.comparison-models__step-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #213361;
}

.comparison-models__arrow {
  margin: 0 10px;
  margin-bottom: 40px; /* to align with text bottom */
}

/* Model Cyrkularny */
.comparison-models__card--circular {
  display: flex;
  flex-direction: column;
}

.comparison-models__card--circular .comparison-models__diagram img {
  max-width: 100%;
  height: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .comparison-models__cards {
    flex-direction: column;
    align-items: center;
  }

  .comparison-models__diagram {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .comparison-models__arrow {
    display: none; /* Ukrywamy strzałki na mniejszych ekranach */
  }
}

@media (max-width: 767px) {
  .comparison-models {
    padding: 60px 0;
  }

  /* Dostosowanie bloba dla mobile */
  .comparison-models-blob-1 {
    width: 500px;
    height: 170px;
    bottom: -80px;
    filter: blur(150px);
    transform: translateX(-50%) scaleY(0.6); /* Zachowaj spłaszczenie */
    border-radius: 50% / 40%; /* Zachowaj eliptyczny kształt */
  }

  .comparison-models__header {
    margin-bottom: 40px;
  }

  .comparison-models__title {
    font-size: 32px;
  }

  .comparison-models__subtitle {
    font-size: 18px;
  }

  .comparison-models__card {
    padding: 30px 25px;
  }

  .comparison-models__diagram {
    flex-direction: column;
    align-items: center;
  }

  .comparison-models__step {
    margin-bottom: 20px;
  }

  .comparison-models__arrow {
    display: none;
  }
}
