/*==================================================
=                    PILLARS                     =
==================================================*/

/*-----BEGIN::PILLARS-----*/

/*----------------------------------------------
SECTION
----------------------------------------------*/
.pillars-home {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(124, 58, 237, 0.05);
}

.pillars-home::before {
    content: "";
    position: absolute;
    top: -110px;
    left: 50%;
    width: 760px;
    height: 260px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(237, 233, 254, 0.42) 0%, rgba(237, 233, 254, 0.12) 48%, rgba(237, 233, 254, 0) 72%);
    pointer-events: none;
}

/*----------------------------------------------
DECORATION
----------------------------------------------*/
.pillars-home__decoration {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pillars-home__decoration-arc {
    position: absolute;
    border: 1px solid rgba(124, 58, 237, 0.13);
    border-radius: 50%;
}

.pillars-home__decoration-arc--left {
    top: -135px;
    left: -130px;
    width: 290px;
    height: 290px;
}

.pillars-home__decoration-arc--right {
    right: -150px;
    bottom: -180px;
    width: 320px;
    height: 320px;
}

.pillars-home__decoration-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.035);
}

.pillars-home__decoration-shape--left {
    top: -185px;
    left: -170px;
    width: 310px;
    height: 310px;
}

.pillars-home__decoration-shape--right {
    right: -175px;
    bottom: -225px;
    width: 360px;
    height: 360px;
}

.pillars-home__decoration-dots {
    position: absolute;
    width: 86px;
    height: 66px;
    opacity: 0.28;
    background-image: radial-gradient(circle, var(--color-primary) 1.3px, transparent 1.5px);
    background-size: 14px 14px;
}

.pillars-home__decoration-dots--left {
    bottom: 18px;
    left: 30px;
}

.pillars-home__decoration-dots--right {
    top: 18px;
    right: 34px;
}

/*----------------------------------------------
CONTAINER
----------------------------------------------*/
.pillars-home__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1540px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    padding-top: 30px;
    padding-right: 32px;
    padding-bottom: 30px;
    padding-left: 32px;
}

/*----------------------------------------------
ITEM
----------------------------------------------*/
.pillars-home__item {
    position: relative;
    min-width: 0;
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 34px;
    padding-left: 34px;
}

.pillars-home__item:first-child {
    padding-left: 0;
}

.pillars-home__item:last-child {
    padding-right: 0;
}

.pillars-home__item + .pillars-home__item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 64px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0) 0%, rgba(124, 58, 237, 0.15) 25%, rgba(124, 58, 237, 0.15) 75%, rgba(124, 58, 237, 0) 100%);
}

/*----------------------------------------------
ICON
----------------------------------------------*/
.pillars-home__icon {
    position: relative;
    width: 65px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 65px;
    border-radius: 50%;
    font-size: 30px;
}

.pillars-home__icon i {
    line-height: 1;
}

.pillars-home__icon--purple {
    background: rgba(237, 233, 254, 0.85);
    color: var(--color-primary);
}

.pillars-home__icon--green {
    background: rgba(235, 248, 236, 0.88);
    color: var(--color-secondary-dark);
}

/*----------------------------------------------
CONTENT
----------------------------------------------*/
.pillars-home__content {
    min-width: 0;
}

.pillars-home__title {
    margin: 0 0 2px;
    color: #13171c;
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
}

.pillars-home__description {
    max-width: 230px;
    margin: 0;
    color: #292c33;
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
}

/*----------------------------------------------
RESPONSIVE - DESKTOP / LAPTOP
----------------------------------------------*/
@media (max-width: 1599px) {
    .pillars-home__container {
        max-width: 1400px;
        padding-top: 38px;
        padding-right: 28px;
        padding-bottom: 38px;
        padding-left: 28px;
    }

    .pillars-home__item {
        gap: 14px;
        padding-right: 26px;
        padding-left: 26px;
    }

    .pillars-home__item:first-child {
        padding-left: 0;
    }

    .pillars-home__item:last-child {
        padding-right: 0;
    }

    .pillars-home__icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 24px;
    }

    .pillars-home__title {
        font-size: 14px;
    }

    .pillars-home__description {
        max-width: 210px;
        font-size: 11px;
    }
}

/*----------------------------------------------
RESPONSIVE - SMALL LAPTOP
----------------------------------------------*/
@media (max-width: 1199px) {
    .pillars-home__container {
        max-width: 960px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0;
        padding-top: 24px;
        padding-right: 24px;
        padding-bottom: 24px;
        padding-left: 24px;
    }

    .pillars-home__item {
        min-height: 112px;
        gap: 16px;
        padding: 22px 28px;
    }

    .pillars-home__item:first-child,
    .pillars-home__item:nth-child(3) {
        padding-left: 0;
    }

    .pillars-home__item:nth-child(2),
    .pillars-home__item:last-child {
        padding-right: 0;
    }

    .pillars-home__item + .pillars-home__item::before {
        display: none;
    }

    .pillars-home__item:nth-child(even)::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 1px;
        height: 64px;
        display: block;
        transform: translateY(-50%);
        background: linear-gradient(180deg, rgba(124, 58, 237, 0) 0%, rgba(124, 58, 237, 0.15) 25%, rgba(124, 58, 237, 0.15) 75%, rgba(124, 58, 237, 0) 100%);
    }

    .pillars-home__item:nth-child(n + 3) {
        border-top: 1px solid rgba(124, 58, 237, 0.06);
    }

    .pillars-home__icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        font-size: 26px;
    }

    .pillars-home__title {
        font-size: 15px;
    }

    .pillars-home__description {
        max-width: 250px;
        font-size: 12px;
    }
}

/*----------------------------------------------
RESPONSIVE - TABLET
----------------------------------------------*/
@media (max-width: 991px) {
    .pillars-home__container {
        max-width: 720px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .pillars-home__item {
        padding-right: 22px;
        padding-left: 22px;
    }

    .pillars-home__item:first-child,
    .pillars-home__item:nth-child(3) {
        padding-left: 0;
    }

    .pillars-home__item:nth-child(2),
    .pillars-home__item:last-child {
        padding-right: 0;
    }

    .pillars-home__decoration-dots--left {
        left: -30px;
    }

    .pillars-home__decoration-dots--right {
        right: -30px;
    }
}

/*----------------------------------------------
RESPONSIVE - MOBILE
----------------------------------------------*/
@media (max-width: 767px) {
    .pillars-home__container {
        padding-top: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        padding-left: 20px;
    }

    .pillars-home__item {
        min-height: 104px;
        gap: 13px;
        padding-top: 20px;
        padding-right: 16px;
        padding-bottom: 20px;
        padding-left: 16px;
    }

    .pillars-home__item:first-child,
    .pillars-home__item:nth-child(3) {
        padding-left: 0;
    }

    .pillars-home__item:nth-child(2),
    .pillars-home__item:last-child {
        padding-right: 0;
    }

    .pillars-home__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 23px;
    }

    .pillars-home__title {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .pillars-home__description {
        font-size: 11px;
        line-height: 1.45;
    }

    .pillars-home__decoration-arc--left {
        left: -210px;
    }

    .pillars-home__decoration-arc--right {
        right: -230px;
    }
}

/*----------------------------------------------
RESPONSIVE - SMALL MOBILE
----------------------------------------------*/
@media (max-width: 575px) {
    .pillars-home__container {
        grid-template-columns: 1fr;
        padding-top: 14px;
        padding-right: 16px;
        padding-bottom: 14px;
        padding-left: 16px;
    }

    .pillars-home__item,
    .pillars-home__item:first-child,
    .pillars-home__item:nth-child(2),
    .pillars-home__item:nth-child(3),
    .pillars-home__item:last-child {
        min-height: 0;
        gap: 16px;
        padding: 20px 4px;
    }

    .pillars-home__item + .pillars-home__item {
        border-top: 1px solid rgba(124, 58, 237, 0.07);
    }

    .pillars-home__item:nth-child(even)::before {
        display: none;
    }

    .pillars-home__icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 24px;
    }

    .pillars-home__title {
        font-size: 14px;
    }

    .pillars-home__description {
        max-width: 280px;
        font-size: 11px;
    }

    .pillars-home__decoration-shape--left {
        top: -220px;
        left: -230px;
    }

    .pillars-home__decoration-shape--right {
        right: -260px;
        bottom: -280px;
    }

    .pillars-home__decoration-dots {
        width: 72px;
        height: 56px;
        opacity: 0.18;
        background-size: 13px 13px;
    }
}

/*-----END::PILLARS-----*/