.page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    max-width: 1280px;
    margin: 120px auto 0 auto;
    position: relative;
}

.mt-section {
    margin: 80px auto 0 auto;
}

@media(max-width: 768px) {
    .page-container {
        margin: 64px 15px 0;
    }
}

.page-title {
    line-height: 100%;
    font-weight: 700;
    font-size: 56px;
    letter-spacing: -0.01em;
    text-align: center;
    white-space: pre-wrap;
    word-break: break-word;

    color: var(--text-main);

    z-index: 1;
    position: relative;
}

@media(max-width: 768px) {
    .page-title {
        font-size: 32px;
        word-break: break-word;
        padding: 0 16px;
        line-height: 120%;
    }
}

.page-description {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;

    text-align: center;

    color: var(--text-secondary);
    white-space: pre-wrap;
    margin-top: 24px;

    z-index: 1;
    position: relative;
}

@media(max-width: 768px) {
    .page-description {
        word-break: break-word;
        padding: 0 16px;
        font-size: 16px;
        white-space: initial;
    }
}

.buttons-container {
    display: flex;
    justify-content: center;

    z-index: 1;
    position: relative;
}

.buttons-container a {
    display: block;
    margin-top: 0;
}

.buttons-container a:not(:first-child) {
    margin-left: 18px;
}

@media(max-width: 768px) {
    .buttons-container a:not(:first-child) {
        margin-left: 0;
        margin-top: 18px;
    }

    .buttons-container a {
        text-align: center;
    }

    .buttons-container {
        display: flex;
        flex-direction: column;
        padding: 0 16px;

        width: 100%;
    }
}

.rounded-button {
    padding: 20px 56px;

    color: var(--text-on-brand);
    background: var(--surface-brand);
    border: 1px solid var(--surface-border);
    box-sizing: border-box;
    border-radius: 16px;
    margin-top: 56px;

    font-weight: 500;
    font-size: 20px;
    line-height: 24px;

    text-align: center;

    transition: background-color 200ms linear;
}

.rounded-button span {
    transition: all ease 200ms;
    margin-left: 4px;
}

.rounded-button:hover {
    filter: brightness(1.1);
}

.rounded-button > span {
    transform: translateX(5px);
}

@media(max-width: 768px) {
    .rounded-button {
        margin-top: 32px;
    }
}

.transparent-button {
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-main);
    transition: box-shadow 200ms ease;
    border: 1px solid var(--surface-border);
}

.transparent-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: rgb(0 56 110 / 8%) 0 0 15px 5px, rgb(225 237 250) 0 0 0 1px inset;
}

/* first screen */
.first-screen .main-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    height: 613px;
    max-width: 1280px;
    margin: 40px auto 0;
    border-radius: 16px;
    padding: 0 25px;
    position: relative;
    overflow: hidden;
    background: url("/ssr-landing-static/seven/images/light.svg") no-repeat;
    background-size: cover;
    background-position: bottom center;
    box-shadow: 0px 12px 32px 0px rgba(0, 48, 105, 0.05);
    border: 1px solid rgba(102, 126, 255, 0.15);
}

.first-screen .main-container > :first-child {
    position: relative;
    z-index: 99;
}

.first-screen .main-container > :nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;

    margin-top: 80px;
}


@media (max-width: 768px) {
    .first-screen .main-container > :nth-child(2) {
        gap: 30px;

        margin-top: 0;
    }
}

@media(max-width: 768px) {
    .first-screen .main-container {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 200px;
        margin-top: 0;
    }
}

.first-screen .title-text {
    color: var(--text-main);
    text-align: center;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 100%;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .first-screen .title-text {
        font-size: 40px;
    }
}

.first-screen .description-text {
    margin-top: 18px;
    color: var(--text-secondary);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 150%;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .first-screen .description-text {
        font-size: 16px;
    }
}

.float-up-down {
    animation: floatUpDownSmall 4500ms infinite linear;
}

@keyframes floatUpDownSmall {
    0% { transform: translateY(20%); }
    50% { transform: translateY(55%); }
    100% { transform: translateY(20%); }
}

.emoji1 {
    position: absolute;
    left: 5vw;
    top: 3vw;
}

.emoji1:nth-child(3) {
    animation-delay: 150ms;
    animation-duration: 5500ms;
}

@media (max-width: 768px) {
    .emoji1 {
        top: unset;
        bottom: 100px;
    }
}

.emoji2 {
    position: absolute;
    left: 15vw;
    top: 25vw;
}

.emoji2:nth-child(4) {
    animation-delay: 200ms;
    animation-duration: 6000ms;
}

@media (max-width: 768px) {
    .emoji2 {
        top: unset;
        bottom: 110px;
        left: unset;
        right: 10vw;
    }
}

.emoji3 {
    position: absolute;
    right: 5vw;
    top: 5vw;
}

.emoji3:nth-child(5) {
    animation-delay: 250ms;
    animation-duration: 7000ms;
}

@media (max-width: 768px) {
    .emoji3 {
        top: unset;

        bottom: 80px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
    }
}

.emoji4 {
    position: absolute;
    right: 10vw;
    bottom: 5vw;
}

.emoji4:nth-child(6) {
    animation-delay: 150ms;
    animation-duration: 8500ms;
}

@media (max-width: 768px) {
    .emoji4 {
        display: none;
    }
}

.big-emoji {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .big-emoji {
        width: 75px;
        height: 75px;
    }
}

.small-emoji {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.main-page-title {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 100%;
    padding: 0 25px;
    text-align: center;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .main-page-title {
        font-size: 40px;
    }

    .desktop {
        display: none;
    }
}

@media (min-width: 769px) {
    .tablet {
        display: none;
    }
}

/* features */
.mobile-wrapper {
    position: relative;
    padding: 0 16px;
}

.section-container {
    width: 100%;
    max-width: 1280px;
    margin: 125px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.section-container .main-page-title {
    font-size: 40px;
    white-space: initial;
}

.mobile-wrapper .cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .mobile-wrapper .cards-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

@media (max-width: 768px) {
    .card-container {
        padding: 0 53px;
        gap: 18px;
    }
}

.icon {
    width: 392px;
    height: 235px;
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .icon {
        width: 215px;
        height: 128px;
    }
}

.mobile-wrapper .title-text {
    text-align: center;
    font-family: 'Inter Tight', sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 90%;
    letter-spacing: -0.48px;
    white-space: pre-wrap;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .mobile-wrapper .title-text {
        font-size: 28px;
    }
}

/* Bubbles */
.common-container {
    margin-top: 125px;
}

@media(max-width: 768px) {
    .common-container {
        margin-top: 70px;
    }
}

.bubbles-container .cards-container {
    display: grid;
    grid-template-columns: 1fr 0.48fr;
    grid-gap: 24px;
    margin: 70px auto 0;
    max-width: 1280px;
}

@media (max-width: 768px) {
    .bubbles-container .cards-container {
        grid-template-columns: 1fr;
        margin: 30px 15px 0;
    }
}

.big-card {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 645px;
    border-radius: 10px;
    background: var(--surface-background-secondary);
}

.big-card::before {
    width: 100%;
    height: 100%;
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    background: radial-gradient(79.83% 100% at 50% 100%, rgba(220, 120, 255, 0.8) 0%, rgba(149, 140, 255, 0.5) 55.67%, rgba(140, 193, 255, 0) 100%);
    background-size: cover;
    opacity: 0.5;
    border-radius: 10px;
}

.big-card::after {
    position: absolute;
    content: '';
    bottom: 0;
    width: 100%;
    height: 390px;
    background: url('/ssr-landing-static/seven/images/bubbles.png') no-repeat;
    background-size: contain;
}

@media (max-width: 768px) {
    .big-card {
        height: 436px;
    }
    .big-card::after {
        height: 176px;
        background-position-y: bottom;
    }
}

.small-card {
    padding: 30px 0 50px;
    border-radius: 10px;
    position: relative;
    background: var(--surface-background-secondary);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
}

.small-card::before {
    width: 100%;
    height: 100%;
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    background: radial-gradient(164.54% 100% at 50% 0%, rgba(173, 207, 247, 0.5) 0%, rgba(173, 235, 247, 0) 100%);
    background-size: cover;
    opacity: 0.5;
    border-radius: 10px;
}

.small-card > div {
    display: flex;
    flex-direction: column;
    align-items: center;

    position: relative;
    z-index: 1;
}

.small-card > div > :last-child {
    width: 100%;
    margin-top: 30px;
}

.big-card-title, .big-card-description {
    text-align: center;
    font-family: Inter, sans-serif;
}

.big-card-title {
    font-size: 35px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: -0.7px;
    max-width: 320px;
    color: var(--text-main);
}

.big-card-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    max-width: 320px;
    margin-top: 18px;
    color: var(--text-secondary);
}

.receipt-image {
    width: 100%;
    height: 235px;
}

/* Banners */

.banners .banners-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1280px;
    margin: 50px auto 0;
}

@media (max-width: 768px) {
    .banners .banners-container {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin: 50px 15px 0;
    }
}

.banners .banner-card {
    padding: 30px 0;
    border-radius: 24px;
    background: var(--surface-background-secondary);
    height: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .banners .banner-card:first-child {
        height: 550px;
    }
}

.banners .icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.banners .title-text {
    font-family: Onest, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    color: var(--text-main);
    text-align: center;
    white-space: pre-wrap;
}

.banners .description-text {
    margin-top: 5px;
    text-align: center;
    font-family: Onest, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    color: var(--text-secondary);
    white-space: pre-wrap;
}

.banners .left-banner-image {
    width: 100%;
    height: 415px;
    position: absolute;
    bottom: 30px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .banners .left-banner-image {
        bottom: 0;
    }
}

.banners .right-banner-image {
    width: 482px;
    height: 764px;
    margin-top: 40px;
    position: absolute;
    bottom: -180px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .banners .right-banner-image {
        width: 100%;
        height: 364px;
        margin-top: 40px;
        bottom: -25px;
    }
}

/* reviews */

.reviews-container {
    margin-top: 50px;
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }
}

.review {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--surface-background-secondary);
    border-radius: 16px;

    overflow: hidden;
}

.review > * {
    padding: 18px;
}

.review > *:not(:first-child) {
    padding-top: 0;
}

@media (max-width: 768px) {
    .review {
        gap: 30px;
    }
}

.author-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    background: var(--surface-background-secondary);

    border-bottom: 1px solid var(--surface-border);
}

.author-name {
    color: var(--text-secondary);
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 90%; /* 18px */
    text-transform: lowercase;
}

.social-network-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-network-icon {
    width: 24px;
    height: 24px;
}

.network-name {
    color: var(--text-secondary);
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 90%;
}

.review-container {
    margin-top: 10px;
}

.review-container p {
    color: var(--text-main);
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.4px;
    white-space: pre-wrap;
}

@media(max-width: 768px) {
    .review-container p {
        font-size: 28px;
        font-weight: 500;
    }
}

/* FAQ */
.questions-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 50px;
    width: 100%;
}

.question-container {
    padding: 25px;
    border-radius: 16px;
    width: 100%;
    position: relative;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-S);
    cursor: pointer;
}

.faq-title {
    color: var(--text-main);
    font-family: Inter, sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 90%;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 20px;
    }
}

.expanded-text {
    color: var(--text-secondary);
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.expanded-text span {
    padding-top: 8px;
}

.question-container.active .expanded-text {
    max-height: 130px;
    padding-top: 30px;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 25px;
    top: 25px;
    mask: url("/ssr-landing-static/oreo/images/arrow.svg") no-repeat;
    -webkit-mask: url("/ssr-landing-static/oreo/images/arrow.svg") no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    background-color: var(--text-main);
    transition: transform 0.3s ease-in-out;
}

.question-container.active .arrow-icon {
    transform: rotateZ(0);
}

.arrow-icon.inactive {
    transform: rotateZ(180deg);
}

/* Reg promotion */
.registration-container {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-S);
}

.registration-container > a {
    display: block;

    margin-top: 0;
}

@media (max-width: 768px) {
    .registration-container {
        flex-direction: column;
        gap: 26px;
        text-align: center;
    }
}

.title-text {
    color: var(--text-main);
    font-feature-settings: 'ss02' on;
    font-family: Inter, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 100%;
}

.description-text {
    text-align: center;
    font-family: Onest, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 27px */
    color: var(--text-secondary);
    margin-top: 18px;
    white-space: pre-wrap;
}

.desktop-icon {
    margin-left: 10px;
    font-size: 24px;
}

.cabinet-preview .order-card-container {
    height: 470px;
    margin-bottom: 0;
}

.cabinet-preview .order-card-container .card-container {
    border-radius: 16px;
}

@media (max-width: 768px) {
    .cabinet-preview .order-card-container {
        position: relative;
        height: 500px;

        margin-top: 20px;
        margin-bottom: 0;
    }

    .cabinet-preview .order-card-container > div {
        height: 480px;
        bottom: unset;
        top: 20px;
        position: relative;

        width: 100%;
        max-width: 320px !important;
        min-width: unset;
    }
}
