/* Platform Benefits Section */
.platform-benefits.custom-container {
  background-color: unset;

  /* Linear gradient */
  background-image: url('../assets/logo-background.svg'); /* Additional image */
  background-position: left; /* Position image on the left */
  background-size: 40%; /* Scale image to 30% of container width */
  background-repeat: no-repeat; /* Prevent the image from repeating */

  @media (min-width: 992px) {
    padding-top: 200px !important;
    padding-bottom: 200px !important;
  }

  @media (max-width: 768px) {
    background-position: top;
    background-size: 100%;
  }
}

.platform-benefits {
  --card-bg: #6800FF0D;
  --card-border: #6800FF0D;
  --card-radius: 20px;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --card-hover-shadow: rgba(0, 0, 0, 0.2);
  --icon-bg: #6800FF;
  --icon-size: 60px;
  --title-color: #6800FF;
  --gap: 20px;

  .section-title {
    font-size: 40px;
    line-height: 50px;
    color: #222222;
    text-transform: uppercase;
    padding-right: 100px;

    @media screen and (max-width: 1580px){
      font-size: 25px;
      line-height: 30px;
    }

    @media (max-width: 1200px) {
      padding-right: 0;
    }

    @media screen and (max-width: 992px) {
      font-size: 25px;
      line-height: 24px;
    }

    @media screen and (max-width: 520px) {
      font-size: 16px;
      line-height: 19.5px;
    }
  }

  .cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
  }

  .card-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 0;
  }

  .benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    height: 100%;
    max-width: 210px;
    /* min-width: 160px; */
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 20px;
    text-align: center;
  }

  .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100px;
    height: 100px;
  }

  .background-img-low-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .foreground-img {
    position: relative;
    z-index: 2;
    width: 50px;
  }



  .benefit-title {
    font-size: 16px;
    color: var(--title-color);
    font-weight: 500;
    line-height: 19.5px;
  }

  .benefit-label {
    font-size: 30px;
    font-weight: 700;
    color: white;
    z-index: 10;
  }

  @media (max-width: 1200px) {
    .cards-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 768px) {
    /* .benefit-card { */
      /* width: 160px; */
    /* } */

    .cards-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    /* .icon {
      width: 50px;
      height: 50px;
    } */

    .benefit-title {
      font-size: 14px;
    }
  }
}

.reason-block-v2 {
  margin-bottom: 3rem;

  @media (max-width: 768px) {
    margin-bottom: 1rem;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, max-content)); /* Mantém os itens sempre do mesmo tamanho */
    gap: var(--gap); /* Mantém o espaçamento sempre fixo */
    justify-content: center; /* Centraliza os itens caso haja espaço sobrando */
    margin-bottom: 2rem;
  }
}