/* Enhanced AI Brain Preloader Styles */
#preloader {
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Enhanced Logo Styles - Clean and Professional */
.nav-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.footer-logo {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.1));
}

/* Enhanced Services Cards Text Visibility */
.service-card-enhanced {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.service-card-enhanced h3 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.service-card-enhanced p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* AI Brain Loader Animations */
.brain-outline-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: brainDraw 3s ease-in-out forwards, brainPulse 2s ease-in-out infinite 3s;
}

.brain-divider {
    animation: brainPulse 2s ease-in-out infinite;
}

.neural-connections path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: neuralFlow 4s ease-in-out infinite;
}

.neural-path-1 { animation-delay: 0.5s; }
.neural-path-2 { animation-delay: 1s; }
.neural-path-3 { animation-delay: 1.5s; }
.neural-path-4 { animation-delay: 2s; }

.neural-node {
    animation: nodeGlow 2s ease-in-out infinite;
}

.node-1 { animation-delay: 0.1s; }
.node-2 { animation-delay: 0.2s; }
.node-3 { animation-delay: 0.3s; }
.node-4 { animation-delay: 0.4s; }
.node-5 { animation-delay: 0.5s; }
.node-6 { animation-delay: 0.6s; }
.node-7 { animation-delay: 0.7s; }
.node-8 { animation-delay: 0.8s; }

.brain-core-node {
    animation: coreGlow 1.5s ease-in-out infinite;
}

.data-particle {
    animation: particleFlow 3s ease-in-out infinite;
}

.particle-1 { animation-delay: 0s; }
.particle-2 { animation-delay: 0.5s; }
.particle-3 { animation-delay: 1s; }
.particle-4 { animation-delay: 1.5s; }
.particle-5 { animation-delay: 2s; }
.particle-6 { animation-delay: 2.5s; }

.ai-floating-element {
    animation: floatAI 4s ease-in-out infinite;
}

.ai-1 { animation-delay: 0s; }
.ai-2 { animation-delay: 0.7s; }
.ai-3 { animation-delay: 1.4s; }
.ai-4 { animation-delay: 2.1s; }
.ai-5 { animation-delay: 2.8s; }
.ai-6 { animation-delay: 3.5s; }

.animate-logo-pulse {
    animation: logoPulse 2s ease-in-out infinite;
}

.circuit-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.line-h-1 {
    top: 20%;
    left: 0;
    width: 100%;
    height: 2px;
    animation: circuitH 4s ease-in-out infinite;
}

.line-h-2 {
    top: 80%;
    left: 0;
    width: 100%;
    height: 2px;
    animation: circuitH 4s ease-in-out infinite 2s;
}

.line-v-1 {
    left: 20%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #6600ff, transparent);
    animation: circuitV 4s ease-in-out infinite 1s;
}

.line-v-2 {
    left: 80%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #0099ff, transparent);
    animation: circuitV 4s ease-in-out infinite 3s;
}

@keyframes brainDraw {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes brainPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes neuralFlow {
    0% {
        stroke-dashoffset: 100;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -100;
        opacity: 0.3;
    }
}

@keyframes nodeGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
        filter: drop-shadow(0 0 8px currentColor);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        filter: drop-shadow(0 0 16px currentColor);
    }
}

@keyframes coreGlow {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
        filter: drop-shadow(0 0 12px #00d4ff);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        filter: drop-shadow(0 0 24px #00d4ff);
    }
}

@keyframes particleFlow {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    25% {
        opacity: 1;
        transform: translateY(-50px) scale(1);
    }
    75% {
        opacity: 1;
        transform: translateY(-100px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px) scale(0.5);
    }
}

@keyframes floatAI {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

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

@keyframes circuitH {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes circuitV {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.ai-step {
    transition: opacity 0.5s ease;
}

/* Neural Network Nodes */
.neural-nodes {
    position: absolute;
    inset: 0;
}

.node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #00f5ff, #0080ff);
    border-radius: 50%;
    animation: node-pulse 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 30%; animation-delay: 0s; }
.node-2 { top: 25%; right: 25%; animation-delay: 0.3s; }
.node-3 { top: 50%; left: 20%; animation-delay: 0.6s; }
.node-4 { top: 55%; right: 20%; animation-delay: 0.9s; }
.node-5 { bottom: 30%; left: 35%; animation-delay: 1.2s; }
.node-6 { bottom: 25%; right: 30%; animation-delay: 1.5s; }
.node-7 { top: 40%; left: 50%; animation-delay: 1.8s; }
.node-8 { bottom: 45%; right: 45%; animation-delay: 2.1s; }

@keyframes node-pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 5px #00f5ff; 
    }
    50% { 
        transform: scale(1.5); 
        box-shadow: 0 0 15px #00f5ff, 0 0 25px #0080ff; 
    }
}

/* Neural Connections */
.neural-connections {
    position: absolute;
    inset: 0;
}

.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00f5ff, transparent);
    animation: connection-flow 3s ease-in-out infinite;
}

.connection-1 { 
    top: 22%; left: 33%; width: 40%; 
    transform: rotate(15deg); 
    animation-delay: 0s; 
}
.connection-2 { 
    top: 52%; left: 25%; width: 50%; 
    transform: rotate(-10deg); 
    animation-delay: 0.6s; 
}
.connection-3 { 
    bottom: 32%; left: 40%; width: 35%; 
    transform: rotate(25deg); 
    animation-delay: 1.2s; 
}
.connection-4 { 
    top: 42%; left: 45%; width: 30%; 
    transform: rotate(-45deg); 
    animation-delay: 1.8s; 
}
.connection-5 { 
    bottom: 47%; right: 50%; width: 25%; 
    transform: rotate(60deg); 
    animation-delay: 2.4s; 
}

@keyframes connection-flow {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

/* Brain Core */
.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #8000ff, #0080ff);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: core-pulse 1.5s ease-in-out infinite;
}

@keyframes core-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 10px #8000ff;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 0 0 20px #8000ff, 0 0 30px #0080ff;
    }
}

/* Logo Pulse in Brain */
.logo-pulse {
    animation: logo-glow-pulse 2s ease-in-out infinite;
}

@keyframes logo-glow-pulse {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(255,255,255,0.8));
        transform: scale(1.05);
    }
}

/* Typewriter Effect */
.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 2px solid #00f5ff;
    white-space: nowrap;
    animation: typewriter 3s steps(30) infinite, cursor-blink 1s infinite;
}

@keyframes typewriter {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes cursor-blink {
    0%, 50% { border-color: #00f5ff; }
    51%, 100% { border-color: transparent; }
}

/* Loading Dots */
.loading-dots::after {
    content: '';
    animation: loading-dots 2s infinite;
}

@keyframes loading-dots {
    0%, 20% { content: ''; }
    25% { content: '.'; }
    45% { content: '..'; }
    65% { content: '...'; }
    80%, 100% { content: ''; }
}

/* Background Particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00f5ff;
    border-radius: 50%;
    animation: particle-float 10s linear infinite;
}

.particle-1 { left: 10%; animation-delay: 0s; }
.particle-2 { left: 20%; animation-delay: 2s; }
.particle-3 { left: 40%; animation-delay: 4s; }
.particle-4 { left: 60%; animation-delay: 6s; }
.particle-5 { left: 80%; animation-delay: 8s; }
.particle-6 { left: 90%; animation-delay: 1s; }

@keyframes particle-float {
    0% { 
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Hero Section Animations */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    animation: shape-float 20s linear infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00f5ff, #8000ff);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 0s;
}

.shape-2 {
    top: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #f59e0b, #00f5ff);
    border-radius: 50%;
    animation-delay: 5s;
}

.shape-3 {
    bottom: 30%;
    left: 20%;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #8000ff, #f59e0b);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation-delay: 10s;
}

.shape-4 {
    bottom: 15%;
    right: 25%;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #00f5ff, #2563eb);
    transform: rotate(45deg);
    animation-delay: 15s;
}

.shape-5 {
    top: 50%;
    right: 5%;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #f59e0b, #8000ff);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation-delay: 7s;
}

@keyframes shape-float {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(-15px) rotate(270deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Grid Pattern */
.grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 30s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orb-float 15s ease-in-out infinite;
}

.orb-1 {
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,245,255,0.3), transparent);
    animation-delay: 0s;
}

.orb-2 {
    top: 60%;
    right: 20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(128,0,255,0.3), transparent);
    animation-delay: 5s;
}

.orb-3 {
    bottom: 10%;
    left: 50%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(245,158,11,0.3), transparent);
    animation-delay: 10s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Enhanced Logo Styles */
.nav-logo {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.nav-logo:hover {
    transform: scale(1.1) rotate(3deg);
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.3));
}

/* Continuous Logo Animation */
.logo-continuous-animation {
    animation: logo-continuous-glow 4s ease-in-out infinite, logo-gentle-float 6s ease-in-out infinite;
}

@keyframes logo-continuous-glow {
    0%, 100% {
        filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.3)) 
                drop-shadow(0 0 20px rgba(245, 158, 11, 0.2));
    }
    25% {
        filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.4)) 
                drop-shadow(0 0 30px rgba(37, 99, 235, 0.3));
    }
    50% {
        filter: drop-shadow(0 8px 20px rgba(139, 92, 246, 0.4)) 
                drop-shadow(0 0 40px rgba(245, 158, 11, 0.3));
    }
    75% {
        filter: drop-shadow(0 6px 16px rgba(16, 185, 129, 0.4)) 
                drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
    }
}

@keyframes logo-gentle-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-3px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-2px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-4px) rotate(-1deg); 
    }
}

/* Responsive Logo Animations */
@media (max-width: 768px) {
    .logo-continuous-animation {
        animation: logo-continuous-glow 6s ease-in-out infinite, logo-gentle-float 8s ease-in-out infinite;
    }
    
    @keyframes logo-gentle-float {
        0%, 100% { 
            transform: translateY(0px) rotate(0deg); 
        }
        50% { 
            transform: translateY(-2px) rotate(0deg); 
        }
    }
}

/* Hero Logo Enhancements */
.hero-logo {
    animation: hero-logo-glow 4s ease-in-out infinite alternate;
}

.glow-effect {
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.5));
}

.hover-scale:hover {
    transform: scale(1.05) rotate(2deg);
}

@keyframes hero-logo-glow {
    0% {
        filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.8)) drop-shadow(0 0 60px rgba(0, 245, 255, 0.3));
    }
}

/* Text Reveal Animation */
.text-reveal {
    animation: text-reveal 1s ease-out 0.5s both;
}

@keyframes text-reveal {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animated Gradient Text */
.gradient-text-animated {
    background: linear-gradient(-45deg, #f59e0b, #fbbf24, #f97316, #f59e0b);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

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

/* Slide Up Animation */
.animate-slide-up {
    animation: slide-up 1s ease-out 1s both;
}

@keyframes slide-up {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced Button Styles */
.btn-primary-enhanced {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-enhanced:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px) scale(1.05);
}

.btn-primary-enhanced:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary-enhanced {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-enhanced:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
}

/* Floating Icons Enhanced */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    opacity: 0.15;
    transition: all 0.3s ease;
}

.icon-1 {
    top: 15%;
    left: 8%;
    animation: float 6s ease-in-out infinite;
}

.icon-2 {
    top: 25%;
    right: 12%;
    animation: float-delayed 6s ease-in-out infinite 2s;
}

.icon-3 {
    bottom: 25%;
    left: 15%;
    animation: float 6s ease-in-out infinite 4s;
}

.icon-4 {
    top: 45%;
    right: 8%;
    animation: float-delayed 6s ease-in-out infinite 1s;
}

.icon-5 {
    bottom: 15%;
    right: 35%;
    animation: float 6s ease-in-out infinite 3s;
}

/* Service Cards Enhanced */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1)) border-box;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-card:hover .fas {
    animation: icon-bounce 0.6s ease;
    color: #f59e0b;
}

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

/* Technology Cards Enhanced */
.tech-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.03);
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

/* Navigation Enhancements */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #f59e0b);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: #2563eb;
    transform: translateY(-2px);
}

/* Contact Form Enhancements */
.form-input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 25px -5px rgba(37, 99, 235, 0.2),
        0 0 0 3px rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

/* Loading States Enhanced */
.loading-enhanced {
    position: relative;
    overflow: hidden;
}

.loading-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.2), 
        rgba(245, 158, 11, 0.2), 
        transparent);
    animation: shimmer-enhanced 2s infinite;
}

@keyframes shimmer-enhanced {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Scroll Indicator */
.scroll-indicator {
    animation: scroll-bounce 2s infinite;
}

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .nav-logo {
        height: 3rem;
    }
    
    .hero-logo {
        height: 5rem;
    }
    
    .geometric-shape {
        opacity: 0.05;
    }
    
    .floating-icon {
        opacity: 0.08;
    }
    
    .btn-primary-enhanced,
    .btn-secondary-enhanced {
        padding: 0.75rem 1.5rem;
    }
}

/* Dark Mode Support Enhanced */
@media (prefers-color-scheme: dark) {
    .service-card {
        background: linear-gradient(#1f2937, #1f2937) padding-box,
                    linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(245, 158, 11, 0.2)) border-box;
    }
    
    .tech-item:hover {
        background: linear-gradient(135deg, #374151, #4b5563);
    }
}

/* High Performance Mode */
@media (prefers-reduced-motion: no-preference) {
    .performance-animation {
        will-change: transform, opacity;
        transform: translateZ(0);
    }
}

/* Additional Animations */
@keyframes particle-fade {
    0% { 
        opacity: 1; 
        transform: scale(0) rotate(0deg); 
    }
    100% { 
        opacity: 0; 
        transform: scale(1.5) rotate(180deg); 
    }
}

@keyframes float-up {
    0% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(-100vh) rotate(360deg); 
        opacity: 0; 
    }
}

@keyframes ripple {
    0% { 
        width: 0; 
        height: 0; 
        opacity: 1; 
    }
    100% { 
        width: 200px; 
        height: 200px; 
        opacity: 0; 
    }
}

@keyframes click-expand {
    0% { 
        transform: translate(-50%, -50%) scale(0); 
        opacity: 1; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(4); 
        opacity: 0; 
    }
}

@keyframes counter-complete {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: #f59e0b; }
    100% { transform: scale(1); }
}

@keyframes logo-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Logo Styles */
.logo-container {
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-image {
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo-image:hover {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

/* Hero Logo Animation */
.hero-logo {
    animation: logo-glow 3s ease-in-out infinite alternate;
}

@keyframes logo-glow {
    0% {
        filter: brightness(0) invert drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
    }
    100% {
        filter: brightness(0) invert drop-shadow(0 0 20px rgba(245, 158, 11, 0.6));
    }
}

/* Navigation Logo Enhancements */
.nav-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover {
    transform: rotate(5deg) scale(1.1);
}

/* Footer Logo Styles */
.footer-logo {
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1);
    filter: brightness(0) invert drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Logo Loading Animation */
.logo-loading {
    opacity: 0;
    transform: scale(0.8);
    animation: logo-fade-in 0.8s ease forwards;
}

@keyframes logo-fade-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo Image Quality Enhancement */
.logo-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

/* Logo Accessibility */
.logo-image:focus {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Logo Print Styles */
@media print {
    .hero-logo,
    .nav-logo {
        filter: grayscale(100%);
    }
}

/* Enhanced Logo Container for Different Sections */
.logo-hero-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.logo-hero-container:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05) rotate(2deg);
}

/* Brand Text Enhancement */
.brand-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.brand-text:hover {
    background: linear-gradient(135deg, #1e40af, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo Responsive Adjustments */
@media (max-width: 768px) {
    .nav-logo {
        height: 2rem;
    }
    
    .hero-logo {
        height: 4rem;
    }
    
    .footer-logo {
        height: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-hero-container {
        padding: 1rem;
    }
    
    .hero-logo {
        height: 3rem;
    }
}
* {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
}

/* Custom Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 6s ease-in-out infinite 2s;
}

.animate-slide-in-left {
    animation: slide-in-left 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slide-in-right 0.8s ease-out;
}

.animate-bounce-in {
    animation: bounce-in 0.6s ease-out;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Service Card Hover Effects */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Technology Card Styles */
.tech-item {
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-2px);
    background-color: #f1f5f9;
}

/* Hero Section Gradient Animation */
#home {
    background: linear-gradient(-45deg, #2563eb, #1e40af, #7c3aed, #2563eb);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

/* Loading Animation for Cards */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Button Hover Effects */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

/* Section Reveal Animation */
.section-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Form Styles */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
}

/* Mobile Menu Animation */
.mobile-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.open {
    max-height: 300px;
}

/* Stats Counter Animation */
.stat-number {
    transition: all 0.3s ease;
}

.stat-number:hover {
    transform: scale(1.1);
    color: #f59e0b;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Custom Focus Styles */
.focus-visible:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Glow Effect */
.card-glow:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .auto-dark {
        background-color: #0f172a;
        color: #f8fafc;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Custom Utilities */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.transform-gpu {
    transform: translateZ(0);
}

/* Interactive Elements */
.interactive:hover {
    cursor: pointer;
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Enhanced Typography for Hero Section */
.text-reveal {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #dbeafe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    position: relative;
}

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
}

/* Enhanced gradient text animation */
.gradient-text-animated {
    background: linear-gradient(45deg, #f59e0b, #fbbf24, #f97316, #ea580c);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Professional Software House Typography */
.zentorilabs-main {
    font-family: 'Orbitron', 'Poppins', sans-serif;
    position: relative;
}

.brand-zentori {
    color: #000000 !important;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3),
                 0 0 18px rgba(0, 0, 0, 0.15),
                 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: -0.01em;
    position: relative;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
}

.brand-labs {
    color: #f97316 !important;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 30%, #ea580c 70%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.4),
                 0 0 18px rgba(249, 115, 22, 0.2),
                 0 2px 4px rgba(249, 115, 22, 0.3);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: -0.01em;
    position: relative;
    filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.5));
    animation: orange-gradient-flow 4s ease-in-out infinite;
}

.private-limited-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #f59e0b;
    text-shadow: 0 0 6px rgba(245, 158, 11, 0.3),
                 0 0 12px rgba(245, 158, 11, 0.15),
                 0 1px 2px rgba(245, 158, 11, 0.2);
    filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.4));
}

@keyframes orange-gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.brand-zentori::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), transparent);
    border-radius: 10px;
    z-index: -1;
    filter: blur(20px);
}

.brand-labs::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(249, 115, 22, 0.2), transparent);
    border-radius: 10px;
    z-index: -1;
    filter: blur(25px);
}

.brand-zentori:hover, .brand-labs:hover {
    transform: translateY(-3px) scale(1.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes brand-glow {
    0%, 100% {
        filter: brightness(1) contrast(1) drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
    }
    50% {
        filter: brightness(1.08) contrast(1.03) drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    }
}

@keyframes brand-glow-orange {
    0%, 100% {
        filter: brightness(1) contrast(1) drop-shadow(0 0 5px rgba(249, 115, 22, 0.5));
    }
    50% {
        filter: brightness(1.1) contrast(1.05) drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
    }
}

.brand-zentori {
    animation: brand-glow 3s ease-in-out infinite;
    display: inline-block;
}

.brand-labs {
    animation: brand-glow-orange 3s ease-in-out infinite;
    display: inline-block;
}

/* Enhanced Services Section Styles */
.services-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card-enhanced:hover::before {
    transform: scaleX(1);
}

.service-card-enhanced:nth-child(1):hover::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
}

.service-card-enhanced:nth-child(2):hover::before {
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.8), transparent);
}

.service-card-enhanced:nth-child(3):hover::before {
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.8), transparent);
}

.service-card-enhanced:nth-child(4):hover::before {
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.8), transparent);
}

.service-card-enhanced:nth-child(5):hover::before {
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), transparent);
}

.service-card-enhanced:nth-child(6):hover::before {
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.8), transparent);
}

.service-icon-container {
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-icon-container::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-enhanced:hover .service-icon-container::after {
    opacity: 1;
}

.learn-more-btn {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

/* Staggered animation for service cards */
.service-card-enhanced:nth-child(1) {
    animation: fadeInUp 0.8s ease 0.1s both;
}

.service-card-enhanced:nth-child(2) {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.service-card-enhanced:nth-child(3) {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.service-card-enhanced:nth-child(4) {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.service-card-enhanced:nth-child(5) {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.service-card-enhanced:nth-child(6) {
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover glow effects */
.service-card-enhanced:hover {
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Background pattern animation */
@keyframes float-shapes {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Enhanced Loader Animations */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes animate-draw {
    0% { 
        stroke-dashoffset: 400; 
        opacity: 0.5;
    }
    50% { 
        stroke-dashoffset: 0; 
        opacity: 1;
    }
    100% { 
        stroke-dashoffset: -400; 
        opacity: 0.5;
    }
}

@keyframes animate-dash {
    0%, 100% { 
        stroke-dashoffset: 20; 
        opacity: 0.3;
    }
    50% { 
        stroke-dashoffset: 0; 
        opacity: 1;
    }
}

@keyframes animate-progress {
    0% { stroke-dashoffset: 283; }
    100% { stroke-dashoffset: 0; }
}

@keyframes animate-progress-fill {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

@keyframes animate-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes animation-delay-1000 {
    0% { animation-delay: 1s; }
}

@keyframes animation-delay-2000 {
    0% { animation-delay: 2s; }
}

@keyframes animate-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) rotate(5deg);
        opacity: 1;
    }
}

@keyframes animate-float-delayed {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-15px) rotate(-5deg);
        opacity: 0.8;
    }
}

/* Enhanced Loader Classes */
.animate-spin-slow {
    animation: spin-slow 4s linear infinite;
}

.animate-spin-reverse {
    animation: spin-reverse 6s linear infinite;
}

.animate-draw {
    animation: animate-draw 4s ease-in-out infinite;
}

.animate-dash {
    animation: animate-dash 2s ease-in-out infinite;
}

.animate-progress {
    animation: animate-progress 3s ease-out forwards;
}

.animate-progress-fill {
    animation: animate-progress-fill 3s ease-out forwards;
}

.animate-shimmer {
    animation: animate-shimmer 2s ease-in-out infinite;
}

.animation-delay-1000 {
    animation-delay: 1s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animate-float {
    animation: animate-float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: animate-float-delayed 8s ease-in-out infinite;
    animation-delay: 1s;
}

/* Enhanced Floating Codes */
.floating-codes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.code-snippet {
    animation: animate-float 8s ease-in-out infinite;
    filter: drop-shadow(0 0 10px currentColor);
}

.code-1 { animation-delay: 0s; }
.code-2 { animation-delay: 1s; }
.code-3 { animation-delay: 2s; }
.code-4 { animation-delay: 3s; }
.code-5 { animation-delay: 4s; }
.code-6 { animation-delay: 5s; }

/* Enhanced Grid Pattern */
.grid-pattern-loader {
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Enhanced Brain Core */
.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: brain-core-pulse 2s ease-in-out infinite;
}

@keyframes brain-core-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px currentColor;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        box-shadow: 0 0 40px currentColor;
    }
}

/* Enhanced Neural Nodes */
.node {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: node-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px currentColor;
}

@keyframes node-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Enhanced Loading Steps */
.loading-steps {
    max-width: 300px;
    margin: 0 auto;
}

.step {
    transition: all 0.5s ease;
    padding: 4px 0;
}

.step.active {
    opacity: 1 !important;
    color: #00d4ff;
    transform: translateX(5px);
}

/* Enhanced Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.particle-1 { 
    width: 6px; height: 6px; 
    top: 20%; left: 10%; 
    animation: particle-float-1 12s ease-in-out infinite; 
}
.particle-2 { 
    width: 4px; height: 4px; 
    top: 60%; right: 15%; 
    animation: particle-float-2 15s ease-in-out infinite; 
}
.particle-3 { 
    width: 8px; height: 8px; 
    bottom: 30%; left: 20%; 
    animation: particle-float-3 10s ease-in-out infinite; 
}
.particle-4 { 
    width: 5px; height: 5px; 
    top: 40%; right: 30%; 
    animation: particle-float-4 18s ease-in-out infinite; 
}
.particle-5 { 
    width: 7px; height: 7px; 
    bottom: 60%; right: 10%; 
    animation: particle-float-5 14s ease-in-out infinite; 
}
.particle-6 { 
    width: 3px; height: 3px; 
    top: 80%; left: 40%; 
    animation: particle-float-6 16s ease-in-out infinite; 
}
.particle-7 { 
    width: 6px; height: 6px; 
    top: 10%; right: 50%; 
    animation: particle-float-7 13s ease-in-out infinite; 
}
.particle-8 { 
    width: 5px; height: 5px; 
    bottom: 20%; left: 60%; 
    animation: particle-float-8 11s ease-in-out infinite; 
}

@keyframes particle-float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(30px, -40px) rotate(90deg); opacity: 0.8; }
    50% { transform: translate(-20px, -80px) rotate(180deg); opacity: 1; }
    75% { transform: translate(-50px, -40px) rotate(270deg); opacity: 0.6; }
}

@keyframes particle-float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
    33% { transform: translate(-40px, 30px) rotate(120deg); opacity: 0.9; }
    66% { transform: translate(20px, 60px) rotate(240deg); opacity: 0.7; }
}

@keyframes particle-float-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
    50% { transform: translate(60px, -100px) rotate(180deg); opacity: 1; }
}

@keyframes particle-float-4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    20% { transform: translate(-30px, 40px) rotate(72deg); opacity: 0.7; }
    40% { transform: translate(-60px, -20px) rotate(144deg); opacity: 1; }
    60% { transform: translate(-30px, -80px) rotate(216deg); opacity: 0.8; }
    80% { transform: translate(30px, -40px) rotate(288deg); opacity: 0.5; }
}

@keyframes particle-float-5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
    25% { transform: translate(-50px, -30px) rotate(90deg); opacity: 0.9; }
    50% { transform: translate(-100px, 20px) rotate(180deg); opacity: 0.6; }
    75% { transform: translate(-50px, 70px) rotate(270deg); opacity: 0.8; }
}

@keyframes particle-float-6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.2; }
    50% { transform: translate(80px, -120px) rotate(180deg); opacity: 0.9; }
}

@keyframes particle-float-7 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    33% { transform: translate(40px, 50px) rotate(120deg); opacity: 0.8; }
    66% { transform: translate(-20px, 100px) rotate(240deg); opacity: 0.6; }
}

@keyframes particle-float-8 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
    50% { transform: translate(-70px, -90px) rotate(180deg); opacity: 1; }
}

/* Enhanced Hero Section Animations */
@keyframes animate-pulse-slow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

@keyframes animate-pulse-slower {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

@keyframes animate-float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

@keyframes animate-float-orb-delayed {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-25px, 15px) scale(1.08); }
    75% { transform: translate(25px, -15px) scale(0.92); }
}

@keyframes animate-drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, -30px) rotate(180deg); }
}

@keyframes animate-drift-reverse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, 25px) rotate(-180deg); }
}

@keyframes animate-pulse-glow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

@keyframes animate-text-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
}

@keyframes animate-text-glow-delayed {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.01); }
}

@keyframes animate-text-shimmer {
    0% { opacity: 0.2; transform: translateX(-100%); }
    50% { opacity: 0.8; transform: translateX(0%); }
    100% { opacity: 0.2; transform: translateX(100%); }
}

@keyframes animate-description-glow {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.02); }
}

@keyframes animate-bounce-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes animate-pulse-ring {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

@keyframes animate-scroll-dot {
    0%, 100% { transform: translateY(0px); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0.3; }
}

@keyframes animate-fade-in-delayed {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Neural Network Lines */
.neural-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: neural-flow 8s ease-in-out infinite;
}

@keyframes neural-flow {
    0% { stroke-dashoffset: 1000; opacity: 0.2; }
    50% { stroke-dashoffset: 0; opacity: 0.8; }
    100% { stroke-dashoffset: -1000; opacity: 0.2; }
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 2s; }
.line-3 { animation-delay: 4s; }

/* Floating Code Snippets */
.floating-code-snippets {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.code-float {
    animation: code-float 12s ease-in-out infinite;
    filter: drop-shadow(0 0 10px currentColor);
}

@keyframes code-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(20px, -30px) rotate(5deg); opacity: 0.8; }
    50% { transform: translate(-15px, -60px) rotate(-3deg); opacity: 1; }
    75% { transform: translate(-25px, -30px) rotate(7deg); opacity: 0.6; }
}

.code-1 { animation-delay: 0s; }
.code-2 { animation-delay: 1.5s; }
.code-3 { animation-delay: 3s; }
.code-4 { animation-delay: 4.5s; }
.code-5 { animation-delay: 6s; }
.code-6 { animation-delay: 7.5s; }
.code-7 { animation-delay: 9s; }
.code-8 { animation-delay: 10.5s; }

/* Tech Circuit Lines */
.circuit-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.circuit-h, .circuit-v {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: circuit-flow 4s ease-in-out infinite;
}

.circuit-h {
    height: 1px;
    width: 200px;
}

.circuit-v {
    width: 1px;
    height: 200px;
    background: linear-gradient(0deg, transparent, #00d4ff, transparent);
}

.circuit-1 { top: 20%; left: 10%; animation-delay: 0s; }
.circuit-2 { bottom: 30%; right: 15%; animation-delay: 2s; }
.circuit-3 { top: 40%; right: 20%; animation-delay: 1s; }
.circuit-4 { bottom: 50%; left: 25%; animation-delay: 3s; }

@keyframes circuit-flow {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Enhanced Floating Icons */
.floating-icon {
    position: absolute;
    pointer-events: none;
    z-index: 5;
}

.icon-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(15px);
    animation: icon-glow-pulse 3s ease-in-out infinite;
}

@keyframes icon-glow-pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.icon-1 { top: 15%; left: 8%; animation-delay: 0s; }
.icon-2 { top: 25%; right: 12%; animation-delay: 1s; }
.icon-3 { bottom: 35%; left: 15%; animation-delay: 2s; }
.icon-4 { bottom: 25%; right: 18%; animation-delay: 3s; }
.icon-5 { top: 45%; left: 5%; animation-delay: 4s; }
.icon-6 { top: 60%; right: 8%; animation-delay: 5s; }
.icon-7 { bottom: 50%; left: 20%; animation-delay: 6s; }
.icon-8 { top: 35%; right: 25%; animation-delay: 7s; }

/* Hero Particle System */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #00d4ff, transparent);
    border-radius: 50%;
    animation: hero-particle-float 15s linear infinite;
}

@keyframes hero-particle-float {
    0% { 
        transform: translate(0, 100vh) rotate(0deg); 
        opacity: 0; 
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translate(0, -100px) rotate(360deg); 
        opacity: 0; 
    }
}

.p-1 { left: 10%; animation-delay: 0s; }
.p-2 { left: 25%; animation-delay: 3s; }
.p-3 { left: 45%; animation-delay: 6s; }
.p-4 { left: 65%; animation-delay: 9s; }
.p-5 { left: 80%; animation-delay: 12s; }
.p-6 { left: 90%; animation-delay: 15s; }

/* Enhanced Animation Classes */
.animate-pulse-slow {
    animation: animate-pulse-slow 4s ease-in-out infinite;
}

.animate-pulse-slower {
    animation: animate-pulse-slower 6s ease-in-out infinite;
}

.animate-float-orb {
    animation: animate-float-orb 8s ease-in-out infinite;
}

.animate-float-orb-delayed {
    animation: animate-float-orb-delayed 10s ease-in-out infinite;
}

.animate-drift {
    animation: animate-drift 12s ease-in-out infinite;
}

.animate-drift-reverse {
    animation: animate-drift-reverse 14s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: animate-pulse-glow 3s ease-in-out infinite;
}

.animate-text-glow {
    animation: animate-text-glow 4s ease-in-out infinite;
}

.animate-text-glow-delayed {
    animation: animate-text-glow-delayed 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.animate-text-shimmer {
    animation: animate-text-shimmer 6s ease-in-out infinite;
}

.animate-description-glow {
    animation: animate-description-glow 5s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: animate-bounce-slow 3s ease-in-out infinite;
}

.animate-pulse-ring {
    animation: animate-pulse-ring 2s ease-in-out infinite;
}

.animate-scroll-dot {
    animation: animate-scroll-dot 2s ease-in-out infinite;
}

.animate-fade-in-delayed {
    animation: animate-fade-in-delayed 1s ease-out 1s both;
}