/* Operations Mode Styles */
/* These styles activate when body has 'operations-mode' class */

/* Enhanced styling for operations mode */
.operations-mode .hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
}

.operations-mode .hero-title {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.8)); }
}

/* Operations query examples styling */
.query-example {
    border-left: 4px solid #3b82f6;
    font-size: 14px;
    transition: all 0.3s ease;
}

.query-example:hover {
    border-left-color: #1d4ed8;
    transform: translateX(4px);
}

.operations-response-area {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Operations mode indicators */
.operations-mode::before {
    content: "🔧 Operations Mode Active";
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 9998;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Enhanced feature cards in operations mode */
.operations-mode .feature-card-content {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

/* Operations demo section specific styles */
#operations-demo-section .bg-white {
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

#operations-demo-section .bg-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Terminal-style response area */
#operations-response {
    font-family: 'Source Code Pro', 'Monaco', 'Menlo', monospace;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
    position: relative;
}

#operations-response::before {
    content: '● ● ●';
    position: absolute;
    top: 8px;
    left: 12px;
    color: #6b7280;
    font-size: 12px;
}

/* Knowledge integration section enhancements */
#knowledge-integration-section {
    position: relative;
    overflow: hidden;
}

#knowledge-integration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Smooth transitions for mode switching */
.hero-title, .hero-subtitle, .hero-description,
.ai-assistant-title, .ai-assistant-description,
.feature-card-content {
    transition: all 0.5s ease-in-out;
}

/* Operations mode toggle button animations */
#operations-toggle {
    animation: fadeInRight 0.5s ease-out;
}

#operations-toggle:hover {
    transform: scale(1.05);
    background: #374151;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading states for operations queries */
.animate-pulse {
    animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Mobile responsive operations mode */
@media (max-width: 768px) {
    .operations-mode::before {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    #operations-demo-section .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .operations-response-area {
        margin-top: 1rem;
    }
    
    #operations-response {
        height: 200px;
        font-size: 12px;
    }
}

/* Print styles - hide operations mode indicators */
@media print {
    .operations-mode::before,
    #operations-toggle {
        display: none !important;
    }
}