﻿@font-face {
    font-family: Max Sans;
    font-weight: 400;
    font-display: block;
    src:
            url('static/fonts/MaxSans-Light.woff2') format('woff2'),
            url('static/fonts/MaxSans-Light.woff') format('woff');
}

@font-face {
    font-family: Max Sans;
    font-weight: 500;
    font-display: block;
    src:
            url('static/fonts/MaxSans-Regular.woff2') format('woff2'),
            url('static/fonts/MaxSans-Regular.woff') format('woff');
}

@font-face {
    font-family: Max Sans;
    font-weight: 600;
    font-display: block;
    src:
            url('static/fonts/MaxSans-Medium.woff2') format('woff2'),
            url('static/fonts/MaxSans-Medium.woff') format('woff');
}


html {
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    background-color: #ebedf0;
}

*,*:before,*:after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #ebedf0;
    color: white;
    box-sizing: border-box;
    font-family: Max Sans, TT Commons, sans-serif;
}

.skeleton_placeholder {
    background: linear-gradient(90deg, #f4f6fb 25%, #e7eaf2 37%, #f4f6fb 63%);
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.1s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

#header-placeholder {
    background: linear-gradient(90deg, #f4f6fb 25%, #e7eaf2 37%, #f4f6fb 63%);
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.1s ease-in-out infinite;
    position: fixed;
    left: 24px;
    right: 24px;
    z-index: 1;
    pointer-events: none;
    height: 58px;
    border-radius: 16px;
}

#tool-menu-placeholder {
    background: linear-gradient(90deg, #f4f6fb 25%, #e7eaf2 37%, #f4f6fb 63%);
    background-size: 400% 100%;
    animation: skeleton-shimmer 1.1s ease-in-out infinite;
    position: fixed;
    left: 24px;
    top: calc(58px + 54px);
    bottom: 40px;
    width: 56px;
    min-height: 320px;
    border-radius: 9px;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1060px) {
    #tool-menu-placeholder {
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 16px;
        width: auto;
        height: 56px;
        min-height: 56px;
        border-radius: 9px;
    }
}

#page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ebedf0;
    backdrop-filter: blur(6px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

#page-loader.visible {
    opacity: 1;
    pointer-events: all;
}

body.page-fade {
    opacity: 0;
    transition: none;
}

body.page-ready {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.loader_spinner {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: conic-gradient(
        from 10deg,
        #5A8CFF 0deg,
        #63A2FF 90deg,
        #6E8CFF 170deg,
        #7C64FF 250deg,
        #8F3FFF 320deg,
        #5A8CFF 360deg
    );
    animation: loader-spin 1s linear infinite;
    box-shadow: 0 10px 30px rgba(15, 21, 36, 0.08);
}

.loader_spinner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(235, 237, 240, 0.95) 0%, rgba(235, 237, 240, 0) 65%);
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

.main {
    min-height: 99vh;
    overflow: hidden;
    padding-top: 32px;
    background-color: #ebedf0;
}

.wrapper {
    margin: 0 auto;
    max-width: 1260px;
}

.wrapper_content {
    /* 92px = 32px + 60px */
    padding-left: 92px;
    padding-right: 92px;
}

.wrapper_footer {
    /* 76px = 32px + 44px */
    padding-left: 76px;
    padding-right: 76px;
}

.section_top_line {
    position: relative;
}

.section_top_line::after {
    content: "";
    background: linear-gradient(90deg, #c4c4c400, #c4c4c455 70%, #c4c4c400);
    position: absolute;
    top: 0;
    height: 1px;
    width: 70%;
}

.section_top_line_left::after {
    left: 0;
}

.section_top_line_right::after {
    right: 0;
}

.section_background_blur {
    position: relative;
    z-index: 1;
}

.section_background_blur::before {
    content: '';
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: -1;
}

.header {
    position: fixed;
    left: 24px;
    right: 24px;
    z-index: 2;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f8fb 100%);
    border: 1px solid #ffffff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: none;
    overflow: visible;
}

.header_top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    height: 58px;
    flex-shrink: 0;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 29px;
    font-family: 'Max Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0;
    text-align: right;
    vertical-align: middle;
}

.logo {
    color: #0f1524;
}

.logo_link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo_title {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.05;
    color: #0f1524;
    letter-spacing: 0.02em;
}

.logo_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 2.5px;
    background: #e8ebf4;
    color: #111827;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}
.beta {
    height: 97%;
}

.spacer {
    height: 58px;
    width: 100%;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.burger {
    display: none;
}

.link {
    color: #4b5563;
    text-decoration: none;
}

.link:hover {
    color: #111827;
    cursor: pointer;
}

.link_active {
    color: #111827;
}

.action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.download_link {
    text-decoration: none;
    -webkit-background-clip: text;
    color: transparent;
    --gradient-point: 0.34;
    background-clip: text;
    background-image: linear-gradient(96.2deg, #5A8CFF 0%, #43D6FF calc(100% * var(--gradient-point)), #8F3FFF 99.6%);
    transition: all 0.2ms ease-in;
}

.user_info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    padding: 3px 0;
    min-width: 180px;
}
.user_phone {
    font-size: 16px;
    font-weight: 700;
    color: #0f1524;
    line-height: 1;
}
.user_role {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    line-height: 1;
}
.profile_menu {
    gap: 6px;
}

.profile_dropdown_info {
    display: none;
    padding: 8px 12px 0;
    flex-direction: column;
    gap: 4px;
}
.profile_dropdown_info .user_phone {
    font-size: 14px;
    font-weight: 700;
}
.profile_dropdown_info .user_role {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 960px) {
    .action {
        gap: 8px;
    }
    .user_info {
        min-width: 0;
        max-width: 160px;
        align-items: flex-end;
        gap: 2px;
    }
    .user_phone {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .user_role {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .profile_avatar {
        width: 36px;
        height: 36px;
    }
}
.profile_menu {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.profile_avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: none;
}
.profile_avatar:hover {
    transform: none;
    box-shadow: none;
}
.profile_dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 220px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e4e8f0;
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.16);
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
    width: max-content;
    max-width: calc(100vw - 48px);
}
.profile_dropdown.open {
    display: flex;
}
.profile_dropdown_item {
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 14px;
    color: #111827;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.profile_dropdown_item:hover {
    background: #f3f4f6;
    color: #0f1524;
}

.tool_menu {
    position: fixed;
    left: 24px;
    top: calc(58px + 54px);
    bottom: 40px;
    z-index: 1;
    width: 51px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 6px;
    border-radius: 9px;
    overflow: hidden;
    background: linear-gradient(145deg, #0f1b3d 0%, #1b1f4b 60%, #24244f 100%);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: none;
}

.tool_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 38px;
    padding: 0;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
    background: transparent;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.tool_button:hover {
    transform: translateY(-1px);
    opacity: 1;
}

.tool_icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    -webkit-mask: var(--tool-mask) no-repeat center / contain;
    mask: var(--tool-mask) no-repeat center / contain;
}

.cabinet_menu .tool_icon,
.cabinet_menu .tool_icon_plus,
.cabinet_menu .cabinet_toggle_icon {
    flex-shrink: 0;
}

.tool_icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: invert(1) saturate(0);
}

.tool_button[data-icon="max"] .tool_icon {
    --tool-mask: url('static/image/max.svg');
}

.tool_button[data-icon="chatbots"] .tool_icon {
    --tool-mask: url('static/image/burger.svg');
}

.tool_button[data-icon="miniapps"] .tool_icon {
    --tool-mask: url('static/image/desktop.svg');
}

.tool_button[data-icon="channels"] .tool_icon {
    --tool-mask: url('static/image/qr_logo.svg');
}

.tool_button[data-icon="admin-uc"] .tool_icon {
    --tool-mask: url('static/image/icon_users_channels.svg');
}

.admin_tool_menu {
    background: linear-gradient(180deg, #0b0b0f 0%, #0f1118 100%);
}
.admin_tool_menu .tool_button {
    color: #ffffff;
}

.tool_button.is-active .tool_icon {
    background: linear-gradient(96.2deg, #5A8CFF 0%, #43D6FF 50%, #8F3FFF 99.6%);
}

.cabinet_toggle_icon {
    background: linear-gradient(96.2deg, #5A8CFF 0%, #43D6FF 50%, #8F3FFF 99.6%);
    color: #ffffff;
}

.tool_button.is-active .tool_icon img {
    filter: invert(35%) sepia(79%) saturate(1753%) hue-rotate(201deg) brightness(97%) contrast(98%);
}

@supports ((-webkit-mask: url("")) or (mask: url(""))) {
    .tool_icon img {
        opacity: 0;
    }
}

.tool_menu::after {
    content: "";
    flex: 1;
}

/* ?ç‘??‘<ü +>?ó */
.hero_block {
    color: #ffffff;
}

.hero_block_wrapper {
    display: grid;
    gap: 24px;
    grid-template-columns: auto 36%;
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(24px, 6vw, 120px);
    padding-right: clamp(24px, 6vw, 120px);
}

@media (min-width: 1061px) {
    .hero_block_wrapper {
        /* Добавляем запас слева под боковое меню на десктопах */
        padding-left: clamp(140px, 12vw, 220px);
    }
}

.hero_block_text {
    display: flex;
    flex-direction: column;
    padding: 80px 0 90px;
}

.main_header {
    font-size: 72px;
    margin: 0;
    font-weight: 500;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.accent_header {
    text-decoration: none;
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
    background-image: linear-gradient(89.93deg, #5A8CFF -16.1%, #43D6FF 16.36%, #8F3FFF 76.63%);
    font-weight: 500;
    font-size: 72px;
    margin: 0;
    max-width: 450px;
}

.main_subheader {
    font-size: 28px;
    line-height: 130%;
    letter-spacing: 0;
    vertical-align: bottom;
    color: #C3C3C3;
    margin: 32px 0 0;
}

.main_buttons {
   display: flex;
    gap: 16px;
    margin-top: 64px;
}

.buttons {
    margin-top: 24px;
}

/* action_button */
.action_button {
    align-items: center;
    border: none;
    border-radius: 10px;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    font-size: 24px;
    font-weight: 500;
    gap: 8px;
    height: 64px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 140%;
    overflow: hidden;
    padding: 0 24px;
    position: relative;
    text-align: center;
    text-decoration: none;
    z-index: 1;
}

.action_button::before {
    content: '';
    left: 0;
    top: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.action_button:hover::before {
    opacity: 1;
}

.action_button_primary {
    background-image: linear-gradient(135deg, #161F8A 0%, #2D085F 100%);
}

.action_button_primary::before {
    background-image: linear-gradient(97.21deg, #01C5C8 0.32%, #046EF4 44.6%, #572DFF 62.16%);
}

.action_button_hero {
    min-width: 220px;
}

.action_button_secondary {
    background-image: linear-gradient(135deg, rgba(67, 67, 67, 0.8) 0%, rgba(67, 67, 67, 0.2) 100%);
    z-index: 1;
}

.action_button_secondary::before {
    background-image: linear-gradient(97.21deg, #01C5C8 0.32%, #046EF4 44.6%, #572DFF 62.16%);
}

/* ý?? ?>‘? óø‘?‘'ñ??ó ?‘?ø?ñç?‘'  */
.circle_block_right {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.circle_block_left {
    position: absolute;
}

.circle {
    position: absolute;
    border-radius: 25%;
    width: 300px;
    height: 300px;
}

.circle1 {
    background:#AA4CFF;
    left: 154px;
}

.circle2 {
    background:#3838FF;
    left: 300px;
    top: 150px;
}

.circle3 {
    background:#3A89FB;
    left: 150px;
    top: 300px;
}

.circle4 {
    background:#630EFF;
    top: 150px;
}

.circle_blur {
    position: relative;
    opacity: 70%;
    -webkit-filter: blur(200px);
    filter: blur(200px);
    width: 500px;
    height: 500px;
}

.hero_block_img {
    position: relative;
    padding-top: 80px;
}

/* block */
.block_webapps + .block,
.block_webapps + .business,
.block_webapps + .download {
    margin-top: -100px;
}

.block_channels + .block,
.block_channels + .business,
.block_channels + .download {
    margin-top: -80px;
}

.block_wrapper {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
    padding-top: 80px;
    padding-bottom: 80px;
}

.graphics {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.graphics_content {
    margin: 0 auto;
    z-index: 1;
    max-width: 322px;
}

.block_webapps .graphics_content {
    position: relative;
    top: 100px;
}

.block_channels .graphics_content {
    position: relative;
    top: 80px;
}

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

.graphics_image_chatbots {
    position: relative;
}

.graphics_image_chatbots {
    display: block;
    left: -30%;
    max-width: 134%;
    width: 134%;
}

.graphics_image_channels {
    position: relative;
    left: -25%;
    max-width: 145%;
    width: 145%;
}

.text {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    gap: 24px;
}

.block_header {
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    vertical-align: bottom;
    color: #FFFFFF;
    margin: 0;
}

.block_header .mobile {
    display: none;
}
.block_header .notifications {
    display: flex;
}

.block_subheader {
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    color: #C3C3C3;
    margin: 0;
}

.circle_block_first {
    position: absolute;
    left: 40%;
    top: 75%;
    transform: translate(-50%, -50%);
}

.hero_graphics_wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    right: 0;
    min-width: 230px;
    z-index: 0;
    transition: transform 0.3s;
    transform: translateY(0);
}

.phone {
    z-index: 1;
}

.video {
    position: absolute;
    width: 96%;
    height: 98%;
    top: 5px;
    border-radius: 4%;
}

.download_wrapper {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-top: 96px;
}

.download_buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.business_wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 96px;
}

.buttons_block {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 800px;
}

.footer_wrapper {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    padding-top: 160px;
    padding-bottom: 40px;
}

.footer_block {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer_block a:hover {
    color: #FFFFFF;
}

.footer_block_logo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #9A9A9A;
    padding-bottom: 1px;
}

.footer_block_logo img {
    max-width: 94px;
}

.footer_link {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-decoration: none;
    color: #B5B5B5;
    transition: margin-left 0.3s ease;
}

.footer_link:hover {
    color: #fff;
}

.qrButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 64px;
    aspect-ratio: 1;

    position: relative;
    cursor: crosshair;
    z-index: 1;
}


.qrButton::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;

    height: 64px;
    width: 64px;

    background: linear-gradient(
            135deg,
            #161f8a 0%,
            #2d085f 100%
    );
    border-radius: 10px;

    transition:
            width 200ms ease,
            height 200ms ease;

    z-index: -1;
}

.qrButton:hover::after {
    width: 240px;
    height: 240px;

    background: linear-gradient(
            97deg,
            #01c5c8 0.32%,
            #046ef4 44.6%,
            #572dff 62.16%
    );
}

.icon {
    position: absolute;
    bottom: 0;
    left: 0;

    display: flex;

    padding: 12px;

    height: 64px;
    width: 64px;

    opacity: 1;

    transition:
            opacity 200ms ease,
            transform 200ms ease,
            filter 200ms ease;
}

.qrButton:hover .icon {
    opacity: 0;

    transform: scaleX(0);
    -webkit-filter: blur(20px);
    filter: blur(20px);
}

.qr {
    position: absolute;
    bottom: 0;
    left: 0;

    padding: 12px;

    transition:
            opacity 300ms ease,
            width 200ms ease,
            height 200ms ease,
            filter 200ms ease;

    height: 64px;
    width: 64px;
    opacity: 0;
    -webkit-filter: blur(20px);

    filter: blur(20px);

    z-index: 3;
}

.qrButton:hover .qr {
    width: 240px;
    height: 240px;
    display: block;
    opacity: 1;
    -webkit-filter: blur(0);
    filter: blur(0);
}

.img_qr {
    width: 0;
    transition:
            opacity 200ms ease,
            transform 200ms ease,
            filter 200ms ease;
}

.qrButton:hover .img_qr {
    width: 100%;
}

.burger_menu {
    display: none;
}

img {
    max-width: 100%;
}


@media (max-width: 1160px) {
    .wrapper_content {
        /* 64px = 32px + 32px */
        padding-left: 64px;
        padding-right: 64px;
    }

    .circle_block_first {
        left: 40%;
    }

    .videoElementWrapper {
        max-width: 222px;
    }

    .text {
        width: 100%;
    }
}

@media (max-width: 1060px) {
    .wrapper_content {
        /* 48px = 32px + 16px */
        padding-left: 48px;
        padding-right: 48px;
    }

    .tool_menu {
        display: flex;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        top: auto;
        width: auto;
        height: 56px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 9px;
        z-index: 3;
    }

    .tool_menu::after {
        content: none;
    }

    .tool_button {
        flex: 1;
        height: 36px;
    }

    .menu {
        display: none;
    }

    .spacer {
        height: 42px;
    }

    .main_subheader {
        font-size: 20px;
        margin-top: 24px;
    }

    .main_buttons {
        gap: 8px;
        margin-top: 32px;
    }

    .beta img {
        height: 105%;
    }

    .header_top {
        height: 42px;
        padding: 0 16px;
        grid-template-columns: 1fr 1fr;
        font-size: 16px;
        line-height: 120%;
    }

    .header {
        left: 16px;
        right: 16px;
        border-radius: 12px;
    }

    .header.opened {
        height: calc(100vh - 42px);
        max-height: 640px;

        touch-action: none;
    }

    .action {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
    }

    .burger {
        display: none !important;
    }

    .burger_menu {
        display: none !important;
    }

    .burger_menu.opened {
        display: none !important;
    }

    .nav {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 48px;

        padding: 16px;
        text-decoration: none;
    }

    .logo {
        height: 32px;
    }

    .nav a {
        text-decoration: none;
        font-weight: 500;
        font-size: 22px;
    }

    .mobileLink {
        color: #fff;
    }

    .mobileCopy {
        font-size: 16px;
        color: #fff;
        padding: 16px;
        margin-top: auto;
    }

    .main_header {
        font-size: 48px;
    }

    .accent_header {
        font-size: 48px;
    }

    .block_header {
        font-size: 40px;
    }

    .block_subheader {
        font-size: 16px;
    }

    .buttons_block {
        gap: 8px;
    }

    .graphics_content {
        max-width: 272px;
    }

    .graphics_image_chatbots {
        left: -23%;
        max-width: 130%;
        width: 130%;
    }

    .circle_blur {
        width: 400px;
        height: 400px;
    }
    .circle1 {
        left: 29px;
    }

    .circle2 {
        left: 50px;
        top: 25px;
    }

    .circle3 {
        left: 25px;
        top: 50px;
    }

    .circle4 {
        top: 25px;
    }

    .circle {
        width: 300px;
        height: 300px;
    }

    .circle_blur {
        -webkit-filter: blur(100px);
        filter: blur(100px);
    }

    .text {
        gap: 16px;
    }

    .buttons {
        margin-top: 16px;
    }

    .action_button {
        border-radius: 8px;
        font-size: 20px;
        height: 46px;
    }

    .action_button_hero {
        min-width: 0;
    }

    .qrButton {
       padding: 10px;
       height: 46px;
       width: 46px;
   }

   .qrButton::after {
       border-radius: 8px;
       padding: 10px;
       height: 46px;
       width: 46px;
   }

   .icon,
   .qr {
       height: 46px;
       width: 46px;
       padding: 7px;
   }

    .footer_wrapper {
        gap: 48px;
        grid-template-columns: 1fr repeat(2, minmax(auto, max-content));
        grid-template-rows: repeat(2, minmax(auto, max-content));
        justify-content: normal;
    }

    .footer_block_logo {
        grid-row: 1/-1;
    }
}

@media (min-width: 1200px) {
    .wrapper_content {
        padding-left: 200px;
    }

    .wrapper_footer {
        padding-left: 190px;
    }
}

@media (max-width: 860px) {
    .circle_blur {
        width: 357px;
        height: 357px;
    }

    .action_button_primary.desktop {
        display: none;
    }
}

@media (max-width: 790px) {
    .logo {
        color: #ffffff;
        display: flex;
        justify-content: flex-start;
    }

    .logo_link {
        gap: 12px;
    }

    .demo {
        width: 98%;
    }

    .main {
        padding-top: 16px;
    }

    .wrapper_footer {
        /* 60px = 16px + 44px */
        padding-left: 60px;
        padding-right: 60px;
    }

    .wrapper_content {
        /* 16px = 16px + 0px */
        padding-left: 16px;
        padding-right: 16px;
    }

    .section_top_line::after {
        background: linear-gradient(90deg,#c4c4c400,#c4c4c4aa,#c4c4c400);
        width: 100%;
    }

    .header.opened {
        height: calc(100% - 42px);
        max-height: none;
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
    }

    .download_wrapper {
        gap: 28px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .main_header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .accent_header {
        width: 100%;
    }

    .main_subheader {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
    }

    .action_button {
        min-width: 0;
        width: 100%;
    }

    .main_buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .nav a {
        font-size: 32px;
    }

    .hero_graphics_wrapper {
        max-width: 400px;
        left: 50%;
        width: 85%;
        translate: -50% 0;
    }

    .hero_block_wrapper {
        text-align: center;
        grid-template-columns: auto;
        grid-template-rows: auto 440px;
        gap: 21px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero_block_text {
        padding: 40px 0 0;
    }

    .hero_block {
        padding-bottom: 96px;
    }

    .hero_block_img {
        padding: 0;
    }

    .circle_blur {
        width: 400px;
        height: 400px;
    }

    .block_wrapper {
        padding-top: 120px;
        padding-bottom: 30px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 40px;
    }

    .block_webapps + .block,
    .block_webapps + .business,
    .block_webapps + .download {
        margin-top: -126px;
    }

    .block_channels + .block,
    .block_channels + .business,
    .block_channels + .download {
        margin-top: -100px;
    }

    .text {
        align-items: center;
        text-align: center;
        order: 1;
        max-width: 360px;
        margin: 0 auto;
    }

    .block_graphics {
        order: 2;
    }

    .graphics_content {
        max-width: 232px;
    }

    .block .graphics_content {
        top: 0;
    }

    .graphics_image_chatbots {
        display: block;
        left: -12%;
        max-width: 126%;
        width: 126%;
    }

    .block_header {
        font-size: 32px;
        text-align: center;
    }

    .buttons_block {
        flex-direction: column;
        align-items: center;
    }

    .business_wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .buttons_wrapper {
        min-height: 100px;
    }

    .footer_wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4,minmax(auto,max-content));
        padding-bottom: 168px;
    }

    .qrButton {
        display: none;
    }

    .buttons_block.fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: center;
        -webkit-backdrop-filter: blur(33px);
        backdrop-filter: blur(33px);
        background: #0d0d0dcd;
        z-index: 1;
        gap: 8px;
        width: 100%;
        padding: 8px 16px;
        align-items: normal;
    }

    .buttons_block.fixed .action_button {
        width: 100%;
    }

    .buttons_block.fixed .action_button_primary::before {
        opacity: 1;
    }

    .footer_block_logo {
        gap: 16px;
        grid-row-start: 4;
    }

    .action_button_primary.android {
        display: none;
    }
    .action_button_primary.ios {
        display: none;
    }
    .action_button_primary.desktop {
        display: none;
    }

    .mobileLink.android {
        display: none;
    }
    .mobileLink.ios {
        display: none;
    }
    .mobileLink.desktop {
        display: none;
    }

}

@media (max-width: 420px) {
    .main_header {
        font-size: 40px;
    }

    .accent_header {
        font-size: 40px;
    }
}

@media (max-width: 340px) {
    .nav {
        gap: 16px;
        margin-top: 24px;
    }

    .nav a {
        font-size: 20px;
    }

    .block_header .mobile {
        display: flex;
    }
    .block_header .notifications {
        display: none;
    }
}

@media (max-width: 320px) {
.block_header {
    font-size: 28px;
    }
}

/* ========== Light Theme Overrides ========== */
:root {
    --light-bg: #f5f7fb;
    --light-card: #ffffff;
    --light-muted: #5f6b7a;
    --light-text: #0f1524;
    --light-line: #e4e8f0;
    --light-shadow: 0 20px 45px rgba(15, 21, 36, 0.08);
    --grad-main: linear-gradient(120deg, #3366ff 0%, #7c3aed 45%, #ff6b9a 100%);
}

body {
    background: var(--light-bg);
    color: var(--light-text);
}

.download_link {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: var(--grad-main);
}

.section_background_blur {
    background: var(--light-card);
    border: 1px solid var(--light-line);
    box-shadow: var(--light-shadow);
}

.section_background_blur::before {
    background: rgba(255, 255, 255, 0.85);
}

.main_subheader,
.block_subheader {
    color: var(--light-muted);
}

.block_header,
.main_header {
    color: var(--light-text);
}

.action_button_secondary {
    background: #eff2f8;
    color: var(--light-text);
}

.action_button_secondary::before {
    background: var(--grad-main);
}

.footer {
    background: transparent;
    color: var(--light-muted);
}

.footer_link {
    color: #4b5565;
}

.footer_link:hover {
    color: var(--light-text);
}

/* Профиль-иконка для ссылки выхода */
.profile_logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.profile_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(96.2deg, #5A8CFF 0%, #43D6FF 50%, #8F3FFF 99.6%);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
}

.tool_icon_plus {
    background: #ffffff;
    color: #0f1524;
    -webkit-mask: none;
    mask: none;
    border-radius: 8px;
    width: 26px;
    height: 26px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--light-line);
}

.tool_button.is-active .tool_icon_plus {
    background: linear-gradient(96.2deg, #5A8CFF 0%, #43D6FF 50%, #8F3FFF 99.6%);
    color: #ffffff;
    border-color: transparent;
}

@media (max-width: 640px) {
    .main {
        padding-top: 16px;
    }
    .wrapper_content,
    .wrapper_footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    .header {
        left: 12px;
        right: 12px;
        border-radius: 12px;
    }
    .header_top {
        height: 48px;
        padding: 0 12px;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        font-size: 15px;
    }
    .logo_title {
        font-size: 18px;
    }
    .logo_badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    .hero_block_wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
        padding-left: 16px;
        padding-right: 16px;
        text-align: left;
    }
    .hero_block_text {
        padding: 28px 0 0;
    }
    .hero_graphics_wrapper {
        position: relative;
        right: auto;
        left: auto;
        translate: none;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .main_header {
        font-size: clamp(28px, 6vw, 34px);
        line-height: 1.15;
    }
    .accent_header {
        font-size: clamp(28px, 6vw, 34px);
        line-height: 1.15;
    }
    .block_header {
        font-size: clamp(22px, 5vw, 26px);
        line-height: 1.2;
    }
    .main_subheader,
    .block_subheader {
        font-size: clamp(14px, 4.4vw, 16px);
        line-height: 1.5;
    }
    .block_wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .buttons_block {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .action {
        gap: 8px;
    }
    .download_link {
        font-size: 14px;
    }
    .profile_icon {
        width: 29px;
        height: 29px;
        font-size: 12px;
        background: linear-gradient(96.2deg, #5A8CFF 0%, #43D6FF 50%, #8F3FFF 99.6%);
    }
    .action_button {
        height: 52px;
        font-size: 16px;
        padding: 0 16px;
        border-radius: 12px;
        width: 100%;
    }
    .action_button_hero {
        width: 100%;
        min-width: 0;
    }
    .footer_wrapper {
        padding-top: 64px;
        padding-bottom: 64px;
        gap: 16px;
    }
    .footer_block_logo img {
        max-width: 80px;
    }
    .profile_dropdown_info {
        display: flex;
        align-items: center;
        text-align: center;
    }
    .user_info {
        display: none;
    }
    .profile_dropdown {
        top: calc(100% + 6px);
        left: auto;
        right: 0;
        width: max-content;
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .main_header,
    .accent_header {
        font-size: clamp(26px, 7vw, 30px);
    }
    .block_header {
        font-size: clamp(20px, 6vw, 24px);
    }
    .action_button {
        height: 48px;
        font-size: 15px;
        padding: 0 14px;
        border-radius: 10px;
    }
    .main_subheader,
    .block_subheader {
        font-size: 14px;
    }
}



