/*********************  PLANS ***************************************************************/

/* Used in plans and packages */
section#plans,
section#packages {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
    padding: 6% 5%;
    background-color: #f5f5f5;
    margin-top: 84px;
}
section#packages {
    margin-top: 0;
}
@media screen and (max-width: 1150px) {
    section#plans,
    section#packages {
        padding: 60px 40px;
    }
}
@media screen and (max-width: 840px) {
    section#plans,
    section#packages {
        padding: 60px 20px;
    }
}
section#plans h1 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 58px;
    color: var(--liana-black);
    text-transform: none;
}
@media screen and (max-width: 768px) {
    section#plans h1 {
        font-size: 48px;
    }
}
@media screen and (max-width: 600px) {
    section#plans h1 {
        font-size: 40px;
        line-height: 100%;
    }
}
.plans-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #7b7b7b;
    line-height: 147%;
    max-width: 580px;
    text-align: center;
}
@media screen and (max-width: 840px) {
    .plans-description {
        line-height: 120%;
    }
}
.btn-text {
    font-size: 16px;
}
.plan-cards-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 40px;
    max-width: 1200px;
    margin-top: 20px;
}
@media screen and (max-width: 1150px) {
    .plan-cards-container {
        gap: 20px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .safetynet-cards-container {
        flex-wrap: nowrap;
    }
}
@media screen and (max-width: 1000px) {
    .safetynet-cards-container {
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 840px) {
    .plan-cards-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-top: 20px;
    }
    .safetynet-cards-container {
        -ms-flex-direction: row;
        flex-direction: row;
    }
}
.plan-card {
    height: auto;
    max-width: 550px;
    width: 100%;
    background-color: #fff;
    border-radius: 0px 40px;
    padding: 30px;
    border: 7px solid;
    border-color: var(--liana-green);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /*   transform: scale(100%); */
    /*   transition: all 0.5s; */
}
@media (hover: hover) {
    /*   .plan-cards-container .plan-card:hover {
    transform: scale(102%);
  } */
}
@media screen and (max-width: 840px) {
    .plan-card {
        max-width: 600px;
        padding: 20px;
    }
}
.plan-card .card-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
}
.plan-card .card-content .badge {
    background-color: var(--liana-light-grey);
    border-radius: 5px;
    padding: 4px 12px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #000b33;
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
}

.plan-card .card-content .badge.inheritance-plan {
    background-color: var(--liana-black);
    color: var(--liana-green);
}
.plan-card .card-content .description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #373737;
}
.plan-card .card-content hr {
    background-color: #dedede;
    height: 1px;
    border: 0;
    margin: 0;
}
.plan-card .card-content .price {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 60px;
    color: var(--liana-black);
    text-transform: uppercase;
    line-height: 50px;
    height: 50px;
}
.price-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--liana-black);
}
.price-from {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: var(--liana-black);
    margin-bottom: -10px;
}
.card-content ul.specs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
}
ul.specs li.spec-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 6px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #373737;
    line-height: 126%;
    letter-spacing: -0.015em;
}

li.spec-item img {
    height: 20px;
    width: 20px;
}

li.spec-item .badge-coming-soon {
    background-color: #c9fad6;
    border-radius: 4px;
    padding: 0 4px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: #1aa703;
    white-space: nowrap;
}
li.spec-item a {
    font-weight: 600;
}
@media (hover: hover) {
    li.spec-item a:hover {
        text-decoration: underline;
    }
}

.plan-card .card-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
}
.plan-card .card-footer a {
    width: 100%;
}
.plan-card .card-footer .text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--liana-black);
    text-align: center;
}
.plan-card .card-footer .text-btn {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--liana-black);
    text-decoration: underline;
    width: 100%;
    text-align: center;
}
@media (hover: hover) {
    .plan-card .card-footer .text-btn:hover {
        color: var(--liana-green);
    }
}

/* NEW STYLES */

.plan-card.free {
    border-color: var(--liana-light-grey);
}
.plan-card.free .price {
    color: var(--liana-grey);
}
.plan-card.free .price-description {
    color: #5f5f5f;
}

/* Packages */
section#packages {
    background-color: var(--liana-black);
}
section#packages h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 58px;
    color: #fff;
    text-transform: none;
    text-align: center;
}
@media screen and (max-width: 768px) {
    section#packages h2 {
        font-size: 48px;
    }
}
@media screen and (max-width: 600px) {
    section#packages h2 {
        font-size: 40px;
        line-height: 100%;
    }
}
section#packages .description {
    color: var(--liana-grey);
}
.plan-card.packages {
    max-width: 350px;
    background-color: #181818;
    border-radius: 0px 0 40px 0;
    border: 4px solid #7b7b7b;
}
.card-content .badge.badge-with-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--liana-green);
    background-color: #373737;
    gap: 6px;
}
.card-content .badge.badge-with-icon .text {
    font-size: 18px;
    white-space: nowrap;
    font-weight: 400;
    line-height: 24px;
}
.card-content .badge.badge-with-icon span {
    font-weight: 700;
    line-height: 24px;
    font-size: 18px;
}
.badge.badge-with-icon svg {
    height: 24px;
    width: auto;
}
section#packages .plan-card .card-content hr {
    background-color: #575757;
}
section#packages .plan-card .card-content .price {
    color: #fff;
}
.plan-card .card-content .price .small-text {
    font-size: 30px;
    text-transform: lowercase;
}
section#packages .price-description {
    color: var(--liana-grey);
}
section#packages ul.specs li.spec-item {
    font-size: 15px;
    color: var(--liana-light-grey);
}
section#packages .card-footer .btn-primary-liana {
    border: 1px solid #575757;
}

/************************* Safety Net *************************/

section.safety-net.plans {
    padding: 5% 10%;
    background-image: url(/assets/images/liana/bg_safetynet.svg);
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    margin-top: 94px;
}
section.safety-net.plans .container-left {
    flex-basis: 50%;
}
section.safety-net.plans .description {
    font-size: 18px;
}

.plan-card .card-content .price.safety-net {
    font-size: 24px;
    text-decoration: underline;
}
section.safety-net.plans .container-left {
    gap: 30px;
}
.safety-net.plans .heading {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.safety-net.plans .plan-card {
    max-width: 450px;
}

.description-sn {
    font-size: 18px;
    line-height: 25px;
    text-align: right;
}
.description-sn a {
    font-weight: 700;
}
@media (hover: hover) {
    .description-sn a:hover {
        text-decoration: underline;
    }
}

#section-pricing {
    max-width: 1200px;
    margin: auto;
    margin-top: 10%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#section-pricing p.description {
    font-size: 18px;
    line-height: 32px;
}
#section-pricing p.description a {
    font-weight: 700;
}
@media (hover: hover) {
    #section-pricing p.description a:hover {
        text-decoration: underline;
    }
}

.safety-net .price-description {
    font-weight: 300;
}

/* New safety net styles */

.logo-sn {
    margin-top: 20px;
    max-width: 500px;
}

.safetynet-cards-container {
    gap: 20px;
}
.safety-net .plan-card.safetynet-tier-cards {
    height: auto;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 0;
    max-width: none;
}

.plan-card.safetynet-tier-cards.bottom {
    width: 100%;
    max-width: none !important;
}
.plan-card.safetynet-tier-cards.bottom {
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
    margin-top: 20px;
}
.safetynet-tier-cards.bottom .card-content {
    flex-direction: row;
    justify-content: space-between;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
    border-bottom: 7px solid #f2f2f2;
}
.safetynet-tier-cards .card-content .price {
    font-size: 46px;
}
.card-header {
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
}

.card-header svg {
    height: 24px;
    width: 24px;
}

.card-header h6 {
    text-transform: uppercase;
    color: var(--liana-black);
    font-size: 20px;
    font-weight: 300;
    white-space: nowrap;
}

.safetynet-tier-cards .card-content {
    border-right: 7px solid #f2f2f2;
    border-left: 7px solid #f2f2f2;
    padding: 20px;
}

.safetynet-tier-cards .card-content .badge {
    background-color: #ffe9cf;
    color: var(--liana-black);
    height: fit-content;
}

.safetynet-tier-cards .price-from {
    font-size: 14px;
}
.safetynet-tier-cards .price-description {
    font-weight: 300;
}

.safetynet-tier-cards .card-footer {
    padding: 0 20px 20px;
    border-left: 7px solid #f2f2f2;
    border-right: 7px solid #f2f2f2;
    border-bottom: 7px solid #f2f2f2;
    margin: 0;
}

.safetynet-tier-cards .card-footer .btn-primary-liana {
    color: #fff;
    text-transform: none;
}
@media (hover: hover) {
    .safetynet-tier-cards .card-footer .btn-primary-liana:hover {
        color: var(--liana-black);
    }
}

p.text-pricing-description {
    font-size: 14px;
    line-height: 20px;
    color: var(--grey-darker);
    max-width: 1200px;
    margin: auto;
    margin-top: 30px;
    text-align: justify;
}

/******************************** MEDIA QUERIES ********************************/

@media screen and (max-width: 1100px) {
    section.safety-net.plans {
        padding: 8% 5%;
    }
}
@media screen and (max-width: 1000px) {
    .safety-net.plans .wrapper-safety-net {
        flex-direction: row;
    }
    .pricing-item {
        flex-direction: column;
        justify-content: flex-start;
    }
    .safetynet-cards-container {
        max-width: 450px;
        margin: auto;
    }
}

@media screen and (max-width: 850px) {
    section.safety-net.plans {
        padding: 8%;
    }
    .safety-net.plans .wrapper-safety-net {
        gap: 40px;
    }
    .safety-net .plan-card {
        max-width: none;
    }
    .safety-net.plans .wrapper-safety-net {
        flex-direction: column;
        align-items: center;
    }
    .safety-net.plans .description {
        max-width: none;
    }
    ection.safety-net.plans .container-left {
        flex-basis: 100%;
    }
}
@media screen and (max-width: 700px) {
    p.text-pricing {
        font-size: 16px;
        text-align: center;
    }
    .safetynet-tier-cards.bottom .card-content {
        flex-direction: column;
    }
    .description-sn {
        text-align: left;
    }
}
@media screen and (max-width: 650px) {
    .right-text {
        flex-direction: column;
    }
}

/* ORGANIZE */

#section-safety-net {
    height: 0;
    width: 0;
}
