@import url("_vars-1D6A0yv.css");

h2 {
    font-size: 24px;
    line-height: 1.2em;
}

#global {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#main {
    flex: 1;
}

#header {
    position: sticky;
    top: 0;
    z-index: 999;

    #header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1439px;
        margin: 0 auto;
        padding: 20px;

        #header-left,
        #header-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }
    }

    .tippy-content {
        font-weight: bold;
    }

    &.mobile {
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        max-width: 100%;
        background-color: var(--light-color);
        text-align: center;

        .tippy-content {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
        }

        #header-left,
        #header-right {
            flex-direction: column;
        }

        #header-content {
            flex-direction: column;
            justify-content: center;
            gap: 20px;
        }

        .menu {
            display: flex !important;
            flex-direction: column;
            box-shadow: none;
            border: none;
        }

        #locale-suggestion,
        #hamburger {
            display: none !important;
        }

        #close-menu {
            display: block !important;
            margin-left: 0 !important;
            position: absolute;
            top: 40px;
            right: 40px;
            font-size: 32px;
        }
    }

    #hamburger {
        display: none;

        li {
            a {
                font-size: 20px;
            }
        }
    }

    #close-menu {
        display: none;
    }

    .menu {
        display: flex;
        align-items: center;
        background-color: var(--light-color);
        border-radius: 14px;
        border: 1px solid var(--border-color);
        padding: 5px;
        box-shadow: var(--main-box-shadow);

        & > li {
            list-style-type: none;

            & > a {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 4px;
                text-decoration: none;
                padding: 10px;
            }

            &.featured {
                & > a {
                    padding: 10px;
                    border-radius: 14px;
                    background-color: var(--main-color);
                    color: var(--light-color);
                    gap: 6px;
                    font-weight: bold;

                    &:hover {
                        background-color: var(--darken-main-color);
                    }
                }
            }
        }
    }

    #locale-suggestion {
        background-color: var(--main-color);
        color: var(--light-color);
        box-shadow: var(--main-box-shadow);

        a {
            color: var(--light-color);
            font-weight: bold;
            text-decoration: underline;
        }

        & > div {
            max-width: 1439px;
            width: 100%;
            margin: 0 auto;
            padding: 20px;
        }
    }
}

#hero {
    position: relative;
    margin-top: 20px;

    #hero-content {
        position: relative;
        max-width: 1439px;
        padding: 20px;
        margin: 0 auto;

        p {
            margin-bottom: 0;
        }
    }
}

.hero-centered {
    #hero {
        text-align: center;
    }
}

#content {
    max-width: 1439px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
}

.page-home {
    #main {
        padding-bottom: 0;
    }

    #hero {
        #hero-content {
            padding-bottom: 0;
        }

        .logo {
            margin-bottom: 20px;
        }

        h1 {
            display: inline-block;
            margin-bottom: 20px;
            font-size: 1.1em;
            font-weight: normal;
        }

        #heading {
            font-size: 48px;
            font-weight: bold;
            line-height: 1.2em;
        }
    }

    .video {
        border-radius: var(--main-border-radius);
        box-shadow: var(--main-box-shadow);
        border: var(--main-border);

        video {
            width: 100%;
            height: auto;
            object-fit: contain;
            border-radius: var(--main-border-radius);
        }
    }
}

.product-badges img {
    height: 45px;

    &.l {
        height: 80px;
    }
}

.full-width-section {
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
}

.front-image {
    display: block;
    border: var(--main-border);
    box-shadow: var(--main-box-shadow);
    border-radius: var(--main-border-radius);
}

.front-section {
    margin-top: 140px;

    &.front-section-rounded {
        padding: 40px;
        border-radius: 20px;
        border: 1px solid var(--main-color);
        box-shadow: var(--main-box-shadow);
        background-color: #fff;
        background-image: linear-gradient(
            45deg,
            rgba(72, 174, 250, 0.1) 0%,
            rgba(163, 215, 253, 0.55) 5%,
            #ffffff 50%
        );
    }

    .subtitle {
        display: block;
        margin-bottom: 20px;
        text-transform: uppercase;
        font-weight: bold;
    }

    h2 {
        font-size: 2.4em;
        margin-bottom: 40px;
        font-weight: bold;
    }

    .card img {
        margin-bottom: 20px;
        height: 48px;
        width: auto;
    }
}

#home-advantages,
#home-usecases {
    strong {
        font-weight: normal;
    }
}

#main-features {
    h3 {
        font-size: 22px;
        font-weight: bold;
    }

    .tip {
        display: block;
        margin-top: 10px;
        font-size: 0.8em;
    }
}

#trust-us {
    .marquee {
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
        );
        mask-repeat: no-repeat;
        mask-size: 100% 100%;
    }

    .marquee__track {
        display: flex;
        width: max-content;
        align-items: center;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    .marquee--left .marquee__track {
        animation-name: marquee-left;
        animation-duration: 40s;
    }

    .marquee--right .marquee__track {
        animation-name: marquee-right;
        animation-duration: 60s; /* slightly different for natural offset */
    }
}

.customer-logos {
    display: flex;
    gap: 30px;
    align-items: center;
    padding-inline-end: 30px;
}

.customer-logo {
    height: 150px;
    width: 200px;
    border-radius: var(--main-border-radius);
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 10px;

    img {
        max-width: 80%;
        max-height: 50%;
        object-fit: contain;
        display: block;
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
    }
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #trust-us .marquee__track {
        animation: none;
    }
}

.reviews {
    position: relative;
    overflow: hidden;
    width: 100%;

    .reviews-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
        padding: 5px 0;
    }

    .nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.9);
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 24px;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

        &.prev {
            left: 20px;
        }

        &.next {
            right: 20px;
        }

        &:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }
    }
}

.review {
    flex: 0 0 60%;
    max-width: 60%;
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 40px;
    padding: 40px;

    img {
        height: auto !important;
        max-height: 80px;
        max-width: 150px;
    }

    &.active {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }
}

#footer {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 20px 0 20px;
    margin-top: 80px;
    background-color: var(--secondary-color);
    border-top: var(--main-border);

    .footer-grid {
        max-width: 1439px;
        width: 100%;
        margin: 0 auto;
        padding: 20px;

        p {
            font-weight: bold;
            line-height: 1em;
        }

        ul {
            li {
                margin-bottom: 20px;
            }
        }

        a {
            text-decoration: none;
        }

        .logo {
            display: block;
            margin-bottom: 20px;
        }
    }
}

/* ARTICLES */

#post {
    #post-footer {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-top: 20px;
        line-height: 1.2em;

        .post-author-img {
            height: 64px;
            width: 64px;
            border-radius: 100%;
        }

        .post-author-name {
            font-weight: bold;
        }
    }

    h2 {
        margin-top: 40px;
    }
}

.article {
    .article-header {
        margin-bottom: 20px;

        .article-image {
            border-radius: var(--main-border-radius);

            img {
                margin-bottom: 20px;
                border-radius: var(--main-border-radius);
                max-height: 200px;
                width: 100%;
                object-fit: cover;
            }
        }

        a {
            text-decoration: none;
        }

        h3 {
            font-weight: bold;
            margin-bottom: 0;
        }
    }

    .article-metadata {
        span {
            display: block;
            margin-bottom: 10px;
            font-size: 0.8em;
        }
    }
}

/* PRICES */

#currency-switcher {
    min-width: 0;
    width: fit-content;
    margin-bottom: 0;
}

#plans-options {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;

    #period-switcher {
        .button {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-weight: normal;
            background-color: var(--light-color);
            border: 1px solid #dddddd;
            color: var(--dark-color);

            &:hover,
            &.active {
                background-color: var(--light-color);
                border-color: var(--main-color);
                color: var(--dark-color);
            }
        }

        #period-discount {
            font-size: 0.8em;
        }
    }
}

.prices {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

    .price {
        border-radius: 20px;
        margin-bottom: 0;
        padding: 50px 0 10px 0;
        transition: all 0.6s ease;
        grid-area: paid;
        flex: 1 1 calc(25% - 1rem); /* 4 columns minus gap */
        min-width: 250px;

        &.popular {
            position: relative;
            border-color: var(--main-color);

            .badge-blue {
                position: absolute;
                top: 15px;
                font-weight: bold;
            }
        }

        &.price-large {
            padding: 20px 0;
            gap: 80px;
            order: 99; /* Push it to the end */
            flex: 1 1 100%; /* Take full width */

            ul {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
            }

            .button.full-width {
                max-width: 350px;
            }
        }

        .price-header {
            padding: 0 20px;
        }

        ul {
            padding: 0 20px;
            margin: 0 0 20px 0 !important;
            list-style-type: none !important;

            &.mb-0 {
                margin: 0 !important;
            }

            li {
                padding-bottom: 5px;
                margin-bottom: 5px;

                sup {
                    font-size: 0.8em;
                }
            }
        }

        .price-include {
            display: block;
            padding: 0 20px;
            margin-bottom: 20px;
        }

        .price-name {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 20px;

            svg {
                height: 28px;
                width: 28px;
            }
        }

        .price-text {
            margin-bottom: 40px;
            font-size: 18px;
            white-space: nowrap;

            .price-text-amount {
                display: flex;
                margin-bottom: 10px;
                font-weight: bold;
                font-size: 42px;
            }

            .price-text-original {
                text-decoration: line-through;
                font-size: 24px;
                font-weight: normal;
            }
        }

        .price-category {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            padding: 20px;
            color: var(--dark-color);
            background-color: var(--secondary-color);
            border-top: var(--main-border);
            border-bottom: var(--main-border);
            font-weight: bold;
        }
    }
}

/* COMPARE */

#compare {
    img {
        margin-bottom: 0;
        max-height: 40px;
        max-width: 100px;
    }

    .table table {
        tr td:not(:first-child),
        th {
            text-align: center;
        }

        thead {
            th {
                vertical-align: middle;
            }
        }

        svg {
            height: 28px;
            width: 28px;
        }
    }

    .comparison {
        a:first-child {
            text-decoration: none;
            font-weight: bold;
            font-size: 1.2em;
        }
    }
}

.proof-item {
    font-size: 1.2em;
    text-align: center;

    span {
        display: block;
        height: 28px;
        margin-bottom: 5px;
        font-weight: bold;
    }
}

#brand-domain-demo {
    background: var(--colored-gradient);
    border: none;
    padding: 0;

    img {
        user-select: none;
    }

    #x {
        .platform-header {
            border-bottom-color: transparent;
        }

        .platform-menu {
            border-top-color: transparent;
        }
    }

    #facebook {
        .platform-header {
            border-bottom-color: transparent;
        }

        .platform-menu {
            font-size: 1.1em;
            font-weight: bold;
            color: #65676b;
        }
    }

    p {
        margin-bottom: 0 !important;
    }

    .mockup-wrapper {
        width: 70%;
        height: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .mockup-platforms {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            gap: 20px;
            text-align: center;

            .mockup-platform {
                position: relative;

                &.active::after {
                    content: "";
                    position: absolute;
                    bottom: -10px;
                    left: 50%;
                    transform: translateX(-50%);
                    display: block;
                    width: 6px;
                    height: 6px;
                    border-radius: 100%;
                    background-color: #ffffff;
                }

                &:not(.active) {
                    opacity: 0.7;
                    cursor: pointer;

                    &:hover {
                        opacity: 1;
                    }
                }

                img {
                    width: 30px;
                    height: 30px;
                }
            }
        }

        .platform-post {
            background-color: #fff;
            border-radius: 8px 8px 0 0;
            font-size: 0.8em;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex: 1;
            margin-bottom: -1px;
        }

        .platform-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 20px;
            border-bottom: 1px solid #f2f2f2;
            min-height: 57px;

            .platform-logo {
                width: 30px;
                height: 30px;
            }

            input {
                background-color: #dfe0e4;
                border-radius: 4px;
                border: none;
                margin: 0;
                padding: 2px 10px;
            }

            p {
                display: flex;
                align-items: center;
                gap: 5px;
            }
        }

        .platform-content {
            padding: 10px 20px;
            min-height: 235px;
            flex: 1;
            overflow-y: auto;
            word-break: break-word;

            p {
                display: inline;
            }

            .platform-content-link {
                color: #0a66c2;
            }
        }

        .platform-cta {
            padding: 5px 20px;
        }

        .platform-menu {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 20px;
            font-size: 0.8em;
            border-top: 1px solid #f2f2f2;

            span {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 5px;
            }

            img {
                width: 20px;
                height: 20px;
            }
        }
    }
}

/* TIMELINE */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;

    li {
        display: flex;
        align-items: center;
        list-style: none;
        display: flex;
        gap: 20px;

        & > span {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 80px;
            width: 80px;
            font-weight: bold;
            font-size: 2em;
            border-radius: 100%;
            background-color: var(--lighten-main-color);
            border: 3px solid var(--main-color);
            color: var(--darken-main-color);
            flex-shrink: 0;
        }

        p {
            margin-bottom: 0;

            span {
                display: block;
                font-size: 1.2em;
                margin-bottom: 10px;
            }
        }
    }
}

/* About page */

#about-us {
    background-color: color-mix(in srgb, var(--main-color) 10%, transparent);
    border-radius: 10px;

    a {
        text-decoration: none;
    }
}

#about-mission {
    background-image: url("../img/about/mission-IH9F80J.webp");
    background-position: right;
    background-size: 800px;
    background-repeat: no-repeat;

    h3 {
        margin-top: 15px;
    }

    .bg-card-about {
        background-color: rgb(250, 250, 250, 0.5);
        backdrop-filter: blur(10px);
    }
}

@media screen and (max-width: 1023px) {
    #header {
        #hamburger {
            display: inline-block;
        }
    }

    .page-home {
        #hero {
            #heading {
                font-size: 36px;

                br {
                    display: none;
                }
            }
        }
    }

    #post {
        width: initial;
    }

    #brand-domain-demo {
        .mockup-wrapper {
            width: 90%;
        }
    }

    .reviews {
        .nav {
            width: 40px;
            height: 40px;
            font-size: 18px;
        }
    }

    .review {
        flex: 0 0 80%;
        max-width: 80%;
        padding: 20px;
    }
}

@media screen and (max-width: 639px) {
    h2 {
        font-size: 20px;
    }

    .page-home {
        #hero {
            h1 {
                font-size: 1em;
            }
        }
    }

    #other-features {
        & > div {
            i.xxl {
                font-size: 32px;
            }
        }
    }

    #qrcode_editor {
        flex-direction: column;
    }

    #about-mission {
        background-image: none;
    }
}
