/* --- CORE VARIABLES & RESET --- */
        :root {
            --bg-dark: #080808;        
            --bg-card: #111111;        
            --text-primary: #FFFFFF;
            --text-secondary: #9CA3AF; 
            --accent-blue: #2563EB;    
            --border-dim: rgba(255, 255, 255, 0.08);
            --font-main: 'Inter', sans-serif;
            --container-width: 1200px;
            --nav-height: 80px;
        }

        /* Плавная прокрутка */
        html {
            scroll-behavior: smooth;
            scroll-padding-top: var(--nav-height);
        }

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

        body {
            background-color: var(--bg-dark);
            color: var(--text-primary);
            font-family: var(--font-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            position: relative;
        }

        /* Блокировка скролла при открытом меню */
        body.menu-open {
            overflow: hidden;
        }

        /* ЗАЩИТА ТОЛЬКО ДЛЯ ИЗОБРАЖЕНИЙ */
        img {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-user-drag: none;
            pointer-events: none;
        }

        /* --- GLOBAL GRID TEXTURE --- */
        body::before {
            content: '';
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
            background-size: 100px 100px;
            pointer-events: none;
            z-index: -1;
        }

        /* --- NOISE TEXTURE --- */
        .noise-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            pointer-events: none;
            z-index: 9999;
            opacity: 0.04;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        }

        /* --- TYPOGRAPHY --- */
        h1, h2, h3, h4 {
            font-weight: 800;
            letter-spacing: -0.03em;
            line-height: 1.1;
        }

        h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 2rem;
            text-transform: uppercase;
        }

        p {
            color: var(--text-secondary);
            font-weight: 300;
            font-size: 1.05rem;
        }

        .container {
            width: 90%;
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        .label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--accent-blue);
            margin-bottom: 1rem;
            display: block;
            font-weight: 600;
        }

        /* --- NAVIGATION --- */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--nav-height);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2%;
            z-index: 1000;
            background: rgba(8, 8, 8, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            transition: all 0.3s ease; /* Добавили анимацию для смены фона */
        }

        .nav-logo {
            font-weight: 800;
            font-size: 1.5rem;
            letter-spacing: -0.02em;
            text-transform: uppercase;
            text-decoration: none;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .nav-logo img {
            height: 55px; /* Настройте высоту под ваш дизайн */
            width: auto;
            pointer-events: none;
        }

        /* Desktop Nav Links */
        .nav-links { display: flex; gap: 30px; }
        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transition: color 0.3s ease;
        }
        .nav-link:hover { color: #fff; }

        /* --- MOBILE MENU STYLES --- */
        
        /* ИСПРАВЛЕНИЕ: Когда меню открыто, поднимаем навбар выше оверлея и убираем фон */
        body.menu-open .navbar {
            z-index: 1002; /* Выше оверлея (1001) */
            background: transparent;
            backdrop-filter: none;
            border-bottom: 1px solid transparent;
        }

        /* Гамбургер кнопка */
        .hamburger {
            display: none;
            cursor: pointer;
            width: 30px;
            height: 20px;
            position: relative;
            background: transparent;
            border: none;
            /* z-index наследуется от родителя (.navbar), который мы поднимаем */
        }

        .hamburger span {
            display: block;
            position: absolute;
            height: 2px;
            width: 100%;
            background: #fff;
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out;
        }

        .hamburger span:nth-child(1) { top: 0px; }
        .hamburger span:nth-child(2) { top: 9px; }
        .hamburger span:nth-child(3) { top: 18px; }

        /* Анимация гамбургера в крестик */
        .hamburger.open span:nth-child(1) { top: 9px; transform: rotate(135deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; left: -60px; }
        .hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-135deg); }

        /* Полноэкранное мобильное меню */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(5, 5, 5, 0.98); /* Чуть темнее фон для контраста */
            backdrop-filter: blur(15px);
            z-index: 1001; /* Перекрывает контент */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none; 
            transition: opacity 0.4s ease-in-out;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .mobile-nav-link {
            font-size: 1.8rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--text-secondary);
            text-decoration: none;
            margin: 15px 0;
            letter-spacing: -0.02em;
            transition: color 0.3s ease, transform 0.3s ease;
            transform: translateY(20px);
            opacity: 0;
        }

        .mobile-menu-overlay.active .mobile-nav-link {
            transform: translateY(0);
            opacity: 1;
        }
        
        .mobile-menu-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
        .mobile-menu-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
        .mobile-menu-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }

        .mobile-nav-link:hover {
            color: #fff;
            transform: scale(1.05);
        }

        .mobile-nav-link.highlight {
            color: var(--accent-blue);
        }

        @media (max-width: 900px) { 
            .nav-links { display: none; }
            .hamburger { display: block; }
        }

        /* --- ANIMATIONS --- */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
        }
        .reveal.active { opacity: 1; transform: translateY(0); }

        /* --- SECTION 1: HERO --- */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            padding-top: var(--nav-height);
        }

        .hero-bg {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: url('https://images.unsplash.com/photo-1446776811953-b23d57bd21aa?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
            z-index: 0;
            animation: slowZoom 40s infinite alternate ease-in-out;
            opacity: 0.7;
            pointer-events: none; 
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(180deg, rgba(8,8,8,0.3) 0%, rgba(8,8,8,0.8) 60%, rgba(8,8,8,1) 100%);
            z-index: 1;
        }

        @keyframes slowZoom {
            0% { transform: scale(1); }
            100% { transform: scale(1.15); }
        }

        .hero-content {
            z-index: 2;
            text-align: center;
            max-width: 900px;
            position: relative;
        }

        .hero h1 {
            font-size: clamp(3.5rem, 8vw, 7rem);
            text-transform: uppercase;
            margin-bottom: 1.5rem;
            text-shadow: 0 10px 30px rgba(0,0,0,0.8);
        }

        .hero-subtitle {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            color: #e5e7eb;
            margin-bottom: 3rem;
            font-weight: 300;
            text-shadow: 0 5px 15px rgba(0,0,0,0.8);
            letter-spacing: 0.05em;
        }

        .btn-primary {
            display: inline-block;
            padding: 1.2rem 3rem;
            background: #fff;
            color: #000;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 0.15em;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            border: 1px solid #fff;
        }

        .btn-primary:hover {
            background: transparent;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        }

        /* --- SECTION 2: FRAMEWORK (GRID) --- */
        .framework {
            padding: 120px 0;
            border-bottom: 1px solid var(--border-dim);
            position: relative;
        }

        .framework-intro {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 80px;
        }

        .grid-4 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1px;
            background: var(--border-dim);
            border: 1px solid var(--border-dim);
        }

        .card {
            background: var(--bg-dark);
            padding: 50px 30px;
            transition: background 0.4s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 250px;
        }

        .card:hover { background: var(--bg-card); }

        .card-bg-number {
            position: absolute;
            bottom: -30px; right: -10px;
            font-size: 10rem;
            font-weight: 800;
            line-height: 1;
            color: #fff;
            opacity: 0.03;
            pointer-events: none;
            transition: opacity 0.4s ease, transform 0.4s ease;
        }
        .card:hover .card-bg-number { opacity: 0.08; transform: translateY(-10px); }

        .card::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 3px; height: 0%;
            background-color: var(--accent-blue);
            transition: height 0.4s ease;
        }
        .card:hover::after { height: 100%; }

        .card-icon {
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--accent-blue);
            margin-bottom: 25px;
            display: block;
            font-weight: 600;
        }

        .card h3 { font-size: 1.5rem; margin-bottom: 15px; text-transform: uppercase; position: relative; z-index: 2; }
        .card p { font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 2; }

        /* --- SECTION 3: ROADMAP --- */
        .roadmap {
            padding: 120px 0;
            position: relative;
            background: var(--bg-dark);
        }

        .roadmap-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 100px;
            align-items: flex-start;
        }

        .country-list {
            display: flex;
            flex-direction: column;
            gap: 0;
            border-left: 1px solid var(--border-dim);
            padding-left: 40px;
        }

        .country-item {
            font-size: clamp(2rem, 4vw, 3.5rem);
            font-weight: 800;
            text-transform: uppercase;
            line-height: 1.1;
            color: #222;
            transition: color 0.3s ease;
            cursor: default;
            position: relative;
            padding-bottom: 30px;
        }
        
        .country-item:last-child { padding-bottom: 0; }

        .country-item:not(:last-child)::after {
            content: '↓';
            position: absolute;
            bottom: -5px;
            left: 50px;
            font-size: 1.5rem;
            color: var(--accent-blue);
            font-weight: 300;
            opacity: 0.7;
            font-family: var(--font-main);
        }

        .country-item.active { color: #fff; }
        .country-item:hover { color: var(--accent-blue); }

        .timeline { position: relative; }
        
        .timeline-item {
            padding-bottom: 60px;
            border-bottom: 1px solid var(--border-dim);
            margin-bottom: 60px;
        }
        
        .timeline-item:last-child { border-bottom: none; }

        .timeline-date {
            font-family: 'Inter', monospace;
            color: var(--accent-blue);
            margin-bottom: 15px;
            display: block;
            font-size: 0.9rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .timeline-content h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: #fff;
        }

        /* --- SECTION 4: FOUNDER & PROTECTION --- */
        .founder-section {
            background: var(--bg-card);
            padding: 120px 0;
            border-top: 1px solid var(--border-dim);
        }

        .founder-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .founder-img-container {
            position: relative;
            height: 700px;
            overflow: hidden;
        }

        .founder-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%) contrast(1.1);
            transition: transform 1s ease;
        }

        .protected-layer {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            z-index: 10; 
            background: transparent;
        }

        .founder-img-container:hover .founder-img { transform: scale(1.03); }

        .founder-info h2 { margin-bottom: 40px; font-size: 2.5rem; }

        .stat-block {
            display: flex;
            gap: 60px;
            margin-top: 50px;
            border-top: 1px solid var(--border-dim);
            padding-top: 30px;
        }

        .stat h4 { font-size: 2.5rem; color: #fff; margin-bottom: 5px; }
        .stat span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-secondary); }

        /* --- SECTION 5: INSTITUTIONAL ARCHITECTURE (NEW) --- */
        .institutions-section {
            padding: 120px 0;
            background: var(--bg-dark);
            border-top: 1px solid var(--border-dim);
        }

        .inst-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }

        .inst-card {
            background: var(--bg-card);
            padding: 40px 30px;
            border: 1px solid var(--border-dim);
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        .inst-card:hover {
            transform: translateY(-5px);
            border-color: rgba(255,255,255,0.2);
        }

        .inst-icon {
            width: 50px;
            height: 50px;
            margin-bottom: 30px;
            color: var(--accent-blue);
        }
        
        .inst-icon svg {
            width: 100%;
            height: 100%;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.5;
        }

        .inst-card h3 {
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .inst-card p {
            font-size: 0.9rem;
            line-height: 1.6;
        }

        /* --- CTA & FOOTER --- */
        .cta-section {
            padding: 150px 0;
            text-align: center;
            background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
        }

        .cta-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 50px; flex-wrap: wrap; }
        
        .btn-outline {
            display: inline-block; padding: 1.2rem 3rem; border: 1px solid var(--border-dim); color: #fff;
            text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.15em; text-decoration: none;
            transition: all 0.3s ease; font-weight: 600;
        }
        .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); transform: translateY(-2px); }

        footer { padding: 60px 0; border-top: 1px solid var(--border-dim); font-size: 0.8rem; color: #555; background: #050505; }
        .footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
        
        /* Ссылки в футере теперь похожи на кнопки (cursor pointer) */
        .footer-links a { 
            color: #555; text-decoration: none; margin-left: 20px; transition: color 0.3s; cursor: pointer;
        }
        .footer-links a:hover { color: #fff; }

        /* --- MODALS CSS --- */
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
            z-index: 10000; display: flex; justify-content: center; align-items: center;
            opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
        }
        .modal-overlay.active { opacity: 1; pointer-events: all; }
        
        .modal-window {
            background: var(--bg-card); 
            border: 1px solid var(--border-dim);
            padding: 50px; 
            max-width: 600px; 
            width: 90%; 
            position: relative;
            transform: translateY(20px); 
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        }
        .modal-overlay.active .modal-window { transform: translateY(0); }
        
        .close-modal {
            position: absolute; top: 20px; right: 25px; color: var(--text-secondary);
            font-size: 2rem; cursor: pointer; transition: color 0.3s; line-height: 1;
        }
        .close-modal:hover { color: #fff; }
        
        .modal-title { font-size: 1.5rem; margin-bottom: 25px; color: #fff; text-transform: uppercase; border-bottom: 1px solid var(--border-dim); padding-bottom: 15px; }
        .modal-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }
        .modal-text ul { margin-left: 20px; margin-top: 15px; margin-bottom: 15px; }
        .modal-text li { margin-bottom: 10px; }
        .modal-text strong { color: #fff; font-weight: 600; }


        /* --- MOBILE --- */
        @media (max-width: 900px) {
            .founder-split, .roadmap-grid { grid-template-columns: 1fr; gap: 50px; }
            .founder-img-container { height: 500px; }
            .country-list { border-left: none; padding-left: 0; border-top: 1px solid var(--border-dim); padding-top: 40px; }
        }

        @media (max-width: 600px) {
            .hero h1 { font-size: 3rem; }
            .footer-content { flex-direction: column; text-align: center; }
            .modal-window { padding: 30px; }
        }