/* Futuristic Style Enhancement CSS */

/* Data Flow Effect */
.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
}

.data-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 5px rgba(79, 70, 229, 0.5);
    opacity: 0.6;
    mix-blend-mode: screen;
}

/* Node Styles */
.node {
    filter: drop-shadow(0 0 3px currentColor);
    transform-origin: center;
    animation: pulse 3s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}

.glow-effect {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
    animation: fadeInOut 4s infinite;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* Neon Text Effect */
.neon-text {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 
        0 0 5px rgba(79, 70, 229, 0.5),
        0 0 10px rgba(79, 70, 229, 0.3),
        0 0 15px rgba(79, 70, 229, 0.2);
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.neon-blue {
    color: rgba(59, 130, 246, 0.9);
    text-shadow: 
        0 0 5px rgba(59, 130, 246, 0.5),
        0 0 10px rgba(59, 130, 246, 0.3),
        0 0 15px rgba(59, 130, 246, 0.2);
}

.neon-indigo {
    color: rgba(79, 70, 229, 0.9);
    text-shadow: 
        0 0 5px rgba(79, 70, 229, 0.5),
        0 0 10px rgba(79, 70, 229, 0.3),
        0 0 15px rgba(79, 70, 229, 0.2);
}

.neon-purple {
    color: rgba(139, 92, 246, 0.9);
    text-shadow: 
        0 0 5px rgba(139, 92, 246, 0.5),
        0 0 10px rgba(139, 92, 246, 0.3),
        0 0 15px rgba(139, 92, 246, 0.2);
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shimmer 4s infinite;
    background-size: 50% 100%;
    background-repeat: no-repeat;
}

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

/* Breathing Effect */
.breathe {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

/* Advanced Gradient Border */
.gradient-border {
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(to right, var(--gradient-blue), var(--gradient-indigo));
    z-index: -1;
    opacity: 0.7;
}

/* Dynamic Gradient Border */
.gradient-border-animated {
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.gradient-border-animated::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg, 
        var(--gradient-blue), 
        var(--gradient-indigo), 
        var(--gradient-purple), 
        var(--gradient-indigo), 
        var(--gradient-blue));
    background-size: 300% auto;
    animation: gradientFlow 8s ease infinite;
    z-index: -1;
    opacity: 0.6;
}

/* Advanced Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: inherit;
    background: radial-gradient(circle, 
        rgba(79, 70, 229, 0.3) 0%, 
        rgba(79, 70, 229, 0) 70%);
    z-index: -1;
    opacity: 0.6;
    filter: blur(10px);
    mix-blend-mode: screen;
}

/* Dynamic Glow Effect */
.glow-effect-animated {
    position: relative;
}

.glow-effect-animated::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: inherit;
    background: radial-gradient(circle, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(59, 130, 246, 0) 70%);
    z-index: -1;
    opacity: 0.6;
    filter: blur(10px);
    animation: glowChange 8s ease infinite alternate;
    mix-blend-mode: screen;
}

@keyframes glowChange {
    0% {
        background: radial-gradient(circle, 
            rgba(59, 130, 246, 0.3) 0%, 
            rgba(59, 130, 246, 0) 70%);
        opacity: 0.5;
    }
    50% {
        background: radial-gradient(circle, 
            rgba(79, 70, 229, 0.3) 0%, 
            rgba(79, 70, 229, 0) 70%);
        opacity: 0.6;
    }
    100% {
        background: radial-gradient(circle, 
            rgba(139, 92, 246, 0.3) 0%, 
            rgba(139, 92, 246, 0) 70%);
        opacity: 0.5;
    }
}

/* Enhanced AI Visualization */
.ai-sphere {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-core {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--gradient-blue), var(--gradient-indigo));
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.3);
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.sphere-core::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.5) 0%, 
        rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(3px);
    opacity: 0.4;
    mix-blend-mode: screen;
}

.sphere-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-1 {
    width: 150px;
    height: 150px;
    border: 1px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(to right, var(--gradient-blue), var(--gradient-indigo)) border-box;
    animation: rotate 25s linear infinite;
    opacity: 0.7;
}

.ring-2 {
    width: 220px;
    height: 220px;
    border: 1px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(to right, var(--gradient-indigo), var(--gradient-purple)) border-box;
    animation: rotate 40s linear infinite reverse;
    opacity: 0.6;
}

.ring-3 {
    width: 280px;
    height: 280px;
    border: 1px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                linear-gradient(to right, var(--gradient-purple), var(--gradient-pink)) border-box;
    animation: rotate 55s linear infinite;
    opacity: 0.5;
}

/* Connection Path Animation */
.connection-path {
    fill: none;
    stroke: url(#connection-gradient);
    stroke-width: 0.75;
    stroke-dasharray: 5, 10;
    opacity: 0.4;
    filter: drop-shadow(0 0 2px rgba(79, 70, 229, 0.3));
    mix-blend-mode: screen;
}

/* Enhanced Feature Items */
.feature-item {
    transition: all 0.4s ease;
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, 
        rgba(59, 130, 246, 0.05), 
        rgba(79, 70, 229, 0.05));
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.feature-item:hover::before {
    transform: translateX(0);
}

/* Enhanced Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-indigo));
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
}

.status-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: radial-gradient(circle, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    mix-blend-mode: screen;
}

/* Enhanced Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-indigo));
    transition: all 0.4s ease;
    opacity: 0.9;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-indigo), var(--gradient-purple));
    transition: left 0.4s ease;
    z-index: -1;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.2);
    opacity: 1;
}

.btn-primary:hover::before {
    left: 0;
    opacity: 1;
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.4s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(3px);
}

/* Mysterious Mist Effect */
.mist-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 30% 30%, 
        rgba(79, 70, 229, 0.05) 0%, 
        rgba(79, 70, 229, 0) 60%),
        radial-gradient(circle at 70% 70%, 
        rgba(139, 92, 246, 0.05) 0%, 
        rgba(139, 92, 246, 0) 60%);
    filter: blur(30px);
    animation: mist 15s ease-in-out infinite;
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.5;
    z-index: -1;
}

@keyframes mist {
    0% {
        filter: blur(20px);
        opacity: 0.3;
    }
    50% {
        filter: blur(30px);
        opacity: 0.5;
    }
    100% {
        filter: blur(20px);
        opacity: 0.3;
    }
}

/* Cosmic Dust Effect */
.cosmic-dust {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        radial-gradient(1px 1px at 20% 50%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        radial-gradient(1px 1px at 30% 30%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        radial-gradient(1px 1px at 50% 20%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        radial-gradient(1px 1px at 60% 40%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        radial-gradient(1px 1px at 70% 90%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
        radial-gradient(1px 1px at 90% 10%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 100%;
    opacity: 0.3;
    pointer-events: none;
    z-index: -2;
}

/* Nebula Effect */
.nebula-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0) 30%),
        radial-gradient(circle at 70% 60%, rgba(79, 70, 229, 0.05) 0%, rgba(79, 70, 229, 0) 30%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0) 40%);
    filter: blur(40px);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.4;
    z-index: -3;
}

/* Holographic Effect */
.holographic {
    position: relative;
    overflow: hidden;
}

.holographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 60%,
        rgba(255, 255, 255, 0) 100%);
    background-size: 200% 200%;
    animation: holographicShift 5s ease infinite;
    mix-blend-mode: overlay;
    pointer-events: none;
}

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .ai-sphere {
        width: 200px;
        height: 200px;
    }
    
    .sphere-core {
        width: 60px;
        height: 60px;
    }
    
    .ring-1 {
        width: 100px;
        height: 100px;
    }
    
    .ring-2 {
        width: 150px;
        height: 150px;
    }
    
    .ring-3 {
        width: 190px;
        height: 190px;
    }
}

