:root {
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-bg: rgba(18, 18, 23, 0.6);
            --glass-highlight: rgba(255, 255, 255, 0.03);
            --neon-pink: #ec4899;
            --neon-purple: #8b5cf6;
            --neon-blue: #06b6d4;
        }

        body {
            background-color: #050505;
            color: #e2e8f0;
            overflow-x: hidden;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        }

        /* Fallback для шрифтов (пока загружаются) */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        }

        /* --- НОВЫЕ СТИЛИ ДЛЯ HERO SECTION --- */

        /* 1. Эффект Живой Авроры (Фон) */
        .aurora-container {
            position: absolute;
            inset: 0;
            overflow: hidden;
            z-index: 0;
            background: #050505;
        }

        .aurora-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.5;
            animation: aurora-float 15s infinite ease-in-out alternate;
            mix-blend-mode: screen;
            /* Делает цвета яркими на черном */
        }

        .blob-1 {
            top: -10%;
            left: -10%;
            width: 60vw;
            height: 60vw;
            background: radial-gradient(circle, #4f46e5, transparent 70%);
        }

        .blob-2 {
            bottom: -10%;
            right: -20%;
            width: 70vw;
            height: 70vw;
            background: radial-gradient(circle, #db2777, transparent 70%);
            animation-delay: -5s;
        }

        .blob-3 {
            top: 40%;
            left: 40%;
            width: 40vw;
            height: 40vw;
            background: radial-gradient(circle, #0891b2, transparent 70%);
            animation-delay: -10s;
            opacity: 0.3;
        }

        @keyframes aurora-float {
            0% {
                transform: translate(0, 0) scale(1) rotate(0deg);
            }

            50% {
                transform: translate(30px, -50px) scale(1.1) rotate(10deg);
            }

            100% {
                transform: translate(-20px, 40px) scale(0.9) rotate(-5deg);
            }
        }

        /* 2. Летающие 3D-стеклянные иконки */
        .floating-icon-wrap {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 2rem;
            /* Скругленный квадрат */
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            background: rgba(255, 255, 255, 0.03);
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            border-left: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.5),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
            z-index: 1;
            animation: hover-3d 6s ease-in-out infinite;
            overflow: hidden;
        }

        .floating-icon-wrap svg {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        /* Разные размеры для эффекта глубины */
        .icon-lg {
            width: 80px;
            height: 80px;
            z-index: 2;
        }

        .icon-md {
            width: 60px;
            height: 60px;
            z-index: 1;
            filter: blur(1px);
            opacity: 0.8;
        }

        .icon-sm {
            width: 40px;
            height: 40px;
            z-index: 0;
            filter: blur(2px);
            opacity: 0.6;
        }

        @keyframes hover-3d {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(2deg);
            }
        }

        /* 3. Улучшенная типографика */
        .hero-title-gradient {
            background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
        }

        .hero-highlight {
            position: relative;
            display: inline-block;
            background: linear-gradient(90deg, #ec4899, #8b5cf6);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }

        /* Добавляем свечение за цветным текстом */
        .hero-highlight::after {
            content: attr(data-text);
            position: absolute;
            left: 0;
            top: 0;
            z-index: -1;
            background: linear-gradient(90deg, #ec4899, #8b5cf6);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
            filter: blur(20px);
            opacity: 0.5;
        }

        /* Динамическое уведомление (Notification Toast) */
        .social-toast {
            position: fixed;
            bottom: 30px;
            /* Чуть выше от низа */
            left: 20px;
            /* Отступ слева, чтобы не обрезалось */
            z-index: 100;
            /* Поверх всех слоев */
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        }

        .social-toast.show {
            transform: translateY(0);
            opacity: 1;
        }

        /* На мобильных можно сделать на всю ширину или по центру */
        @media (max-width: 640px) {
            .social-toast {
                left: 50%;
                transform: translateX(-50%) translateY(20px);
                width: 90%;
                max-width: 300px;
            }

            .social-toast.show {
                transform: translateX(-50%) translateY(0);
            }
        }

        /* Glassmorphism 2.0 Utilities */
        .glass-panel {
            background: var(--glass-bg);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            background-image: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        /* Mobile Menu Visibility Fix */
        #mobile-menu.glass-panel {
            background: rgba(10, 10, 15, 0.98);
            backdrop-filter: blur(40px);
            -webkit-backdrop-filter: blur(40px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Noise Texture Overlay */
        .glass-card::before {
            content: "";
            position: absolute;
            inset: 0;
            opacity: 0.05;
            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");
            pointer-events: none;
            z-index: 0;
        }

        .glass-card:hover {
            transform: translateY(-5px);
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.06);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(139, 92, 246, 0.2);
            /* Purple glow */
        }

        /* Floating Header Specifics */
        .floating-nav {
            position: fixed;
            top: 1.5rem;
            left: 50%;
            transform: translateX(-50%);
            width: 95%;
            max-width: 1280px;
            border-radius: 1.5rem;
            z-index: 50;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(5, 5, 5, 0.65);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
        }

        /* Text Gradients 2.0 */
        .text-gradient-gold {
            background: linear-gradient(135deg, #FDE047 0%, #EC4899 50%, #8B5CF6 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }

        .text-gradient-cyan {
            background: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }

        /* Button Glows */
        .btn-glow {
            position: relative;
            overflow: hidden;
        }

        .btn-glow::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
            transform: scale(0);
            opacity: 0;
            transition: transform 0.5s, opacity 0.5s;
        }

        .btn-glow:hover::after {
            transform: scale(1);
            opacity: 1;
        }

        /* Поля формы заказа — как на главной: тёмный фон, белый текст, светлый плейсхолдер */
        .glass-input {
            background: rgba(44, 44, 44, 0.9) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            color: #fff !important;
        }
        .glass-input::placeholder {
            color: #94a3b8 !important;
        }
        .glass-input:focus {
            background: rgba(50, 50, 50, 0.95) !important;
            border-color: var(--neon-purple, #8b5cf6) !important;
            box-shadow: 0 0 15px rgba(139, 92, 246, 0.3) !important;
        }

        @media (max-width: 640px) {
            .floating-nav {
                top: 0.5rem;
                width: 96%;
                border-radius: 1rem;
            }
        }

:root {
            --glow-color-1: rgba(236, 72, 153, 0.6);
            /* Pink */
            --glow-color-2: rgba(139, 92, 246, 0.6);
            /* Violet */
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #0c0a09;
            /* Near Black */
            color: #e5e7eb;
            /* Gray 200 */
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        }

        /* Карточки не растягиваем и не держим фиксированную высоту, чтобы не было пустого зазора ниже. */
        #service-packages {
            align-content: start;
        }

        #blog-slider {
            min-height: 340px;
        }

        /* Preloader styles - оптимизировано */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #0c0a09;
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
        }

        #preloader.loaded {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        #preloader-canvas {
            width: 150px;
            height: 150px;
        }

        /* Легкий CSS спиннер вместо Three.js */
        .preloader-spinner {
            width: 60px;
            height: 60px;
            position: relative;
        }

        .spinner-ring {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(139, 92, 246, 0.2);
            border-top-color: #8b5cf6;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* NEW: Emoji Animation Styles */
        .emoji {
            position: absolute;
            z-index: 1;
            user-select: none;
            animation: floatUp 5s ease-in-out forwards;
        }

        @keyframes floatUp {
            0% {
                transform: translateY(0) scale(1);
                opacity: 1;
            }

            100% {
                transform: translateY(-500px) scale(0.5);
                opacity: 0;
            }
        }

        /* Glass Effect */
        .glass-effect {
            background: rgba(28, 25, 23, 0.4);
            /* Stone 900 with alpha */
            backdrop-filter: blur(16px) saturate(1.2);
            -webkit-backdrop-filter: blur(16px) saturate(1.2);
            border: 1px solid rgba(71, 85, 105, 0.2);
            transition: background 0.3s, border-color 0.3s;
        }

        .glass-effect:hover {
            background: rgba(28, 25, 23, 0.6);
            border-color: rgba(71, 85, 105, 0.4);
        }

        .platform-tab-active {
            color: white;
            background-image: linear-gradient(to right, #a855f7, #ec4899);
            box-shadow: 0 4px 20px rgba(217, 70, 239, 0.4);
        }

        .service-type-tab-active {
            background-color: #ec4899;
            color: white;
        }

        .faq-answer,
        .blog-full-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.7s ease-in-out;
        }

        /* Holographic Hover Effect */
        .holographic-hover {
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .holographic-hover::before {
            content: '';
            position: absolute;
            top: var(--y, 0);
            left: var(--x, 0);
            transform: translate(-50%, -50%);
            width: 250px;
            height: 250px;
            background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
            opacity: 0;
            transition: opacity 0.4s ease-out;
            pointer-events: none;
            z-index: 1;
        }

        .holographic-hover:hover::before {
            opacity: 1;
        }

        /* Animated Gradient Button */
        .animated-gradient-btn {
            background-size: 200% 200%;
            background-image: linear-gradient(45deg, var(--glow-color-2), var(--glow-color-1), var(--glow-color-2));
            animation: gradient-animation 4s ease infinite;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        @keyframes gradient-animation {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .animated-gradient-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px var(--glow-color-1);
        }

        /* Mobile Menu Animation */
        #mobile-menu {
            transition: max-height 0.5s ease, opacity 0.4s ease;
            max-height: 0;
            opacity: 0;
            pointer-events: none;
            overflow: hidden;
        }

        #mobile-menu.open {
            max-height: 500px !important;
            opacity: 1 !important;
            pointer-events: auto !important;
        }

        /* LCP оптимизация: критический контент видим сразу */
        #lcp-text {
            opacity: 1 !important;
            visibility: visible !important;
            transform: translateY(0) !important;
        }

        /* GSAP элементы: видимы по умолчанию, анимация применяется позже */
        .gsap-hero-el {
            opacity: 1;
            visibility: visible;
        }

        /* Если GSAP не загружен, элементы остаются видимыми */
        .gsap-reveal {
            opacity: 1;
            visibility: visible;
        }

        /* Input validation style */
        .input-invalid {
            border-color: #f43f5e !important;
            /* Rose 500 */
            box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.4);
        }

        .promo-card-wrapper {
            transition: transform 0.5s ease-out;
        }

        .promo-card-wrapper:hover {
            transform: rotateY(0deg) rotateX(0deg) scale(1.05);
        }

        .promo-card-wrapper:hover .promo-card-glow {
            opacity: 0.8;
        }

        /* Скрытие скроллбара для блока блога */
        #blog-slider {
            -ms-overflow-style: none;
            /* IE и Edge */
            scrollbar-width: none;
            /* Firefox */
        }

        #blog-slider::-webkit-scrollbar {
            display: none;
            /* Chrome, Safari и Opera */
        }

        /* Защита футера от разъезда логотипов платежных систем. */
        #footer-payment-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            opacity: 0.65;
            filter: grayscale(100%);
        }

        #footer-payment-logos:hover {
            opacity: 1;
            filter: grayscale(0%);
        }

        #footer-brand-logo {
            height: 40px !important;
            width: auto !important;
            max-width: 100% !important;
            object-fit: contain;
        }
        #footer-payment-logos img {
            height: 24px !important;
            width: auto !important;
            max-width: 130px;
            object-fit: contain;
            flex: 0 0 auto;
        }

        #footer-legal {
            opacity: 0.75;
        }

        #footer-legal:hover {
            opacity: 1;
        }

