/* Lumnalyze custom design system */

:root {
    --color-bg: #0A0A0A;
    --color-blue: #3B82F6;
    --color-purple: #8B5CF6;
    --color-cyan: #06B6D4;
}

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

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--color-blue), var(--color-purple));
}

/* Base Body Styles */
body {
    background-color: var(--color-bg);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-hover:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
    transform: translateY(-2px);
}

/* Glowing Neon Elements */
.glow-cyan {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.glow-purple {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.glow-blue {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.glow-text-cyan {
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Custom Animation Keyframes */
@keyframes spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

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

/* Reveal Transitions (Scroll-triggered animations) */
.reveal-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Custom Styling for Select drop-downs */
select::-ms-expand {
    display: none;
}

select {
    color-scheme: dark;
}

/* Interactive SVG flow pipeline line styling */
.pipeline-pulse {
    stroke-dasharray: 8, 8;
    animation: pipelineDash 30s linear infinite;
}

@keyframes pipelineDash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Styling active steps in the philosophy workflow */
.pipeline-step {
    transition: all 0.5s ease;
}

.pipeline-step.active-step {
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
    transform: scale(1.02);
}

/* Flow data nodes animation sparkles */
@keyframes sparkFlow {
    0% {
        stroke-dashoffset: 24;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.spark-line {
    stroke-dasharray: 6, 18;
    animation: sparkFlow 2s linear infinite;
}

/* Custom CSS overrides for Prose markdown tags */
.prose h2, .prose h3 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.prose p {
    margin-bottom: 1.5rem;
}
