.plans_section{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding-top: 160px;
    padding-bottom: 150px;
    padding-left: 18%;
    padding-right: 18%;
    overflow: hidden;
}

/* plans section mini text */

.plans_section_mini_text{
    width: 420px;
    max-width: 100%;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
    color: var(--text3);
}

/* --- Plan cards --- */

@keyframes appearPlanCards {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.plan_cards{
    width: 100%;
    height: fit-content;
    margin-top: 140px;
    display: flex;
    gap: 20px;
    transform-origin: bottom;
    animation: appearPlanCards 1s ease-in-out forwards;
}

/* --- Plan card --- */

.plan_card{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 20px;
    background: var(--component);
}

/* --- Second plan card --- */

.plan_card:nth-of-type(2){
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border: 1px solid var(--blue);
    position: relative;
}

/* plan card blue label */

.plan_card_blue_label{
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: var(--blue);
    font-size: 12px;
    color: white;
    position: absolute;
    top: -25px;
    left: 0;
}

/* --- Plan card info --- */

.plan_card_info{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-radius: 10px;
    background: white;
}

/* title */

.plan_card_info p:nth-of-type(1){
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    color: var(--text1);
}

/* text */

.plan_card_info p:nth-of-type(2){
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text2);
}

/* price */

.plan_card_info p:nth-of-type(3){
    font-size: 35px;
    color: var(--text1);
}

.plan_card_info p:nth-of-type(3) span{
    font-size: 14px;
    color: var(--text2);
}

/* link */

.plan_card_info a{
    width: 100%;
    margin-top: 10px;
}

/* --- Plan card benefits --- */

.plan_card_benefits{
    width: 100%;
    height: fit-content;
    margin-top: 20px;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Benefit --- */

.plan_card_benefit{
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text2);
}

.plan_card_benefit.disabled{
    opacity: 0.3;
}

/* stauts icon */

.plan_card_benefit img{
    width: 16px;
    height: 16px;
    opacity: 0.5;
}


/* --- MEDIA --- */

@media screen and (max-width: 1500px) {
    
    .plan_cards{
        margin-top: 90px;
        flex-direction: column;
        gap: 30px;
    }

    /* --- Plan card --- */

    .plan_card:nth-of-type(2){
        margin-top: 30px;
    }

    /* plan card info text */

    .plan_card_info p:nth-of-type(2){
        width: 380px;
    }

    /* plan card info link */

    .plan_card_info a{
        width: 380px;
    }
}

@media screen and (max-width: 820px) {
    
    .plans_section{
        padding-top: 120px;
        padding-bottom: 90px;
        padding-left: 8%;
        padding-right: 8%;
    }

    /* --- Plan cards --- */

    .plan_cards{
        margin-top: 60px;
        animation: appearPlanCards 1.5s ease-in-out forwards;
    }

    /* plan card info text */

    .plan_card_info p:nth-of-type(2){
        width: 70%;
    }

    /* plan card info link */

    .plan_card_info a{
        width: 100%;
    }
}

@media screen and (max-width: 600px) {

    .plan_card_info p:nth-of-type(2){
        width: 100%;
    }
}