@import url('//fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('//fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://cloud-filter.com/wp-content/themes/template/css/normalize.css');
@import url('https://cloud-filter.com/wp-content/themes/template/css/sizes.css');
@import url('https://cloud-filter.com/wp-content/themes/template/css/margin.css');
@import url('https://cloud-filter.com/wp-content/themes/template/css/padding.css');
@import url('https://cloud-filter.com/wp-content/themes/template/css/container.css');
@import url('https://cloud-filter.com/wp-content/themes/template/css/colors.css');
@import url('https://cloud-filter.com/wp-content/themes/template/css/template.css');

/* Header */
.header {
    position: sticky;
    top: 0;
    padding: var(--size-150) 0;
    background-color: #0E0E10;
    z-index: 100;
}

.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--size-500);
}

.header__logo {
    display: block;
    width: 170px;
    height: auto;
    line-height: 0;
    flex-shrink: 0;
}

.header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--size-100);
    width: 100%;
    max-width: 800px;
}

.header__list>li a {
    position: relative;
    font-size: var(--size-100);
    font-weight: 500;
    line-height: 1;
    color: #fff;
}

.header__list>li a:hover {
    color: #30cf43;
}

.header__list>li a::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #30cf43;
    transition: var(--transition);
}

.header__list>li a:hover::before {
    left: 0;
    right: auto;
    width: 100%;
}

.header__list>li a.active {
    color: #fff;
}

.header__list>li a.active::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: var(--transition);
}

.header__buttons {
    display: flex;
    align-items: center;
    gap: var(--size-200);
    list-style: none;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.header__buttons .button {
    padding: 0;
}

.header__buttons .button a {
    color: #fff;
    padding: var(--size-075) var(--size-150);
}

.header__list>.header__buttons {
    display: none;
}

/* Добавим стили для кнопки бургер меню */
/* Стили для бургер-меню */
.burger-menu {
    cursor: pointer;
    width: 30px;
    height: 20px;
    background-color: transparent;
    border: none;
    outline: none;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.burger-menu::before,
.burger-menu::after,
.burger-menu div {
    display: block;
    content: '';
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

/* Расположение полосок в состоянии "бургер" */
.burger-menu div {
    transform-origin: center;
}

/* Анимация для превращения в крестик */
.burger-menu.active::before {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active::after {
    transform: translateY(-9px) rotate(-45deg);
}

.burger-menu.active div {
    transform: scaleX(0);
}

.button {
    padding: var(--size-075) var(--size-150);
    font-size: var(--size-100);
    line-height: 1;
    color: #fff;
    border-radius: 10px;
    border: 2px solid #30cf43;
    background-color: #30cf43;
    transition: var(--transition);
}

.button.transparent {
    border-color: #fff;
    background-color: transparent;
}

.button:hover {
    background-color: var(--clr-green-700);
    border-color: var(--clr-green-700);
}

/* Hero */
.hero {
    margin: 100px auto;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--size-200);
}

.hero__heading {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    font-size: 70px;
    max-width: 960px;
    text-align: center;
}

.hero__heading-2 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    font-size: 70px;
    max-width: 960px;
    text-align: center;
}

.hero__text {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    font-size: 24px;
    max-width: 880px;
    text-align: center;
    opacity: .75;
}

.hero__button {
    margin-top: var(--size-200);
    font-size: 24px;
    font-weight: 600;
    padding: 16px 32px;
    border: 0;
    background: linear-gradient(270deg, rgba(25,144,40,1) 0%, rgba(48,207,67,1) 100%);
}

.hero__img {
    margin-top: var(--size-200);
    width: 100%;
    height: auto;
    max-width: 880px;
}

/* Partners */
.partners {
    margin: 100px 0;
}

.partners__heading {
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--size-200);
}

.partners__grid {
    width: 100%;
    height: auto;
}

.partners__item {
    background-color: #fff;
    border-radius: 20px;
}

.partners__item>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partners__pagination {
    position: unset;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners__pagination .swiper-pagination-bullet {
    background-color: #fff;
    width: 12px;
    height: 12px;
    margin: 0 6px !important;
}

.partners__pagination .swiper-pagination-bullet-active {
    background-color: #30cf43;
    width: 14px;
    height: 14px;
}

.partners__prev,
.partners__next {
    background-color: rgba(0, 0, 0, .3);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    top: calc(50% - 15px);
}

.partners__prev::after,
.partners__next::after {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

/* Features */
.features {
    margin: 100px 0;
}

.features__heading {
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--size-200);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.features__item {
    display: flex;
    flex-direction: column;
    gap: var(--size-150);
}

.features__img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.features__title {
    font-size: 20px;
    font-weight: 600;
}

/* Prefooter */
.prefooter {
    margin: 100px 0;
}

.prefooter__heading {
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--size-200);
}

.prefooter__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.prefooter__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--size-150);
}

.prefooter__img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* News */
.news {
    margin: 100px auto;
}

.news__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--size-200);
}

.news__heading {
    font-size: 52px;
    font-weight: 600;
    max-width: 960px;
    text-align: center;
}

.news__text {
    font-size: 24px;
    max-width: 880px;
    text-align: center;
    background: #0E0E10;
}

.news__list {
    margin-top: var(--size-300);
}

.news__item {
    display: grid;
    grid-template-columns: 400px 1fr;
    padding: var(--size-300) 0;
    border-top: 1px solid #2f2f32;
}

.news__item:last-child {
    border-bottom: 1px solid #2f2f32;
}

.news__item-date {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    position: sticky;
    top: 120px;
}

.news__item-title {
    margin-bottom: var(--size-150);
    font-size: var(--size-200);
    font-weight: 700;
}

.news__item-content>* {
    line-height: 1.8;
}

.news__item-content>*:not(:last-child) {
    margin-bottom: var(--size-125);
}

.news__item-content a {
    color: #30cf43;
    transition: var(--transition);
}

.news__item-content a:hover {
    color: var(--clr-green-700);
}

.news__item-content iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
}

/* Pricing */
.pricing__title {
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--size-150);
}

.bill-type {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    gap: 10px;
}

.bill-type .bill-toggle #bill-toggle {
    display: none;
}

.bill-type .bill-toggle #bill-toggle+label {
    display: block;
    width: 34px;
    height: 20px;
    border-radius: 20px;
    background-color: #30cf43;
    position: relative;
    cursor: pointer;
}

.bill-type .bill-toggle #bill-toggle+label::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, -50%);
    transition: transform 0.2s;
}

.bill-type .bill-toggle #bill-toggle:checked+label::after {
    transform: translate(-100%, -50%);
}

.pricing__table {
    max-width: 500px;
    padding-inline: 5vw;
    margin-inline: auto;
    margin-block: 40px;
}

@media screen and (min-width: 920px) {
    .pricing__table {
        max-width: 1400px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.pricing__plan {
    background-color: #22262C;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 920px) {
    .pricing__plan:not(:last-of-type) {
        margin-bottom: 40px;
    }
}

.pricing__name {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: 1.2px;
}

.pricing__price {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

.pricing__price sub {
    position: static;
    font-size: 1.5rem;
}

.pricing__plan ul {
    margin-bottom: 32px;
}

.pricing__plan ul li {
    margin-bottom: 15px;
    line-height: 1.5;
}

.pricing__plan ul li::marker {
    color: #30cf43;
}

.pricing__btn {
    display: block;
    margin: 0 auto;
    padding: 8px 32px;
    font-weight: 600;
    background-color: transparent;
    color: #fff;
    border: 1px solid #30cf43;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.pricing__btn:hover {
    background-color: #30cf43;
}

/* Pagination */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 20px;
}

.page-numbers {
    color: #30cf43;
}

.page-numbers:hover {
    color: var(--clr-green-700);
}

.page-numbers.current {
    color: #fff;
}

/* Footer */
.footer {
    padding: var(--size-150) 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--clr-normal-300);
    padding-top: var(--size-150);
}

.footer__left {
    display: flex;
    align-items: center;
    gap: var(--size-100);
    font-size: 14px;
}

.footer__logo {
    display: block;
    width: 170px;
    height: auto;
    line-height: 0;
    flex-shrink: 0;
}

.footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: var(--size-075);
}

.footer__links a {
    width: 24px;
    height: 24px;
    line-height: 0;
}

.footer__links a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Marquee */
:root {
    --marquee-width: 100%;
    --marquee-height: auto;
    /* --marquee-elements: 12; */
    /* defined with JavaScript */
    --marquee-elements-displayed: 5;
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
    --marquee-animation-duration: calc(var(--marquee-elements) * 5s);
}

.marquee {
    width: var(--marquee-width);
    height: var(--marquee-height);
    overflow: hidden;
    position: relative;
}

.marquee-content {
    list-style: none;
    height: 100%;
    display: flex;
    gap: 30px;
    animation: scrolling var(--marquee-animation-duration) linear infinite;
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements)));
    }
}

.marquee-content li {
    display: flex;
    justify-content: center;
    align-items: center;
    /* text-align: center; */
    flex-shrink: 0;
    width: var(--marquee-element-width);
    max-height: 100%;
    font-size: calc(var(--marquee-height)*3/4);
    /* 5rem; */
    white-space: nowrap;
}

.marquee-content li img {
    width: 100%;
}

.marquee:before,
.marquee:after {
    position: absolute;
    top: 0;
    width: 10rem;
    height: 100%;
    content: "";
    z-index: 1;
}

.marquee:before {
    left: 0;
    background: linear-gradient(to right, #0E0E10 0%, transparent 100%);
}

.marquee:after {
    right: 0;
    background: linear-gradient(to left, #0E0E10 0%, transparent 100%);
}

@keyframes marquee {
    0% {
        left: 0;
    }

    100% {
        left: -100%;
    }
}

@media (max-width: 1200px) {
    :root {
        --marquee-elements-displayed: 3;
    }

    .burger-menu {
        display: flex;
    }

    .header__list {
        padding: var(--size-200) 0;
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0E0E10;
        z-index: 99;
        gap: var(--size-175);
        max-width: unset;
    }

    .header__list.active {
        display: flex;
    }

    .header__buttons {
        display: none;
    }

    .header__list>.header__buttons {
        display: flex;
        flex-direction: column;
        gap: var(--size-175);
    }

    .features__grid {
        grid-template-columns: 1fr 1fr;
    }

    .prefooter__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --marquee-elements-displayed: 2;
    }

    .marquee:before,
    .marquee:after {
        width: 5rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .partners,
    .features,
    .prefooter,
    .news {
        margin-top: 64px;
        margin-bottom: 64px;
    }

    .hero__heading,
    .hero__heading-2,
    .news__heading {
        font-size: 42px;
    }

    .partners__heading,
    .features__heading,
    .prefooter__heading,
    .pricing__title {
        font-size: 32px;
    }

    .news__item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body .crisp-client .cc-tlyw[data-full-view=true] .cc-kxkl .cc-nsge,
    body .crisp-client .cc-tlyw .cc-kxkl .cc-nsge {
        bottom: 60px !important;
    }
}