.animation-canvas {
    display: flex !important;
    justify-content: center !important;
}

#pointCloud {
    position: relative;
    height: 200%;
    top: -200px;
    margin-bottom: -1000px;
    opacity: 0.5;
}

/**
 * Переназначение стиля ссылок
 */
a.content-link,
.content-link a {
    color: #ff8562 !important;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

a.content-link:hover,
.content-link a:hover {
    color: #f00 !important;
}

.content-link__arrow {
    position: absolute !important;
    left: 100% !important;
    margin-left: 4px !important;
}

/**
 * Шапка на лендинге (переназначается в блоке адаптива)
 */
.custom-header__logo {
    margin-top: -4px !important;
}

.mobile-header-nav {
    display: none !important;
    height: auto !important;
    padding-top: 40px;
    padding-bottom: 8px;
}

.mobile-header-nav.visible {
    display: block !important;
}

.header__nav-link.active a {
    font-weight: bold;
}

.header__nav-link:not(.active) a:hover {
    color: #f00 !important;
}

.header__telegram-link:hover > .tn-molecule {
    background-color: #0065bd !important;
}

/**
 * Подпись с ИИ на лендинге (переназначается в блоке адаптива)
 */
.ai-label {
    width: auto !important;
    padding: 10px 16px 11px;
    background-image: url(https://static.tildacdn.com/tild6632-3035-4639-b839-303630626162/ai-border.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/**
 * CTA-кнопка на лендинге (переназначается в блоке адаптива)
 */
.cta-button {
    width: auto !important;
    height: auto !important;
}

.cta-button .tn-atom {
    padding: 12px 56px 16px;
    background-image: url(https://static.tildacdn.com/tild3862-3562-4232-b737-363931386664/left-top-corner.svg),
        url(https://static.tildacdn.com/tild3035-3330-4664-b263-303039653662/right-top-corner.svg),
        url(https://static.tildacdn.com/tild3935-3636-4636-a331-376637346533/right-bottom-corner.svg);
    background-repeat: no-repeat;
    background-position:
        0 0,
        100% 0,
        100% 100% !important;
    background-size: contain !important;
    transition:
        background-color var(--t396-speedhover, 0s) ease-in-out,
        background-image var(--t396-speedhover, 0s) ease-in-out !important;
}

.cta-button .tn-atom::before {
    position: absolute;
    left: -99999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    content: '';
    background-image: url(https://static.tildacdn.com/tild3962-3230-4731-b562-636465303664/left-top-corner-hove.svg),
        url(https://static.tildacdn.com/tild3139-3663-4637-a435-313830356665/right-top-corner-hov.svg),
        url(https://static.tildacdn.com/tild6232-6530-4163-a430-376362353630/right-bottom-corner-.svg);
}

.cta-button .tn-atom:hover {
    background-color: #0065bd !important;
    background-image: url(https://static.tildacdn.com/tild3962-3230-4731-b562-636465303664/left-top-corner-hove.svg),
        url(https://static.tildacdn.com/tild3139-3663-4637-a435-313830356665/right-top-corner-hov.svg),
        url(https://static.tildacdn.com/tild6232-6530-4163-a430-376362353630/right-bottom-corner-.svg);
}

.cta-button--wide {
    width: 100% !important;
}

.cta-button--wide .tn-atom {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.cta-button--with-links::before,
.cta-button--with-links::after {
    content: '';
    position: absolute;
    z-index: 1;
    width: 101px;
    height: 36px;
    top: 50%;
    margin-top: -18px;
    background-size: contain;
    background-repeat: no-repeat;
}

.cta-button--with-links::before {
    left: -102px;
    background-image: url(https://static.tildacdn.com/tild3936-3536-4139-b739-393761666361/left-arrow.svg);
    background-position: 100% 50%;
}

.cta-button--with-links::after {
    right: -102px;
    background-image: url(https://static.tildacdn.com/tild6133-6665-4461-b464-653265393939/right-arrow.svg);
    background-position: 0 50%;
}

/**
 * Галерея отзывов на лендинге
 */
.uc-reviews .t-width {
    max-width: none;
    width: auto;
}

.uc-reviews .t-slds__items-wrapper,
.uc-reviews .t-slds__arrow_wrapper {
    height: auto !important;
}

.uc-reviews .t-slds__items-wrapper {
    display: flex;
    align-items: center;
}

.uc-reviews .t-slds__wrapper {
    overflow: hidden;
    padding: 0 120px !important;
}

.uc-reviews .t-slds__item {
    display: flex;
    justify-content: center;
}

.uc-reviews .t-text {
    position: relative;
    max-width: 640px;
    margin-bottom: 50px;
    padding: 32px 64px 40px;
    text-align: left;
}

.uc-reviews .t-text::after {
    content: '';
    position: absolute;
    z-index: -2;
    left: 90px;
    top: 100%;
    height: 40px;
    width: 117px;
    background-image: url(https://static.tildacdn.com/tild3962-3335-4366-b535-666436336237/review-pin.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 0;
}

.uc-reviews .t-text::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: skew(-7deg, 0);
    background-image: linear-gradient(30deg, #ffda5e, #ffeaa6);
}

.uc-reviews .t-img {
    width: 150px;
    float: left;
    max-width: none;
    margin-left: 0;
    margin-right: 30px;
    background-image: linear-gradient(#ffeaa6, #ffc300);
}

.uc-reviews .t-name {
    padding-top: 40px;
}

.uc-reviews .t-name,
.uc-reviews .t-descr {
    max-width: 400px;
    margin: 0 0 0 180px;
    text-align: left;
}

.uc-reviews .t-slds__arrow {
    height: 100%;
}

.uc-reviews .t-slds__arrow_body {
    width: 41px !important;
    height: 134px;
    background-image: url(https://static.tildacdn.com/tild6262-6161-4537-a565-653534373834/review-next.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 0;
}

.uc-reviews .t-slds__arrow_body svg {
    display: none !important;
}

/**
 * Тарифы
 */
.tariff__box .tn-atom {
    box-shadow:
        0 2px 40px 0 #d6d6d699,
        0 4px 24px 2px #c8c8c84d;
}

.tariff__box-selected .tn-atom {
    position: relative;
    box-shadow: 0 2px 40px 0 #d6d6d6ad;
    background-color: #ffffff;
}

.tariff__box-selected .tn-atom::before {
    position: absolute;
    z-index: -1;
    left: -8px;
    top: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 40px; /* 32px + 8px (вынос вне блока дает увеличение радиуса) */
    background-image: linear-gradient(161.25deg, #f39e30 2.98%, #e86800 97.32%);
    content: '';
}

/**
 * Подвал на лендинге
 */
.custom-footer {
    border-top: 1px solid #dee4e8;
}

.footer-link a {
    color: #000 !important;
}

.footer-link a:hover {
    color: #f00 !important;
}

/**
 * Адаптив на лендинге
 */
@media screen and (min-width: 960px) {
    .mobile-header-nav.visible {
        display: none !important;
    }

    .header__nav-link.active a {
        border-bottom: 3px solid #007ae5;
    }
}

@media screen and (max-width: 1199px) {
    /* Резиновая шапка и подвал на лендинге */
    .custom-header-container {
        height: auto !important;
    }

    .custom-header {
        left: 20px !important;
        right: 20px !important;
        width: calc(100% - 40px) !important;
        position: relative !important;
        margin-bottom: 20px;
    }

    .custom-footer {
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
    }

    /* Видео превью на лендинге */
    .video-preview {
        left: 4vw !important;
        width: 92vw !important;
        height: calc(92vw * 0.55) !important;
    }

    /* Резиновый тизер на курс на ИТМО */
    .itmo-teaser {
        left: 0 !important;
        width: auto !important;
        margin: 0 20px;
    }
}

@media screen and (max-width: 959px) {
    /* CTA-кнопка на лендинге */
    .cta-button .tn-atom {
        padding: 10px 40px 12px;
    }

    .cta-button--with-links::before,
    .cta-button--with-links::after {
        width: 80px;
    }

    .cta-button--with-links::before {
        left: -81px;
    }

    .cta-button--with-links::after {
        right: -81px;
    }

    /* Галерея отзывов на лендинге */
    .uc-reviews .t-text {
        margin-bottom: 35px;
        padding: 20px 32px 24px;
        font-size: 12px !important;
    }

    .uc-reviews .t-text::before {
        transform: skew(-5deg, 0);
    }

    .uc-reviews .t-text::after {
        left: 60px;
        height: 40px;
        width: 80px;
    }

    .uc-reviews .t-img {
        width: 100px;
        margin-right: 15px;
    }

    .uc-reviews .t-name,
    .uc-reviews .t-descr {
        margin-left: 115px;
    }

    .uc-reviews .t-name {
        padding-top: 20px;
        font-size: 20px !important;
    }

    .uc-reviews .t-descr {
        font-size: 14px !important;
    }

    .uc-reviews .t-slds__arrow_body {
        width: 30px !important;
        height: 110px;
    }
}

@media screen and (max-width: 639px) {
    /* CTA-кнопка на лендинге */
    .cta-button .tn-atom {
        padding: 8px 36px 12px;
    }

    .cta-button--with-links::before,
    .cta-button--with-links::after {
        display: none;
    }

    /* Галерея отзывов на лендинге */
    .uc-reviews .t-slds__wrapper {
        padding: 0 60px !important;
    }

    .uc-reviews .t-text {
        margin-bottom: 20px;
        padding: 12px 20px 16px;
        font-size: 11px !important;
    }

    .uc-reviews .t-text::before {
        transform: skew(-3deg, 0);
    }

    .uc-reviews .t-text::after {
        left: 30px;
        height: 20px;
        width: 40px;
    }

    .uc-reviews .t-img {
        width: 80px;
        margin-right: 15px;
    }

    .uc-reviews .t-name,
    .uc-reviews .t-descr {
        margin-left: 95px;
    }

    .uc-reviews .t-name {
        padding-top: 16px;
        font-size: 16px !important;
    }

    .uc-reviews .t-descr {
        font-size: 11px !important;
    }

    .uc-reviews .t-slds__arrow_body {
        width: 20px !important;
        height: 70px;
    }
}

@media screen and (max-width: 479px) {
    /* Резиновая шапка на лендинге */
    .custom-header {
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        margin-bottom: 10px;
    }

    /* Выравнивание логотипа в шапке на лендинге */
    .custom-header__logo {
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }
}
