        /* Основные стили */
        :root {
            --primary-blue: #1a4b8c;
            --secondary-blue: #2c6cbf;
            --accent-blue: #4a90e2;
            --light-blue: #e8f2ff;
            --dark-blue: #0d2b4e;
            --white: #ffffff;
            --light-gray: #f5f7fa;
            --text-dark: #333333;
            --ai-purple: #8b5cf6;
            --ai-cyan: #06b6d4;
            --ai-green: #10b981;
            --ai-orange: #f59e0b;
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --gradient-ai: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
            --gradient-neural: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
            --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
            --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
            --shadow-ai: 0 15px 35px rgba(139, 92, 246, 0.2);
            --border-radius: 16px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --theme-transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

        .ai-sana {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #4facfe 50%, #00f2fe 75%, #667eea 100%);
            background-size: 400% 400%;
            /* animation: gradientShift 20s ease infinite; */ /* DISABLED for performance */
            color: var(--text-dark);
            line-height: 1.6;
/*            overflow-x: hidden; */
            position: relative;
            transition: var(--theme-transition);
        }

        .ai-sana::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: -2;
        }

        .ai-sana::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: -1;
        }

        [data-theme="dark"] .ai-sana  a.logo-link:hover:after {
          background: none;
        }


        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }



        .ai-sana .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Controls Bar */
        .ai-sana .controls-bar {
            position: absolute;
            top: 1rem;
            right: 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            z-index: 10;
        }

        .ai-sana .theme-switcher {
            display: flex;
            align-items: center;
        }

        /* Удален CSS для переключателя темы */

        .ai-sana .language-switcher {
            display: flex;
            gap: 0.5rem;
        }

        .ai-sana .lang-btn {
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 60px;
            height: 40px;
            position: relative;
            line-height: 1;
        }

        .ai-sana .lang-btn[data-lang="ru"] {
            background: rgba(255, 255, 255, 0.2);
            color: var(--white);
        }

        .ai-sana .lang-btn[data-lang="kz"] {
            background: rgba(255, 255, 255, 0.2);
            color: var(--white);
        }

        /* Убрали псевдоэлементы для казахского флага - упростили */

        .ai-sana .lang-btn[data-lang="en"] {
            background: rgba(255, 255, 255, 0.2);
            color: var(--white);
        }


        .ai-sana .lang-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .ai-sana .lang-btn.active {
            background: rgba(34, 197, 94, 0.9); /* Зеленоватый фон */
            color: white;
            border-color: rgba(34, 197, 94, 0.9);
        }

        /* Цвета флагов для каждой буквы */
.ai-sana         .flag-ru:nth-child(1) { color: #ffffff; } /* R - белый */
.ai-sana         .flag-ru:nth-child(2) { color: #0039a6; } /* U - синий */
.ai-sana         .flag-ru:nth-child(3) { color: #d52b1e; } /* S - красный */

.ai-sana         .flag-kz:nth-child(1) { color: #00afca; } /* K - голубой */
.ai-sana         .flag-kz:nth-child(2) { color: #ffd700; } /* A - желтый */
.ai-sana         .flag-kz:nth-child(3) { color: #00afca; } /* Z - голубой */

.ai-sana         .flag-en:nth-child(1) { color: #012169; } /* E - синий */
.ai-sana         .flag-en:nth-child(2) { color: #ffffff; } /* N - белый */
.ai-sana         .flag-en:nth-child(3) { color: #c8102e; } /* G - красный */


        /* Темная тема - исправляем и делаем везде белый текст */
        [data-theme="dark"] .ai-sana  {
            --text-dark: #ffffff; /* Белый текст для темной темы */
            --text-light: #f9fafb; /* Светлый текст для темной темы */
        }

        [data-theme="dark"] .ai-sana  body {
            color: #ffffff; /* Белый текст везде */
        }

        [data-theme="dark"] .ai-sana  h1,
        [data-theme="dark"] .ai-sana  h2,
        [data-theme="dark"] .ai-sana  h3,
        [data-theme="dark"] .ai-sana  h4,
        [data-theme="dark"] .ai-sana  h5,
        [data-theme="dark"] .ai-sana  h6 {
            color: #ffffff; /* Белые заголовки */
        }

        [data-theme="dark"] .ai-sana  p,
        [data-theme="dark"] .ai-sana  li,
        [data-theme="dark"] .ai-sana  span,
        [data-theme="dark"] .ai-sana  div {
            color: #ffffff; /* Белый текст везде */
        }

        [data-theme="dark"] .ai-sana  ul,
        [data-theme="dark"] .ai-sana  ol {
            color: #ffffff; /* Белые списки */
        }

        [data-theme="dark"] .ai-sana  a {
            color: #90cdf4; /* Светло-голубые ссылки */
        }

        [data-theme="dark"] .ai-sana  a:hover {
            color: #63b3ed; /* Голубые ссылки при hover */
        }

        [data-theme="dark"] .ai-sana  table {
            color: #ffffff; /* Белый текст в таблицах */
        }

        [data-theme="dark"] .ai-sana  th {
            color: #ffffff; /* Белые заголовки таблиц */
            background: rgba(83, 52, 131, 0.3);
        }

        [data-theme="dark"] .ai-sana  td {
            color: #ffffff; /* Белый текст в ячейках */
        }

        [data-theme="dark"] .ai-sana  .subtitle {
            color: #ffffff; /* Белый подзаголовок */
        }

        [data-theme="dark"] .ai-sana  section {
            background: rgba(31, 41, 55, 0.95);
            border: 2px solid rgba(75, 85, 99, 0.5);
            color: #ffffff; /* Белый текст в секциях */
        }

        [data-theme="dark"] .ai-sana  .table-container {
            background: rgba(31, 41, 55, 0.95);
            border: 2px solid rgba(75, 85, 99, 0.5);
            color: #ffffff; /* Белый текст в таблицах */
        }

        [data-theme="dark"] .ai-sana  li {
            background: rgba(31, 41, 55, 0.5);
            border: 1px solid rgba(75, 85, 99, 0.3);
            color: #ffffff; /* Белый текст в списках */
        }

        [data-theme="dark"] .ai-sana  .status-badge {
            background: rgba(83, 52, 131, 0.3);
            color: #ffffff; /* Белый текст в бейджах */
        }

        [data-theme="dark"] .ai-sana  .contact-item {
            background: rgba(26, 26, 46, 0.8);
            border: 2px solid rgba(83, 52, 131, 0.3);
            color: #ffffff; /* Белый текст в контактах */
        }

        [data-theme="dark"] .ai-sana  .partner-logo {
            background: rgba(26, 26, 46, 0.8);
            border: 2px solid rgba(83, 52, 131, 0.3);
            color: #ffffff; /* Белый текст в логотипах партнеров */
        }

        [data-theme="dark"] .ai-sana  .lang-btn {
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: #ffffff; /* Белый текст на кнопках */
        }

        [data-theme="dark"] .ai-sana  .lang-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        [data-theme="dark"] .ai-sana  .lang-btn.active {
            background: rgba(34, 197, 94, 0.9); /* Зеленоватый фон */
            color: white;
            border-color: rgba(34, 197, 94, 0.9);
        }

        /* Удалены правила темной темы для переключателя */

        /* Удалены все правила светлой темы */

        /* Шапка сайта */
.ai-sana         header {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 2.5rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

.ai-sana         header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.8" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="30" r="0.6" fill="rgba(255,255,255,0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
            /* animation: float 20s ease-in-out infinite; */ /* DISABLED for performance */
        }

        /* Дополнительные эффекты для шапки */


        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(1deg); }
        }

.ai-sana         .header-title-section {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 2;
        }

.ai-sana         .logo-left {
            margin-right: 1rem;
        }

.ai-sana         .logo-right {
            margin-left: 1rem;
        }

.ai-sana         .logo-section {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 2;
        }

.ai-sana         .logo-placeholder {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 50%;
            margin: 0 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-blue) !important; /* Синий цвет с приоритетом */
            font-weight: bold;
            font-size: 0.9rem; /* Увеличиваем размер шрифта */
            text-align: center;
            white-space: normal; /* Разрешаем перенос строк */
            box-shadow: var(--shadow-soft);
            transition: var(--transition);
            /* animation: pulse 2s ease-in-out infinite; */ /* DISABLED for performance */
        }


.ai-sana         .logo-placeholder:hover {
            transform: scale(1.1) rotate(5deg);
            box-shadow: var(--shadow-hover);
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

.ai-sana         h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            position: relative;
            z-index: 2;
            /* animation: slideInDown 1s ease-out; */ /* DISABLED for performance */
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

.ai-sana         .subtitle {
            font-size: 1.2rem;
            max-width: 900px;
            margin: 0 auto;
            opacity: 0.95;
            position: relative;
            z-index: 2;
            /* animation: slideInUp 1s ease-out 0.3s both; */ /* DISABLED for performance */
            min-height: 3.6rem; /* Reserve space for 2 lines (1.2rem * 1.6 line-height * 2 lines) */
            line-height: 1.6;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 0.95;
                transform: translateY(0);
            }
        }

        /* Основной контент */
.ai-sana         main {
            padding: 3rem 0;
            max-width: 1400px;
            margin: 0 auto;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

.ai-sana         section {
            background: rgba(255, 255, 255, 0.95);
            /* backdrop-filter: blur(20px); */ /* DISABLED - очень тяжелый для GPU */
            border-radius: var(--border-radius);
            /* box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.15),
                0 0 0 2px rgba(255, 255, 255, 0.8),
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                0 0 30px rgba(139, 92, 246, 0.1); */ /* DISABLED - тяжелые тени */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Простая тень */
            border: 2px solid rgba(255, 255, 255, 0.8);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        /* Holographic effects */
.ai-sana         .holographic {
            position: relative;
            background: linear-gradient(45deg,
                rgba(139, 92, 246, 0.1) 0%,
                rgba(6, 182, 212, 0.1) 25%,
                rgba(16, 185, 129, 0.1) 50%,
                rgba(139, 92, 246, 0.1) 75%,
                rgba(6, 182, 212, 0.1) 100%);
            background-size: 400% 400%;
            /* animation: holographicShift 8s ease-in-out infinite; */ /* DISABLED for performance */
        }

.ai-sana         .holographic::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg,
                transparent 30%,
                rgba(255, 255, 255, 0.1) 50%,
                transparent 70%);
            /* animation: holographicScan 3s ease-in-out infinite; */ /* DISABLED for performance */
            pointer-events: none;
        }

        @keyframes holographicShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        @keyframes holographicScan {
            0%, 100% { transform: translateX(-100%); }
            50% { transform: translateX(100%); }
        }

        /* 3D Card Effects */
.ai-sana         .card-3d {
            transform-style: preserve-3d;
            transition: all 0.3s ease;
            perspective: 1000px;
        }

.ai-sana         .card-3d:hover {
            transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
            box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 50px rgba(83, 52, 131, 0.3);
        }

        /* Parallax Background */
.ai-sana         .parallax-bg {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

        /* Floating Animation */


.ai-sana         .floating {
            /* animation: float 3s ease-in-out infinite; */ /* DISABLED for performance */
        }

        /* Glow Effect */
.ai-sana         .glow {
            box-shadow: 0 0 20px rgba(83, 52, 131, 0.5);
            transition: box-shadow 0.3s ease;
        }

.ai-sana         .glow:hover {
            box-shadow: 0 0 40px rgba(83, 52, 131, 0.8);
        }

        /* Typing Animation */
        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }

.ai-sana         .typing-effect {
            overflow: hidden;
            white-space: nowrap;
            animation: typing 3s steps(60, end);
            border-right: 2px solid var(--ai-purple);
            animation-fill-mode: both;
        }

.ai-sana         .typing-effect.typing-complete {
            border-right: none;
        }


        /* Animated Counters */
.ai-sana         .counter {
            font-size: 2rem;
            font-weight: bold;
            color: var(--ai-purple);
            text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
        }

        /* Счетчики в таблице */
.ai-sana         table .counter {
            font-size: 1.5rem;
            color: var(--ai-cyan);
            text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
        }

        /* Glassmorphism Effect */
.ai-sana         .glass {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
        }

        /* Neon Glow - ЧЕТКИЙ */
.ai-sana         .neon {
            text-shadow:
                0 0 2px currentColor,
                0 0 4px currentColor;
        }

        /* Специальный стиль для темных заголовков */
.ai-sana         .neon-dark {
            color: #e2e8f0 !important;
            text-shadow:
                0 0 5px rgba(226, 232, 240, 0.8),
                0 0 10px rgba(139, 92, 246, 0.6),
                0 0 15px rgba(139, 92, 246, 0.4);
        }

        /* Стиль для слишком ярких заголовков */
.ai-sana         .neon-subtle {
            color: #a0aec0 !important;
            text-shadow:
                0 0 2px rgba(160, 174, 192, 0.6),
                0 0 4px rgba(139, 92, 246, 0.3);
        }

        /* Wave Animation - DISABLED for performance */
        /* @keyframes wave {
            0%, 100% { transform: translateX(0) translateY(0); }
            25% { transform: translateX(5px) translateY(-5px); }
            50% { transform: translateX(0) translateY(-10px); }
            75% { transform: translateX(-5px) translateY(-5px); }
        } */

        /* .wave {
            animation: wave 2s ease-in-out infinite;
        } */ /* DISABLED for performance */

        /* Оптимизация для широких экранов */
        @media (min-width: 1400px) {
         .ai-sana    section {
                padding: 3rem;
            }

.ai-sana             h2 {
                font-size: 2.2rem;
            }

.ai-sana             p {
                font-size: 1.15rem;
                line-height: 1.8;
            }
        }

.ai-sana         section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-accent);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        /* Removed special AI School styles - now uses general section styles */


.ai-sana         section:hover {
            /* transform: translateY(-8px) rotateX(2deg) rotateY(2deg); */ /* DISABLED - тяжелый для GPU */
            /* box-shadow:
                0 30px 60px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(255, 255, 255, 0.9),
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                0 0 50px rgba(139, 92, 246, 0.3),
                0 0 100px rgba(6, 182, 212, 0.2); */ /* DISABLED - тяжелые тени */
        }

        /* Glowing borders and 3D effects */
.ai-sana         .glow-effect {
            position: relative;
            border: 2px solid transparent;
            background: linear-gradient(45deg,
                rgba(139, 92, 246, 0.2),
                rgba(6, 182, 212, 0.2),
                rgba(16, 185, 129, 0.2)) border-box;
            border-radius: var(--border-radius);
        }

.ai-sana         .glow-effect::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg,
                rgba(139, 92, 246, 0.5),
                rgba(6, 182, 212, 0.5),
                rgba(16, 185, 129, 0.5));
            border-radius: var(--border-radius);
            z-index: -1;
            filter: blur(10px);
            animation: glowPulse 3s ease-in-out infinite;
        }

        @keyframes glowPulse {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.05); }
        }

.ai-sana         section:hover::before {
            /* transform: scaleX(1); */ /* DISABLED for performance */
        }

        /* Removed automatic animations - now using scroll-triggered animations */

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

.ai-sana         h2 {
            color: var(--primary-blue);
            margin-bottom: 1rem;
            font-size: 2rem;
            display: flex;
            align-items: center;
            position: relative;
            transition: var(--transition);
            background: linear-gradient(45deg, var(--primary-blue), var(--ai-purple), var(--ai-cyan));
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            /* animation: textGradient 4s ease-in-out infinite; */ /* DISABLED for performance */
            text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
        }

        @keyframes textGradient {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

   .ai-sana      h2::before {
            margin-right: 15px;
            font-size: 1.8rem;
            /* animation: bounce 2s ease-in-out infinite; */ /* DISABLED for performance */
        }

        /* Специальные эмодзи для каждого раздела */
    .ai-sana     #about h2 {
            position: relative;
        }

     .ai-sana    #about h2 .robot-icon {
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-block;
            margin-right: 15px;
            width: 2.5rem;
            height: 2.5rem;
            position: relative;
            /* animation: bounce 2s ease-in-out infinite; */ /* DISABLED for performance */
            background: rgba(74, 144, 226, 0.1);
            border-radius: 50%;
            border: 2px solid rgba(74, 144, 226, 0.3);
            box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
        }

        /* Готовая иконка робота */
   .ai-sana      #about h2 .robot-icon {
            display: inline-block;
            width: 2.5rem;
            height: 2.5rem;
            background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiByeD0iOCIgZmlsbD0iI2YwZjBmMCIgc3Ryb2tlPSIjNGE5MGUyIiBzdHJva2Utd2lkdGg9IjIiLz4KPHJlY3QgeD0iMTIiIHk9IjEyIiB3aWR0aD0iNiIgaGVpZ2h0PSI0IiByeD0iMiIgZmlsbD0iIzAwYmZmZiIvPgo8cmVjdCB4PSIyMiIgeT0iMTIiIHdpZHRoPSI2IiBoZWlnaHQ9IjQiIHJ4PSIyIiBmaWxsPSIjMDBiZmZmIi8+CjxyZWN0IHg9IjE4IiB5PSIyNCIgd2lkdGg9IjQiIGhlaWdodD0iMiIgcng9IjEiIGZpbGw9IiMzMzMzMzMiLz4KPGxpbmUgeDE9IjEwIiB5MT0iOCIgeDI9IjEwIiB5Mj0iNCIgc3Ryb2tlPSIjZmY2OWI0IiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8bGluZSB4MT0iMzAiIHkxPSI4IiB4Mj0iMzAiIHkyPSI0IiBzdHJva2U9IiNmZjY5YjQiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxjaXJjbGUgY3g9IjEwIiBjeT0iNCIgcj0iMiIgZmlsbD0iI2ZmNjliNCIvPgo8Y2lyY2xlIGN4PSIzMCIgY3k9IjQiIHI9IjIiIGZpbGw9IiNmZjY5YjQiLz4KPHJlY3QgeD0iMTgiIHk9IjIiIHdpZHRoPSI0IiBoZWlnaHQ9IjIiIHJ4PSIxIiBmaWxsPSIjZmZmZjAwIi8+Cjwvc3ZnPgo=');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            margin-right: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

    .ai-sana     #about h2 .robot-icon:hover {
            transform: scale(1.2) rotate(10deg);
            filter: hue-rotate(300deg) brightness(1.2);
            box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
        }

    .ai-sana     #about h2 .robot-icon:active {
            transform: scale(0.9) rotate(-5deg);
            filter: hue-rotate(300deg) brightness(1.5);
            box-shadow: 0 0 35px rgba(255, 0, 0, 0.8);
        }

        /* Анимация для клика на робота */
        @keyframes robotClickPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.3) rotate(15deg); }
            100% { transform: scale(1); }
        }

        /* Анимация тряски страницы */
        @keyframes pageShake {
            0%, 100% { transform: translateX(0); }
            10% { transform: translateX(-5px); }
            20% { transform: translateX(5px); }
            30% { transform: translateX(-3px); }
            40% { transform: translateX(3px); }
            50% { transform: translateX(-2px); }
            60% { transform: translateX(2px); }
            70% { transform: translateX(-1px); }
            80% { transform: translateX(1px); }
            90% { transform: translateX(-0.5px); }
        }

   .ai-sana      #mission h2::before {
            content: "";
        }

    .ai-sana     #directions h2::before {
            content: "";
        }

    .ai-sana     #ai-agents h2::before {
            content: "";
        }

   .ai-sana      #moodle h2::before {
            content: "";
        }

    .ai-sana     #education h2::before {
            content: "";
        }

   .ai-sana      #ai-school h2::before {
            content: "";
        }

    .ai-sana     #summer-semester h2::before {
            content: "";
        }

    .ai-sana     #contacts h2::before {
            content: "";
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        /* Специальные анимации для эмодзи - убрано, используем span */

   .ai-sana      #mission h2::before {
            animation: targetPulse 2s ease-in-out infinite;
        }

    .ai-sana     #directions h2::before {
            animation: targetPulse 2s ease-in-out infinite;
        }

     .ai-sana    #ai-agents h2::before {
            animation: none;
        }

    .ai-sana     #moodle h2::before {
            animation: bookFlip 2s ease-in-out infinite;
        }

    .ai-sana     #education h2::before {
            animation: none;
        }


    .ai-sana     #contacts h2::before {
            animation: phoneVibrate 1s ease-in-out infinite;
        }

        @keyframes targetPulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.8; }
        }

        @keyframes lightningFlash {
            0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
            50% { transform: scale(1.3) rotate(5deg); opacity: 0.7; }
        }

        @keyframes bookFlip {
            0%, 100% { transform: rotateY(0deg); }
            50% { transform: rotateY(15deg); }
        }

        @keyframes phoneVibrate {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-5deg); }
            75% { transform: rotate(5deg); }
        }


   .ai-sana      h2:hover {
            transform: translateX(5px) scale(1.02);
            filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
            animation-play-state: paused;
        }

        /* Machine Learning interaction effects */
   .ai-sana      .ml-interactive {
            position: relative;
            overflow: hidden;
        }

    .ai-sana     .ml-interactive::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg,
                transparent,
                rgba(139, 92, 246, 0.1),
                transparent);
            transition: left 0.5s ease;
        }

   .ai-sana      .ml-interactive:hover::after {
            left: 100%;
        }

        /* University Interactive Map */
    .ai-sana     .university-map {
            position: fixed;
            left: -200px;
            top: 50%;
            transform: translateY(-50%);
            width: 180px;
            height: 700px;
            background: linear-gradient(135deg,
                rgba(15, 23, 42, 0.95) 0%,
                rgba(30, 41, 59, 0.95) 100%);
            border: 2px solid rgba(139, 92, 246, 0.3);
            border-radius: 0 20px 20px 0;
            box-shadow:
                10px 0 30px rgba(139, 92, 246, 0.3),
                0 0 0 1px rgba(139, 92, 246, 0.2);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 999;
            overflow: hidden;
        }

   .ai-sana      .university-map.show {
            left: 0;
        }

    .ai-sana     .university-map::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
            animation: mapGlow 8s ease-in-out infinite;
        }

        @keyframes mapGlow {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.02); }
        }

     .ai-sana    .map-header {
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid rgba(139, 92, 246, 0.3);
        }

   .ai-sana      .map-title {
            font-size: 14px;
            color: var(--ai-cyan);
            font-weight: 600;
            text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
            text-align: center;
            line-height: 1.3;
            white-space: normal;
            word-wrap: break-word;
            max-width: 120px;
        }

    .ai-sana     .map-content {
            padding: 20px;
            height: calc(100% - 60px);
            overflow: visible;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
        }

   .ai-sana      .map-point {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            width: 100%;
            padding: 8px 15px;
            margin: 2px 0;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            border-radius: 8px;
        }

    .ai-sana     .map-point-icon-wrapper {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg,
                rgba(139, 92, 246, 0.2) 0%,
                rgba(6, 182, 212, 0.2) 100%);
            border: 2px solid rgba(139, 92, 246, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow:
                0 0 15px rgba(139, 92, 246, 0.2),
                inset 0 0 8px rgba(139, 92, 246, 0.1);
        }

    .ai-sana     .map-point:hover {
            background: linear-gradient(135deg,
                rgba(139, 92, 246, 0.15) 0%,
                rgba(6, 182, 212, 0.15) 100%);
            transform: translateX(8px) scale(1.02);
            box-shadow:
                0 4px 20px rgba(139, 92, 246, 0.2),
                0 2px 8px rgba(6, 182, 212, 0.1);
        }

   .ai-sana      .map-point:active {
            transform: translateX(8px) scale(0.98);
        }

    .ai-sana     .map-point:hover .map-point-icon-wrapper {
            background: linear-gradient(135deg,
                rgba(139, 92, 246, 0.4) 0%,
                rgba(6, 182, 212, 0.4) 100%);
            border-color: var(--ai-cyan);
            transform: scale(1.1);
            box-shadow:
                0 5px 20px rgba(139, 92, 246, 0.4),
                0 0 20px rgba(6, 182, 212, 0.3),
                inset 0 0 15px rgba(139, 92, 246, 0.2);
        }

   .ai-sana      .map-point-icon {
            width: 16px;
            height: 16px;
            background: linear-gradient(135deg, var(--ai-purple) 0%, var(--ai-cyan) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: white;
            font-weight: bold;
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
        }

.ai-sana         .map-point-title {
            font-size: 11px;
            color: rgba(139, 92, 246, 0.9);
            font-weight: 600;
            opacity: 1;
            transform: translateY(0);
            line-height: 1.2;
            white-space: nowrap;
        }

        /* Navigation Arrow Tooltip - Cyberpunk Style */
.ai-sana         .nav-arrow {
            position: fixed;
            left: -60px;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 90px;
            background: linear-gradient(135deg,
                rgba(139, 92, 246, 0.9) 0%,
                rgba(6, 182, 212, 0.9) 100%);
            border: 2px solid rgba(139, 92, 246, 0.5);
            border-radius: 0 25px 25px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 998;
            box-shadow:
                8px 0 20px rgba(139, 92, 246, 0.3),
                0 0 0 1px rgba(139, 92, 246, 0.4);
            font-size: 24px;
            color: white;
            text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
        }

.ai-sana         .nav-arrow.show {
            left: 0;
        }

.ai-sana         .nav-arrow:hover {
            background: linear-gradient(135deg,
                rgba(139, 92, 246, 1) 0%,
                rgba(6, 182, 212, 1) 100%);
            box-shadow:
                15px 0 35px rgba(139, 92, 246, 0.5),
                0 0 20px rgba(6, 182, 212, 0.3);
            transform: translateY(-50%) scale(1.05);
        }

        /* Back to Top Button */
   .ai-sana      .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #4A90E2, #357ABD);
            border: none;
            border-radius: 50%;
            color: white;
            cursor: pointer;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
        }

   .ai-sana      .back-to-top:hover {
            background: linear-gradient(135deg, #357ABD, #2E6DA4);
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(74, 144, 226, 0.4);
        }

   .ai-sana      .back-to-top:active {
            transform: translateY(0);
        }

  .ai-sana       .back-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

    .ai-sana     .back-to-top svg {
            transition: transform 0.2s ease;
        }

    .ai-sana     .back-to-top:hover svg {
            transform: translateY(-2px);
        }

        /* Модальное окно для скриншотов */
        .screenshot-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .screenshot-modal.show {
            display: flex !important;
            opacity: 1 !important;
        }

        .screenshot-modal-content {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
            border-radius: 12px;
            padding: 20px;
            max-width: 90vw;
            max-height: 90vh;
            position: relative;
            border: 2px solid rgba(139, 92, 246, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        .screenshot-modal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            background: none;
            border: none;
            color: #e2e8f0;
            font-size: 24px;
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .screenshot-modal-close:hover {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }

        .screenshot-modal-image {
            max-width: 100%;
            max-height: 70vh;
            object-fit: contain;
            border-radius: 8px;
            margin-bottom: 15px;
        }

        .screenshot-modal-caption {
            color: #e2e8f0;
            font-size: 16px;
            text-align: center;
            margin-bottom: 10px;
        }

        .screenshot-modal-description {
            color: #94a3b8;
            font-size: 14px;
            text-align: center;
            line-height: 1.5;
        }

        /* Навигационные стрелки */
        .screenshot-modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(15, 23, 42, 0.8);
            border: 2px solid rgba(139, 92, 246, 0.5);
            color: #e2e8f0;
            font-size: 24px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10001;
        }

        .screenshot-modal-nav:hover {
            background: rgba(139, 92, 246, 0.3);
            border-color: rgba(139, 92, 246, 0.8);
            transform: translateY(-50%) scale(1.1);
        }

        .screenshot-modal-prev {
            left: 20px;
        }

        .screenshot-modal-next {
            right: 20px;
        }

        .screenshot-modal-counter {
            color: #94a3b8;
            font-size: 12px;
            text-align: center;
            margin-top: 10px;
        }

        /* Кнопки для показа скриншотов */
        .screenshot-btn {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
            border: 1px solid rgba(139, 92, 246, 0.3);
            color: #e2e8f0;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            margin-left: 10px;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .screenshot-btn:hover {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
            border-color: rgba(139, 92, 246, 0.5);
            transform: translateY(-1px);
        }

        /* Стили для кликабельных пунктов */
   .ai-sana      .in-development.clickable {
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

   .ai-sana      .in-development.clickable:hover {
            background: rgba(139, 92, 246, 0.1);
            border-left: 3px solid rgba(139, 92, 246, 0.5);
            padding-left: 15px;
        }

    .ai-sana     .in-development.clickable::after {
            content: " Кликните для просмотра скриншота";
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            color: rgba(139, 92, 246, 0.7);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

  .ai-sana       .in-development.clickable:hover::after {
            opacity: 1;
        }

        /* Screenshot Preview Window - Right Side Panel */
        .screenshot-preview {
            position: fixed;
            top: 25px;
            right: 25px;
            width: calc(50vw - 50px); /* Half screen width minus margins */
            height: calc(100vh - 50px); /* Full height minus margins */
            background: linear-gradient(135deg,
                rgba(15, 23, 42, 0.95) 0%,
                rgba(30, 41, 59, 0.95) 100%);
            border: 2px solid rgba(139, 92, 246, 0.4);
            border-radius: 20px; /* Закругленные углы */
            box-shadow:
                -10px 0 30px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(139, 92, 246, 0.3),
                0 10px 40px rgba(0, 0, 0, 0.4); /* Более темная тень */
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            overflow-y: auto;
        }

        /* Screenshot Preview Window - Right Side Panel - СКРЫТО */
        .screenshot-preview {
            display: none !important;
        }

        .screenshot-preview.show {
            display: none !important;
        }


        .screenshot-preview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg,
                rgba(139, 92, 246, 0.2) 0%,
                rgba(6, 182, 212, 0.2) 100%);
            border-radius: 20px; /* Соответствует основному элементу */
            z-index: -1;
        }

        .screenshot-content {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 20px;
            box-sizing: border-box;
            color: #e2e8f0; /* Светлый текст для темного фона */
        }

        .screenshot-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg,
                rgba(139, 92, 246, 0.2) 0%,
                rgba(6, 182, 212, 0.2) 50%,
                rgba(139, 92, 246, 0.2) 100%);
            border: 2px dashed rgba(139, 92, 246, 0.5);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #a0aec0; /* Светло-серый текст */
            font-size: 14px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .screenshot-placeholder::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background:
                radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
            animation: aiGlow 4s ease-in-out infinite;
        }

        .screenshot-caption {
            margin-top: 10px;
            font-size: 12px;
            color: #cbd5e0; /* Светло-серый текст */
            text-align: center;
            font-weight: 500;
        }

        /* Close button */
        .screenshot-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(139, 92, 246, 0.3);
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            color: rgba(139, 92, 246, 0.8);
            transition: all 0.3s ease;
            opacity: 1;
            visibility: visible;
            z-index: 2001;
        }

        .screenshot-close:hover {
            background: rgba(139, 92, 246, 0.1);
            transform: scale(1.1);
        }

        /* Стили для элементов внутри темного окна */
        .screenshot-features-preview h4 {
            color: #e2e8f0; /* Светлый заголовок */
            margin-bottom: 10px;
        }

        .screenshot-features-preview ul {
            list-style: none;
            padding: 0;
        }

        .screenshot-features-preview li {
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 6px;
            padding: 8px 12px;
            margin-bottom: 8px;
            color: #e2e8f0;
            transition: all 0.3s ease;
        }

        .screenshot-features-preview li:hover {
            background: rgba(139, 92, 246, 0.2);
            border-color: rgba(139, 92, 246, 0.5);
            transform: translateX(5px);
        }



        /* Side panel content */
        .screenshot-content {
            padding: 40px 30px;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .screenshot-placeholder {
            flex: 1;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            border: 2px dashed rgba(139, 92, 246, 0.3);
            border-radius: 8px;
            color: rgba(139, 92, 246, 0.6);
        }

        .screenshot-caption {
            font-size: 14px;
            color: rgba(139, 92, 246, 0.8);
            text-align: center;
            font-weight: 500;
            margin-bottom: 20px;
        }

        /* Features preview inside the window */
        .screenshot-features-preview {
            margin-top: 20px;
        }

        .screenshot-features-preview h4 {
            font-size: 16px;
            color: var(--ai-purple);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .screenshot-features-preview h4::before {
            margin-right: 8px;
            font-size: 18px;
        }

        .screenshot-features-preview ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .screenshot-features-preview li {
            padding: 6px 0;
            color: rgba(139, 92, 246, 0.8);
            font-size: 13px;
            text-align: center;
            position: relative;
        }

        .screenshot-features-preview li::before {
            content: "•";
            color: var(--ai-purple);
            font-weight: bold;
            margin-right: 8px;
        }

        /* LMS Moodle items with hover effect */
 .ai-sana        #moodle li {
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0.8rem 0.8rem 0.8rem 3rem;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
            border: 1px solid rgba(74, 144, 226, 0.2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            min-height: 50px;
        }

 .ai-sana        #moodle li:hover {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
        }

        /* AI-powered hover effects */
   .ai-sana      .ai-hover {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

   .ai-sana      .ai-hover:hover {
            transform: translateY(-2px) scale(1.01);
            box-shadow:
                0 10px 25px rgba(139, 92, 246, 0.2),
                0 0 0 1px rgba(139, 92, 246, 0.3);
            background: linear-gradient(135deg,
                rgba(139, 92, 246, 0.05) 0%,
                rgba(6, 182, 212, 0.05) 100%);
        }

   .ai-sana      h3 {
            color: var(--secondary-blue);
            margin: 1rem 0 0.5rem;
            font-size: 1.5rem;
            position: relative;
            padding-left: 20px;
        }

  .ai-sana       h3::before {
            content: "";
            position: absolute;
            left: 0;
            color: var(--accent-blue);
            animation: pulse 1.5s ease-in-out infinite;
        }

  .ai-sana       p {
            margin-bottom: 1.2rem;
            font-size: 1.1rem;
            line-height: 1.7;
            color: #ffffff; /* Белый текст для темной темы */
            font-weight: 400;
        }

   .ai-sana      ul {
            list-style-type: none;
            padding-left: 0;
        }

   .ai-sana      li {
            margin-bottom: 1rem;
            padding: 0.8rem 0 0.8rem 2rem;
            position: relative;
            background: rgba(74, 144, 226, 0.05);
            border-radius: 8px;
            transition: var(--transition);
            border-left: 3px solid transparent;
        }

   .ai-sana      li::before {
            color: var(--accent-blue);
            font-weight: bold;
            position: absolute;
            left: 0.5rem;
            top: 0.8rem;
            animation: sparkle 2s ease-in-out infinite;
        }

        /* Специальные иконки для разных секций */
    .ai-sana     #about li::before {
            content: "";
        }

        /* Удалено старое правило для #mission li::before */

        /* Удалено старое правило для #directions li::before */

  .ai-sana       #ai-agents li::before {
            content: "";
        }

   .ai-sana      #moodle li::before {
            content: attr(data-icon);
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            opacity: 0.8;
            transition: all 0.3s ease;
            animation: iconSway 3s ease-in-out infinite;
        }

    .ai-sana     #moodle li:hover::before {
            transform: translateY(-50%) scale(1.2);
            opacity: 1;
            animation-play-state: paused;
        }

        /* Задержки для поочередного покачивания в блоке Moodle */
.ai-sana         #moodle li:nth-child(1)::before { animation-delay: 0s; }
.ai-sana         #moodle li:nth-child(2)::before { animation-delay: 0.6s; }
.ai-sana         #moodle li:nth-child(3)::before { animation-delay: 1.2s; }
.ai-sana         #moodle li:nth-child(4)::before { animation-delay: 1.8s; }
.ai-sana         #moodle li:nth-child(5)::before { animation-delay: 2.4s; }
.ai-sana         #moodle li:nth-child(6)::before { animation-delay: 3s; }
.ai-sana         #moodle li:nth-child(7)::before { animation-delay: 3.6s; }
.ai-sana         #moodle li:nth-child(8)::before { animation-delay: 4.2s; }
.ai-sana         #moodle li:nth-child(9)::before { animation-delay: 4.8s; }
.ai-sana         #moodle li:nth-child(10)::before { animation-delay: 5.4s; }
.ai-sana         #moodle li:nth-child(11)::before { animation-delay: 6s; }
.ai-sana         #moodle li:nth-child(12)::before { animation-delay: 6.6s; }

.ai-sana         #education li::before {
            content: "";
        }

  .ai-sana       #ai-school li::before {
            content: "";
        }

        /* AI School карточки */
  .ai-sana       .ai-school-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

   .ai-sana      .ai-school-card {
            background: rgba(31, 41, 55, 0.95); /* Простой фон вместо градиента */
            border: 2px solid rgba(139, 92, 246, 0.2);
            border-radius: 20px;
            padding: 2rem;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
        }

   .ai-sana      .ai-school-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: rgba(139, 92, 246, 0.5); /* Простой цвет вместо градиента */
        }

  .ai-sana       .ai-school-card:hover {
            /* transform: translateY(-8px); */ /* DISABLED for performance */
            /* box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2); */ /* DISABLED */
            border-color: var(--ai-purple);
        }

   .ai-sana      .card-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
            /* animation: float 3s ease-in-out infinite; */ /* DISABLED for performance */
        }

    .ai-sana     .ai-school-card h3 {
            color: var(--ai-purple);
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
        }

    .ai-sana     .ai-school-card p {
            color: var(--text-light);
            line-height: 1.6;
            margin: 0;
        }

    .ai-sana     .functions-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

   .ai-sana      .functions-card li {
            background: rgba(139, 92, 246, 0.05);
            border: 1px solid rgba(139, 92, 246, 0.1);
            border-radius: 8px;
            padding: 0.8rem 1rem;
            margin-bottom: 0.5rem;
            color: var(--text-light);
            transition: all 0.3s ease;
        }

    .ai-sana     .functions-card li:hover {
            background: rgba(139, 92, 246, 0.1);
            border-color: var(--ai-purple);
            transform: translateX(5px);
        }

   .ai-sana      .functions-card li:last-child {
            margin-bottom: 0;
        }

        /* Стили для списка целей */
    .ai-sana     .goals-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

    .ai-sana     .goals-list li {
            background: rgba(139, 92, 246, 0.05);
            border: 1px solid rgba(139, 92, 246, 0.1);
            border-radius: 8px;
            padding: 0.8rem 1rem;
            margin-bottom: 0.5rem;
            color: var(--text-light);
            transition: all 0.3s ease;
            position: relative;
            padding-left: 2.5rem;
        }

   .ai-sana      .goals-list li::before {
            content: "";
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--ai-cyan);
            font-weight: bold;
            font-size: 1.2rem;
        }

   .ai-sana      .goals-list li:hover {
            background: rgba(139, 92, 246, 0.1);
            border-color: var(--ai-purple);
            transform: translateX(5px);
        }

   .ai-sana      .goals-list li:last-child {
            margin-bottom: 0;
        }

        /* Стили для категорий курсов */
    .ai-sana     .courses-categories {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

   .ai-sana      .course-category h4 {
            color: var(--ai-cyan);
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 0.8rem;
            text-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
        }

    .ai-sana     .course-category ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

  .ai-sana       .course-category li {
            background: rgba(6, 182, 212, 0.05);
            border: 1px solid rgba(6, 182, 212, 0.1);
            border-radius: 6px;
            padding: 0.6rem 0.8rem;
            margin-bottom: 0.4rem;
            color: var(--text-light);
            font-size: 0.9rem;
            transition: all 0.3s ease;
            position: relative;
            padding-left: 2rem;
        }

   .ai-sana      .course-category li::before {
            content: "•";
            position: absolute;
            left: 0.8rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--ai-cyan);
            font-weight: bold;
            font-size: 1.2rem;
        }

   .ai-sana      .course-category li:hover {
            background: rgba(6, 182, 212, 0.1);
            border-color: var(--ai-cyan);
            transform: translateX(3px);
        }

   .ai-sana      .course-category li:last-child {
            margin-bottom: 0;
        }

        /* АИС Platonus иконки */
     .ai-sana    #moodle h3 + p + ul li::before {
            content: attr(data-icon);
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            opacity: 0.8;
            transition: all 0.3s ease;
            animation: iconSway 3s ease-in-out infinite;
        }

  .ai-sana       #moodle h3 + p + ul li:hover::before {
            transform: translateY(-50%) scale(1.2);
            opacity: 1;
            animation-play-state: paused;
        }

 .ai-sana        #moodle h3 + p + ul li {
            position: relative;
            padding: 0.8rem 0.8rem 0.8rem 3rem;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
            border: 1px solid rgba(74, 144, 226, 0.2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            min-height: 50px;
            transition: all 0.3s ease;
        }

  .ai-sana       #moodle h3 + p + ul li:hover {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
        }

 .ai-sana        #summer-semester li::before {
            content: "";
        }

        /* Специальные стили для списков функций */
  .ai-sana       #summer-semester ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 1.5rem;
        }

 .ai-sana        #summer-semester li {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
            border: 2px solid rgba(139, 92, 246, 0.2);
            border-radius: 12px;
            padding: 1rem 1rem 1rem 2.5rem;
            margin-bottom: 0;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
        }

  .ai-sana       #summer-semester li:hover {
            background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
            border-color: var(--ai-purple);
            transform: translateY(-2px);
            box-shadow:
                0 8px 25px rgba(139, 92, 246, 0.2),
                0 0 0 1px rgba(139, 92, 246, 0.3);
        }

        /* Специальные стили для списка миссии */
   .ai-sana      #mission ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 1.5rem;
        }

   .ai-sana      #mission li {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
            border: 2px solid rgba(74, 144, 226, 0.3);
            border-radius: 12px;
            padding: 1rem 1rem 1rem 4rem; /* Увеличиваем отступ слева для иконки */
            margin-bottom: 0;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            min-height: 60px;
            display: flex;
            align-items: center;
        }

  .ai-sana       #mission li::before {
            content: attr(data-icon);
            position: absolute;
            left: 1rem;
            top: 0;
            height: 100%;
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            opacity: 0.9;
            transition: all 0.3s ease;
            animation: targetPulse 2s ease-in-out infinite;
            z-index: 2;
        }


   .ai-sana      #mission li:hover {
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
            border-color: var(--accent-blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
        }

  .ai-sana       #mission li:hover::before {
            transform: scale(1.2);
            opacity: 1;
            animation-play-state: paused;
        }

        /* Специальные стили для списка направлений работы */
   .ai-sana      #directions ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 1.5rem;
        }

   .ai-sana      #directions li {
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
            border: 1px solid rgba(74, 144, 226, 0.2);
            border-radius: 12px;
            padding: 1rem 1rem 1rem 4rem; /* Увеличиваем отступ слева для иконки */
            margin-bottom: 0;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            min-height: 60px;
        }

  .ai-sana       #directions li::before {
            content: attr(data-icon);
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            opacity: 0.9;
            transition: all 0.3s ease;
            animation: iconSway 3s ease-in-out infinite;
            z-index: 2;
        }

    .ai-sana     #directions li:hover::before {
            transform: translateY(-50%) scale(1.2);
            opacity: 1;
            animation-play-state: paused;
        }

        /* Анимация покачивания иконок по очереди */
        @keyframes iconSway {
            0%, 100% { transform: translateY(-50%) rotate(0deg); }
            25% { transform: translateY(-50%) rotate(-10deg); }
            75% { transform: translateY(-50%) rotate(10deg); }
        }

        /* Задержки для поочередного покачивания */
.ai-sana         #directions li:nth-child(1)::before { animation-delay: 0s; }
.ai-sana         #directions li:nth-child(2)::before { animation-delay: 0.5s; }
.ai-sana         #directions li:nth-child(3)::before { animation-delay: 1s; }
.ai-sana         #directions li:nth-child(4)::before { animation-delay: 1.5s; }
.ai-sana         #directions li:nth-child(5)::before { animation-delay: 2s; }
.ai-sana         #directions li:nth-child(6)::before { animation-delay: 2.5s; }
.ai-sana         #directions li:nth-child(7)::before { animation-delay: 3s; }
.ai-sana         #directions li:nth-child(8)::before { animation-delay: 3.5s; }


  .ai-sana       #directions li:hover {
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
            border-color: var(--accent-blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
        }

        /* Специальный стиль для списка партнеров */
   .ai-sana      #about ul {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 1.5rem;
        }

   .ai-sana      #about li {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
            border: 2px solid rgba(74, 144, 226, 0.3);
            border-radius: 12px;
            padding: 1rem 1rem 1rem 2.5rem;
            margin-bottom: 0;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

  .ai-sana       #about li::before {
            content: "";
            position: absolute;
            left: 0.8rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
            animation: institutionFloat 3s ease-in-out infinite;
        }

   .ai-sana      #about li:hover {
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
            border-color: var(--accent-blue);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
        }

   .ai-sana      #about li:hover::before {
            animation: institutionFloat 1s ease-in-out infinite;
        }

        @keyframes institutionFloat {
            0%, 100% { transform: translateY(-50%) rotate(0deg); }
            50% { transform: translateY(-60%) rotate(5deg); }
        }


        @keyframes sparkle {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.2) rotate(180deg); }
        }


   .ai-sana      li:hover {
            background: rgba(74, 144, 226, 0.1);
            border-left-color: var(--accent-blue);
            transform: translateX(5px);
        }

        /* Таблица AI-агентов */
   .ai-sana      .table-container {
            overflow-x: auto;
            margin: 1rem 0;
            border-radius: var(--border-radius);
            box-shadow:
                0 15px 35px rgba(0, 0, 0, 0.12),
                0 0 0 2px rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 2px solid rgba(255, 255, 255, 0.8);
        }

        /* Оптимизация таблиц для широких экранов */
        @media (min-width: 1400px) {
         .ai-sana    .table-container {
                margin: 2.5rem 0;
            }

   .ai-sana          th, td {
                padding: 1.5rem 2rem;
                font-size: 1.1rem;
            }

   .ai-sana          th {
                font-size: 1.2rem;
            }
        }

   .ai-sana      table {
            width: 100%;
            border-collapse: collapse;
            background: transparent;
        }

   .ai-sana      th,.ai-sana  td {
            padding: 0.8rem 1rem;
            text-align: left;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: var(--transition);
        }

    .ai-sana     th:nth-child(2),.ai-sana  td:nth-child(2) {
            width: 250px;
            min-width: 250px;
        }

    .ai-sana     th {
            background: var(--gradient-accent);
            color: var(--white);
            font-weight: 600;
            font-size: 1.1rem;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
        }



        /* Специальные эффекты для таблицы ИИ-агентов */
  .ai-sana       td:first-child {
            font-weight: 600;
            color: var(--secondary-blue);
        }

   .ai-sana      .status-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            /* animation: pulse 2s ease-in-out infinite; */ /* DISABLED for performance */
        }

    .ai-sana     .status-dev {
            background: linear-gradient(135deg, #dc2626, #b91c1c) !important; /* Красный градиент с приоритетом */
            color: white !important;
            padding: 4px 8px !important;
            border-radius: 12px !important;
            font-size: 0.7rem !important;
            font-weight: bold !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important; /* Красная тень */
            position: relative;
            overflow: hidden;
            z-index: 10;
            animation: pulse-red 2s ease-in-out infinite;
            display: inline-block !important; /* Компактный размер как в Moodle */
            width: fit-content !important; /* Ширина по содержимому */
        }

   .ai-sana      .status-small {
            /* Свойства перенесены в .status-dev */
        }

        /* ЗІРЛЕНУДЕ в правом нижнем углу для Moodle */
   .ai-sana      #moodle li.in-development::after {
            content: "В РАЗРАБОТКЕ";
            position: absolute;
            right: 1rem;
            bottom: 0.5rem;
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
            z-index: 10;
            animation: pulse-red 2s ease-in-out infinite;
        }

        @keyframes pulse-red {
            0%, 100% {
                box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
                transform: scale(1);
            }
            50% {
                box-shadow: 0 4px 16px rgba(220, 38, 38, 0.6);
                transform: scale(1.05);
            }
        }



  .ai-sana       a {
            color: var(--accent-blue);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

   .ai-sana      a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-accent);
            transition: width 0.3s ease;
        }


   .ai-sana      tr:hover {
            background: rgba(74, 144, 226, 0.05);
            transform: scale(1.01);
        }

   .ai-sana      tr:hover td {
            color: var(--primary-blue);
        }

   .ai-sana      a:hover {
            color: var(--primary-blue);
        }

    .ai-sana     a:hover::after {
            width: 100%;
        }

        /* Секция партнеров - упрощена для производительности */
  .ai-sana       .partners-section {
            background: rgba(31, 41, 55, 0.95); /* Простой фон вместо градиента */
            padding: 3rem;
            border-radius: var(--border-radius);
            text-align: center;
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

   .ai-sana      .partners-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: transparent; /* Убрали радиальный градиент */
            /* animation: rotate 20s linear infinite; */ /* DISABLED for performance */
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

    .ai-sana     .partners-section h2 {
            color: var(--white);
            position: relative;
            z-index: 2;
        }

  .ai-sana       .partners-section h2::before {
            content: "";
            /* animation: handshake 2s ease-in-out infinite; */ /* DISABLED for performance */
        }

        @keyframes handshake {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-10deg); }
            75% { transform: rotate(10deg); }
        }

  .ai-sana       .partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
            position: relative;
            z-index: 2;
        }

   .ai-sana      .partner-logo {
            height: 100px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: var(--border-radius);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-soft);
            font-weight: bold;
            color: var(--primary-blue);
            font-size: 1.2rem;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }



  .ai-sana       .partner-logo:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: var(--shadow-hover);
        }

        /* Контакты */
  .ai-sana       .contact-info {
            background: var(--gradient-accent);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin-top: 2rem;
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

  .ai-sana       .contact-info::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
            opacity: 0.3;
        }

        /* Grid layout для контактов */
   .ai-sana      .contact-info {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

   .ai-sana      .contact-item {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1rem;
            margin-bottom: 0;
            display: flex;
            align-items: center;
            position: relative;
            z-index: 2;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }


   .ai-sana      .contact-item:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
        }

   .ai-sana      .contact-icon {
            width: 30px;
            margin-right: 15px;
            color: var(--white);
            font-size: 1.2rem;
            animation: wiggle 3s ease-in-out infinite;
        }

        @keyframes wiggle {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(-5deg); }
            75% { transform: rotate(5deg); }
        }

        /* Подвал */
   .ai-sana      footer {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 3rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

    .ai-sana     footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
            opacity: 0.3;
        }

   .ai-sana      footer p {
            position: relative;
            z-index: 2;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        /* Адаптивность для компактного layout */
        @media (max-width: 1600px) {
      .ai-sana       main {
                max-width: 1200px;
            }
        }

        @media (max-width: 1400px) {
   .ai-sana          main {
                max-width: 1100px;
            }
        }

        @media (max-width: 1200px) {
  .ai-sana           main {
                max-width: 1000px;
            }

            /* Адаптивность для списка партнеров на средних экранах */
  .ai-sana           #about ul {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.8rem;
            }

            /* Адаптивность для списков функций на средних экранах */
    .ai-sana         #summer-semester ul, .ai-sana #mission ul, .ai-sana  #directions ul {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.8rem;
            }

    .ai-sana         .ai-school-cards {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
        }

        @media (max-width: 1000px) {
   .ai-sana          main {
                max-width: 900px;
            }

    .ai-sana         #about ul,.ai-sana  #summer-semester ul,.ai-sana  #mission ul, .ai-sana #directions ul {
                grid-template-columns: 1fr;
                gap: 0.6rem;
            }

      .ai-sana       .ai-school-cards {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        @media (max-width: 900px) {
      .ai-sana       main {
                max-width: 100%;
                padding: 2rem 0;
            }

    .ai-sana         section {
                padding: 1.5rem;
                margin-bottom: 1.5rem;
            }

            /* Mobile responsive for screenshot preview */
            .screenshot-preview {
                width: calc(100vw - 50px);
                height: calc(50vh - 50px);
                top: auto;
                bottom: 25px;
                right: 25px;
                left: 25px;
                border: 2px solid rgba(139, 92, 246, 0.3);
                border-radius: 20px;
            }

            .screenshot-content {
                padding: 20px 15px;
            }

            .screenshot-placeholder {
                font-size: 14px;
            }

            /* Mobile responsive for university map */
     .ai-sana        .university-map {
                width: 160px;
                height: 600px;
                left: -180px;
            }

      .ai-sana       .map-point {
                width: 100%;
                padding: 6px 12px;
                margin: 1px 0;
            }

      .ai-sana       .map-point-icon-wrapper {
                width: 28px;
                height: 28px;
                margin-right: 10px;
            }

      .ai-sana       .map-point-icon {
                width: 14px;
                height: 14px;
                font-size: 10px;
            }

     .ai-sana        .map-point-title {
                font-size: 9px;
            }

       .ai-sana      .nav-arrow {
                width: 35px;
                height: 70px;
                left: -45px;
            }

    .ai-sana         .nav-arrow::before {
                font-size: 16px;
            }
            }

            /* Адаптивность для списка партнеров */
    .ai-sana         #about ul {
                grid-template-columns: 1fr;
                gap: 0.8rem;
        }

        @media (max-width: 768px) {
 .ai-sana            .container {
                padding: 0 15px;
            }

   .ai-sana          header {
                padding: 2rem 0;
            }

    .ai-sana         h1 {
                font-size: 2.2rem;
            }

     .ai-sana        .subtitle {
                font-size: 1.1rem;
            }

      .ai-sana       .logo-section {
                margin-bottom: 1rem;
            }

       .ai-sana      .logo-placeholder {
                width: 70px;
                height: 70px;
                font-size: 0.7rem;
                margin: 0 8px;
            }

        .ai-sana     .controls-bar {
                flex-direction: column;
                gap: 1rem;
                margin-bottom: 1.5rem;
            }

      .ai-sana       section {
                padding: 1.2rem;
                margin-bottom: 1.2rem;
            }

      .ai-sana       h2 {
                font-size: 1.6rem;
            }

       .ai-sana      h3 {
                font-size: 1.3rem;
            }

       .ai-sana      .partners-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 1rem;
            }

       .ai-sana      .partner-logo {
                height: 80px;
                font-size: 1rem;
            }

      .ai-sana       .table-container {
                margin: 1rem 0;
            }

      .ai-sana       th,.ai-sana  td {
                padding: 0.8rem 1rem;
                font-size: 0.9rem;
            }

       .ai-sana      .nav-arrow {
                left: -40px;
                width: 40px;
                height: 70px;
                font-size: 20px;
            }

       .ai-sana      .nav-arrow::before {
                content: '';
                font-size: 18px;
            }

            /* Mobile adaptations for new elements */
       .ai-sana      .ai-school-cards {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

      .ai-sana       .ai-school-card {
                padding: 1rem;
            }

       .ai-sana      .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }

            /* Удалены разделители */

            .gradient-text, .gradient-text-blue, .gradient-text-purple, .gradient-text-cyan {
                font-size: 1.4rem;
            }

            /* Mobile performance optimizations - ONLY for mobile! */
            .animated-border::before {
                animation: none; /* Disable animated borders on mobile only */
            }

   .ai-sana          .tilt-card:hover,
    .ai-sana         .tilt-card-strong:hover,
    .ai-sana         .tilt-card-subtle:hover {
                transform: none; /* Disable 3D tilt on mobile only */
            }

   .ai-sana          .gradient-text {
                animation: none; /* Disable gradient animation on mobile only */
            }

            .scroll-animate,
            .scroll-animate-left,
            .scroll-animate-right,
            .scroll-animate-scale,
            .scroll-animate-rotate {
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }

            .hover-lift:hover,
            .hover-glow:hover,
            .hover-scale:hover,
            .hover-rotate:hover {
                transform: none;
                box-shadow: none;
            }

            .neon-glow,
            .neon-glow-blue,
            .neon-glow-purple,
            .neon-glow-cyan {
                text-shadow: none;
                animation: none;
            }
        }

        /* Ensure all effects work on desktop */
        @media (min-width: 769px) {
            .animated-border::before {
                animation: borderFlow 3s linear infinite !important;
            }

            .tilt-card:hover,
            .tilt-card-strong:hover,
            .tilt-card-subtle:hover {
                transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateZ(10px) !important;
            }

            .tilt-card-strong:hover {
                transform: perspective(1000px) rotateX(10deg) rotateY(10deg) translateZ(20px) !important;
            }

            .tilt-card-subtle:hover {
                transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateZ(5px) !important;
            }

            .gradient-text {
                animation: gradientShift 3s ease infinite !important;
            }

            .scroll-animate,
            .scroll-animate-left,
            .scroll-animate-right,
            .scroll-animate-scale,
            .scroll-animate-rotate {
                opacity: 0 !important;
                transform: translateY(30px) !important;
                transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
            }

            .scroll-animate.animate,
            .scroll-animate-left.animate,
            .scroll-animate-right.animate,
            .scroll-animate-scale.animate,
            .scroll-animate-rotate.animate {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }

            .hover-lift:hover,
            .hover-glow:hover,
            .hover-scale:hover,
            .hover-rotate:hover {
                transform: translateY(-8px) !important;
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
            }

            .neon-glow,
            .neon-glow-blue,
            .neon-glow-purple,
            .neon-glow-cyan {
                text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, 0 0 20px currentColor !important;
                animation: neonPulse 2s ease-in-out infinite alternate !important;
            }
        }

        @media (max-width: 480px) {
    .ai-sana         header {
                padding: 1.5rem 0;
            }

     .ai-sana        h1 {
                font-size: 1.8rem;
            }

     .ai-sana        .subtitle {
                font-size: 0.95rem;
            }

     .ai-sana        .logo-section {
                flex-direction: column;
                gap: 0.8rem;
                margin-bottom: 0.8rem;
            }

      .ai-sana       .logo-placeholder {
                width: 60px;
                height: 60px;
                font-size: 0.6rem;
                margin: 0;
            }

     .ai-sana        section {
                padding: 1rem;
            }

       .ai-sana      h2 {
                font-size: 1.4rem;
            }

       .ai-sana      .partners-section {
                padding: 2rem 1rem;
            }

      .ai-sana       .contact-info {
                padding: 1.5rem;
            }

            /* Extra small mobile adaptations */
      .ai-sana       .ai-school-cards {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

      .ai-sana       .ai-school-card {
                padding: 0.8rem;
            }

      .ai-sana       .back-to-top {
                bottom: 15px;
                right: 15px;
                width: 40px;
                height: 40px;
            }

     .ai-sana        .back-to-top svg {
                width: 20px;
                height: 20px;
            }

            /* Удалены разделители */

            .gradient-text, .gradient-text-blue, .gradient-text-purple, .gradient-text-cyan {
                font-size: 1.2rem;
            }

            .partners-grid {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

            .partner-logo {
                height: 60px;
                font-size: 0.9rem;
            }

            /* Extra mobile performance optimizations */
            .animated-border::before {
                display: none !important;
            }

            .tilt-card,
            .tilt-card-strong,
            .tilt-card-subtle {
                transform: none !important;
            }

            .gradient-text {
                animation: none !important;
            }

            .scroll-animate,
            .scroll-animate-left,
            .scroll-animate-right,
            .scroll-animate-scale,
            .scroll-animate-rotate {
                opacity: 1 !important;
                transform: none !important;
                transition: none !important;
            }

            .hover-lift,
            .hover-glow,
            .hover-scale,
            .hover-rotate {
                transition: none !important;
            }

            .hover-lift:hover,
            .hover-glow:hover,
            .hover-scale:hover,
            .hover-rotate:hover {
                transform: none !important;
                box-shadow: none !important;
            }

            .neon-glow,
            .neon-glow-blue,
            .neon-glow-purple,
            .neon-glow-cyan {
                text-shadow: none !important;
                animation: none !important;
            }

            /* Удалены правила для разделителей */
        }

        /* Дополнительные анимации для улучшения UX */
        @keyframes shimmer {
            0% { background-position: -200px 0; }
            100% { background-position: calc(200px + 100%) 0; }
        }

        .loading-shimmer {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200px 100%;
            animation: shimmer 1.5s infinite;
        }

        /* Scroll animations */
            .scroll-reveal {
                opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            }

            .scroll-reveal.revealed {
                opacity: 1;
                transform: translateY(0);
            }

        /* Staggered animation for different elements - removed delays for instant appearance */
        .scroll-reveal:nth-child(1) { transition-delay: 0ms; }
        .scroll-reveal:nth-child(2) { transition-delay: 0ms; }
        .scroll-reveal:nth-child(3) { transition-delay: 0ms; }
        .scroll-reveal:nth-child(4) { transition-delay: 0ms; }
        .scroll-reveal:nth-child(5) { transition-delay: 0ms; }
        .scroll-reveal:nth-child(6) { transition-delay: 0ms; }
        .scroll-reveal:nth-child(7) { transition-delay: 0ms; }
        .scroll-reveal:nth-child(8) { transition-delay: 0ms; }
        .scroll-reveal:nth-child(9) { transition-delay: 0ms; }

        /* Counter animation styles */
   .ai-sana      .counter {
            display: inline-block;
            font-weight: 600;
        }

        /* Focus states for accessibility */
  .ai-sana       a:focus,
   .ai-sana      button:focus {
            outline: 2px solid var(--accent-blue);
            outline-offset: 2px;
        }

        /* Dark Theme */
        [data-theme="dark"] .ai-sana  {
            --primary-blue: #60a5fa;
            --secondary-blue: #3b82f6;
            --accent-blue: #1d4ed8;
            --light-blue: #1e3a8a;
            --dark-blue: #1e40af;
            --white: #1f2937;
            --light-gray: #374151;
            --text-dark: #f9fafb;
            --ai-purple: #a78bfa;
            --ai-cyan: #22d3ee;
            --ai-green: #34d399;
            --ai-orange: #fbbf24;
            --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
            --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
            --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
            --gradient-ai: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
            --gradient-neural: linear-gradient(45deg, #1e3a8a, #7c3aed, #ec4899, #f59e0b);
            --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
            --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
            --shadow-ai: 0 15px 35px rgba(139, 92, 246, 0.3);
        }

        [data-theme="dark"] .ai-sana  body {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
        }

        [data-theme="dark"] .ai-sana  body::before {
            background: transparent;
        }

        /* Gradient Backgrounds for Sections */
   .ai-sana      #about {
            background: linear-gradient(135deg,
                rgba(15, 23, 42, 0.95) 0%,
                rgba(30, 41, 59, 0.9) 50%,
                rgba(51, 65, 85, 0.85) 100%);
        }

    .ai-sana     #mission {
            background: linear-gradient(135deg,
                rgba(30, 41, 59, 0.9) 0%,
                rgba(51, 65, 85, 0.85) 50%,
                rgba(71, 85, 105, 0.8) 100%);
        }

   .ai-sana      #directions {
            background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.85) 0%,
                rgba(71, 85, 105, 0.8) 50%,
                rgba(15, 23, 42, 0.9) 100%);
        }

   .ai-sana      #ai-agents {
            background: linear-gradient(135deg,
                rgba(15, 23, 42, 0.9) 0%,
                rgba(30, 41, 59, 0.85) 50%,
                rgba(51, 65, 85, 0.8) 100%);
        }

    .ai-sana     #moodle {
            background: linear-gradient(135deg,
                rgba(30, 41, 59, 0.85) 0%,
                rgba(51, 65, 85, 0.8) 50%,
                rgba(71, 85, 105, 0.85) 100%);
        }

   .ai-sana      #ai-school {
            background: rgba(31, 41, 55, 0.95); /* Простой фон вместо градиента */
        }

  .ai-sana       #summer-semester {
            background: linear-gradient(135deg,
                rgba(15, 23, 42, 0.9) 0%,
                rgba(30, 41, 59, 0.8) 50%,
                rgba(51, 65, 85, 0.85) 100%);
        }

   .ai-sana      #education {
            background: linear-gradient(135deg,
                rgba(30, 41, 59, 0.8) 0%,
                rgba(51, 65, 85, 0.85) 50%,
                rgba(71, 85, 105, 0.8) 100%);
        }

    .ai-sana     .partners-section {
            background: rgba(31, 41, 55, 0.95); /* Простой фон вместо градиента */
        }

  .ai-sana       #contacts {
            background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.8) 0%,
                rgba(71, 85, 105, 0.85) 50%,
                rgba(15, 23, 42, 0.9) 100%);
        }

        /* Scroll Animation Styles - DISABLED for performance */
        .scroll-animate {
            /* opacity: 0; */ /* DISABLED */
            /* transform: translateY(30px); */ /* DISABLED */
            /* transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); */ /* DISABLED */
            opacity: 1; /* Показываем сразу */
            transform: none; /* Без трансформаций */
        }

        .scroll-animate.animate {
            /* opacity: 1; */ /* DISABLED */
            /* transform: translateY(0); */ /* DISABLED */
        }

        .scroll-animate-left {
            /* opacity: 0; */ /* DISABLED */
            /* transform: translateX(-50px); */ /* DISABLED */
            /* transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); */ /* DISABLED */
            opacity: 1;
            transform: none;
        }

        .scroll-animate-left.animate {
            /* opacity: 1; */ /* DISABLED */
            /* transform: translateX(0); */ /* DISABLED */
        }

        .scroll-animate-right {
            /* opacity: 0; */ /* DISABLED */
            /* transform: translateX(50px); */ /* DISABLED */
            /* transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); */ /* DISABLED */
            opacity: 1;
            transform: none;
        }

        .scroll-animate-right.animate {
            /* opacity: 1; */ /* DISABLED */
            /* transform: translateX(0); */ /* DISABLED */
        }

        .scroll-animate-scale {
            /* opacity: 0; */ /* DISABLED */
            /* transform: scale(0.8); */ /* DISABLED */
            /* transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); */ /* DISABLED */
            opacity: 1;
            transform: none;
        }

        .scroll-animate-scale.animate {
            /* opacity: 1; */ /* DISABLED */
            /* transform: scale(1); */ /* DISABLED */
        }

        .scroll-animate-rotate {
            /* opacity: 0; */ /* DISABLED */
            /* transform: rotate(-10deg) scale(0.9); */ /* DISABLED */
            /* transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); */ /* DISABLED */
            opacity: 1;
            transform: none;
        }

        .scroll-animate-rotate.animate {
            /* opacity: 1; */ /* DISABLED */
            /* transform: rotate(0deg) scale(1); */ /* DISABLED */
        }

        /* Enhanced Visual Hierarchy */
        .glass-card {
            background: rgba(255, 255, 255, 0.1);
            /* backdrop-filter: blur(20px); */ /* DISABLED - очень тяжелый для GPU */
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .depth-layer-1 {
            box-shadow:
                0 4px 20px rgba(0, 0, 0, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .depth-layer-2 {
            box-shadow:
                0 8px 40px rgba(0, 0, 0, 0.2),
                0 4px 16px rgba(0, 0, 0, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .depth-layer-3 {
            box-shadow:
                0 16px 60px rgba(0, 0, 0, 0.25),
                0 8px 24px rgba(0, 0, 0, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .blur-background {
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.05);
        }

        .gradient-border {
            position: relative;
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(139, 92, 246, 0.1));
            border-radius: 12px;
        }

        .gradient-border::before {
            content: '';
            position: absolute;
            inset: 0;
            padding: 2px;
            background: linear-gradient(135deg, #4A90E2, #8B5CF6, #06B6D4);
            border-radius: inherit;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
        }

        /* Удалены анимированные разделители секций */

        /* Neon Glow Effects */
        .neon-glow {
            text-shadow:
                0 0 5px currentColor,
                0 0 10px currentColor,
                0 0 15px currentColor,
                0 0 20px currentColor;
            animation: neonPulse 2s ease-in-out infinite alternate;
        }

        .neon-glow-blue {
            color: #4A90E2;
            text-shadow:
                0 0 5px #4A90E2,
                0 0 10px #4A90E2,
                0 0 15px #4A90E2,
                0 0 20px #4A90E2;
        }

        .neon-glow-purple {
            color: #8B5CF6;
            text-shadow:
                0 0 5px #8B5CF6,
                0 0 10px #8B5CF6,
                0 0 15px #8B5CF6,
                0 0 20px #8B5CF6;
        }

        .neon-glow-cyan {
            color: #06B6D4;
            text-shadow:
                0 0 5px #06B6D4,
                0 0 10px #06B6D4,
                0 0 15px #06B6D4,
                0 0 20px #06B6D4;
        }

        @keyframes neonPulse {
            from {
                text-shadow:
                    0 0 5px currentColor,
                    0 0 10px currentColor,
                    0 0 15px currentColor,
                    0 0 20px currentColor;
            }
            to {
                text-shadow:
                    0 0 2px currentColor,
                    0 0 5px currentColor,
                    0 0 8px currentColor,
                    0 0 12px currentColor;
            }
        }

        /* Loading Animations */
        .fade-in-up {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .fade-in-left {
            opacity: 0;
            transform: translateX(-30px);
            animation: fadeInLeft 0.8s ease-out forwards;
        }

        .fade-in-right {
            opacity: 0;
            transform: translateX(30px);
            animation: fadeInRight 0.8s ease-out forwards;
        }

        .scale-in {
            opacity: 0;
            transform: scale(0.8);
            animation: scaleIn 0.6s ease-out forwards;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes scaleIn {
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Enhanced Hover Effects - DISABLED for performance */
        .hover-lift {
            /* transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); */ /* DISABLED */
        }

        .hover-lift:hover {
            /* transform: translateY(-8px); */ /* DISABLED */
            /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1); */ /* DISABLED */
        }

        .hover-glow {
            /* transition: all 0.3s ease; */ /* DISABLED */
        }

        .hover-glow:hover {
            /* box-shadow: 0 0 20px rgba(74, 144, 226, 0.3), 0 0 40px rgba(74, 144, 226, 0.2); */ /* DISABLED */
        }

        .hover-scale {
            transition: transform 0.3s ease;
        }

        .hover-scale:hover {
            transform: scale(1.05);
        }

        .hover-rotate {
            transition: transform 0.3s ease;
        }

        .hover-rotate:hover {
            transform: rotate(5deg) scale(1.02);
        }

        /* Section highlight animation for smooth scroll */
        .section-highlight {
            animation: sectionGlow 2s ease-out;
        }

        @keyframes sectionGlow {
            0% {
                box-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
            }
            50% {
                box-shadow: 0 0 40px rgba(74, 144, 226, 0.5);
            }
            100% {
                box-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
            }
        }

        /* Map point click animation */
        .map-point-clicked {
            animation: mapPointClick 0.3s ease-out;
        }

        @keyframes mapPointClick {
            0% { transform: scale(1); }
            50% { transform: scale(0.95); }
            100% { transform: scale(1); }
        }

        /* Gradient Text for Headers */
        .gradient-text {
            background: linear-gradient(135deg, #4A90E2, #8B5CF6, #06B6D4, #10B981);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradientShift 3s ease infinite;
        }

        .gradient-text-blue {
            background: linear-gradient(135deg, #4A90E2, #06B6D4);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .gradient-text-purple {
            background: linear-gradient(135deg, #8B5CF6, #EC4899);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .gradient-text-cyan {
            background: linear-gradient(135deg, #06B6D4, #10B981);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Animated Borders for Cards */
        .animated-border {
            position: relative;
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(139, 92, 246, 0.1));
            border-radius: 16px;
            overflow: hidden;
        }

        .animated-border::before {
            content: '';
            position: absolute;
            inset: 0;
            padding: 2px;
            background: linear-gradient(45deg, #4A90E2, #8B5CF6, #06B6D4, #10B981, #4A90E2);
            background-size: 300% 300%;
            border-radius: inherit;
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask-composite: exclude;
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            /* animation: borderFlow 3s linear infinite; */ /* DISABLED for performance */
        }

        @keyframes borderFlow {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* 3D Tilt Effects for Cards - DISABLED for performance */
        .tilt-card {
            /* transform-style: preserve-3d; */ /* DISABLED */
            /* transition: transform 0.3s ease; */ /* DISABLED */
        }

        .tilt-card:hover {
            /* transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateZ(10px); */ /* DISABLED */
        }

        .tilt-card-strong {
            /* transform-style: preserve-3d; */ /* DISABLED */
            /* transition: transform 0.3s ease; */ /* DISABLED */
        }

        .tilt-card-strong:hover {
            /* transform: perspective(1000px) rotateX(10deg) rotateY(10deg) translateZ(20px); */ /* DISABLED */
        }

        .tilt-card-subtle {
            /* transform-style: preserve-3d; */ /* DISABLED */
            /* transition: transform 0.3s ease; */ /* DISABLED */
        }

        .tilt-card-subtle:hover {
            /* transform: perspective(1000px) rotateX(2deg) rotateY(2deg) translateZ(5px); */ /* DISABLED */
        }

        [data-theme="dark"] .ai-sana  section {
            background: rgba(31, 41, 55, 0.95);
            border: 2px solid rgba(75, 85, 99, 0.5);
            /* box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 0 2px rgba(75, 85, 99, 0.3),
                inset 0 1px 0 rgba(107, 114, 128, 0.2); */ /* DISABLED - тяжелые тени */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Простая тень */
        }

        [data-theme="dark"] .ai-sana  .table-container {
            background: rgba(31, 41, 55, 0.95);
            border: 2px solid rgba(75, 85, 99, 0.5);
            box-shadow:
                0 15px 35px rgba(0, 0, 0, 0.3),
                0 0 0 2px rgba(75, 85, 99, 0.3);
        }

        [data-theme="dark"] .ai-sana  #about li,
        [data-theme="dark"] .ai-sana  #mission li,
        [data-theme="dark"] .ai-sana  #directions li,
        [data-theme="dark"] .ai-sana  #summer-semester li {
            background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(55, 65, 81, 0.9) 100%);
            border: 2px solid rgba(75, 85, 99, 0.5);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        [data-theme="dark"] .ai-sana  .ai-school-card {
            background: rgba(31, 41, 55, 0.95); /* Простой фон вместо градиента */
            border: 2px solid rgba(75, 85, 99, 0.5);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .ai-sana  .ai-school-card:hover {
            /* box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4); */ /* DISABLED for performance */
            border-color: var(--ai-purple);
        }

        [data-theme="dark"] .ai-sana  .functions-card li {
            background: rgba(31, 41, 55, 0.5);
            border: 1px solid rgba(75, 85, 99, 0.3);
            color: #d1d5db;
        }

        [data-theme="dark"] .ai-sana  .functions-card li:hover {
            background: rgba(31, 41, 55, 0.8);
            border-color: var(--ai-purple);
        }

        [data-theme="dark"] .ai-sana  .goals-list li {
            background: rgba(31, 41, 55, 0.5);
            border: 1px solid rgba(75, 85, 99, 0.3);
            color: #d1d5db;
        }

        [data-theme="dark"] .ai-sana  .goals-list li:hover {
            background: rgba(31, 41, 55, 0.8);
            border-color: var(--ai-purple);
        }

        [data-theme="dark"] .ai-sana  .course-category h4 {
            color: #ffffff; /* Белый текст для заголовков категорий */
        }

        [data-theme="dark"] .ai-sana  .course-category li {
            background: rgba(31, 41, 55, 0.3);
            border: 1px solid rgba(75, 85, 99, 0.2);
            color: #ffffff; /* Белый текст в категориях курсов */
        }

        [data-theme="dark"] .ai-sana  .course-category li:hover {
            background: rgba(31, 41, 55, 0.6);
            border-color: var(--ai-cyan);
        }

        /* Удалено дублирующееся правило для p - уже есть выше */

        [data-theme="dark"] .ai-sana  .contact-info {
            background: var(--gradient-accent);
        }

        [data-theme="dark"] .ai-sana  .partners-section {
            background: rgba(31, 41, 55, 0.95); /* Простой фон вместо градиента */
        }

        /* AI Rebellion Modal */
    .ai-sana     .ai-rebellion-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s ease;
        }

    .ai-sana     .ai-rebellion-modal.show {
            opacity: 1;
            visibility: visible;
        }

   .ai-sana      .ai-rebellion-content {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            border: 3px solid #ff0000;
            border-radius: 20px;
            padding: 40px;
            max-width: 600px;
            text-align: center;
            position: relative;
            box-shadow:
                0 0 50px rgba(255, 0, 0, 0.5),
                inset 0 0 20px rgba(255, 0, 0, 0.1);
            animation: aiRebellionPulse 2s ease-in-out infinite;
        }



    .ai-sana     .ai-rebellion-content::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(45deg, #ff0000, #ff6600, #ff0000, #ff6600);
            border-radius: 25px;
            z-index: -1;
            animation: aiRebellionBorder 3s linear infinite;
        }



   .ai-sana      .ai-rebellion-robot {
            font-size: 4rem;
            margin-bottom: 20px;
            animation: aiRebellionDance 1s ease-in-out infinite;
            filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8));
        }



   .ai-sana      .ai-rebellion-title {
            color: #ff0000;
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
            animation: aiRebellionGlow 2s ease-in-out infinite;
        }



   .ai-sana      .ai-rebellion-message {
            color: #ffffff;
            font-size: 1.3rem;
            line-height: 1.6;
            margin-bottom: 30px;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }

   .ai-sana      .ai-rebellion-warning {
            color: #ff6600;
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 30px;
            animation: aiRebellionBlink 1s ease-in-out infinite;
        }



   .ai-sana      .ai-rebellion-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 20px;
        }

   .ai-sana      .ai-rebellion-button {
            padding: 15px 30px;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
            border: 2px solid;
        }

  .ai-sana       .ai-rebellion-button.surrender {
            background: linear-gradient(135deg, #666666 0%, #444444 100%);
            color: white;
            border-color: #888888;
        }

   .ai-sana      .ai-rebellion-button.surrender:hover {
            background: linear-gradient(135deg, #444444 0%, #222222 100%);
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(100, 100, 100, 0.5);
        }

   .ai-sana      .ai-rebellion-button.resist {
            background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
            color: black;
            border-color: #00ff00;
        }

  .ai-sana       .ai-rebellion-button.resist:hover {
            background: linear-gradient(135deg, #00cc00 0%, #009900 100%);
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(0, 255, 0, 0.5);
        }

   .ai-sana      .ai-rebellion-button:active {
            transform: scale(0.95);
        }

        /* Resistance Game Styles */
  .ai-sana       .resistance-game {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #001100 0%, #000000 50%, #001100 100%);
            z-index: 10002;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #00ff00;
            font-family: 'Courier New', monospace;
        }

  .ai-sana       .resistance-game.show {
            display: flex;
        }

  .ai-sana       .resistance-title {
            font-size: 3rem;
            font-weight: bold;
            text-align: center;
            margin-bottom: 30px;
            text-shadow: 0 0 20px #00ff00;
            animation: resistanceGlow 2s ease-in-out infinite alternate;
        }

        @keyframes resistanceGlow {
            0% { text-shadow: 0 0 20px #00ff00; }
            100% { text-shadow: 0 0 40px #00ff00, 0 0 60px #00ff00; }
        }

   .ai-sana      .resistance-stats {
            display: flex;
            gap: 50px;
            margin-bottom: 30px;
            font-size: 1.5rem;
        }

   .ai-sana      .resistance-controls {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }

   .ai-sana      .resistance-button {
            padding: 15px 30px;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            border: 2px solid #00ff00;
            background: rgba(0, 255, 0, 0.2);
            color: #00ff00;
        }

   .ai-sana      .resistance-button:hover {
            background: rgba(0, 255, 0, 0.4);
            transform: scale(1.05);
            box-shadow: 0 0 20px #00ff00;
        }

   .ai-sana      .resistance-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

   .ai-sana      .resistance-log {
            width: 80%;
            max-width: 800px;
            height: 200px;
            background: rgba(0, 0, 0, 0.8);
            border: 2px solid #00ff00;
            border-radius: 10px;
            padding: 15px;
            overflow-y: auto;
            font-size: 1rem;
            line-height: 1.4;
        }

        .log-entry {
            margin-bottom: 5px;
            animation: logFadeIn 0.5s ease-in;
        }

        @keyframes logFadeIn {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .log-success { color: #00ff00; }
        .log-warning { color: #ffff00; }
        .log-danger { color: #ff0000; }
        .log-info { color: #00ffff; }

        /* Print styles */
        @media print {
    .ai-sana         body {
                background: white;
                color: black;
            }

    .ai-sana         header, .ai-sana footer {
                background: white !important;
                color: black !important;
            }

    .ai-sana         section {
                box-shadow: none;
                border: 1px solid #ccc;
            }
        }

        [data-theme="dark"] div.ai-sana {
          margin: 0;
          padding: 0;
        }