/* Подключение шрифтов */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
body {
    font-family: 'DM Sans', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ===================== ANIMATION CLASSES ===================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9) rotateY(15deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.stagger-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-animation.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stagger-animation:nth-child(1).animate { transition-delay: 0.1s; }
.stagger-animation:nth-child(2).animate { transition-delay: 0.2s; }
.stagger-animation:nth-child(3).animate { transition-delay: 0.3s; }
.stagger-animation:nth-child(4).animate { transition-delay: 0.4s; }
.stagger-animation:nth-child(5).animate { transition-delay: 0.5s; }
.stagger-animation:nth-child(6).animate { transition-delay: 0.6s; }
.stagger-animation:nth-child(7).animate { transition-delay: 0.7s; }
.stagger-animation:nth-child(8).animate { transition-delay: 0.8s; }

/* Floating animation for background elements */
.floating-bg {
    animation: gentleFloat 6s ease-in-out infinite;
}

.floating-bg:nth-child(2) { animation-delay: -2s; }
.floating-bg:nth-child(3) { animation-delay: -4s; }

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(2deg); }
    66% { transform: translateY(-15px) rotate(-1deg); }
}

/* Pulse animation for interactive elements */
.pulse-on-hover {
    transition: all 0.3s ease;
}

.pulse-on-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
}

.addwidget-blank.animated.swing {
    color: #8B5CF6;
}

/* ===================== HEADER ===================== */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 1000px;
    position: relative;
    overflow: hidden;
}

/* ===================== HEADER NAVIGATION ===================== */
.topline {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

/* Логотип */
.logo1__footer {
    filter: drop-shadow(0 2px 10px rgba(139, 92, 246, 0.3));
    transition: transform 0.3s ease;
    height: 50px;
}

.logo1__footer:hover {
    transform: scale(1.05);
}

/* Центральная навигация */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu1__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.menu1__footer > li {
    margin: 0;
}

.menu1__footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
    position: relative;
}

.menu1__footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu1__footer a:hover::after {
    width: 80%;
}

.menu1__footer a:hover {
    color: #A855F7;
    background: rgba(139, 92, 246, 0.1);
}

.menu1__footer a.language {
    color: #A855F7;
}

/* Правая секция с кнопками и контактами */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* ===================== LANGUAGE SELECTOR (ОКОНЧАТЕЛЬНОЕ ИСПРАВЛЕНИЕ) ===================== */

/* Language selector container */
.language-selector {
    position: relative;
    display: inline-block;
}

/* Main language button */
.hovermenu {
    position: relative;
    display: inline-block;
    /* Увеличиваем область hover */
    padding: 2px;
    margin: -2px;
}

.hovermenu .language {
    color: #A855F7;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    min-width: 60px;
    justify-content: center;
}

.hovermenu .language:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.hovermenu .language i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.hovermenu:hover .language i {
    transform: rotate(180deg);
}

/* Dropdown menu - БЕЗ ЗАЗОРА */
.hovermenu__cont {
    position: absolute;
    top: 100%; /* УБИРАЕМ calc(100% + 5px) - БЕЗ ЗАЗОРА! */
    left: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 0 0 8px 8px; /* Закругляем только нижние углы */
    border-top: none; /* Убираем верхнюю границу */
    padding: 4px 0 8px 0; /* Уменьшаем верхний отступ */
    min-width: 80px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    z-index: 1000;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px) scale(0.98);
    transition: all 0.15s ease-out;

    /* Remove default list styles */
    list-style: none;
    margin: 0;
}

/* РЕШЕНИЕ: Создаем соединительный элемент */
.hovermenu::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    z-index: 999;
}

/* Show dropdown - УЛУЧШЕННАЯ ЛОГИКА */
.hovermenu:hover .hovermenu__cont {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

/* Держим dropdown открытым при наведении на него */
.hovermenu__cont:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Создаем "липкий" эффект */
.hovermenu:hover {
    z-index: 1001;
}

.hovermenu:hover .language {
    border-radius: 8px 8px 0 0; /* Соединяем с dropdown */
    border-bottom-color: rgba(26, 26, 46, 0.98);
}

/* Dropdown items */
.hovermenu__cont li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hovermenu__cont a {
    display: block;
    padding: 8px 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.15s ease;
    margin: 1px 4px;
    border-radius: 4px;
}

.hovermenu__cont a:hover {
    background: rgba(139, 92, 246, 0.3);
    color: #ffffff;
    transform: translateX(2px);
}

/* Phone contact */
.phone-contact .phone1__footer {
    text-align: right;
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 500;
}

/* Buttons */
.enter-button,
.reg-button {
    margin-top: 7px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.enter-button::before,
.reg-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.enter-button:hover::before,
.reg-button:hover::before {
    left: 100%;
}

.enter-button:hover,
.reg-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* ===================== HERO SECTION ===================== */
.titles {
    text-align: center;
    color: #ffffff;
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 3;
}

.titles h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    flex: 1;
    text-align: left;
    padding-right: 40px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    color: #8B5CF6;
    font-size: 16px;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
    color: #A855F7;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8B5CF6;
    margin-bottom: 30px;
    text-align: center;
}

.hero-cta {
    display: flex;
    justify-content: center;
}

/* Dashboard mockup */
.dashboard-mockup {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
    max-width: 500px;
    width: 100%;
    transition: all 0.4s ease;
}

.dashboard-mockup:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.dashboard-header {
    color: #8B5CF6;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dashboard-content {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.stat-box {
    text-align: center;
    color: #ffffff;
    padding: 20px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    flex: 1;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #8B5CF6;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===================== BACKGROUND ELEMENTS ===================== */
#bgconvert,
#bgconvert1,
#bgconvert2 {
    position: absolute;
    z-index: 1;
    opacity: 0.25;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.4));
}

#bgconvert i,
#bgconvert1 i,
#bgconvert2 i {
    font-size: 80px;
    color: #8B5CF6;
}

#bgconvert1 i {
    font-size: 60px;
    color: #A855F7;
}

#bgconvert2 i {
    font-size: 70px;
    color: #8B5CF6;
}

#bgconvert {
    top: 15%;
    right: 8%;
}

#bgconvert1 {
    top: 65%;
    left: 30%;
}

#bgconvert2 {
    top: 32%;
    right: 25%;
}

/* Contact background elements */
.bgconvert__first,
.bgconvert__second,
.bgconvert__third {
    position: absolute;
    opacity: 0.2;
    z-index: 1;
}

.bgconvert__first i {
    font-size: 60px;
    color: #8B5CF6;
}

.bgconvert__second i {
    font-size: 70px;
    color: #A855F7;
}

.bgconvert__third i {
    font-size: 80px;
    color: #8B5CF6;
}

.bgconvert__first {
    top: 20%;
    left: 10%;
}

.bgconvert__second {
    top: 50%;
    right: 15%;
}

.bgconvert__third {
    top: 70%;
    left: 20%;
}

/* ===================== MAIN SECTIONS ===================== */
section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    position: relative;
}

section:nth-child(even) {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
}

.title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================== ADVANTAGES ===================== */
.adv {
    display: flex;
    align-items: center;
    margin: 80px 0;
    gap: 60px;
}

.adv:nth-child(even) {
    flex-direction: row-reverse;
}

.advantage {
    flex: 1;
    color: #ffffff;
    padding: 40px;
}

.advantage h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #8B5CF6;
    font-weight: 600;
    line-height: 1.3;
}

.advantage p {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
    font-weight: 400;
}

.feature-mockup {
    flex: 1;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    max-width: 500px;
}

.feature-mockup:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.feature-icon {
    font-size: 4.5rem;
    color: #8B5CF6;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.3));
    transition: all 0.3s ease;
}

.feature-mockup:hover .feature-icon {
    transform: scale(1.1) rotateY(10deg);
}

.feature-text {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ===================== INDUSTRY ICONS ===================== */
.BG__icon {
    background: rgba(139, 92, 246, 0.05);
    padding: 80px 40px;
    border-radius: 30px;
    margin: 60px 0;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.icon__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    justify-items: center;
}

.icon {
    text-align: center;
    color: #ffffff;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
}

.icon:hover {
    transform: translateY(-15px) rotateY(5deg);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.2);
}

.icon i {
    font-size: 40px;
    color: #8B5CF6;
    transition: all 0.3s ease;
}

.icon:hover i {
    transform: scale(1.2);
    color: #A855F7;
}

.icn__p {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* ===================== PRICING TABLE ===================== */
#prices {
    background: linear-gradient(135deg, #0f0f23 0%, #000000 100%);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

th {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    padding: 25px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
}

td {
    padding: 20px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    color: #ffffff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

tr:hover {
    background: rgba(139, 92, 246, 0.08);
    transform: scale(1.02);
}

/* ===================== CTA SECTION ===================== */
#BG__mac {
    background: linear-gradient(135deg, #2d1b69 0%, #1a1a2e 100%);
    padding: 100px 0;
}

#BG__mac .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.comp {
    flex: 1;
}

.test-mockup {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
    transition: all 0.4s ease;
}

.test-mockup:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
}

.mockup-header i {
    color: #8B5CF6;
    font-size: 30px;
    transition: all 0.3s ease;
}

.test-mockup:hover .mockup-header i {
    transform: rotate(10deg) scale(1.1);
}

.mockup-content {
    margin-top: 20px;
}

.mockup-feature {
    color: #ffffff;
    margin: 15px 0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mockup-feature:hover {
    transform: translateX(10px);
    color: #8B5CF6;
}

.test2 {
    flex: 1;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.but-block {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* ===================== CONTACTS ===================== */
.contacts {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.address {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.address:hover {
    transform: scale(1.05);
}

.address p {
    font-size: 1.2rem;
    font-weight: 600;
}

.icons1,
.icons2 {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.icons1:hover,
.icons2:hover {
    background: rgba(139, 92, 246, 0.4);
    transform: scale(1.2) rotate(10deg);
}

.icons1 i,
.icons2 i {
    font-size: 24px;
    color: #8B5CF6;
}

/* ===================== FOOTER ===================== */
footer {
    background: #0f0f23;
    padding: 40px 0;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
}

/* Footer content layout */
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* ===================== MODALS ===================== */
.popup {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup:before {
    display: block;
    content: ' ';
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: .5;
}

.popup__content {
    width: 700px;
    height: 400px;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #2d1b69 0%, #1a1a2e 100%);
    border: none;
    box-sizing: border-box;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.popup.show .popup__content {
    transform: translate(-50%, -50%) scale(1);
}

.popup__content.reg-popup {
    height: 550px;
}

.popup-closer {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 24px;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.popup-closer:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
}

.diflex {
    display: flex;
    height: 100%;
}

.img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 15px 0 0 15px;
}

.modal-illustration {
    text-align: center;
}

.modal-illustration i {
    font-size: 120px;
    color: #8B5CF6;
    animation: gentleFloat 3s ease-in-out infinite;
}

.modal-illustration h3 {
    margin-top: 20px;
    color: #fff;
    font-size: 24px;
}

.login {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
    outline: none;
    border-color: #8B5CF6;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.login input[type="submit"],
.login button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login input[type="submit"]:hover,
.login button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.formTextRed {
    color: #ff6b6b;
}

.password {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.password a {
    color: #8B5CF6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.password a:hover {
    color: #A855F7;
}

.terms-checkbox {
    font-size: 15px;
    color: #ffffff;
    padding-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 5px;
}

.terms-checkbox label {
    color: #ffffff;
    line-height: 1.5;
}

.terms-checkbox a {
    color: #8B5CF6;
    font-size: 15px;
}

.b24-widget-button-block {
    display: none;
}
.b24-widget-button-inner-mask {
    display: none;
}

/* ===================== SCROLL ANIMATIONS ===================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f23;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #A855F7 0%, #C084FC 100%);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    /* Header responsive */
    .header-nav {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .main-nav {
        order: 2;
        width: 100%;
    }

    .menu1__footer {
        flex-direction: column;
        gap: 15px;
    }

    .header-right {
        order: 3;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .phone-contact .phone1__footer {
        text-align: center;
    }

    /* Language selector responsive */
    .hovermenu__cont {
        left: 50%;
        transform: translateX(-50%) translateY(-5px) scale(0.98);
        min-width: 100px;
    }

    .hovermenu:hover .hovermenu__cont,
    .hovermenu__cont:hover {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    /* Hero responsive */
    .titles h1 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .hero-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .hero-left {
        padding-right: 0;
    }

    .hero-features {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .dashboard-mockup {
        max-width: 400px;
    }

    .adv {
        flex-direction: column !important;
        text-align: center;
        gap: 40px;
    }

    .icon__top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contacts {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .popup__content {
        width: 90%;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .diflex {
        flex-direction: column;
    }

    .img {
        border-radius: 15px 15px 0 0;
    }

    #BG__mac .container {
        flex-direction: column;
        gap: 40px;
    }

    .test2 {
        font-size: 2rem;
        text-align: center;
    }

    .but-block {
        justify-content: center;
    }

    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-nav {
        width: 100%;
    }
}

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

    /* Header responsive */
    .topline {
        padding: 15px 0;
    }

    .header-nav {
        gap: 15px;
    }

    .header-right {
        gap: 10px;
    }

    /* Language selector mobile */
    .hovermenu .language {
        padding: 6px 12px;
        font-size: 14px;
        min-width: 50px;
    }

    .hovermenu__cont {
        min-width: 80px;
    }

    .hovermenu__cont a {
        padding: 8px 12px;
        font-size: 13px;
    }

    /* Sections responsive */
    section {
        padding: 60px 0;
    }

    .titles {
        padding: 40px 0 80px 0;
    }

    .hero-content {
        gap: 30px;
    }

    .dashboard-mockup {
        padding: 30px 20px;
        max-width: 100%;
    }

    .dashboard-content {
        flex-direction: column;
        gap: 20px;
    }

    .feature-item {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .icon {
        padding: 30px 20px;
    }

    .feature-mockup {
        padding: 40px 30px;
    }
}