/* Using link preconnect in HTML for faster font loading */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
p,
a {
    color: #2B283D;
}

h1 {
    font-size: 60px;
    font-weight: 700;
    line-height: 72px;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.primary-color {
    color: #4D84FF;
}

.checkbox {
    width: 20px;
}

.navigation-block {
    background-color: white;
    height: 72px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

.navigation-block-content {
    align-items: center;
    display: flex;
    flex-direction: row;
    height: 72px;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 32px;
    max-width: 1200px;
}

.logo-container {
    background: url(../images/logo_text.svg) no-repeat;
    background-position: center;
    background-size: contain;
    height: 24px;
    max-height: 100%;
    max-width: 100%;
    width: 142px;
}

.navigation-container {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    justify-content: center;
}

.navigation-item {
    margin: 24px 18px 24px 18px;
}

.navigation-link {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    padding: 12px 15px 12px 15px;
    text-decoration: none;
}

.download-button {
    background-color: #4D84FF;
    border-radius: 4px;
    border: none;
    color: white;
    font-size: 16px;
    height: 48px;
    width: 150px;
}

.download-button :hover {
    border: none;
}

.navigation-menu {
    display: none;
    height: 48px;
    min-height: 48px;
    min-width: 48px;
    width: 48px;
}

#mobile-menu-block {
    align-items: center;
    background: white;
    display: none;
    flex-direction: column;
    gap: 40px;
    height: 100vh;
    justify-content: center;
    min-width: 300px;
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
}

#open-menu {
    display: none;
}

#close-menu {
    display: none;
    margin: 12px 32px;
    position: absolute;
    right: 0;
    top: 0;
}

.mobile-navigation-link {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
}

.mobile-support-link {
    bottom: 0;
    color: #4D84FF;
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
    margin-bottom: 40px;
    position: absolute;
}

.wave-block {
    background-color: #F2F6FF;
    width: 100%;
}

.main-section {
    background-color: #F2F6FF;
    margin-top: 72px;
    width: 100%;
}

.main-block {
    display: flex;
    flex-wrap: nowrap;
    gap: 56px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    padding: 56px 32px 0 32px;
}

.main-block-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
    width: auto;
}

.main-block-subtitle {
    color: #2B283DB2;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin-top: 32px;
}

.main-block-button {
    background: url(../images/google_play.webp) no-repeat;
    background-position: center;
    background-size: cover;
    height: 54px;
    margin-top: 36px;
    width: 184px;
}

.main-block-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
}

.about-section {
    align-items: center;
    background-color: white;
    display: flex;
    flex-direction: row-reverse;
    gap: 32px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 128px 32px 56px 32px;
    width: 100%;
}

.about-block-image {
    background: url(../images/about_illustration.webp) no-repeat;
    background-position: center;
    background-size: contain;
    height: 600px;
    max-height: 100%;
    max-width: 100%;
    width: 560px;
}

.about-block-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: start;
}

.about-block-text-title {
    margin-top: 12px;
    max-width: 560px;
}

.about-block-text-advantage-block {
    margin-top: 48px;
    max-width: 490px;
}

.about-block-text-advantage-title {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.about-block-text-advantage-text {
    color: #2B283DB2;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 8px;
}

.features-section {
    background-color: #F2F6FF;
    padding-bottom: 56px;
    width: 100%;
}

.features-block {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1200px;
    padding: 128px 32px 0 32px;
}

.features-block-wave {
    background-color: #F2F6FF;
    width: 100%;
}

.features-block-image {
    max-width: 360px;
    margin-top: 24px;
}

.features-block-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.features-block-description {
    display: flex;
    flex-direction: row;
    gap: 24px;
    max-width: 350px;
}

.features-block-content-description {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 72px;
    justify-content: space-between;
    margin-bottom: 72px;
    margin-top: 72px;
}

.features-description-icon {
    background-color: #4D84FF;
    border-radius: 6px;
    height: 56px;
    min-height: 56px;
    min-width: 56px;
    width: 56px;
}

.features-description-image {
    height: 28px;
    margin: 14px 14px;
    width: 28px;
}

.features-description-text-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-description-text {
    color: #2B283DB2;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.screenshot-section {
    align-items: center;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 128px 32px 0 32px;
    width: 100%;
}

.screenshot-title {
    text-align: center;
}

.screenshot-text {
    color: #2B283DB2;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 52px;
    margin-top: 24px;
    text-align: center;
    width: 100%;
}

#screenshot-carousel {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 32px;
}

.screenshot-arrow-prev {
    background: white;
    box-shadow: 0px 1px 10px #0000001A;
    height: 60px;
    opacity: 1;
    width: 60px;
}

.screenshot-arrow-next {
    background: #4D84FF;
    height: 60px;
    opacity: 1;
    width: 60px;
}

.screenshot-bullet-progress {
    background: #EDF3FF;
    height: 12px;
    margin: 6px;
    opacity: 1;
    width: 12px;
}

.splide__pagination__page.is-active {
    background: #4D84FF;
    transform: scale(1.3);
    z-index: 1;
}

.logo-icon {
    height: 40px;
    width: 40px;
}

.download-section {
    margin: 0 auto;
    max-width: 1200px;
    padding: 128px 32px 0 32px;
    width: 100%;
}

.download-block {
    align-items: center;
    background-color: #F2F6FF;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    padding: 52px 24px;
    width: 100%;
    z-index: 1;
}

.download-section-button {
    margin-top: 12px;
    width: auto;
    padding: 0 32px;
}

.download-title {
    text-align: center;
}

.download-text {
    color: #2B283DB2;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    max-width: 820px;
    text-align: center;
}

.download-banner-ellipsis-1 {
    background: radial-gradient(38.48% 38.48% at 50% 50%, #FFBED5 0%, #F7F7FF 100%);
    bottom: 0;
    filter: blur(105.475px);
    height: 315px;
    left: 0;
    position: absolute;
    top: 100px;
    width: 315px;
    z-index: -1;
}

.download-banner-ellipsis-2 {
    background: radial-gradient(46.1% 46.1% at 50% 50%, #A3B6FF 0%, #F7F7FF 100%);
    filter: blur(62.74px);
    height: 281px;
    position: absolute;
    right: -40px;
    top: -40px;
    width: 281px;
    z-index: -1;
}

.subscription-section {
    margin: 0 auto;
    padding: 128px 0;
    width: 100%;
}

.subscription-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.subscription-title {
    text-align: center;
}

.subscription-text {
    color: #2B283DB2;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin: 24px 48px 0 48px;
    text-align: center;
}

.subscription-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 48px;
}

.subscription-item {
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 3.67372px 30px #3358AB1A;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 192px;
    padding: 24px;
    width: 276px;
}

.subscription-item-period {
    color: #4D84FF;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    margin-top: 16px;
}

.subscription-item-price-free {
    align-self: center;
    border-bottom: solid 1px #2B283D1A;
    display: flex;
    flex-direction: column;
    font-size: 50px;
    font-weight: 700;
    height: auto;
    line-height: 72px;
    padding: 60px 0;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.subscription-item-price {
    align-self: center;
    border-bottom: solid 1px #2B283D1A;
    display: flex;
    flex-direction: column;
    font-size: 50px;
    font-weight: 700;
    height: auto;
    line-height: 72px;
    padding: 36px 0;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.subscription-item-feature {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-top: 24px;
}

.subscription-feature-text {
    color: #2B283DB2;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.subscription-feature-text-black {
    color: #000000;
    padding-top: 24px;
    padding-bottom: 13px;
}

.team-block-wave {
    background-color: #F2F6FF;
    width: 100%;
    transform: scale(-1, 1);
}

.team-section {
    background-color: #F2F6FF;
    padding-bottom: 156px;
    padding-top: 128px;
    width: 100%;
}

.team-block {
    align-items: center;
    background-color: #F2F6FF;
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 32px;
}

.team-section-description {
    color: #2B283DB2;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin-top: 24px;
    text-align: center;
}

.team-members {
    display: flex;
    flex-direction: row;
    gap: 52px;
    margin-top: 64px;
}

.team-member-card {
    align-items: center;
    background-color: white;
    border-radius: 10px;
    filter: drop-shadow(0px 3.67372px 30px rgba(51, 88, 171, 0.25));
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 24px;
    width: auto;
}

.team-member-image {
    height: 200px;
    margin-top: 16px;
    min-height: 200px;
    min-width: 200px;
    width: 200px;
}

.team-member-name {
    font-size: 32px;
    font-weight: 600;
    line-height: 47px;
    margin-top: 48px;
    text-align: center;
    text-transform: uppercase;
}

.team-member-role {
    font-weight: 400;
    margin-top: 4px;
    color: #2B283DB2;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

.team-member-description {
    color: #2B283DB2;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 16px;
    max-width: 320px;
    padding: 0 20px;
    text-align: center;
}

.team-member-contacts {
    display: flex;
    flex-direction: row;
    width: auto;
    margin-top: 48px;
    gap: 32px;
    align-items: center;
}

.team-member-contact-link {
    vertical-align: middle;
}

.team-member-contact-icon {
    height: 24px;
    width: 24px;
    vertical-align: middle;
}

.team-member-contact-icon-divider {
    height: 24px;
    width: 1px;
}

.footer {
    background-color: #2B283D;
    width: 100%;
}

.footer-block {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0 auto;
    max-width: 1200px;
    padding: 72px 32px 0 32px;
}

.footer-content {
    border-bottom: 1px solid #3F3C41;
    height: 100%;
    margin-bottom: 40px;
    width: 100%;
}

.footer-logo {
    display: block;
    background: url(../images/logo_text.svg) no-repeat;
    background-position: center;
    background-size: contain;
    height: 24px;
    margin: 0 auto;
    width: 142px;
}

.footer-support-link {
    align-items: center;
    display: flex;
    flex-direction: row;
    font-size: 24px;
    font-weight: 600;
    justify-content: center;
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
}

.footer-support-link>* {
    stroke: white;
}

.footer-support-link:hover>* {
    color: #4D84FF;
    stroke: #4D84FF;
}

.footer-support-link-icon {
    display: inline-block;
    height: 32px;
    margin-right: 8px;
    vertical-align: middle;
    width: 32px;
}

.footer-support-link-text {
    color: white;
}

.footer-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 64px auto;
    max-width: 728px;
    width: 100%;
}

.footer-navigation-link {
    color: white;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.footer-navigation-link:hover {
    color: #4D84FF;
}

.footer-info {
    color: #7B788D;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.footer-link {
    color: #7B788D;
}

.footer-link:hover {
    color: white;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 48px;
        line-height: 62px;
    }

    h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .logo-container {
        background-position: left;
        flex-grow: 1;
    }

    .about-section {
        padding-bottom: 96px;
        padding-top: 72px;
    }

    .about-block-image {
        max-width: 460px;
    }

    .features-block-description {
        align-items: center;
        flex-direction: column;
    }

    .features-description-title {
        text-align: center;
    }

    .features-description-text {
        text-align: center;
    }

    .screenshot-text {
        padding: 0 32px;
    }

    .screenshot-arrow-prev {
        visibility: hidden;
    }

    .screenshot-arrow-next {
        visibility: hidden;
    }

    .subscription-block {
        margin: 48px 72px 0 72px;
    }
}

@media (max-width: 920px) {

    .navigation-block-content,
    .main-block,
    .features-block,
    .download-section {
        margin: 0 32px;
    }

    .navigation-block-content {
        gap: 24px;
        padding: 0;
    }

    .navigation-container {
        display: none;
    }

    .navigation-menu {
        display: block;
    }

    #open-menu {
        display: block;
    }
}

@media (max-width: 768px) {

    .main-block-title,
    .main-block-subtitle,
    .about-block-text,
    .about-block-text-title,
    .about-block-text-advantage-text {
        text-align: center;
    }

    .about-section {
        flex-direction: column;
        padding-left: 32px;
        padding-right: 32px;
    }

    .subscription-section {
        padding: 128px 32px;
    }

    .main-block {
        flex-direction: column;
    }

    .main-block-text {
        align-items: center;
        max-width: none;
    }

    .main-block-image {
        margin: 0 auto;
        max-width: 480px;
    }

    .about-block-text-advantage-block {
        margin: 48px auto 0 auto;
    }

    .about-block-text-advantage-title {
        justify-content: center;
    }

    .about-block-image {
        background: url(../images/screenshot_2.webp) no-repeat;
        background-position: center;
        background-size: contain;
        height: 600px;
        max-height: 100%;
        max-width: 100%;
        width: 560px;
    }

    .features-block-image {
        display: none;
    }

    .download-section {
        max-width: none;
        width: auto;
    }

    .subscription-block {
        margin: 48px 24px 0 24px;
    }

    .team-section {
        padding: 128px 32px;
    }

    .team-members {
        flex-direction: column;
        gap: 24px;
    }

    .team-member-image {
        margin-top: 0;
    }

    .team-member-name {
        font-weight: 600;
        margin-top: 32px;
        font-size: 28px;
    }

    .team-member-contacts {
        margin-top: 32px;
    }

    .footer-menu {
        align-items: center;
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 40px;
        line-height: 52px;
    }

    h2 {
        font-size: 28px;
        line-height: 36px;
    }

    h3 {
        font-size: 20px;
        line-height: 30px;
    }

    p {
        font-size: 16px;
    }

    .logo-container {
        background: url(../images/logo_icon.svg) no-repeat;
        height: 32px;
        min-height: 32px;
        min-width: 32px;
        width: 32px;
    }

    .features-block {
        margin: 0 12px;
        padding: 128px 0px 0 0px;
    }

    .screenshot-title {
        padding: 0 32px;
    }

    .screenshot-image {
        display: block;
        height: 600px;
        margin: auto;
    }

    .splide__pagination {
        margin-top: 24px;
    }

    .download-section {
        margin: 0;
    }

    .download-block {
        border-radius: 0;
    }

    .subscription-text {
        margin-top: 16px;
    }

    .team-section {
        padding: 128px 16px;
    }

    .team-block {
        padding: 0 16px;
    }

    .team-member-name {
        margin-top: 20px;
    }

    .team-member-description {
        padding: 0;
    }

    .team-member-contacts {
        margin-top: 20px;
    }

    .footer-info {
        padding: 0 32px;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 32px;
        line-height: 42px;
    }

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

/* Legal Pages Styles */
.legal-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 24px 80px 24px;
}

.legal-content {
    background-color: white;
    font-family: 'Poppins', sans-serif !important;
}

[data-custom-class="body"],
[data-custom-class="body"] * {
    background: transparent !important;
    font-family: 'Poppins', sans-serif !important;
}

[data-custom-class="title"] {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #2B283D !important;
    line-height: 1.4 !important;
    display: block;
    margin-bottom: 24px;
}

[data-custom-class="subtitle"] {
    font-size: 16px !important;
    color: #2B283DB2 !important;
    margin-bottom: 32px;
    display: block;
}

[data-custom-class="heading_1"] {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #2B283D !important;
    margin-top: 40px;
    margin-bottom: 20px;
    display: block;
}

[data-custom-class="heading_2"] {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #2B283D !important;
    margin-top: 32px;
    margin-bottom: 16px;
    display: block;
}

[data-custom-class="body_text"] {
    font-size: 16px !important;
    color: #2B283DB2 !important;
    line-height: 1.8 !important;
}

[data-custom-class="link"] {
    color: #4D84FF !important;
    text-decoration: none;
}

/* Fix for lists */
.legal-content ul,
.legal-content ol {
    margin-left: 24px;
    margin-bottom: 16px;
    list-style-position: outside;
}

.legal-content li {
    margin-bottom: 8px;
    color: #2B283DB2;
}

/* Legal Navigation Styles */
.legal-nav-content {
    max-width: 800px;
    padding: 0 24px;
}