/* ==============================================================================
 * Xenax Cloud Corporate Style Sheet
 * Configures transitions, custom scrollbars, animations, and high-tech backdrops.
 * ============================================================================== */

/* Glassmorphism panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.dark .glass-panel {
    background: rgba(18, 17, 32, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.08);
}

/* Custom UI Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.dark ::-webkit-scrollbar-track {
    background: #080710;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Infinite Marquee Loop (Client logo list) */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Tech server rack layout scanning grids */
.grid-overlay {
    background-size: 35px 35px;
    background-image: 
        linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
}

.dark .grid-overlay {
    background-image: 
        linear-gradient(to right, rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
}

/* Terminal line cursor */
@keyframes blink {
    50% { opacity: 0; }
}
.terminal-cursor {
    animation: blink 0.9s step-end infinite;
}

/* Theme body settings */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* High-tech pulsing server light simulations */
@keyframes cyan-glow {
    0%, 100% { filter: drop-shadow(0 0 1px rgba(0, 240, 255, 0.5)); opacity: 0.7; }
    50% { filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.95)); opacity: 1; }
}

@keyframes blue-glow {
    0%, 100% { filter: drop-shadow(0 0 1px rgba(0, 76, 255, 0.5)); opacity: 0.7; }
    50% { filter: drop-shadow(0 0 8px rgba(0, 76, 255, 0.95)); opacity: 1; }
}

.neon-glow-cyan {
    animation: cyan-glow 2.5s infinite ease-in-out;
}

.neon-glow-blue {
    animation: blue-glow 3.5s infinite ease-in-out;
}

/* Neon border glow classes */
.neon-border-cyan {
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    transition: all 0.3s ease;
}
.neon-border-cyan:hover {
    border-color: rgba(0, 240, 255, 0.7) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.neon-border-blue {
    border-color: rgba(38, 126, 246, 0.3) !important;
    box-shadow: 0 0 10px rgba(38, 126, 246, 0.15);
    transition: all 0.3s ease;
}
.neon-border-blue:hover {
    border-color: rgba(38, 126, 246, 0.7) !important;
    box-shadow: 0 0 15px rgba(38, 126, 246, 0.4);
}

/* Neon text glow classes */
.neon-text-cyan {
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}
.neon-text-blue {
    text-shadow: 0 0 8px rgba(38, 126, 246, 0.5);
}

/* Custom premium hover glowing cards */
.neon-card {
    transition: all 0.3s ease;
}
.dark .neon-card:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.12), inset 0 0 8px rgba(0, 240, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.25) !important;
}

/* Neon pulsers for buttons */
@keyframes neon-pulse-cyan {
    0%, 100% { box-shadow: 0 0 8px rgba(0, 240, 255, 0.25); }
    50% { box-shadow: 0 0 18px rgba(0, 240, 255, 0.55); }
}
.neon-btn-cyan {
    animation: neon-pulse-cyan 2s infinite ease-in-out;
}
