        /* Global Variables & Reset */
        :root {
            --primary-color: #00d4ff;
            --secondary-color: #8a2be2;
            --accent-color: #ff6b6b;
            --dark-bg: #0a0a0a;
            --light-bg: #0f0f0f;
            --card-bg: rgba(255, 255, 255, 0.05);
            --text-primary: #ffffff;
            --text-secondary: rgba(255, 255, 255, 0.7);
            --border-color: rgba(255, 255, 255, 0.1);
            --gradient-primary: linear-gradient(135deg, #00d4ff, #8a2be2);
            --gradient-secondary: linear-gradient(135deg, #8a2be2, #ff6b6b);
            --shadow-color: rgba(0, 212, 255, 0.2);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            background: var(--dark-bg);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: var(--dark-bg);
        }
        
        ::-webkit-scrollbar-thumb {
            background: var(--gradient-primary);
            border-radius: 4px;
        }

        /* Container */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header with Advanced Glassmorphism */
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 10, 10, 0.8);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 20px 0;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .header.scrolled {
            padding: 15px 0;
            background: rgba(10, 10, 10, 0.95);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-primary);
            letter-spacing: -1px;
            display: flex;
            align-items: center;
        }

        .logo-accent {
            color: var(--primary-color);
            margin-left: 5px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 40px;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            transition: var(--transition);
            position: relative;
            padding: 8px 0;
        }

        .nav-links a:hover {
            color: var(--text-primary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-cta {
            background: var(--gradient-primary);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .nav-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(-100%);
            transition: transform 0.5s ease;
            z-index: -1;
        }

        .nav-cta:hover::before {
            transform: translateX(0);
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
        }

        /* Hero Section with Advanced Animations */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: 
                radial-gradient(ellipse 800px 600px at 20% 40%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse 600px 800px at 80% 60%, rgba(138, 43, 226, 0.12) 0%, transparent 50%),
                linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(138, 43, 226, 0.03) 100%);
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                repeating-linear-gradient(
                    90deg,
                    transparent,
                    transparent 98px,
                    rgba(0, 212, 255, 0.03) 100px
                ),
                repeating-linear-gradient(
                    0deg,
                    transparent,
                    transparent 98px,
                    rgba(138, 43, 226, 0.03) 100px
                );
            pointer-events: none;
            animation: gridMove 20s linear infinite;
        }

        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(100px, 100px); }
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            width: 100%;
        }

        .hero-content {
            max-width: 600px;
            position: relative;
            z-index: 2;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 212, 255, 0.1);
            border: 1px solid rgba(0, 212, 255, 0.2);
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 14px;
            color: var(--primary-color);
            margin-bottom: 24px;
            font-weight: 500;
            animation: fadeInUp 0.8s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h1 {
            font-size: 4.5rem;
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 24px;
            color: var(--text-primary);
            letter-spacing: -2px;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }


        .hero-highlight {
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
        }

        .hero p {
            font-size: 1.25rem;
            line-height: 1.6;
            color: var(--text-secondary);
            margin-bottom: 40px;
            max-width: 500px;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            padding: 16px 30px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(-100%);
            transition: transform 0.5s ease;
            z-index: -1;
        }

        .btn-primary:hover::before {
            transform: translateX(0);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-primary);
            padding: 16px 32px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: var(--transition);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-secondary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(-100%);
            transition: transform 0.5s ease;
            z-index: -1;
        }

        .btn-secondary:hover::before {
            transform: translateX(0);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--primary-color);
            transform: translateY(-3px);
        }

        /* Hero Visual with Advanced Robot */
        .hero-visual {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-robot {
            width: 500px;
            height: 500px;
            position: relative;
            animation: float 6s ease-in-out infinite;
            filter: drop-shadow(0 20px 40px rgba(0, 212, 255, 0.3));
        }

        .hero-robot::before {
            content: '';
            position: absolute;
            top: -50px;
            left: -50px;
            right: -50px;
            bottom: -50px;
            background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: pulse 4s ease-in-out infinite;
            z-index: -1;
        }

        @keyframes float {
            0%, 100% { 
                transform: translateY(0px); 
            }
            50% { 
                transform: translateY(-15px); 
            }
        }

        @keyframes pulse {
            0%, 100% { 
                opacity: 0.3;
                transform: scale(1);
            }
            50% { 
                opacity: 0.6;
                transform: scale(1.1);
            }
        }

        /* Stats Section with Animated Counters */
        .stats {
            padding: 80px 0;
            background: var(--light-bg);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        .stats::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
            pointer-events: none;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .stat-item {
            padding: 20px;
            background: var(--card-bg);
            border-radius: 16px;
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .stat-item:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(0, 212, 255, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 900;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
            display: block;
        }

        .stat-label {
            font-size: 1rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        /* Services Section with Advanced Cards */
        .services {
            padding: 120px 0;
            position: relative;
        }

        .services::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
            pointer-events: none;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
            position: relative;
            z-index: 1;
        }

        .section-badge {
            display: inline-block;
            background: rgba(0, 212, 255, 0.1);
            border: 1px solid rgba(0, 212, 255, 0.2);
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 14px;
            color: var(--primary-color);
            margin-bottom: 16px;
            font-weight: 500;
        }

        .section-title {
            font-size: 3.5rem;
            font-weight: 900;
            margin-bottom: 20px;
            color: var(--text-primary);
            letter-spacing: -1px;
        }

        .section-subtitle {
            font-size: 1.25rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .services-grid {
            display: grid;
            gap: 32px;
            position: relative;
            z-index: 1;
        }

        /* Dynamic grid layout based on number of items */
        .services-grid[data-count="1"] {
            grid-template-columns: 1fr;
            max-width: 500px;
            margin: 0 auto;
        }

        .services-grid[data-count="2"] {
            grid-template-columns: 1fr 1fr;
            max-width: 800px;
            margin: 0 auto;
        }

        .services-grid[data-count="3"] {
            grid-template-columns: 1fr 1fr 1fr;
        }

        .services-grid[data-count="4"] {
            grid-template-columns: 1fr 1fr 1fr;
        }

        .services-grid[data-count="4"] .service-card:nth-child(4) {
            grid-column: 2 / 3;
        }

        .services-grid[data-count="5"] {
            grid-template-columns: 1fr 1fr 1fr;
        }

        .services-grid[data-count="5"] .service-card:nth-child(4),
        .services-grid[data-count="5"] .service-card:nth-child(5) {
            grid-column: auto;
        }

        .services-grid[data-count="6"] {
            grid-template-columns: 1fr 1fr 1fr;
        }

        .services-grid[data-count]:not([data-count="1"]):not([data-count="2"]) {
            grid-template-columns: repeat(3, 1fr);
        }

        .service-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 48px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--gradient-primary);
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .service-card::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .service-card:hover {
            transform: translateY(-12px) scale(1.02);
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(0, 212, 255, 0.4);
            box-shadow: 
                0 25px 50px rgba(0, 212, 255, 0.2),
                0 0 0 1px rgba(0, 212, 255, 0.1);
        }

        .service-card:hover::before {
            opacity: 1;
        }

        .service-card:hover::after {
            opacity: 1;
        }

        .service-icon {
            width: 90px;
            height: 90px;
            background: var(--gradient-primary);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin-bottom: 32px;
            color: white;
            position: relative;
            transition: var(--transition);
            box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
        }

        .service-icon::before {
            content: '';
            position: absolute;
            inset: -3px;
            background: var(--gradient-primary);
            border-radius: 23px;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
        }

        .service-card:hover .service-icon::before {
            opacity: 0.5;
        }

        .service-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--text-primary);
        }

        .service-card p {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .service-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
        }

        .service-link:hover {
            gap: 12px;
        }

        .service-link::after {
            content: '←';
            transition: transform 0.3s ease;
        }

        .service-link:hover::after {
            transform: translateX(-4px);
        }

        /* Projects Gallery with Advanced Cards */
        .projects {
            padding: 120px 0;
            background: var(--light-bg);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 32px;
        }

        .project-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            overflow: hidden;
            transition: var(--transition);
            cursor: pointer;
            position: relative;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }

        .project-card:hover::before {
            opacity: 1;
        }

        .project-card:hover {
            transform: translateY(-8px);
            border-color: rgba(0, 212, 255, 0.3);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .project-image {
            height: 250px;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-image img {
            transform: scale(1.1);
        }

        .project-content {
            padding: 32px;
            position: relative;
            z-index: 2;
        }

        .project-tag {
            display: inline-block;
            background: rgba(0, 212, 255, 0.1);
            color: var(--primary-color);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .project-content h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .project-content p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Team Section with Advanced Cards */
        .team {
            padding: 120px 0;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 32px;
        }

        .team-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .team-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .team-card:hover::before {
            transform: scaleX(1);
        }

        .team-card:hover {
            transform: translateY(-8px);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .team-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            /* background: var(--gradient-primary); */
            margin: 0 auto 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .team-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .team-avatar::after {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            background: var(--gradient-primary);
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .team-card:hover .team-avatar::after {
            opacity: 0.3;
        }

        .team-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text-primary);
        }

        .team-card .role {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 16px;
        }

        .team-card p {
            color: var(--text-secondary);
            line-height: 1.6;
            font-size: 0.95rem;
        }

        .team-social {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 20px;
            margin-bottom: 24px;
        }

        .team-social a {
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            text-decoration: none;
            transition: var(--transition);
        }

        .team-social a:hover {
            background: var(--gradient-primary);
            transform: translateY(-3px);
        }

        /* Registration Section with Advanced Form */
        .registration {
            padding: 120px 0;
            background: var(--light-bg);
        }

        .registration-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .registration-form {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 48px;
            backdrop-filter: blur(20px);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin-bottom: 24px;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-group.full-width {
            grid-column: 1 / -1;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-primary);
            font-weight: 600;
            font-size: 14px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 16px 20px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            color: var(--text-primary);
            font-family: 'Vazirmatn', sans-serif;
            font-size: 16px;
            transition: var(--transition);
        }

        .form-group select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: left 12px center;
            background-size: 20px;
            padding-left: 40px;
        }

        .form-group select option {
            background: var(--dark-bg);
            color: var(--text-primary);
            padding: 12px;
            border: none;
        }

        .form-group select option:hover,
        .form-group select option:focus {
            background: var(--primary-color);
            color: white;
        }

        .form-group select option:checked {
            background: var(--primary-color);
            color: white;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        /* Contact Section with Split Layout */
        .contact {
            padding: 120px 0;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: start;
        }

        .contact-info {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 48px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 32px;
        }

        .contact-item:last-child {
            margin-bottom: 0;
        }

        .contact-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .contact-text h4 {
            color: var(--text-primary);
            font-weight: 700;
            margin-bottom: 8px;
            font-size: 1.1rem;
        }

        .contact-text p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Footer with Advanced Layout */
        .footer {
            background: var(--light-bg);
            border-top: 1px solid var(--border-color);
            padding: 80px 0 40px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 60px;
            margin-bottom: 60px;
        }

        .footer-brand {
            max-width: 350px;
        }

        .footer-brand .logo {
            margin-bottom: 20px;
        }

        .footer-brand p {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .footer-section h3 {
            color: var(--text-primary);
            font-weight: 700;
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 15px;
        }

        .footer-links a:hover {
            color: var(--primary-color);
        }

        .social-links {
            display: flex;
            gap: 16px;
        }

        .social-link {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.2rem;
        }

        .social-link:hover {
            background: var(--gradient-primary);
            transform: translateY(-2px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 40px;
            border-top: 1px solid var(--border-color);
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
        }

        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 8px;
            transition: var(--transition);
            border-radius: 8px;
        }

        .mobile-menu-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 9999;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-100%);
            transition: var(--transition);
        }

        .mobile-menu.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .mobile-menu-close {
            position: absolute;
            top: 30px;
            right: 30px;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 2rem;
            cursor: pointer;
            padding: 10px;
            border-radius: 50%;
            transition: var(--transition);
        }

        .mobile-menu-close:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(90deg);
        }

        .mobile-nav-links {
            list-style: none;
            text-align: center;
            padding: 0;
            margin: 0;
        }

        .mobile-nav-links li {
            margin: 20px 0;
            opacity: 0;
            transform: translateY(30px);
            transition: var(--transition);
        }

        .mobile-menu.active .mobile-nav-links li {
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
        .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
        .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
        .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
        .mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }
        .mobile-nav-links li:nth-child(6) { transition-delay: 0.6s; }

        .mobile-nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 1.5rem;
            font-weight: 600;
            padding: 15px 30px;
            border-radius: 12px;
            display: block;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .mobile-nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .mobile-nav-links a:hover::before {
            left: 100%;
        }

        .mobile-nav-links a:hover {
            color: var(--primary-color);
            background: rgba(0, 212, 255, 0.1);
            transform: scale(1.05);
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .container {
                padding: 0 30px;
            }

            .hero h1 {
                font-size: 4rem;
            }

            .section-title {
                font-size: 3rem;
            }
        }

        @media (max-width: 1024px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 60px;
                text-align: center;
            }

            .hero-robot {
                width: 400px;
                height: 400px;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 60px;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }

            .services-grid[data-count="3"],
            .services-grid[data-count="4"],
            .services-grid[data-count="5"],
            .services-grid[data-count="6"] {
                grid-template-columns: 1fr 1fr;
            }

            .services-grid[data-count="4"] .service-card:nth-child(4) {
                grid-column: auto;
            }

            .projects-grid {
                grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            }

            .team-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .nav-cta {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .container {
                padding: 0 20px;
            }

            .hero {
                padding-top: 100px;
            }

            .hero h1 {
                font-size: 2.8rem;
                line-height: 1.2;
            }

            .section-title {
                font-size: 2.2rem;
            }

            .hero-robot {
                width: 280px;
                height: 280px;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .btn-primary,
            .btn-secondary {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }

            .services-grid[data-count] {
                grid-template-columns: 1fr !important;
                max-width: none !important;
            }

            .projects-grid,
            .team-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .service-card,
            .project-card,
            .team-card,
            .registration-form,
            .contact-info {
                padding: 32px 24px;
            }

            .section-header {
                margin-bottom: 60px;
            }

            .services,
            .projects,
            .team,
            .registration,
            .contact {
                padding: 80px 0;
            }

            .hero-badge {
                font-size: 12px;
                padding: 6px 12px;
            }

            .hero p {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .hero-robot {
                width: 240px;
                height: 240px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .stat-number {
                font-size: 2.5rem;
            }

            .service-icon {
                width: 70px;
                height: 70px;
                font-size: 2rem;
            }

            .team-avatar {
                width: 100px;
                height: 100px;
                font-size: 2rem;
            }

            .mobile-nav-links a {
                font-size: 1.3rem;
                padding: 12px 25px;
            }

            .header {
                padding: 15px 0;
            }

            .logo {
                font-size: 24px;
            }
        }

        /* Loading States */
        .loading {
            opacity: 0.6;
            pointer-events: none;
            position: relative;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid var(--primary-color);
            border-top: 2px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Success Messages */
        .success-message {
            background: rgba(0, 212, 255, 0.1);
            border: 1px solid rgba(0, 212, 255, 0.3);
            color: var(--primary-color);
            padding: 16px 20px;
            border-radius: 12px;
            margin-top: 20px;
            text-align: center;
            font-weight: 500;
        }

        .error-message {
            background: rgba(255, 107, 107, 0.1);
            border: 1px solid rgba(255, 107, 107, 0.3);
            color: var(--accent-color);
            padding: 16px 20px;
            border-radius: 12px;
            margin-top: 20px;
            text-align: center;
            font-weight: 500;
        }

        /* Scroll Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Theme Toggle Button */
        .theme-toggle {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid var(--border-color);
            border-radius: 50px;
            padding: 4px;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            margin-left: 20px;
        }

        .theme-toggle:hover {
            border-color: rgba(0, 212, 255, 0.5);
            box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
            transform: scale(1.05);
        }

        .theme-toggle-track {
            width: 60px;
            height: 30px;
            position: relative;
            border-radius: 25px;
            background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(138, 43, 226, 0.2));
            transition: var(--transition);
        }

        .theme-toggle-thumb {
            width: 26px;
            height: 26px;
            background: var(--gradient-primary);
            border-radius: 50%;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        .theme-icon {
            position: absolute;
            font-size: 14px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-icon.sun {
            opacity: 0;
            transform: rotate(180deg) scale(0.5);
        }

        .theme-icon.moon {
            opacity: 1;
            transform: rotate(0deg) scale(1);
        }

        /* Light Theme Styles */
        body.light-theme {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            color: #1a202c;
        }

        body.light-theme .header {
            background: rgba(248, 250, 252, 0.98);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        body.light-theme .logo {
            color: #1a202c;
        }

        body.light-theme .nav-links a {
            color: rgba(26, 32, 44, 0.8);
        }

        body.light-theme .nav-links a:hover {
            color: #1a202c;
        }

        body.light-theme .hero {
            background: 
                radial-gradient(ellipse 800px 600px at 20% 40%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse 600px 800px at 80% 60%, rgba(138, 43, 226, 0.06) 0%, transparent 50%),
                linear-gradient(135deg, rgba(0, 212, 255, 0.02) 0%, rgba(138, 43, 226, 0.02) 100%);
        }

        body.light-theme .hero::before {
            background: 
                repeating-linear-gradient(
                    90deg,
                    transparent,
                    transparent 98px,
                    rgba(0, 212, 255, 0.05) 100px
                ),
                repeating-linear-gradient(
                    0deg,
                    transparent,
                    transparent 98px,
                    rgba(138, 43, 226, 0.05) 100px
                );
        }

        body.light-theme .hero h1 {
            color: #1a202c;
        }

        body.light-theme .hero p {
            color: rgba(26, 32, 44, 0.7);
        }

        body.light-theme .section-title {
            color: #1a202c;
        }

        body.light-theme .section-subtitle {
            color: rgba(26, 32, 44, 0.7);
        }

        body.light-theme .team-social a {
            background: rgb(219 222 224);
        }

        body.light-theme .fa-github .fa-linkedin .fa-twitter {
            color: rgb(0, 0, 0);
        }

        body.light-theme .btn-secondary {
            color: rgb(0, 0, 0);
            background: rgba(0, 0, 0, 0.116);
        }

        body.light-theme .stats {
            background: rgba(0, 0, 0, 0.02);
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        body.light-theme .stat-label {
            color: rgba(26, 32, 44, 0.7);
        }

        body.light-theme .service-card,
        body.light-theme .project-card,
        body.light-theme .team-card,
        body.light-theme .registration-form,
        body.light-theme .contact-info {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(20px);
        }

        body.light-theme .service-card:hover,
        body.light-theme .project-card:hover,
        body.light-theme .team-card:hover {
            background: rgba(255, 255, 255, 0.95);
            border-color: rgba(0, 212, 255, 0.3);
        }

        body.light-theme .service-card h3,
        body.light-theme .project-content h3,
        body.light-theme .team-card h3,
        body.light-theme .contact-text h4 {
            color: #1a202c;
        }

        body.light-theme .service-card p,
        body.light-theme .project-content p,
        body.light-theme .team-card p,
        body.light-theme .contact-text p {
            color: rgba(26, 32, 44, 0.7);
        }

        body.light-theme .projects {
            background: rgba(0, 0, 0, 0.02);
        }

        body.light-theme .registration {
            background: rgba(0, 0, 0, 0.02);
        }

        body.light-theme .form-group input,
        body.light-theme .form-group select,
        body.light-theme .form-group textarea {
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: #1a202c;
        }

        body.light-theme .form-group select option {
            background: #1a202c;
            color: #ffffff;
            padding: 12px;
            border: none;
        }

        body.light-theme .form-group select option:hover,
        body.light-theme .form-group select option:focus {
            background: var(--primary-color);
            color: white;
        }

        body.light-theme .form-group select option:checked {
            background: var(--primary-color);
            color: white;
        }

        body.light-theme .form-group input:focus,
        body.light-theme .form-group select:focus,
        body.light-theme .form-group textarea:focus {
            background: rgba(255, 255, 255, 0.95);
            border-color: var(--primary-color);
        }

        body.light-theme .form-group input::placeholder,
        body.light-theme .form-group textarea::placeholder {
            color: rgba(26, 32, 44, 0.5);
        }

        body.light-theme .form-group label {
            color: #1a202c;
        }

        body.light-theme .footer {
            background: rgba(248, 250, 252, 0.8);
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }

        body.light-theme .footer-brand p,
        body.light-theme .footer-links a {
            color: rgba(26, 32, 44, 0.7);
        }

        body.light-theme .footer-section h3 {
            color: #1a202c;
        }

        body.light-theme .footer-links a:hover {
            color: var(--primary-color);
        }

        body.light-theme .footer-bottom {
            color: rgba(26, 32, 44, 0.5);
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }

        body.light-theme .social-link {
            background: rgba(0, 0, 0, 0.1);
            color: #1a202c;
        }

        body.light-theme .theme-toggle {
            background: rgba(0, 0, 0, 0.1);
            border-color: rgba(0, 0, 0, 0.2);
        }

        body.light-theme .theme-toggle-track {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 152, 0, 0.3));
        }

        body.light-theme .theme-toggle-thumb {
            transform: translateX(32px);
            background: linear-gradient(135deg, #ffc107, #ff9800);
        }

        body.light-theme .theme-icon.sun {
            opacity: 1;
            transform: rotate(0deg) scale(1);
        }

        body.light-theme .theme-icon.moon {
            opacity: 0;
            transform: rotate(-180deg) scale(0.5);
        }

        /* Theme Transition Animation */
        body {
            transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
        }

        .header,
        .hero,
        .stats,
        .services,
        .projects,
        .registration,
        .contact,
        .footer,
        .service-card,
        .project-card,
        .team-card,
        .registration-form,
        .contact-info,
        .form-group input,
        .form-group select,
        .form-group textarea {
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Advanced Animations */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }

        @keyframes pulse {
            0%, 100% { 
                opacity: 0.3;
                transform: scale(1);
            }
            50% { 
                opacity: 0.6;
                transform: scale(1.1);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Particles Background */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--primary-color);
            border-radius: 50%;
            opacity: 0.5;
            animation: floatParticle 15s infinite linear;
        }

        @keyframes floatParticle {
            0% {
                transform: translateY(100vh) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 0.5;
            }
            90% {
                opacity: 0.5;
            }
            100% {
                transform: translateY(-100vh) translateX(100px);
                opacity: 0;
            }
        }

        /* Loading Animation */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--dark-bg);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loader-circle {
            width: 50px;
            height: 50px;
            border: 3px solid var(--border-color);
            border-top: 3px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 1000;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        }

        /* Notification Toast */
        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 16px 24px;
            color: var(--text-primary);
            font-weight: 500;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 1001;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .toast.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .toast.success {
            border-color: rgba(0, 212, 255, 0.3);
            background: rgba(0, 212, 255, 0.1);
        }

        .toast.error {
            border-color: rgba(255, 107, 107, 0.3);
            background: rgba(255, 107, 107, 0.1);
        }

        /* Service Card Status Badge */
        .service-card {
            position: relative;
        }

        .service-card .status-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            z-index: 2;
        }

        .service-card .status-badge.active {
            background: rgba(74, 222, 128, 0.8);
        }

        .service-card .status-badge.upcoming {
            background: rgba(251, 191, 36, 0.8);
        }

        .service-card .status-badge.completed {
            background: rgba(255, 107, 107, 0.8);
        }

        .service-card .service-link.disabled {
            color: var(--text-secondary);
            cursor: not-allowed;
            text-decoration: none;
        }