
        :root {
            --primary-color: #0056b3;
            --primary-hover-color: #004494;
            --dark-color: #333;
            --light-color: #f4f4f4;
            --white-color: #fff;
            --text-color: #333;
            --border-color: #ddd;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            background-color: var(--light-color);
            color: var(--text-color);
            overflow-x: hidden;
        }
        .container {
            max-width: 1100px;
            margin: auto;
            padding: 0 2rem;
        }
        h2 { font-size: 2.5rem; margin-bottom: 1rem; }
        .animated-section { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
        .animated-section.is-visible { opacity: 1; transform: translateY(0); }

        header {
            background: var(--white-color);
            padding: 0.8rem 0;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: box-shadow 0.3s ease;
        }
        header .container { display: flex; justify-content: space-between; align-items: center; }
        .logo-link { display: flex; align-items: center; gap: 15px; text-decoration: none; color: var(--dark-color); }
        .logo-link h1 { margin: 0; font-size: 1.5rem; font-weight: 600; }
        .logo { width: 100px; height: auto; animation: pulse-glow 4s infinite ease-in-out; }

        @keyframes pulse-glow {
            0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.1)); }
            50% { transform: scale(1.05); filter: drop-shadow(0 0 8px rgba(0, 86, 179, 0.4)); }
        }
        
        .desktop-nav ul { padding: 0; margin: 0; list-style: none; display: flex; }
        .desktop-nav li { margin-left: 30px; }
        .desktop-nav a { color: var(--text-color); text-decoration: none; font-weight: bold; position: relative; padding-bottom: 5px; }
        .desktop-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
        .desktop-nav a:hover::after { width: 100%; }

        /* --- СТИЛИ СЕКЦИИ HERO С "ИГРОЙ ЖИЗНЬ" --- */
        .hero {
            position: relative;
            background-color: #0d1117; /* Темный фон, если canvas не загрузится */
            color: var(--white-color);
            padding: 6rem 0;
            text-align: center;
            overflow: hidden; /* Чтобы canvas не выходил за пределы */
        }
        #gameOfLifeCanvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        .hero .container {
            position: relative; /* Чтобы текст был над canvas */
            z-index: 2;
        }
        /* Добавляем полупрозрачный слой для лучшей читаемости текста */
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(13, 17, 23, 0.7); /* Затемняющий слой */
            z-index: 2;
        }
        .hero h2 { font-size: 3rem; margin-bottom: 1rem; }
        .hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; }

        .block { padding: 4rem 0; text-align: center; }
        .block:nth-child(even) { background: var(--white-color); }
        .block p, .block ul { font-size: 1.1rem; max-width: 800px; margin: 1rem auto; text-align: left; }
        .block ul { list-style: none; padding-left: 0; }
        .block ul li { margin-bottom: 10px; padding-left: 25px; position: relative; }
        .block ul li::before { content: '✓'; color: var(--primary-color); position: absolute; left: 0; font-weight: bold; }
        
        .button {
            background-color: var(--primary-color);
            color: var(--white-color);
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 10px 5px;
            cursor: pointer;
            border: none;
            border-radius: 5px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .button:hover {
            background-color: var(--primary-hover-color);
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
        }
        .button-secondary { background-color: var(--light-color); color: var(--dark-color); border: 1px solid var(--border-color); }
        .button-secondary:hover { background-color: #e0e0e0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

        .team-section { display: flex; align-items: center; justify-content: center; gap: 2rem; text-align: left; margin-top: 2rem; }
        .team-section img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        
        .partners img { max-height: 50px; opacity: 0.7; transition: opacity 0.3s ease, transform 0.3s ease; }
        .partners img:hover { opacity: 1; transform: scale(1.05); }

        footer { background: var(--dark-color); color: var(--white-color); text-align: center; padding: 2rem 0; }

        .hamburger-menu { display: none; }
        .mobile-nav { display: none; }

        @media (max-width: 768px) {
            h2 { font-size: 2rem; }
            .container { padding: 0 1rem; }
            .desktop-nav { display: none; }
            .logo-link h1 { font-size: 1.2rem; }

            .hamburger-menu { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001;}
            .hamburger-menu .bar { width: 100%; height: 3px; background-color: var(--dark-color); border-radius: 5px; transition: all 0.3s ease-in-out; }
            .hamburger-menu.is-active .bar:nth-child(1) { transform: translateY(11px) rotate(45deg); }
            .hamburger-menu.is-active .bar:nth-child(2) { opacity: 0; }
            .hamburger-menu.is-active .bar:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
            
            .mobile-nav { display: flex; flex-direction: column; justify-content: center; align-items: center; position: fixed; top: 0; left: 100%; width: 100%; height: 100vh; background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(5px); transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1); z-index: 999; }
            .mobile-nav.is-active { left: 0; }
            .mobile-nav ul { list-style: none; padding: 0; text-align: center; }
            .mobile-nav li { margin-bottom: 2rem; }
            .mobile-nav a { text-decoration: none; color: var(--dark-color); font-size: 1.8rem; font-weight: bold; }
            
            .hero { padding: 4rem 0; }
            .hero h2 { font-size: 2.2rem; }
            .team-section { flex-direction: column; }
            .block p, .block ul { padding: 0 1rem; }
            .button { width: 99%;padding:1px;margin: 0 auto; display: block; }
        }

 