@use '../../utils' as *;

/*----------------------------------------*/
/* Pricing styles
/*----------------------------------------*/
.price-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.investment-item {
    border-radius: 13.48px;
    border: 1px solid rgba($white, $alpha: 0.12);
    padding: 20.22px;
    position: relative;
    backdrop-filter: blur(4.3px);
    transition: .3s;
    z-index: 20;

    &:hover {
        background: var(--td-black-alt);
        border-color: rgba($white, $alpha: 0.1);
        box-shadow: -6px 6px 25px 0px rgba(101, 84, 255, 0.2);

        .plan-heading {
            .title {
                background: linear-gradient(95.42deg, $primary 0%, $primary-alt 100%);
                background-clip: text;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
        }
        .btn-inner {
            .td-btn {
                position: relative;
                z-index: 1;
                &::before {
                    position: absolute;
                    content: "";
                    height: 100%;
                    width: 100%;
                    top: 0;
                    left: 0;
                    background: linear-gradient(95.42deg, rgb(108, 115, 255) 0%, rgb(56, 64, 247) 100%);
                    transition: 0.4s;
                    @include border-radius(8px);
                    opacity: 0;
                    z-index: -1;
                }
                &:hover {
                    border-color: transparent;
                    color: var(--td-white);
                    &::before {
                        opacity: 1;
                    }
                }
            }
        }
    }

    .plan-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        position: relative;
        margin-bottom: 20px;
        padding-bottom: 20px;

        &::before {
            position: absolute;
            content: "";
            height: 1px;
            width: 100%;
            bottom: 0;
            left: 0;
            background: linear-gradient(95.42deg, rgba(189, 124, 240, 0.5) 49.50000047683716%, rgba(3, 3, 3, 1) 100%);
        }

        .title {
            color: var(--td-pale-cornflower-blue);
            text-align: left;
            font-family: "Tomorrow-SemiBold", sans-serif;
            font-size: 16px;
            font-weight: 600;
            position: relative;
        }

        .info-badge {
            background: rgba(53, 215, 156, 0.1);
            border-radius: 360px;
            padding: 6px 12px 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #35d79c;
            font-size: 14px;
            font-weight: 600;
            position: relative;

            &.yellow {
                color: var(--td-yellow);
                background-color: rgba($yellow, $alpha: 0.1);
            }
        }
    }

    .plan-list {
        ul {
            li {
                list-style: none;

                &:not(:last-child) {
                    margin-bottom: 5px;
                }
            }
        }
    }

    .plan-content-list {
        display: inline-flex;
        gap: 6.74px;
        align-items: center;
        height: 33.69px;
        position: relative;
        width: 100%;
        justify-content: space-between;

        .list-info {
            display: flex;
            gap: 6px;
        }
    }

    .btn-inner {
        margin-bottom: 16px;
        margin-top: 45px;
    }

    .bottom-contents {
        .description {
            text-align: center;
            font-size: 12px;
            padding: 0 25px;
            font-style: italic;
        }
    }
}