/* Общие стили */
/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;  
}


.inter-<uniquifier> {
  font-family: "Manrope", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

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

:focus,
:active {
	/*outline: none;*/
}

a:focus,
a:active {
	/* outline: none;*/
}

input:focus {
        outline: none;
       /*  border: solid 2px #E2E8F0;*/
 }
textarea:focus {
        outline: none;
       /*  border: solid 2px #E2E8F0;*/
 }
 

/* Links */

a {
    /* color: inherit; */
    text-decoration: none;
    /* display: inline-block; */
    color:#8E92BC;
}

a:link, a:visited  {
    /* color: inherit; */
    text-decoration: none;
    /* display: inline-block; */
    color:#726BEA;
}

a:hover  {
    /* color: inherit; */
    text-decoration: none;
     /* color:#726BEA; */
}

/* Common */

 

h1, h2, h3, h4, h5, h6, p {
font-family: "Manrope", serif;
font-optical-sizing: auto;
font-weight: <weight>;
font-style: normal;
    font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}


body {
font-family: "Manrope", serif;
font-optical-sizing: auto;
font-weight: <weight>;
font-style: normal;
color: #303C52;
height: 100%;
width:100%:
line-height: 1.2;
background-color: #ffffff;
    overflow-x:hidden;
}

 #cookie-banner {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #FEF7F9;
            padding: 12px 20px;
            z-index: 1000;
            display: none; /* Сначала скрыт */
            align-items: center;
            justify-content: space-between;
            border-radius: 25px;
            width: 70%;
            max-width: 500px;
            min-width: 280px; /* Чтобы не было слишком узким на мобильных */
            box-sizing: border-box;
            flex-wrap: wrap;
            gap: 10px;
        }

        .cookie-content {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
            min-width: 200px;
        }

        .cookie-text {
            display: flex;
            flex-direction: column;
        }

        #cookie-banner a { 
            text-decoration: none;
            font-size: 0.85em;
            margin-top: 4px;
        }

        #cookie-banner a:hover {
            text-decoration: underline;
        }

        #cookie-banner button {
            background: #6788F3;
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 14px;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .cookie-icon {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        /* Адаптация для очень маленьких экранов */
        @media (max-width: 480px) {
            #cookie-banner {
                width: 90%;
                padding: 10px 15px;
            }
            
            .cookie-content {
                min-width: 100%;
                margin-bottom: 8px;
            }
            
            #cookie-banner button {
                width: 100%;
            }
        }
        
/* навигация меню */

     /* Основные стили для меню */
        .menu-container {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            min-height:65px;
            max-width: 1200px;
            min-width: 300px;
            background-color: rgba(248, 248, 248, 0.3);
            border:1px solid #E3E4E8;
            color: #303C52;
            border-radius: 18px;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            backdrop-filter: blur(10px);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        /* Логотип вне меню (десктоп и планшет) */
        .external-logo {
            position: fixed;
            left: 30px;
            top: 38px;
            height: 30px;
            z-index: 1001;
            transition: opacity 0.3s ease;
        }

        /* Кнопка вне меню (десктоп и планшет) */
        .external-demo-button {
            position: fixed;
            right: 30px;
            top: 33px;
            font-family: "Manrope", serif;
            font-size: 14px;
            background: linear-gradient(90deg, #85A0F5 0%, #6C78F4 100%);
            border: none;
            color:#ffffff;
            padding: 10px 20px;
            border-radius: 13px;
            cursor: pointer; 
            transition: all 0.3s ease;
            z-index: 1001;
            white-space: nowrap;
        }

        .external-demo-button:hover {
            transform: translateY(0px);
            box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
        }

        /* Логотип внутри меню (появляется при скролле) */
        .menu-logo-container {
            width: 0;
            overflow: hidden;
            transition: width 0.3s ease;
            display: flex;
            align-items: center;
            min-width: 50px;
        }

        .desktop-logo {
            height: 30px;
            min-width: 50px; /* Фиксированная минимальная ширина */
            opacity: 0;
            transition: opacity 0.3s ease;
            display: block;
        }
        .mobile-logo {
            display: none;
            height: 30px;
        }

        .menu-logo.visible {
            opacity: 1;
            min-width: 50px; /* Фиксированная минимальная ширина */
            width: auto; /* Автоматическая ширина по содержимому */
        }


        /* Центральная часть меню */
        .menu-center {
            display: flex;
            justify-content: center;
            flex-grow: 1;
            margin: 0 20px;
        }

        .menu-items {
            display: flex;
            list-style: none;
        }

        .menu-item {
            margin: 0 15px;
            cursor: pointer;
            font-size: 16px;
            transition: color 0.3s ease;
            white-space: nowrap;
            color: #303C52;
        }
        
        .menu-item a {
            transition: color 0.3s ease;
            color: #303C52;
        }
        
        .menu-item a:hover {
            color: #6788F3;
        }

        .menu-item:hover {
            color: #6788F3;
        }

        /* Кнопка внутри меню (появляется при скролле) */
        .demo-button {
            font-family: "Manrope", serif;
            font-size: 14px;
            background: linear-gradient(90deg, #85A0F5 0%, #6C78F4 100%);
            color: white;
            padding: 10px 20px;
            border-radius: 13px;
            cursor: pointer; 
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            white-space: nowrap;
            margin-left: auto;
            display: none;
        }

        .demo-button:hover {
            transform: translateY(0px);
            box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
        }

        /* Гамбургер меню */
        .hamburger {
            display: none;
            cursor: pointer;
            padding: 5px;
            margin-left: 15px;
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            background-color: #6788F3;
            margin: 5px 0;
            transition: all 0.3s ease;
        }

        /* Мобильное меню */
        .mobile-menu-container {
            display: none;
            position: fixed;
            top: 90px;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            border-radius: 18px;
            padding: 15px;
            backdrop-filter: blur(10px);
            z-index: 999;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-menu-items {
            list-style: none;
        }

        .mobile-menu-item {
            padding: 12px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
         .mobile-menu-items a {
            list-style: none;
            transition: color 0.3s ease;
            color: #303C52;
        }
        
        .mobile-menu-items a:hover {
            list-style: none; 
            color: #6788F3;
        }

        .mobile-menu-item:last-child {
            border-bottom: none;
        }

        .mobile-menu-item:hover {
            color: #cccccc;
        }
        

.first_screen {
    height: calc(100vh - 5%);
    padding: 5% 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-image: url(/img/main-bg.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.first_screen_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 90vw;
    padding-top:2rem;
}

.first_screen_bg {
    width: 90vw;
    height: 60vh;
    margin: 0 auto;
    position: relative;
}

.first_screen_interface {
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url(/img/modula-ai-main.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top 50%;
    margin: 0 auto;
    z-index: 1;
}

.first_screen_interface,
.first_screen_grapf_1,
.first_screen_grapf_2,
.first_screen_ticket_1,
.first_screen_ticket_2 {
    opacity: 0;  /* Начальное состояние — прозрачность 0 */
    transform: translateY(20px);  /* Небольшое смещение вниз для эффекта "появления снизу" */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;  /* Плавные переходы */
}

.first_screen_grapf_1 {
    width: 30vw;
    height: 20vh;
    background-image: url(/img/prev_graph_1.png);
    background-position: left 10% top 15%;
}

.first_screen_grapf_2 {
    width: 25vw;
    height: 25vh;
    background-image: url(/img/prev_graph_2.png);
    background-position: left 15% top 25%;
}

.first_screen_ticket_1 {
    width: 30vw;
    height: 20vh;
    background-image: url(/img/prev_ticket_1.png);
    background-position: right 10% top 15%;
}

.first_screen_ticket_2 {
    width: 25vw;
    height: 15vh;
    background-image: url(/img/prev_ticket_2.png);
    background-position: right 15% top 30%;
}

.first_screen_text {
    width: 90vw;
    font-weight: 500;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-align: center;
    margin: 0 auto;
    padding: 0 5%;
}

.first_screen_tags {
    width: 100%;
    padding: 1rem 0;
    box-sizing: border-box;
    position: relative; /* Изменено с absolute на relative */
    bottom: auto; /* Убираем фиксированное позиционирование */
    margin-top: 1rem; /* Отступ от first_screen_bg */
}
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag {
    height: 2rem;
    padding: 0.3rem 1rem;
    background-color: #E0E7FF;
    border-radius: 0.5rem;
    border: 1px solid #5D5FEF;
    color: #5D5FEF;
    font-weight: 400;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    cursor: pointer;
}

/* Анимация */
.animate-in {
    opacity: 1 !important;  /* Конечное состояние — полностью видим */
    transform: translateY(0) !important;  /* Возвращаем на место */
}

 

.cursor {
            display: inline-block;
            width: 4px;
            height: 2rem;
            background-color: #6C81FE;
            animation: blink 1s infinite;
            margin-left: 0px;
            vertical-align: middle;
        }
        
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }
        
        
/* второй экран */
.second_screen {
    /* min-height: 100vh; */
    padding: 3% 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    /* border:1px solid #EAEEF4; */
    /* border-radius:3rem; */
}

.second_screen_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    width: 90vw;
}

.second_screen_bg {
    width: 90vw;
    height: 60vh;
    margin: 0 auto;
    position: relative;
}
        
        
.second_screen_text {
    width: 90vw;
    font-weight: 500;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-align: center;
    margin: 0 auto;
    padding: 0 5%;
}  

.what_is_modul {
   margin: 0 auto;
   width:80vw;
   display: flex;
   justify-content: center; /* Горизонтальное выравнивание */
   align-items: center; 
}

.devider_25 {
    clear: both; height:25px;
}

.devider_15 {
    clear: both; height:15px;
}


.what_is_modul_1, .what_is_modul_2, .what_is_modul_3 {
   width:385px;
   float:left;
    
}

.what_is_modul_2 {
   margin-left:15px;
   margin-right:15px;
}


.second_screen_grid_1,
.second_screen_grid_2,
.second_screen_grid_3,
.second_screen_grid_4,
.second_screen_grid_5,
.second_screen_grid_6,
.second_screen_grid_7 {
    width: 385px;
    border-radius: 20px;
    float: left;
    background-color: #ffffff;
    padding: 20px;
    background-repeat: no-repeat;
}

.second_screen_grid_1,
.second_screen_grid_2,
.second_screen_grid_5,
.second_screen_grid_6 {
    background-size: contain;
    background-position: right bottom 0;
}

.second_screen_grid_3,
.second_screen_grid_4,
.second_screen_grid_7 {
    background-size: auto 50%;
}

.second_screen_grid_1 { 
    min-height: 425px;
    background-color:#F7F9FE;
    border:1px solid #F4F4F6;
    background-image: url(/img/crm-image.png); 
    background-size: auto 75%;
    background-position: right bottom;
}

.second_screen_grid_2 {
    height: 170px;
    background-color:#F7F9FE; 
    border:1px solid #F4F4F6;
    background-image: url(/img/process-image.png);
    background-size: auto 90%;
    background-position: right -80px bottom -25px;
}

.second_screen_grid_3 {
    height: 170px;
    background-color:#FBFBFC;
    border:1px solid #F4F4F6;
    background-image: url(/img/finance-image.png);
    background-size: auto 115%;
    background-position: right -45px bottom -35px;
}

.second_screen_grid_4 {
    height: 425px;
    background-color:#FFF9F3;
    border:1px solid #F4F4F6;
    background-image: url(/img/mobile-image.png); 
    background-size: auto 125%;
    background-position: center bottom 275%;
}

.second_screen_grid_5 {
    height: 170px;
    background-color:#FEF7F9;
    border:1px solid #F4F4F6;
    background-image: url(/img/otchet-image.png);
    background-size: auto 100%;
    background-position: right 0px bottom -20px;
}

.second_screen_grid_6 {
    height: 240px;
    background-color:#F2F1FF;
    border:1px solid #F4F4F6;
    background-image: url(/img/ai-image.png);
    background-size: auto 65%;
    background-position: right -100px bottom -50px;
}

.second_screen_grid_7 {
    height: 170px;
    background-color:#F3E8FF;
    border:1px solid #F4F4F6;
    background-image: url(/img/executors-image.png);
    background-size: auto 75%;
    background-position: right 10px bottom 10px;
}

.second_screen_grid_1 .title,
.second_screen_grid_2 .title, 
.second_screen_grid_3 .title, 
.second_screen_grid_4 .title, 
.second_screen_grid_5 .title, 
.second_screen_grid_6 .title, 
.second_screen_grid_7 .title {
    font-weight: 400;
    font-size: 18pt;
    color:#181818;
}

.second_screen_grid_1 .desc, 
.second_screen_grid_4 .desc, 
.second_screen_grid_6 .desc 
{
    width:85%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_2 .desc {
    width:50%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_3 .desc {
    width:50%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_5 .desc {
    width:50%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}
  
.second_screen_grid_7 .desc {
    width:60%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

/* блог */ 
.blog_screen { 
    width: 100vw; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.blog_block { 
    min-height: auto;
    width: 85%;
    max-width: calc(1155px + 2rem);
    margin-left:-10px;
    color: #ffffff;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 0rem; /* Добавляем отступы внутри блока */
}


/* попробуйте демо */ 
.try_demo_screen { 
    width: 100vw; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.try_demo_block { 
    min-height: auto;
    width: 85%;
    max-width: calc(1155px + 2rem);
    margin-left:-10px;
    color: #ffffff;
    background-color: #ffffff;
    border-radius: 18px;
    background: radial-gradient(
        circle at top left,
        #A279FF 0%,
        #4A2799 50%,
        #000000 100%
    );
    background-repeat: no-repeat;
    background-size: cover; 
    position: relative;
    padding: 2rem; /* Добавляем отступы внутри блока */
}

.content_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.text_content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.try_demo_block .title {
    font-weight: 800;
    font-size: 22pt;
    color: #ffffff;
    margin: 0; /* Убираем стандартные отступы */
}

.try_demo_block .desc {
    width:70%;
    font-weight: 400;
    font-size: 16pt;
    color: #ffffff;
    margin: 0; /* Убираем стандартные отступы */
}

.try_demo_block .demo_btn {
    padding:2rem; 
    font-weight: 400;
    font-size: 12pt;
    color: #000000;
    background-color: #ffffff;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    flex-shrink: 0; /* Запрещаем кнопке уменьшаться */
}

/* Планшет (768px - 1199px) */
@media (max-width: 1199px) {
.try_demo_screen {
    width: 100vw;
    padding: 5% 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.try_demo_block { 
    min-height: 150px;
    width: 95%; 
    color: #ffffff;
    background-color: #ffffff;
    border-radius: 18px;
    background: radial-gradient(
        circle at top left,
        #A279FF 0%,
        #4A2799 50%,
        #000000 100%
    );
    background-repeat: no-repeat;
    background-size: cover; 
    position: relative;
    padding: 2rem; /* Добавляем отступы внутри блока */
}
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .content_wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .try_demo_block {
        width: 97%;
        margin-left:0px;
    }
    
    .try_demo_block .demo_btn {
    width:100%;
        align-self: flex-end; /* Кнопка справа на мобильных */
    }
    
    .try_demo_block .title,
    .try_demo_block .desc {
        width: 100%; /* На мобильных занимают всю ширину */
    }
}


/* третий экран */
/* второй экран */
.third_screen {
    /* min-height: 100vh; */
    padding: 3% 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    /* border:1px solid #EAEEF4; */
    /* border-radius:3rem; */
}

.third_screen_content {
    max-width: calc(1155px + 2rem); 
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 2rem;
    width: 90vw;
}    
        
.third_screen_text {
    width: 100%;
    font-weight: 500;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-align: center;
    margin: 0 auto;
    padding: 0 5%;
}  

.third_screen_modul {
   margin: 0 auto;
   width:80vw;
   display: flex;
   justify-content: center; /* Горизонтальное выравнивание */
   align-items: center; 
}

.container-fichi {
            display: flex;
            max-width: 1200px;
            width: 100%;
            height: 600px;
            background-color: transparent;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 0px 30px rgba(0, 0, 0, 0.1);
        }

        .menu-block-fichi {
            flex: 0 0 300px;
            background-color: white;
            border-radius: 18px 0 0 18px;
            padding: 30px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        .content-block-fichi {
            flex: 1;
            background-color: #f9f9fb;
            border-radius: 0 18px 18px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px;
        }

        .menu-item-fichi {
            padding: 15px 20px;
            margin-bottom: 10px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            color: #333;
        }

        .menu-item-fichi:hover {
            background-color: #f0f0f5;
        }

        .menu-item-fichi.active {
            background-color: #6788F3;
            color: white;
        }

        .content-item-fichi {
            display: none;
            max-width: 600px;
            width: 100%;
        }

        .content-item-fichi.active {
            display: flex;
            flex-direction: column;
            animation: fadeIn 0.5s ease;
        }

        .content-text-fichi {
            margin-bottom: 20px;
        }

        .content-item-fichi h2 {
            color: #2d3436;
            margin-bottom: 15px;
            font-size: 28px;
        }

        .content-item-fichi p {
            color: #636e72;
            line-height: 1.6;
            font-size: 16px;
        }

        .content-item-fichi img {
            width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .container-fichi {
                flex-direction: column;
                height: auto;
            }

            .menu-block-fichi {
                flex: 1;
                border-radius: 18px 18px 0 0;
            }

            .content-block-fichi {
                flex: 1;
                border-radius: 0 0 18px 18px;
                padding: 30px 20px;
            }
        }


/* четвертый экран */
.forth_screen {
    /* min-height: 100vh; */
    padding: 3% 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    /* border:1px solid #EAEEF4; */
    /* border-radius:3rem; */
}

.forth_screen_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 90vw;
}
        
        
.forth_screen_text {
    width: 90vw;
    font-weight: 500;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-align: center;
    margin: 0 auto;
    padding: 0 5%;
}  

.forth_is_modul {
  display: flex;
  align-items: stretch; /* Растягиваем детей по высоте (можно не писать, это значение по умолчанию) */
  gap: 10px; /* Лучше использовать gap вместо margin у детей */
}

.forth_is_modul_1, 
.forth_is_modul_2, 
.forth_is_modul_3, 
.forth_is_modul_4 {
  flex: 1;
  margin: 0 10px; /* Только горизонтальные отступы */
  box-sizing: border-box;
}


.forth_screen_grid_1,
.forth_screen_grid_2,
.forth_screen_grid_3,
.forth_screen_grid_4 {
    border-radius: 20px; 
    padding: 20px;
    background-repeat: no-repeat;
    background-color:#FBFBFC;
    border:1px solid #F4F4F6; 
}

.forth_screen_grid_1 .title,
.forth_screen_grid_2 .title, 
.forth_screen_grid_3 .title,
.forth_screen_grid_4 .title{
    font-weight: 400;
    font-size: 18pt;
    color:#181818;
}

.forth_screen_grid_1 .desc, 
.forth_screen_grid_2 .desc, 
.forth_screen_grid_3 .desc,
.forth_screen_grid_4 .desc
{
    width:100%; 
    font-weight: 300;
    font-size: 12pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
    background-color:#ffffff;
    border-radius:18px;
    padding: 1rem;
} 

/* Планшет (768px - 1199px) */
@media (max-width: 1199px) {
 
 .forth_is_modul {
   margin: 0 auto;
   width:100vw;  
   display: block;
    
}

.forth_is_modul_1, .forth_is_modul_2, .forth_is_modul_3, .forth_is_modul_4 {
   width:90%;
   float:left;
    clear: both;
    margin: 0 auto;
    margin-top:15px;
    display: flex;
    flex-direction: column; /* Элементы располагаются сверху вниз */
    gap: 0px; /* Расстояние между элементами (опционально) */
    align-items: center;
    justify-content: center; 
}

.forth_screen_grid_1,
.forth_screen_grid_2,
.forth_screen_grid_3,
.forth_screen_grid_4{
    width: 100%;
     
    
}
 
}

/* Мобильные (до 767px) */
@media (max-width: 767px) {
     
.forth_is_modul {
   margin: 0 auto;
   width:100vw;  
   display: block;
   margin-left:-20px;
}

.forth_is_modul_1, .forth_is_modul_2, .forth_is_modul_3, .forth_is_modul_4 {
   width:100%;
   float:left;
    clear: both;
    margin: 0 auto;
    margin-top:15px;
    display: flex;
    flex-direction: column; /* Элементы располагаются сверху вниз */
    gap: 0px; /* Расстояние между элементами (опционально) */
    align-items: center;
    justify-content: center; 
}
     
}


/* пятый экран */
.fifth_screen {
    /* min-height: 100vh; */
    padding: 3% 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    /* border:1px solid #EAEEF4; */
    /* border-radius:3rem; */
}

.fifth_screen_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    width: 90vw;
}   
        
.fifth_screen_text {
    width: 90vw;
    height:100px;
    font-weight: 500;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-align: center;
    margin: 0 auto;
    padding: 0 5%;
}  

.fifth_is_modul {
   margin: 0 auto;
   width:80vw;
   display: flex;
   justify-content: center; /* Горизонтальное выравнивание */
   align-items: center; 
}

.fifth_is_modul_1, .fifth_is_modul_2, .fifth_is_modul_3 {
   width:385px;
   float:left;
}

.fifth_is_modul_2 {
   margin-left:15px;
   margin-right:15px;
}


.fifth_screen_grid_1,
.fifth_screen_grid_2,
.fifth_screen_grid_3 {
    width: 385px;
    min-height: 400px;
    border-radius: 20px;
    float: left;
    padding: 20px;
    background-repeat: no-repeat;
    background-color:#FBFBFC;
    border:1px solid #F4F4F6; 
}

.fifth_img {
    height: 150px;
    border-radius:18px;
    /* background-image: url(/img/news-demo.jpg); */
    background-size: cover;
    background-position: center top 50%;
}

.fifth_screen_grid_1 .title,
.fifth_screen_grid_2 .title, 
.fifth_screen_grid_3 .title {
    font-weight: 400;
    font-size: 18pt;
    color:#181818;
}

.fifth_screen_grid_1 .desc, 
.fifth_screen_grid_2 .desc, 
.fifth_screen_grid_3 .desc 
{
    width:100%; 
    font-weight: 300;
    font-size: 12pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
} 

.fifth_screen_grid_1 .desc_date, 
.fifth_screen_grid_2 .desc_date, 
.fifth_screen_grid_3 .desc_date 
{
    width:100%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
} 


/* Планшет (768px - 1199px) */
@media (max-width: 1199px) {
 
 .fifth_screen_text {
    height:50px;
}  
 
 .fifth_is_modul {
   margin: 0 auto;
   width:100vw;  
   display: block;
    
}

.fifth_is_modul_1, .fifth_is_modul_2, .fifth_is_modul_3 {
   width:90%;
    clear: both;
    margin: 0 auto;
    margin-top:15px;
    display: flex;
    flex-direction: column; /* Элементы располагаются сверху вниз */
    gap: 0px; /* Расстояние между элементами (опционально) */
    align-items: center;
    justify-content: center; 
}

.fifth_screen_grid_1,
.fifth_screen_grid_2,
.fifth_screen_grid_3 {
    width: 100%;
    min-height: 150px;
}
 
 
}

/* Мобильные (до 767px) */
@media (max-width: 767px) {
     
.fifth_screen_text {
 margin-top:10px;
    height:40px;
}      
     
.fifth_is_modul {
   margin: 0 auto;
   width:100vw;  
   display: block;
   margin-left:-20px;
}

.fifth_is_modul_1, .fifth_is_modul_2, .fifth_is_modul_3 {
   width:100%;
   float:left;
    clear: both;
    margin: 0 auto;
    margin-top:15px;
    display: flex;
    flex-direction: column; /* Элементы располагаются сверху вниз */
    gap: 0px; /* Расстояние между элементами (опционально) */
    align-items: center;
    justify-content: center; 
}
     
}




/* попробуйте демо */ 
.footer_screen { 
    width: 100vw; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.footer_block { 
    min-height: auto;
    width: 85%;
    max-width: calc(1155px + 2rem);
    margin-left:-10px;
    color: #ffffff;
    background-color: #6C81FE;
    border-top-left-radius: 18px; 
    border-top-right-radius: 18px; 
    background-repeat: no-repeat;
    background-size: cover; 
    position: relative;
    padding: 2rem; /* Добавляем отступы внутри блока */
}

.content_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.text_content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer_block .title {
    font-weight: 800;
    font-size: 22pt;
    color: #ffffff;
    margin: 0; /* Убираем стандартные отступы */
}

.footer_block .desc {
    width:70%;
    font-weight: 400;
    font-size: 16pt;
    color: #ffffff;
    margin: 0; /* Убираем стандартные отступы */
}

.footer_block .demo_btn {
    padding:2rem; 
    font-weight: 400;
    font-size: 12pt;
    color: #000000;
    background-color: #ffffff;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    flex-shrink: 0; /* Запрещаем кнопке уменьшаться */
}

/* Планшет (768px - 1199px) */
@media (max-width: 1199px) {
.footer_screen {
    width: 100vw;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.footer_block { 
    min-height: 150px;
    width: 95%; 
    color: #ffffff;
}
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .content_wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .footer_block {
        width: 97%;
        margin-left:0px;
    }
    
    .footer_block .demo_btn {
    width:100%;
        align-self: flex-end; /* Кнопка справа на мобильных */
    }
    
    .footer_block .title,
    .footer_block .desc {
        width: 100%; /* На мобильных занимают всю ширину */
    }
}


.footer {
            background-color: #6C81FE;
            color: #ecf0f1;
            padding: 40px 20px;
            border-top-left-radius:18px;
            border-top-right-radius:18px;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .footer-logo-section {
            flex: 1 1 300px;
            margin-bottom: 30px;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
            display: inline-block;
        }

        .footer-contacts p {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .footer-contacts i {
            margin-right: 10px;
            color: #3498db;
        }

        .copyright {
            margin-top: 20px;
            font-size: 14px;
            color: #ffffff;
        }

        .footer-menu {
            flex: 2 1 600px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .menu-column {
            flex: 1 1 200px;
            margin-bottom: 30px;
            padding-right: 20px;
        }

        .menu-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .menu-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: #ffffff;
        }

        .menu-list {
            list-style: none;
        }

        .menu-list li {
            margin-bottom: 12px;
        }

        .menu-list a {
            color: #ffffff;
            text-decoration: none;
            transition: color 0.3s;
        }

        .menu-list a:hover {
            color: #ffffff;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .footer-container {
                flex-direction: column;
            }

            .footer-menu {
                margin-top: 30px;
            }

            .menu-column {
                flex: 1 1 100%;
                margin-bottom: 20px;
                
            }
            
            .footer-menu {
            flex: 1 1 200px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        
         .footer-logo-section {
            flex: 1 1 150px;
            margin-bottom: 30px;
        }
            
        }

        @media (max-width: 480px) {
            .footer {
                padding: 30px 15px;
            }

            .menu-title {
                font-size: 16px;
                margin-bottom: 15px;
            }
        }


     
 /* Адаптивная версия первого экрана */        

/* Планшет (768px - 1199px) */
@media (max-width: 1199px) {

.first_screen {
        padding-top: 10%;
        background-size: auto 100%;
    }

.first_screen_content {
    padding-top:2rem;
}

    .first_screen_bg {
        height: 50vh;
    }

    .first_screen_grapf_1,
    .first_screen_grapf_2,
    .first_screen_ticket_1,
    .first_screen_ticket_2 {
        display: none; /* Убираем графики на планшетах для упрощения */
    }

    .first_screen_text {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
}

/* Мобильные (до 767px) */
@media (max-width: 767px) {
    .first_screen {
        padding-top: 20%;
        background-size: auto 100%;
    }

    .first_screen_bg {
        height: 40vh;
    }

    .first_screen_text {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }

    .first_screen_tags {
        bottom: 1rem;
    }

    .tag {
        padding: 0.5rem 1rem;
        font-size: clamp(0.7rem, 2vw, 0.9rem);
    } 
     
     
    .cursor {
            display: inline-block;
            width: 2px;
            height: 1.5rem;
            background-color: #6C81FE;
            animation: blink 1s infinite;
            margin-left: 0px;
            vertical-align: middle;
        }
        
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }
}

        
        
 /* Адаптивная версия меню */        

        /* Планшетная версия */
        @media (max-width: 1024px) {
            .menu-container {
                width: 97%;
            }
            
            .mobile-menu-container {
                width: 80%;
            }
        }

        /* Мобильная версия */
        @media (max-width: 768px) {
            .external-logo, .external-demo-button {
                display: none;
            }

            .menu-container {
                width: calc(100% - 40px);
                padding: 10px 15px;
                justify-content: space-between;
            }

            .menu-center {
                display: none;
            }

            .menu-logo-container {
                width: auto;
                min-width: 0;
                margin-right: auto;
                overflow: visible;
            }

            .desktop-logo {
                display: none;
            }

            .mobile-logo {
                display: block;
                opacity: 1;
            }

            .demo-button {
                display: block;
                order: 1;
                margin-left: 0;
            }

            .hamburger {
                display: block;
                order: 2;
                margin-left: 10px;
            }

            .mobile-menu-container {
                width: calc(100% - 40px);
            }

            .mobile-menu-container.active {
                display: block;
                opacity: 1;
            }

            /* Анимация гамбургера */
            .hamburger.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }

            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
        }
        
/* Адаптивная версия второго экрана */   

 /* Планшетная версия */
        @media (max-width: 1024px) {

.what_is_modul {
   margin: 0 auto;
   width:100%;  
   display: block;
}

.what_is_modul_1, .what_is_modul_2, .what_is_modul_3 {
   width:100%;
    clear: both;
    margin: 0 auto;
    margin-top:15px;
    display: flex;
    flex-direction: column; /* Элементы располагаются сверху вниз */
    gap: 0px; /* Расстояние между элементами (опционально) */
    align-items: center;
    justify-content: center; 
}

.second_screen {
    min-height: 100vh;
    padding: 5% 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    border:none;
    border-radius:0;
}

.second_screen_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100vw;
}  

.second_screen_grid_1,
.second_screen_grid_2,
.second_screen_grid_3,
.second_screen_grid_4,
.second_screen_grid_5,
.second_screen_grid_6,
.second_screen_grid_7 {
    width: 95%;
    border-radius: 20px;
    padding: 20px;
    background-repeat: no-repeat;
}
        
.second_screen_grid_1,
.second_screen_grid_2,
.second_screen_grid_5,
.second_screen_grid_6 {
    background-size: contain;
    background-position: right bottom 0;
}

.second_screen_grid_3,
.second_screen_grid_4,
.second_screen_grid_7 {
    background-size: auto 50%;
}

.second_screen_grid_1 { 
    min-height: 225px;
    background-color:#F7F9FE;
    border:1px solid #F4F4F6;
    background-image: url(/img/crm-image.png); 
    background-size: auto 100%;
    background-position: right bottom;
}

.second_screen_grid_2 {
    height: 170px;
    background-color:#F7F9FE; 
    border:1px solid #F4F4F6;
    background-image: url(/img/process-image.png);
    background-size: auto 90%;
    background-position: right -25px bottom;
}

.second_screen_grid_3 {
    height: 170px;
    background-color:#FBFBFC;
    border:1px solid #F4F4F6;
    background-image: url(/img/finance-image.png);
    background-size: auto 200%;
    background-position: right -75px bottom -75px;
}

.second_screen_grid_4 {
    height: 225px;
    background-color:#FFF9F3;
    border:1px solid #F4F4F6;
    background-image: url(/img/mobile-image.png); 
    background-size: auto 275%;
    background-position: right bottom 100%;
}

.second_screen_grid_5 {
    height: 170px;
    background-color:#FEF7F9;
    border:1px solid #F4F4F6;
    background-image: url(/img/otchet-image.png);
    background-size: auto 175%;
    background-position: right 0px bottom -60px;
}

.second_screen_grid_6 {
    height: 170px;
    background-color:#F2F1FF;
    border:1px solid #F4F4F6;
    background-image: url(/img/ai-image.png);
    background-size: auto 100%;
    background-position: right -100px bottom -15px;
}

.second_screen_grid_7 {
    height: 170px;
    background-color:#F3E8FF;
    border:1px solid #F4F4F6;
    background-image: url(/img/executors-image.png);
    background-size: auto 100%;
    background-position: right 20px bottom 20px;
}

.second_screen_grid_1 .title,
.second_screen_grid_2 .title, 
.second_screen_grid_3 .title, 
.second_screen_grid_4 .title, 
.second_screen_grid_5 .title, 
.second_screen_grid_6 .title, 
.second_screen_grid_7 .title {
    font-weight: 400;
    font-size: 18pt;
    color:#181818;
}

.second_screen_grid_1 .desc, 
.second_screen_grid_4 .desc, 
.second_screen_grid_6 .desc 
{
    width:55%; 
    font-weight: 300;
    font-size: 14pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_2 .desc {
    width:65%; 
    font-weight: 300;
    font-size: 14pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_3 .desc {
    width:55%; 
    font-weight: 300;
    font-size: 14pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_5 .desc {
    width:55%; 
    font-weight: 300;
    font-size: 14pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}
  
.second_screen_grid_7 .desc {
    width:55%; 
    font-weight: 300;
    font-size: 14pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}




        
        }

        /* Мобильная версия */
        @media (max-width: 768px) {
               
.second_screen {
    min-height: 100vh;
    padding: 5% 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    border:none;
    border-radius:0;
}

.second_screen_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100vw;
}          
         
.what_is_modul {
   margin: 0 auto;
   width:100vw;  
   display: block;
}

.what_is_modul_1, .what_is_modul_2, .what_is_modul_3 {
   width:100%;
   float:left;
    clear: both;
    margin: 0 auto;
    margin-top:15px;
    display: flex;
    flex-direction: column; /* Элементы располагаются сверху вниз */
    gap: 0px; /* Расстояние между элементами (опционально) */
    align-items: center;
    justify-content: center; 
}



.second_screen_grid_1,
.second_screen_grid_2,
.second_screen_grid_3,
.second_screen_grid_4,
.second_screen_grid_5,
.second_screen_grid_6,
.second_screen_grid_7 {
    width: 385px;
    border-radius: 20px;
    float: left;
    background-color: #ffffff;
    padding: 20px;
    background-repeat: no-repeat;
}

.second_screen_grid_1,
.second_screen_grid_2,
.second_screen_grid_5,
.second_screen_grid_6 {
    background-size: contain;
    background-position: right bottom 0;
}

.second_screen_grid_3,
.second_screen_grid_4,
.second_screen_grid_7 {
    background-size: auto 50%;
}

.second_screen_grid_1 { 
    min-height: 425px;
    background-color:#F7F9FE;
    border:1px solid #F4F4F6;
    background-image: url(/img/crm-image.png); 
    background-size: auto 75%;
    background-position: right bottom;
}

.second_screen_grid_2 {
    height: 170px;
    background-color:#F7F9FE; 
    border:1px solid #F4F4F6;
    background-image: url(/img/process-image.png);
    background-size: auto 90%;
    background-position: right -80px bottom -25px;
}

.second_screen_grid_3 {
    height: 170px;
    background-color:#FBFBFC;
    border:1px solid #F4F4F6;
    background-image: url(/img/finance-image.png);
    background-size: auto 115%;
    background-position: right -45px bottom -35px;
}

.second_screen_grid_4 {
    height: 425px;
    background-color:#FFF9F3;
    border:1px solid #F4F4F6;
    background-image: url(/img/mobile-image.png); 
    background-size: auto 125%;
    background-position: center bottom 275%;
}

.second_screen_grid_5 {
    height: 170px;
    background-color:#FEF7F9;
    border:1px solid #F4F4F6;
    background-image: url(/img/otchet-image.png);
    background-size: auto 100%;
    background-position: right 0px bottom -20px;
}

.second_screen_grid_6 {
    height: 240px;
    background-color:#F2F1FF;
    border:1px solid #F4F4F6;
    background-image: url(/img/ai-image.png);
    background-size: auto 65%;
    background-position: right -100px bottom -50px;
}

.second_screen_grid_7 {
    height: 170px;
    background-color:#F3E8FF;
    border:1px solid #F4F4F6;
    background-image: url(/img/executors-image.png);
    background-size: auto 75%;
    background-position: right 10px bottom 10px;
}

.second_screen_grid_1 .title,
.second_screen_grid_2 .title, 
.second_screen_grid_3 .title, 
.second_screen_grid_4 .title, 
.second_screen_grid_5 .title, 
.second_screen_grid_6 .title, 
.second_screen_grid_7 .title {
    font-weight: 400;
    font-size: 18pt;
    color:#181818;
}

.second_screen_grid_1 .desc, 
.second_screen_grid_4 .desc, 
.second_screen_grid_6 .desc 
{
    width:85%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_2 .desc {
    width:50%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_3 .desc {
    width:50%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}

.second_screen_grid_5 .desc {
    width:50%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}
  
.second_screen_grid_7 .desc {
    width:60%; 
    font-weight: 300;
    font-size: 10pt;
    line-height: 1.5;
    color:#727272;
    margin-top:10px;
}


        }



.protected-email a {
    color:#ffffff;
}


/* попап запрос демо */

.modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4);
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 30px;
            border: 1px solid #888;
            width: 80%;
            max-width: 500px;
            border-radius: 8px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        .form-group {
            position: relative;
            margin-bottom: 25px;
        }
        .form-input {
            width: 100%;
            padding: 12px 10px 6px 10px;
            border: none;
            border: 1px solid #ccc;
            border-radius:5px;
            height:45px;
            font-size: 16px;
            background-color: transparent;
            transition: border-color 0.3s;
        }
        .form-input:focus {
            outline: none;
            border-bottom: 2px solid #4CAF50;
        }
        .form-label {
            position: absolute;
            left: 10px;
            top: 12px;
            color: #999;
            font-size: 16px;
            pointer-events: none;
            transition: all 0.3s ease;
        }
        .form-input:focus + .form-label,
        .form-input:not(:placeholder-shown) + .form-label {
            top: -10px;
            left: 5px;
            font-size: 12px;
            color: #4CAF50;
            background-color: #fefefe;
            padding: 0 5px;
        }
        textarea.form-input {
            min-height: 80px;
            resize: vertical;
        }
        .submit-btn {
            background-color: #6788F3;
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 2px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        .submit-btn:hover {
            background-color: #6788F3;
        }



.modal_btn {
    
    background-color: #6788F3;
    color:#ffffff;
    border-radius:12px;
    width:200px;
    height:40px;
    font-weight: 500;
    text-align:center;
    cursor: pointer;
    margin-top:0px;
}

.txt_class {
width: 60%; 
padding: 20px; box-sizing: border-box; text-align:left;
}

/* Мобильная версия */
        @media (max-width: 768px) {
        
.txt_class {
width: 100%; 
}
        
        
        }
