@use "../utils" as *;

/*----------------------------------------*/
/* investment plan css
/*----------------------------------------*/
.investment-plan-bg {
    position: absolute;
    top: -80px;
    inset-inline-start: 0;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 60%;
    z-index: -1;
}
.investment-item {
    padding: 20px 20px;
    position: relative;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    border-radius: 20px;
    &.plan-active {
        background: #1b1e23;
        &:before {
            position: absolute;
            content: "";
            inset: 0;
            @include border-radius(20px);
            padding: 1px;
            background: linear-gradient(
                303deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.43) 100%
            );
            -webkit-mask: linear-gradient(var(--td-white) 0 0) content-box,
                linear-gradient(var(--td-white) 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            z-index: -1;
        }
        .btn-inner {
            opacity: 1;
            visibility: visible;
        }
    }
    .investment-heading {
        display: flex;
        align-items: end;
        gap: 10px;
        margin-bottom: 18px;
        position: relative;
        padding-bottom: 20px;
        &::before {
            position: absolute;
            content: "";
            height: 1px;
            width: 100%;
            bottom: 0;
            inset-inline-start: 0;
            background: linear-gradient(
                90deg,
                rgba(255, 255, 255, 1) 0%,
                rgba(255, 255, 255, 0) 100%
            );
            opacity: 0.4;
        }
        .title {
            font-size: 24px;
            @media #{$xxl,$xl,$md,$sm,$xs} {
                font-size: 20px;
            }
        }
        .info-badge {
            font-size: 12px;
            font-weight: 500;
            color: var(--td-secondary);
        }
    }
    .investment-plan-list {
        ul {
            display: grid;
            grid-template-columns: auto auto;
            gap: 25px;
            @media #{$xl} {
                gap: 20px 10px;
            }
            li {
                list-style: none;
            }
        }
    }
    .investment-plan-content-list {
        .price-info {
            font-size: 14px;
            font-weight: 600;
            color: var(--td-secondary);
            margin-bottom: 10px;
            display: block;
        }
        .list-info {
            display: flex;
            align-items: center;
            gap: 8px;
            span {
                font-size: 14px;
                font-weight: 500;
                color: rgba($white, $alpha: 0.7);
                @media #{$xl} {
                    font-size: 12px;
                }
            }
        }
    }
    .btn-inner {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: space-between;
        margin-top: 40px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        .short-info {
            font-size: 10px;
        }
    }
    .shape-star {
        position: absolute;
        inset-inline-end: 0;
        top: 0;
    }
}
