/*** general ***/
body {
    background-color: var(--color-grey-light);
}

/*** pricing-hero ***/
.pricing-hero {
    background-image: url(/assets/images/app/public/pricing/pricing_hero_corner_flair.png);
    background-repeat: no-repeat;
    background-size: 300px;
    background-position: bottom right;
}
.pricing-hero-content {
    padding: 300px 0 50px;
    background: url(/assets/images/app/public/pricing/pricing_hero.jpg) no-repeat center center;
    color: #ffffff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 200px), calc(100% - 200px) 100%, 0 100%);
}

.pricing-hero p,
.pricing-hero h1 {
    width: 50%;
    margin: 0 auto;
    color: #ffffff;
}

.pricing-hero__text > p {
    font-family: var(--font-family-primary);
}

.pricing-hero__img-cnt {
    padding-top: 50px;
}

.pricing-hero__img-cnt img {
    float: right;
}

/*** plan-section ***/
.plan {
    overflow: hidden;
    padding: 100px 0 100px 0;
    position: relative;
    background-repeat: no-repeat;
    background-image: url(/assets/images/app/public/pricing/pricing_plan_corner_bg.png);
    background-position: bottom left;
    background-color: var(--color-grey-light); /* based off figma, it should be #F6F6F6; */
    background-size: 40%;
}

.plan__billing {
    display: inline-block;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2px;
    border: 1px solid var(--color-grey-dark);
    text-align: center;
    border-radius: 25px;
    width: auto;
}
.plan__billing .btn-group {
    background: #ffffff;
    border-radius: 20px;
}
.plan__billing .btn {
    font-family: var(--font-family-primary);
    border-radius: 25px !important;
    margin-left: 0 !important;
}
.plan__billing .btn-primary {
    background-color: var(--color-red);
}
.plan__billing .btn-secondary {
    position: relative;
    background-color: transparent;
}
.plan__billing .btn:nth-child(2) .discount-label {
    position: relative;
    font-size: 0;
    line-height: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
}
.plan__billing .btn:nth-child(2) .discount-label::after {
    content: "";
    display: block;
    position: absolute;
    right: -50px;
    width: 88px;
    height: 54px;
    background-image: url(/assets/images/app/public/pricing/pricing_plan_discount_code_20.png);
    background-size: contain;
    transform: translateY(-100%);
}
.plan__billing .btn-secondary:hover,
.plan__billing .btn-secondary:active,
.plan__billing .btn-secondary:focus,
.plan__billing .btn-secondary:active:hover,
.plan__billing .btn-secondary:active:focus {
    background:#f1f2f4;
    color: #777;
}

.plan__item {
    background: #fff;
    border-radius: 25px;
    text-align: center;
    display: block;
    position: relative;
    border: 1px solid var(--color-grey-dark);
    padding: 40px;
}
.plan__item h2 {
    font-family: var(--font-family-primary);
    color: var(--color-text-sec);
    font-size: 21px;
    font-weight: 600;
    line-height: 25.6px;
}

.plan__name {
    display: inline-block;
    margin-bottom: 40px;
    color: var(--color-text-sec);
    font-family: var(--font-family-primary);
    background-color: rgba(1, 195, 99, 0.15);
    font-size: 14px;
    font-weight: 600;
    line-height: 19.32px;
    letter-spacing: 0.02em;
    text-align: center;
    border-radius: 25px;
    padding: 5px 15px;
}

.plan__info {
    font-family: var(--font-family-primary);
    color: var(--color-text-sec);
}

.plan__icon svg.svg-icon {
    width: 60px;
    height: 60px;
}

.plan__price-base {
    font-family: var(--font-family-primary);
    color: var(--color-btn-primary);
    font-size: 80px;
    font-weight: 600;
    line-height: 72.74px;
    letter-spacing: -0.02em;
    text-align: center;
}
.plan__price-currency, .plan__price-dec {
    font-family: var(--color-btn-primary);
    font-size: 21.35px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 0.03em;
    text-align: left;
    vertical-align: top;
}

.plan__period {
    display: block;
    font-family: var(--font-family-primary);
    text-align: center;
}

/*** customer-voice ***/
.customer-voice {
    position: relative;
    z-index: 1;
    padding: 100px 0 400px;
    background-color: var(--color-btn-primary);
    color: #ffffff;
}
.customer-voice:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url(/assets/images/app/public/pricing/pricing_customer_voice_bg.png);
    background-repeat: no-repeat;
    background-position: top 15% right;
    background-size: 400px;
}
.customer-voice h2 {
    color: #ffffff;
}

.customer-voice__content {
    margin-top: 0;
}
.customer-voice__image {
    max-width: 100%;
}
.customer-voice__description {
    font-family: var(--font-family-primary);
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.01em;
    text-align: left;
    margin-bottom: 60px;
}

.customer-voice__name {
    font-size: 15px;
    font-weight: 800;
    line-height: 17.58px;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.customer-voice__location {
    font-family: var(--font-family-primary);
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
    line-height: 15.23px;
    letter-spacing: 0.17em;
    text-align: center;
    text-transform: uppercase;
}

.customer-voice__message {
    font-family: var(--font-family-primary);
    font-size: 23px;
    font-weight: 500;
    line-height: 34px;
    width: 80%;
}

.customer-voice__message,
.customer-voice__name,
.customer-voice__location {
    text-align: left;
}

/*** pros ***/
.pros {
    overflow: hidden;
    position: relative;
    z-index: 3;
    margin-top: -300px;
    margin-bottom: -100px;
    clip-path: polygon(0 0, calc(100% - 200px) 0, 100% 200px, 100% 100%, 0 100%);
}

.pros img {
    position: relative;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/*** features ***/
.features {
    position: relative;
    z-index: 3;
    padding: 100px 0 100px;
    background-color: white;
    overflow: hidden;
    clip-path: polygon(100px 0%, 100% 0%, 100% calc(100% - 100px), calc(100% - 100px) 100%, 0% 100%, 0% 100px);
}
.features::before {
    content: "";
    display: block;
    position: absolute;
    top: 1400px;
    right: 0;
    width: 128px;
    height: 324px;
    background-image: url(/assets/images/app/public/pricing/pricing_features_flair.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.features::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 1400px;
    left: 0;
    width: 128px;
    height: 324px;
    transform: scale(-1, 1);
    background-image: url(/assets/images/app/public/pricing/pricing_features_flair.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.features__sub-title {
    font-family: var(--font-family-primary);
    margin-bottom: 60px;
}

.features__search-container {
    padding: 20px 0 50px 0;
}
.features__search-container.affix {
    top: 84px;
    width: 100%;
    background: #fff;
    padding: 20px 0 20px 0;
}

.features__search {
    position: relative;
    padding-right: 455px;
}

.features__search-input-container {
    position: relative;
}
.features__search-input {
    font-family: var(--font-family-primary);
    height: 44px;
    font-size: 18px;
    border-top: none;
    border-left: none;
    border-right: none;
    background-image: url(/assets/images/app/public/pricing/pricing_features_icon_search.svg);
    background-position: 8px center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    padding-left: 50px;
    padding-right: 50px;
}
.features__search-reset {
    position: absolute;
    right: 5px;
    top: 9px;
    color: #858585;
    font-size: 18px;
    cursor: pointer;
    display: none;
}
.features__search-action {
    position: absolute;
    top: 0;
    right: 0;
}
.features__search-checkbox-cnt {
    display: inline-block;
    font-family: var(--font-family-primary);
    height: 44px;
    line-height: 44px;
    font-size: 14px;
    border-bottom: 2px solid var(--color-grey-dark);
    vertical-align: middle;
    padding: 0 5px;
    margin-right: 30px;
}
.features__search-checkbox-cnt input {
    width: 20px;
    height: 20px;
    vertical-align: text-bottom;
    color: black;
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    position: relative;
    border-radius: 2px;
    border: 2px solid var(--color-green);
    outline: none;
}
.features__search-checkbox-cnt input:checked {
    background-color: #01c363;
    border: none;
}
.features__search-checkbox-cnt input:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.features__group {
    margin: 0 0 60px 0;
    padding-left: 80px;
    position: relative;
}
.features__group__header-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
}
.features__group__header {
    padding: 16px 300px 20px 18px;
    position: relative;
}
.features__group__header h3 {
    font-family: var(--font-family-primary);
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    text-align: left;
}
.features__group__header-inc,
.features__group__header-addon {
    font-family: var(--font-family-primary);
    font-weight: 700;
    width: 120px;
    text-align: center;
}
.features__group__header-inc {
    position: absolute;
    top: 22px;
    right: 280px;
}
.features__group__header-addon {
    position: absolute;
    top: 22px;
    right: 90px;
}

.features__group__header-toggle {
    position: absolute;
    top: 22px;
    right: 20px;
    transition: all .5s; /* ease-in-out;*/
    display: inline-block;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.features__group__header-toggle svg {
    width: 20px;
    height: 20px;
}
.features__group.open .features__group__header-toggle {
    transform: rotate(225deg);
}

.features__group__item {
    border-top: 1px solid var(--color-grey-dark);
    padding: 15px 0 15px 15px;
    cursor: pointer;
}
.features__group__item.open {
    background-color: #f0f0f0;
}
.features__group__item-name {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-weight: 500;
    padding-right: 360px;
    position: relative;
    text-align: left;
}
.features__group__item-bullet {
    width: 20px;
    height: 15px;
    margin-right: 15px;
}

.features__group__item-checkmark {
    position: absolute;
    top: 3px;
    right: 280px;
    display: inline-block;
    width: 100px;
    height: 20px;
    text-align: center;
}
.features__group__item-checkmark svg {
    width: 20px;
    height: 20px;
}

.features__group__item-addon {
    position: absolute;
    top: 0;
    right: 100px;
    font-size: 14px;
    text-align: center;
}
.features__group__item-addon-mobile {
    display: none;
}

.features__group__item-toggle {
    position: absolute;
    line-height: 0;
    top: 3px;
    right: 20px;
    transition: all .5s; /* ease-in-out;*/
    display: inline-block;
    width: 12px;
    height: 12px;
    cursor: pointer;
}
.features__group__item-toggle svg {
    width: 100%;
    height: 100%;
}
.features__group__item.open .features__group__item-toggle {
    transform: rotate(225deg);
}

.features__group__item-content {
    text-align: left;
    padding: 20px 0 10px 40px;
}

/*** migration ***/
.migration {
    position: relative;
    top: -100px; /* give the bottom corner of features a gray bg */
    margin-bottom: -100px;
    padding: 280px 0 180px;
    background-color: var(--color-grey-light);
    background: url(/assets/images/app/public/pricing/pricing_migration_bg.png) no-repeat top right;
    background-size: cover;
}
.migration::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(/assets/images/app/public/pricing/pricing_mirgation_bg_keyboard.png) no-repeat bottom 20% right;
    background-size: 50%;
}

/*** faq ***/
.faq {
    position: relative;
    z-index: 2;
    padding: 100px 0 100px;
    background-color: #ffffff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), calc(100% - 100px) 100%, 0 100%);
}
.faq__title {
    margin-bottom: 100px;
    text-align: center;
}
.faq__icon svg {
    width: 40px;
    height: 40px;
}

.faq__item {
    border-top: 1px solid var(--color-grey-dark);
    padding: 15px 0 15px 15px;
    cursor: pointer;
    text-align: left;
}
.faq__item.open {
    background-color: #f0f0f0;
}
.faq__item-name {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-weight: 500;
    padding-right: 50px;
    position: relative;
    text-align: left;
}
.faq__item-toggle {
    position: absolute;
    line-height: 0;
    top: 3px;
    right: 20px;
    transition: all .5s; /* ease-in-out;*/
    display: inline-block;
    width: 12px;
    height: 12px;
    cursor: pointer;
}
.faq__item-toggle svg {
    width: 100%;
    height: 100%;
}
.faq__item.open .faq__item-toggle {
    transform: rotate(225deg);
}

.faq__item-content {
    text-align: left;
    padding: 20px 50px 20px 2px;
}

.faq__title-wrap {
    margin-bottom: 100px;
}

/*** cta ***/
.cta {
    position: relative;
    z-index: 1;
    margin-top: -200px;
    padding: 300px 0 100px;
    background-color: var(--color-btn-primary);
}

.cta__title h2,
.cta__title h4,
.cta__content p {
    font-family: var(--font-family-primary);
    color: #ffffff;
    text-align: center;
}

.cta__title h4 {
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.01em;
    width: 40%;
    margin: 0 auto;
}

.cta__content a {
    background-color: transparent;
    border: 1px solid #ffffff;
    font-size: 19px;
    font-weight: 800;
    line-height: 22.27px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.cta__content p {
    font-size: 13px;
    font-weight: 600;
    line-height: 15.23px;
}

/*** footer ***/
.footer-flair {
    position: absolute;
    z-index: 4;
    width: 100%;
    height: 100px;
}
.footer-flair::after {
    content: "";
    display: block;
    position: relative;
    top: -80px;
    left: 0;
    width: 128px;
    height: 330px;
    background-image: url(/assets/images/app/public/pricing/pricing_footer_bg.png);
    background-size: contain;
    background-repeat: no-repeat;
}