/* Animations & Effects */

/* Fade In Up */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.animate-fade.visible {
    opacity: 1;
}

/* Delays */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* AI Orb Animation */
.ai-orb {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(0, 78, 146, 0.5) 70%, transparent 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 50px var(--accent-color);
    animation: pulse 4s infinite ease-in-out;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; box-shadow: 0 0 80px var(--accent-color); }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
}

/* Audio Waves */
.wave-container {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    border: 2px solid rgba(0, 198, 255, 0.5);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    animation: wave-animation 4s infinite linear;
}

.wave:nth-child(2) { animation-delay: 1.3s; }
.wave:nth-child(3) { animation-delay: 2.6s; }

@keyframes wave-animation {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Mockup Screen (AXONCAST Dashboard) */
.mockup-container {
    perspective: 1000px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mockup-screen {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: #0f172a;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border: 1px solid #334155;
    position: relative;
    overflow: hidden;
}

.mockup-screen:hover {
    transform: rotateY(0) rotateX(0);
}

.screen-header {
    height: 30px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 0.7rem;
    color: #94a3b8;
    font-family: monospace;
}

.screen-body {
    padding: 20px;
    position: relative;
}

/* Simulated Graph */
.graph-line {
    height: 100px;
    width: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(0, 198, 255, 0.2) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.graph-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.stats-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.stat-box {
    flex: 1;
    height: 60px;
    background: #1e293b;
    border-radius: 5px;
    animation: load-stat 2s infinite ease-in-out alternate;
}

.stat-box:nth-child(2) { animation-delay: 0.5s; }
.stat-box:nth-child(3) { animation-delay: 1s; }

@keyframes load-stat {
    0% { opacity: 0.5; }
    100% { opacity: 1; background: #334155; }
}

/* Parallax Element */
.parallax-element {
    transition: transform 0.1s linear; /* Smooth movement for JS parallax */
}
