﻿:root {
    --primary: #5c75c3;
    --light-blue: #dcedfe;
    --pink: #fa7071;

    --container-width: 1856px;
}

* {
    z-index: 1;
    padding: 0;
    margin: 0;
    font-family: 'Heebo', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    font-size: 20px;
}

@media (max-width: 1280px) {
    html, body {
        font-size: 16px;
    }
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

h1 span.preheader {
    font-size: .6em;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p,
li{
    font-weight: 200;
}

ul {
    padding-left: 1rem;
    margin-bottom: 1.25rem;
}

select {
    padding: 5px 48px 5px 13px;
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: .5rem;
    cursor: pointer;
}

select option {
    font-weight: 200;
}

img {
    width: 100%;
}

section {
    padding: 4.5rem 0;
}
section:nth-child(2n+2) {
    background-color: var(--light-blue);
}

.container {
    max-width: var(--container-width);
    padding: 0px 32px;
    margin: 0 auto;
}

.cols--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 1000px) {
    .cols--two {
        grid-template-columns: 1fr;
    }
}

.cols--two div > video:only-child {
    width: 100%;
    border-radius: .5rem;
    height: auto;
    box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.75);
}
.cols--two div > iframe:only-child {
    width: 100%;
    border-radius: .5rem;
    aspect-ratio: 16/9;
    box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.75);
}
.cols--two div:has(img:only-child){
    display: flex;
}
.cols--two div > img:only-child {
    width: 100%;
    height: fit-content;
    border-radius: .5rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.75);
    object-fit: contain;
}

.btn,
input[type=button],
input[type=submit] {
    background-color: #5c75c3;
    color: #ffffff;
    /*font-size: 25px;*/
    font-size: 1rem;
    font-weight: 300;
    /*padding: 25px 65px 25px 65px;*/
    padding: 10px 16px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    display: block;
    width: fit-content;
    text-decoration: none;
}

input[type=checkbox] {
    width: 1rem;
    height: 1rem;
}

/* Header */
.header {
    padding-top: 32px;
    margin: 0px 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 2000px) {
    .header {
        max-width: var(--container-width);
        padding-left: 32px;
        padding-right: 32px;
        margin: 0 auto;
    }
}

.header .header__icon {
    height: fit-content;
    width: fit-content;
    max-height: 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 32px;
    cursor: pointer;
}

.header .header__icon img {
    height: 100px;
    width: 100px;
}

.header .header__icon span {
    font-size: 1.8rem;
    word-break: keep-all;
    white-space: nowrap;
}

.header .header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.header .header__burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 2px;
}

.header .header__nav {
    width: fit-content;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-item {
    padding: 8px;
    font-size: 1rem;
    font-weight: 200;
    text-decoration: none;
    color: #000;
    word-break: keep-all;
    white-space: nowrap;
}

.header .header__nav > a:last-of-type {
    background-color: #5c75c3;
    color: #ffffff;
    font-weight: 300;
    padding: 10px 16px;
    border-radius: 15px;
    margin-left: 8px;
}

.nav-group {
    position: relative;
    z-index: 2;
    padding: 8px 0px;
}

.nav-group.show {
    z-index: 3;
}

.nav-group .nav-items {
    position: absolute;
    top: 2rem;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    display: none;
    flex-direction: column;
    border-radius: .5rem;
    padding: 8px;
}

.nav-items::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 1.5rem;
    width: 10px;
    height: 10px;
    background: white;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    transform: rotate(45deg);
    z-index: 3;
}

.nav-group.show .nav-items {
    display: flex;
}

.nav-item:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .header {
        flex-wrap: wrap;
    }

        .header .header__burger {
            display: flex;
        }

        .header .header__icon {
            gap: 16px;
        }

            .header .header__icon img {
                height: 60px;
                width: 60px;
            }

        .header .header__nav {
            display: none;
            flex-direction: column;
            width: 100%;
            background-color: #fff;
            position: absolute;
            top: 100%;
            left: 0;
            padding: 16px;
            border-top: 1px solid #ccc;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

    .header__nav.show {
        display: flex;
    }

    .header .nav-item {
        font-size: 1.2rem;
        text-align: center;
    }

    .header .nav-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header .nav-group .nav-items {
        position: relative;
        top: 0;
        left: 0;
        border: none;
        box-shadow: none;
        display: none;
    }

    .header .nav-group.show .nav-items {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0px;
        border-bottom: 1px solid var(--primary);
    }

    .header .nav-items::before {
        top: 0px;
        left: unset;
        border-left: 1px solid var(--primary);
        border-top: 1px solid var(--primary);
    }
}



/* Footer */
.footer section {
    background: var(--primary);
    color: #fff;
}

.footer .container {
    display: grid;
    grid-template-columns: 7fr 3fr 2fr;
}

.footer .footer__about p {
    margin-bottom: 2rem;
}

.footer .footer__about a {
    color: #fff;
}

.footer .footer__nav {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.footer .footer__nav .nav-item {
    color: #fff;
}

.footer .footer__nav .nav-items .nav-item {
    color: #000;
}

@media (max-width: 600px) {
    .footer .container {
        grid-template-columns: 1fr 1fr;
    }
    .footer .footer__nav {
        order: 1;
    }
    .footer .footer__nav > .nav-group > .nav-item,
    .footer .footer__nav > .nav-item {
        padding-left: 0px;
    }
    .footer .footer__icon {
        order: 2;
    }
    .footer .footer__about {
        margin-top: 1rem;
        order: 3;
        grid-column: 1 / 3;
    }
}


/* Homepage */
.hero {
    position: relative;
    min-height: 600px;
    height: 100%;
}

.hero .cols--two div > img:only-child {
    position: absolute;
    bottom: 32px;
    right: 0px;
    max-width: calc(var(--container-width) / 2);
    width: 100%;
    height: auto;
    z-index: -1;
    box-shadow: unset;
}

@media (max-width: 1000px) {
    .hero .cols--two div > img:only-child {
        max-height: 600px;
        max-width: 100%;
        width: auto;
    }
}

.hero .cols--two div:has(img:last-child) {
    z-index: -1;
}

.homepage .ourapps h3 + p {
    font-size: 1.3rem;
}

/* Carousel */
.carousel {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.carousel__items {
    display: flex;
    /*wrap: nowrap;*/
    overflow: hidden;
    width: 100%;
    max-width: 800px;
}

.carousel__item {
    position: relative;
    min-width: 100%;
    transition: all 0.5s linear;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.carousel__nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    border-radius: 50%;
    margin-top: 16px;
}

.carousel__nav-item {
    height: 10px;
    width: 10px;
    background-color: var(--light-blue);
    border-radius: 50%;
    cursor: pointer;
}

.carousel__nav-item.active {
    background-color: var(--primary);
}

/* Testimonials */
.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0 32px;
}

.testimonial p:nth-of-type(1) {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: auto;
}
.testimonial p:nth-of-type(2) {
    font-size: 1rem;
    text-align: center;
    font-weight: 400;
    margin-top: 1rem;
}
.testimonial p:nth-of-type(3) {
    font-size: 0.8rem;
    text-align: center;
    opacity: .75;
}

.ul--valid8 {
    list-style: none;
    padding-left: 0px;
}

.ul--valid8 li {
    position: relative;
    padding-left: 50px;
    margin-top: 1.25rem;
}

.ul--valid8 li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
}

.ul--valid8 li:nth-child(1):before {
    background-image: url('/images/emaillist.svg');
}

.ul--valid8 li:nth-child(2):before {
    background-image: url('/images/realtime.svg');
}

.ul--valid8 li:nth-child(3):before {
    background-image: url('/images/management.svg');
}

.ul--valid8 li:nth-child(4):before {
    background-image: url('/images/retry.svg');
}

.features p{
    margin-bottom: 2rem;
}

.faq-section h3 {
    font-size: 1.6rem;
}

.faq-section p:nth-of-type(2n+1) {
    font-weight: 300;
}
.faq-section p:nth-of-type(2n+2) {
    margin-bottom: 1rem;
}

/* Plans Slider */
.plans-slider {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.plans-slider div:nth-of-type(1) div {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: .25rem;
}
.plans-slider div:nth-of-type(1) > p {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}
.plans-slider div:nth-of-type(1) div:nth-of-type(2) {
    justify-content: space-between;
}
.plans-slider div:nth-of-type(1) div:nth-of-type(2) span[data-id] {
    text-align: center;
    width: 100%;
    max-width: 90px;
    font-weight: 200;
    user-select: none;
}
.plans-slider div:nth-of-type(1) div input[type=range] {
    width: calc(100% - 37px);
}

.plans-slider__plan {
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 1px solid #ccc;
    margin-bottom: .6rem;
    box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.75);
    border-radius: .5rem;
    min-height: 310px;
    padding: 1rem;
    background-color: #fff;
    max-width: 360px;
    margin: 0 auto;
}

.plans-slider__plan.hidden {
    display: none;
}

.plans-slider__plan p {
    font-weight: 300;
    text-transform: uppercase;
    margin: 28px 0 8px;
    text-align: center;
    padding: 0 8px;
    font-size: 1.8rem;
}
.plans-slider__price {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.plans-slider__price span:first-of-type {
    font-size: 1rem;
    align-self: start;
    padding-top: 8px;
    font-weight: 200;
}
.plans-slider__price span:only-child,
.plans-slider__price span[data-currency] {
    color: var(--primary);
    font-weight: 300;
    font-size: 2rem;
}
.plans-slider__price span[data-currency].hidden {
    display: none;
}

.plans-slider__price span:last-of-type {
    font-weight: 200;
    align-self: end;
    padding-bottom: 8px;
}

@media (max-width: 1200px) {
    .plans-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 750px) {
    .plans-slider div:nth-of-type(1) div:nth-of-type(2) span[data-id] {
        display: none;
    }
    .plans-slider div:nth-of-type(1) div:nth-of-type(2) span.selected[data-id] {
        display: block;
        margin: 0 auto;
    }
}

.ul--contact {
    list-style-type: none;
    padding-top: 25px;
    padding-left: 0px;
}

.ul--contact li {
    background-repeat: no-repeat;
    padding-left: 60px;
    height: 40px;
    margin-bottom: 40px;
}

.ul--contact li:nth-child(1) {
    background-image: url('/images/email.svg');
}

.ul--contact li:nth-child(2) {
    background-image: url('/images/telephone.svg');
}

.ul--contact a {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: .8rem;
}

.input-group label {
    font-weight: 200;
    font-size: 1rem;
}

.input-group input[type=text],
.input-group textarea {
    padding: 4px 8px;
    border-radius: .5rem;
    font-size: 1rem;
    border: 1px solid var(--light-blue);
    font-weight: 200;
}

.input-group span {
    color: var(--pink);
    font-weight: 300;
    font-size: .8rem;
}

.input-group:has(span:not([style])) select,
.input-group:has(span:not([style])) textarea,
.input-group:has(span:not([style])) input[type=text] {
    border: 1px solid var(--pink);
}

.form {
    border-radius: .5rem;
    padding: 32px;
    background-color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 2px 4px 5px 0px rgba(0,0,0,0.5);
    margin-top: .8rem;
}

.form hr {
    margin: 1rem 0;
    color: var(--primary);
}

.support-form,
.partner-form {
    max-width: calc(var(--container-width) / 2);
    margin-left: auto;
    margin-right: auto;
}

.ul--partner li {
    margin-top: 1rem;
}

.ul--partner li span {
    font-weight: 400;
}

/* Tabbed Content */
.tabbed-content__tabs {
    display: flex;
}
.tabbed-content__tabs button {
    border: 1px solid var(--primary);
    border-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    background-color: #fff;
    padding: .5rem 1rem;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    cursor: pointer;
}
.tabbed-content__tabs button.selected {
    background-color: var(--primary);
    color: #fff;
}

.tabbed-content__content {
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid var(--primary);
}

.tabbed-content__section {
    display: none;
}

.tabbed-content__section.selected {
    display: block;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 1000px) {
    .youtube-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .youtube-grid {
        grid-template-columns: 1fr;
    }
}

.youtube-grid--video iframe {
    aspect-ratio: 16/9;
    width: 100%;
}