/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #ffffff;
}

/* ========== ДИНАМИЧЕСКИЙ ГРАДИЕНТНЫЙ ФОН ========== */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, #0a0a0f, #0d1a2a, #0a1a2a, #061220);
    background-size: 300% 300%;
    animation: slowMove 18s ease infinite;
    z-index: -2;
}

@keyframes slowMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== ЦЕНТРАЛЬНЫЙ БЛОК ========== */
.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

/* ========== ЛОГОТИП ========== */
/*.logo-center {
   position: relative;
   z-index: 10;
}
*/

.logo-center{
	position:absolute;
	margin-bottom:15%;}

.logo-placeholder {
    width: 600px;
    height: 427px;
    background: url('/images/1.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    user-select: none;
}

/* ========== МИНИАТЮРЫ КАТЕГОРИЙ ========== */
.services-arc {
    position: relative;
    width: 750px;
    height: 800px;
    z-index: 5;
    pointer-events: none;
}

.service-icon {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(20, 20, 40, 0.85);
    backdrop-filter: blur(12px);
    border: 3px solid #00d4ff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(0,212,255,0.3);
    pointer-events: auto;
}

.service-icon i {
    font-size: 75px;
    color: #00d4ff;
    transition: color 0.45s ease;
}

.service-icon .label {
    font-size: 15px;
    margin-top: 8px;
    font-weight: 600;
    text-align: center;
    padding: 0 8px;
    color: #ffffff;
    white-space: nowrap;
}

.service-icon:hover {
    transform: scale(1.1);
    border-color: #ff5e00;
    box-shadow: 0 0 25px rgba(255, 94, 0, 0.5);
    background: rgba(0,212,255,0.2);
}

.service-icon:hover i {
    color: #ff5e00;
}

/* Позиционирование полукругом */
.service-icon[data-service="ai"] { top: 0; right: 15%; transform: translateY(-12%); }
.service-icon[data-service="automation"] { top: 0%; left: 15%; transform: translateY(-12%); }
.service-icon[data-service="web"] { bottom: 12%; left: 0; transform: translateY(12%); }
.service-icon[data-service="outsourcing"] { bottom: 3%; left: 50%; transform: translateX(-50%); }
.service-icon[data-service="infosec"] { bottom: 12%; right: 0; transform: translateY(12%); }

/* ========== КОЛОНКА ИКОНОК СПРАВА ========== */
.right-controls {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 100;
    overflow: visible;
}

/* Единый стиль для всех иконок управления */
.control-toggle,
.lang-icon,
.icon-btn {
    width: 60px;
    height: 60px;
    background: rgba(20, 20, 40, 0.9);
    backdrop-filter: blur(10px);
    border: 1.5px solid #00d4ff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.control-toggle i,
.icon-btn i {
    font-size: 28px;
    color: #00d4ff;
    transition: color 0.2s ease;
}

.control-toggle:hover,
.lang-icon:hover,
.icon-btn:hover {
    transform: scale(1.1);
    background: rgba(0,212,255,0.2);
    border-color: #ff5e00;
}

.control-toggle:hover i,
.icon-btn:hover i {
    color: #ff5e00;
}

/* Подписи при наведении */
.control-toggle::after,
.lang-icon::after,
.icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: rgba(0,0,0,0.85);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #00d4ff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    font-family: monospace;
}

.control-toggle:hover::after,
.lang-icon:hover::after,
.icon-btn:hover::after {
    opacity: 1;
}

/* Иконка языка */
.lang-icon span {
    font-size: 16px;
    font-weight: bold;
    font-family: monospace;
    color: #00d4ff;
    transition: color 0.2s ease;
}

.lang-icon:hover span {
    color: #ff5e00;
}

.lang-icon .active-lang {
    color: #ff5e00;
}

/* ========== ПАНЕЛЬ УПРАВЛЕНИЯ (ВЫПАДАЮЩЕЕ МЕНЮ) ========== */
.control-panel {
    position: relative;
}

.control-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(20, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #00d4ff;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 200;
}

.control-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn i {
    font-size: 22px;
    color: #00d4ff;
    transition: color 0.2s ease;
}

.control-btn:hover {
    background: rgba(0,212,255,0.3);
}

.control-btn:hover i {
    color: #ff5e00;
}

.volume-slider {
    width: 100px;
    height: 4px;
    margin: 8px 0;
    -webkit-appearance: none;
    background: #333;
    border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #00d4ff;
    border-radius: 50%;
    cursor: pointer;
}

/* ========== МОДАЛЬНЫЕ ОКНА ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;/*
	min-width:1200px;*/
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #0f0f1a;
    border: 1px solid #00d4ff;
    border-radius: 24px;
    padding: 32px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    color: #ffffff;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ff5e00;
}




/* ========== ФОРМА ========== */
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid #00d4ff;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
}

#contact-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00d4ff, #0088aa);
    border: none;
    border-radius: 12px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

#contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px #00d4ff;
}

/* ========== НИЖНЯЯ ПАНЕЛЬ ПОЛИТИКИ ========== */
.privacy-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #00d4ff;
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 1500;
    font-size: 13px;
    color: #ffffff;
}

.privacy-panel.hidden {
    display: none;
}

.privacy-options {
    display: flex;
    gap: 20px;
}

.privacy-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.privacy-buttons button {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid #00d4ff;
    padding: 6px 14px;
    border-radius: 20px;
    color: #00d4ff;
    cursor: pointer;
    transition: 0.2s;
}

.privacy-buttons button:hover {
    background: #00d4ff;
    color: #000000;
}


/* ========== ПЛАНШЕТЫ И НЕБОЛЬШИЕ ЭКРАНЫ (до 1024px) ========== */
@media (max-width: 1024px) {
    .center-content {
        gap: 40px;
        flex-direction: column;
    }

    .logo-placeholder {
        width: 350px;
        height: 249px;
        margin: 0 auto;
    }
	
	
		
	.modal-content {
		max-width:900px;
		min-width:800px;
}



    /* МКат: отключаем абсолютное позиционирование, включаем flex */
    .services-arc {
        position: relative;
        width: 100%;
        max-width: 500px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 25px;
        margin: 0 auto;
        transform: none;
    }

    .service-icon {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 110px;
        height: 110px;
        margin: 0;
    }

    .service-icon i {
        font-size: 38px;
    }

    .service-icon .label {
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }

    .right-controls {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

    .control-toggle, .lang-icon, .icon-btn {
        width: 50px;
        height: 50px;
    }

    .control-toggle i, .icon-btn i {
        font-size: 22px;
    }
}

/* ========== ПЛАНШЕТЫ (768px - 1024px) ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .center-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
        width: 100%;
    }

    .logo-placeholder {
        width: 350px;
        height: 249px;
        margin: 0 auto;
    }

    .services-arc {
        position: relative;
		top:200px;
        width: 100%;
        max-width: 500px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        margin: 0 auto;
    }

    .service-icon {
        position: relative;
        width: 120px;
        height: 120px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin: 0;
    }

    .service-icon i {
        font-size: 45px;
    }

    .service-icon .label {
        font-size: 12px;
        white-space: normal;
    }

    /* Иконки управления — справа, по центру вертикально */
    .right-controls {
        position: fixed;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 20px;
        width: auto;
        margin: 0;
    }

    .control-toggle, .lang-icon, .icon-btn {
        width: 50px;
        height: 50px;
    }

    .control-menu {
        position: absolute;
        top: 60px;
        right: 0;
    }

    .privacy-panel {
        padding-bottom: 15px;
    }
}



/* ========== МОБИЛЬНЫЕ (480px - 768px) ========== */
@media (min-width: 480px) and (max-width: 768px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .center-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        flex-direction: column;
        gap: 30px;
        padding: 30px 15px 100px;
        width: 100%;
    }

    .logo-placeholder {
        width: 220px;
        height: 156px;
        margin: 0 auto;
    }

    .services-arc {
        position: relative;
		top:150px;
        width: 100%;
        max-width: 380px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 0 auto;
    }

    .service-icon {
        position: relative;
        width: 95px;
        height: 95px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin: 0;
    }

    .service-icon i {
        font-size: 34px;
    }

    .service-icon .label {
        font-size: 10px;
        white-space: normal;
        padding: 0 5px;
    }

    /* Иконки управления — снизу по центру */
    .right-controls {
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        width: auto;
        margin: 0;
    }

    .control-toggle, .lang-icon, .icon-btn {
        width: 45px;
        height: 45px;
    }

    .control-menu {
        position: absolute;
        bottom: 55px;
        right: 0;
        top: auto;
    }

    .privacy-panel {
        padding-bottom: 90px;
    }
}





/* ========== МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) ========== */
@media (max-width: 480px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .center-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        flex-direction: column;
        gap: 25px;
        padding: 20px 15px 100px;
        width: 100%;
    }

    .logo-placeholder {
        width: 180px;
        height: 128px;
        margin: 0 auto;
    }

    .services-arc {
        position: relative;
        width: 100%;
        max-width: 320px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 0 auto;
    }

    .service-icon {
        position: relative;
        width: 85px;
        height: 85px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin: 0;
    }

    .service-icon i {
        font-size: 30px;
    }

    .service-icon .label {
        font-size: 9px;
        white-space: normal;
        padding: 0 3px;
    }

    /* Иконки управления — снизу по центру, компактнее */
    .right-controls {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        width: auto;
        margin: 0;
    }

    .control-toggle, .lang-icon, .icon-btn {
        width: 40px;
        height: 40px;
    }

    .control-toggle i, .icon-btn i {
        font-size: 18px;
    }

    .control-menu {
        position: absolute;
        bottom: 50px;
        right: 0;
        top: auto;
        padding: 8px;
        gap: 8px;
    }

    .control-btn i {
        font-size: 18px;
    }

    .volume-slider {
        width: 70px;
    }

    .privacy-panel {
        padding-bottom: 85px;
    }

    .privacy-buttons button {
        padding: 4px 8px;
        font-size: 10px;
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
        padding: 20px;
        margin: 10px;
    }
}

/* ========== ОТКЛЮЧЕНИЕ АНИМАЦИЙ ========== */
body.no-animations * {
    animation: none !important;
    transition: none !important;
}