 :root {
            --primary: #ffffff;
            --secondary: #0a0a0a;
            --accent: #7c3aed;
            --accent-light: #a78bfa;
            --accent-secondary: #06b6d4;
            --surface: rgba(255, 255, 255, 0.8);
            --text: #0f172a;
            --text-secondary: #475569;
            --gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
            --gradient-light: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #22d3ee 100%);
            --gradient-bg: linear-gradient(135deg, #f0f9ff 0%, #fdf4ff 50%, #f0fdfa 100%);
            --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', 'SF Pro Display', -apple-system, sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: var(--gradient-bg);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
            position: relative;
            min-height: 100vh;
        }

        /* Advanced Background Elements */
        .bg-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            overflow: hidden;
        }

        .bg-gradient {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
            animation: gradientShift 15s ease infinite;
        }

        .bg-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.03) 2px, transparent 2px),
                radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.03) 2px, transparent 2px);
            background-size: 60px 60px, 40px 40px;
            background-position: 0 0, 30px 30px;
            animation: patternMove 20s linear infinite;
        }

        .bg-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .shape {
            position: absolute;
            border-radius: 50%;
            background: var(--gradient-light);
            opacity: 0.1;
            filter: blur(40px);
            animation: float 20s infinite ease-in-out;
        }

        .shape:nth-child(1) {
            width: 400px;
            height: 400px;
            top: 10%;
            left: 5%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            width: 300px;
            height: 300px;
            top: 60%;
            left: 80%;
            animation-delay: -5s;
        }

        .shape:nth-child(3) {
            width: 500px;
            height: 500px;
            top: 30%;
            left: 60%;
            animation-delay: -10s;
        }

        .shape:nth-child(4) {
            width: 250px;
            height: 250px;
            top: 80%;
            left: 15%;
            animation-delay: -7s;
        }

        .bg-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            transform: perspective(1000px) rotateX(60deg);
            transform-origin: bottom;
            animation: gridMove 40s linear infinite;
        }

        .bg-noise {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
            opacity: 0.4;
        }

        @keyframes gradientShift {
            0%, 100% {
                transform: scale(1) rotate(0deg);
            }
            50% {
                transform: scale(1.1) rotate(1deg);
            }
        }

        @keyframes patternMove {
            0% {
                background-position: 0 0, 30px 30px;
            }
            100% {
                background-position: 60px 60px, 90px 90px;
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) scale(1) rotate(0deg);
            }
            33% {
                transform: translateY(-30px) scale(1.05) rotate(120deg);
            }
            66% {
                transform: translateY(15px) scale(0.95) rotate(240deg);
            }
        }

        @keyframes gridMove {
            0% {
                transform: perspective(1000px) rotateX(60deg) translateY(0);
            }
            100% {
                transform: perspective(1000px) rotateX(60deg) translateY(50px);
            }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Enhanced Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            padding: 0 20px;
            overflow: hidden;
        }

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

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--gradient);
            color: white;
            padding: 12px 24px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 30px;
            letter-spacing: 1px;
            box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
            position: relative;
            overflow: hidden;
            transform: translateY(20px);
            opacity: 0;
            animation: slideUp 0.8s ease 0.2s forwards;
        }

        .hero-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: var(--transition);
        }

        .hero-badge:hover::before {
            left: 100%;
        }

        .hero-badge i {
            font-size: 16px;
            animation: pulse 2s infinite;
        }

        .hero-title {
            font-size: clamp(3rem, 8vw, 5.5rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 30px;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
            transform: translateY(30px);
            opacity: 0;
            animation: slideUp 0.8s ease 0.4s forwards;
        }

        .hero-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
            transform: scaleX(0);
            transform-origin: left;
            animation: expandLine 1s ease 1s forwards;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 3vw, 1.5rem);
            color: var(--text-secondary);
            margin-bottom: 50px;
            max-width: 600px;
            font-weight: 400;
            position: relative;
            transform: translateY(30px);
            opacity: 0;
            animation: slideUp 0.8s ease 0.6s forwards;
        }

        .hero-actions {
            display: flex;
            gap: 20px;
            margin-bottom: 60px;
            transform: translateY(30px);
            opacity: 0;
            animation: slideUp 0.8s ease 0.8s forwards;
        }

        .hero-btn {
            padding: 16px 32px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }

        .hero-btn.primary {
            background: var(--gradient);
            color: white;
            box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
        }

        .hero-btn.primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
        }

        .hero-btn.secondary {
            background: transparent;
            color: var(--text);
            border: 2px solid rgba(124, 58, 237, 0.2);
        }

        .hero-btn.secondary:hover {
            background: rgba(124, 58, 237, 0.05);
            border-color: var(--accent);
            transform: translateY(-3px);
        }

        .hero-visual {
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            width: 45%;
            height: 70%;
            opacity: 0;
            animation: fadeIn 1s ease 1.2s forwards;
        }

        .floating-cards {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .card {
            position: absolute;
            background: var(--surface);
            border-radius: 20px;
            padding: 25px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            gap: 15px;
            transition: var(--transition);
        }

        .card:nth-child(1) {
            top: 10%;
            right: 10%;
            animation: floatCard 6s ease-in-out infinite;
        }

        .card:nth-child(2) {
            top: 50%;
            right: 30%;
            animation: floatCard 7s ease-in-out 1s infinite;
        }

        .card:nth-child(3) {
            bottom: 15%;
            right: 15%;
            animation: floatCard 5s ease-in-out 0.5s infinite;
        }

        .card-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: var(--gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .card-content h4 {
            font-size: 1rem;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .card-content p {
            font-size: 0.85rem;
            color: var(--text-secondary);
        }

        .hero-scroll {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0px;
            color: var(--text-secondary);
            font-size: 14px;
            animation: bounce 2s infinite, fadeIn 0.5s ease 1.5s forwards;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .hero-scroll.hidden {
            opacity: 0;
            pointer-events: none;
        }

        /* About Section */
        .about {
            padding: 120px 0;
            position: relative;
            overflow: hidden;
        }

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

        .about-text h2 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }

        .about-text h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .about-text p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 25px;
            line-height: 1.8;
        }

        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 40px;
        }

        .feature {
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: var(--gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .feature-content h4 {
            font-size: 1.1rem;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .feature-content p {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin: 0;
        }

        .about-visual {
            position: relative;
            height: 500px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            transform: perspective(1000px) rotateY(-5deg);
            transition: var(--transition);
        }

        .about-visual:hover {
            transform: perspective(1000px) rotateY(0);
        }

        .about-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Projects Section */
        .projects {
            padding: 120px 0;
            position: relative;
            overflow: hidden;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-header h2 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .section-header p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        .projects-container {
            position: relative;
            width: 100%;
            height: 80vh;
            overflow: hidden;
        }

        .projects-carousel {
            display: flex;
            height: 100%;
            transition: transform 0.7s ease;
        }

        .project-item {
            flex: 0 0 100%;
            height: 100%;
            position: relative;
        }

        .project-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .project-item:hover .project-bg {
            transform: scale(1.05);
        }

        .project-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 60px 5%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: white;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
        }

        .project-glass {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .project-logo {
            width: 80px;
            height: 80px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 2rem;
            color: white;
        }

        .project-info h3 {
            font-size: 2rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .project-info p {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 20px;
            opacity: 0.9;
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            transition: var(--transition);
        }

        .project-link:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
        }

        /* Улучшенные кнопки навигации */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 20px;
            color: white;
            font-size: 14px;
            z-index: 10;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            padding: 15px 25px;
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .scroll-indicator span {
            opacity: 0.9;
            font-weight: 500;
        }

        .scroll-arrows {
            display: flex;
            gap: 10px;
        }

        .scroll-arrow {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-size: 1.2rem;
        }

        .scroll-arrow:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .scroll-arrow:active {
            transform: scale(0.95);
        }

        .projects-dots {
            display: flex;
            gap: 8px;
            margin-left: 10px;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            transition: var(--transition);
            cursor: pointer;
        }

        .dot.active {
            background: white;
            transform: scale(1.2);
        }

        /* Footer */
        footer {
            padding: 80px 0 40px;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: white;
            position: relative;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-brand .logo {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 20px;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.7);
            max-width: 400px;
            margin-bottom: 25px;
            font-size: 0.95rem;
        }

        .social-links {
            display: flex;
            gap: 12px;
        }

        .social-link {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.1rem;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-link:hover {
            background: var(--gradient);
            transform: translateY(-3px);
        }

        .footer-column h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
            color: white;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 35px;
            height: 3px;
            background: var(--gradient);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: var(--transition);
            font-size: 0.9rem;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.85rem;
        }

        /* Анимации */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: var(--transition);
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Адаптация для всех экранов */
        @media (min-width: 1200px) {
            .container {
                max-width: 1200px;
            }
            
            .project-content {
                padding: 80px 10%;
            }
        }

        @media (max-width: 1199px) and (min-width: 768px) {
            .about-content {
                gap: 60px;
            }
            
            .about-visual {
                height: 400px;
            }
            
            .project-content {
                padding: 50px 8%;
            }
            
            .project-glass {
                max-width: 450px;
            }
        }

        @media (max-width: 1024px) {
            .about-content {
                grid-template-columns: 1fr;
                gap: 50px;
            }
            
            .footer-content {
                grid-template-columns: 1fr 1fr;
            }
            
            .hero-visual {
                width: 50%;
            }
            
            .card {
                padding: 20px;
            }
            
            .card-icon {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
            
            .project-info h3 {
                font-size: 1.7rem;
            }
            
            .project-info p {
                font-size: 1rem;
            }
        }

        @media (max-width: 767px) {
            .container {
                padding: 0 15px;
            }
            
            .hero {
                padding: 100px 15px 60px;
                text-align: center;
            }
            
            .hero-visual {
                display: none;
            }
            
            .hero-actions {
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .hero-title::after {
                left: 50%;
                transform: translateX(-50%) scaleX(0);
                animation: expandLineCenter 1s ease 1s forwards;
            }
            
            @keyframes expandLineCenter {
                to {
                    transform: translateX(-50%) scaleX(1);
                }
            }
            
            .about-visual {
                height: 300px;
                transform: none;
            }
            
            .about-features {
                grid-template-columns: 1fr;
            }
            
            .project-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 30px;
                padding: 40px 5%;
            }
            
            .project-glass {
                max-width: 100%;
                padding: 20px;
            }
            
            .project-info h3 {
                font-size: 1.5rem;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            .scroll-indicator {
                flex-direction: column;
                gap: 15px;
                padding: 15px 20px;
                width: 90%;
                max-width: 300px;
            }
            
            .scroll-arrows {
                order: -1;
            }
            
            .projects-dots {
                margin-left: 0;
            }
            
            .hero-scroll {
                bottom: 10px; 
                font-size: 12px; 
                gap: 6px; 
                animation: bounce 2s infinite, fadeIn 0.5s ease 0.5s forwards; 
            }
    
            @keyframes bounce {
                0%, 100% { transform: translateX(-50%) translateY(0); }
                50% { transform: translateX(-50%) translateY(-5px); } 
            }
        }

        @media (max-width: 480px) {
            .hero-actions {
                flex-direction: column;
                align-items: center;
            }
            
            .hero-btn {
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }
            
            .about-text h2,
            .section-header h2 {
                font-size: 2.2rem;
            }
            
            .project-info h3 {
                font-size: 1.3rem;
            }
            
            .project-logo {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
            
            .hero-scroll {
                bottom: 10px;
                font-size: 11px;
            }
    
            .hero-scroll {
                animation: subtle-bounce 2s infinite, fadeIn 0.5s ease 0.5s forwards;
            }
    
            @keyframes subtle-bounce {
                0%, 100% { transform: translateX(-50%) translateY(0); }
                50% { transform: translateX(-50%) translateY(-3px); }
            }
            
            .scroll-arrow {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .scroll-indicator span {
                font-size: 12px;
            }
        }

        @media (max-width: 360px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .about-text h2,
            .section-header h2 {
                font-size: 1.8rem;
            }
            
            .feature {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
            
            .feature-icon {
                align-self: center;
            }
            
            .scroll-indicator {
                padding: 12px 15px;
            }
            
            .scroll-arrow {
                width: 35px;
                height: 35px;
            }
        }

        @keyframes slideUp {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes expandLine {
            to {
                transform: scaleX(1);
            }
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        @keyframes floatCard {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(2deg);
            }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }