/* Explain: Styles for UI components, animations, and premium effects. */
@keyframes attention-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(1);
    }
}

.btn-attention {
    animation: attention-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes float-subtle {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
.animate-float-1 { animation: float-subtle 6s ease-in-out infinite; }
.animate-float-2 { animation: float-subtle 7.5s ease-in-out infinite reverse; }
.animate-float-3 { animation: float-subtle 5s ease-in-out infinite; }

/* --- Premium UI / UX Classes --- */

/* Modern Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    border: none;
    color: #fff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-gradient:hover {
    background: linear-gradient(135deg, #ff8c42 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Pro UI Glass Card */
.glass-card {
    background: linear-gradient(145deg, rgba(22, 27, 34, 0.6) 0%, rgba(13, 17, 23, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 102, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Vibrant Icon Box */
.icon-box-vibrant {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.01) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- High-Tech Scroll Reveals --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-50 { transition-delay: 50ms; }
.reveal-delay-75 { transition-delay: 75ms; }
.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-150 { transition-delay: 150ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-225 { transition-delay: 225ms; }
.reveal-delay-300 { transition-delay: 300ms; }
.reveal-delay-400 { transition-delay: 400ms; }
.reveal-delay-500 { transition-delay: 500ms; }
.reveal-delay-600 { transition-delay: 600ms; }
.reveal-delay-700 { transition-delay: 700ms; }
.reveal-delay-800 { transition-delay: 800ms; }

/* Hero Specific Load Animations */
@keyframes hero-slide-up {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.animate-hero-1 { animation: hero-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s; opacity: 0; }
.animate-hero-2 { animation: hero-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s; opacity: 0; }
.animate-hero-3 { animation: hero-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s; opacity: 0; }
.animate-hero-4 { animation: hero-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s; opacity: 0; }
.animate-hero-5 { animation: hero-slide-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s; opacity: 0; }

/* Preloader Animations */
@keyframes loading-bar {
    0% { width: 0%; }
    20% { width: 30%; }
    50% { width: 60%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

[data-anim="Tech Pulse"] {
    animation: tech-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.6));
}
@keyframes tech-pulse {
    0% { transform: scale(0.95); opacity: 0.8; filter: drop-shadow(0 0 10px rgba(255,102,0,0.4)); }
    50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 25px rgba(255,102,0,0.8)); }
    100% { transform: scale(0.95); opacity: 0.8; filter: drop-shadow(0 0 10px rgba(255,102,0,0.4)); }
}

[data-anim="Cyber Glitch"] {
    animation: cyber-glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
}
@keyframes cyber-glitch {
    0% { transform: translate(0); filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.6)); }
    20% { transform: translate(-3px, 3px); filter: drop-shadow(0 0 25px rgba(255, 102, 0, 0.9)); }
    40% { transform: translate(-3px, -3px); filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.6)); }
    60% { transform: translate(3px, 3px); filter: drop-shadow(0 0 25px rgba(255, 102, 0, 0.9)); }
    80% { transform: translate(3px, -3px); filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.6)); }
    100% { transform: translate(0); filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.6)); }
}

[data-anim="Smooth Fade"] {
    animation: smooth-fade 2s infinite alternate;
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.6));
}
@keyframes smooth-fade {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

[data-anim="Zoom Reveal"] {
    animation: zoom-reveal 2s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}
@keyframes zoom-reveal {
    0% { transform: scale(0.7); opacity: 0; filter: drop-shadow(0 0 0 rgba(255,102,0,0)); }
    100% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 25px rgba(255,102,0,0.6)); }
}

[data-anim="Neon Spin"] {
    animation: neon-spin 3s linear infinite;
}
@keyframes neon-spin {
    0% { transform: rotate(0deg); filter: drop-shadow(0 0 10px rgba(255,102,0,0.4)); }
    50% { filter: drop-shadow(0 0 25px rgba(255,102,0,0.8)); }
    100% { transform: rotate(360deg); filter: drop-shadow(0 0 10px rgba(255,102,0,0.4)); }
}

[data-anim="Quantum Ripple"] {
    animation: quantum-ripple 2s ease-out infinite;
}
@keyframes quantum-ripple {
    0% { transform: scale(0.9); filter: drop-shadow(0 0 0 rgba(255,102,0,0.8)); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 30px rgba(255,102,0,0)); opacity: 0; }
}

[data-anim="Holographic Build"] {
    animation: holo-build 1.5s steps(5, end) infinite alternate;
}
@keyframes holo-build {
    0% { opacity: 0.5; filter: hue-rotate(0deg) drop-shadow(0 0 10px rgba(255,102,0,0.5)); transform: skewX(0deg); }
    50% { opacity: 1; filter: hue-rotate(15deg) drop-shadow(0 0 20px rgba(255,102,0,0.8)); transform: skewX(-5deg); }
    100% { opacity: 0.8; filter: hue-rotate(-15deg) drop-shadow(0 0 10px rgba(255,102,0,0.5)); transform: skewX(5deg); }
}

[data-anim="Data Matrix"] {
    animation: data-matrix 0.5s steps(2) infinite;
}
@keyframes data-matrix {
    0% { transform: scale(1) translate(0); filter: brightness(1); }
    50% { transform: scale(1.02) translate(1px, -1px); filter: brightness(1.2) contrast(1.2); }
    100% { transform: scale(0.98) translate(-1px, 1px); filter: brightness(0.9); }
}

[data-anim="Neon Flicker"] { animation: neon-flicker 3s infinite; }
@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.8)); }
    20%, 22%, 24%, 55% { opacity: 0.4; filter: drop-shadow(0 0 2px rgba(255, 102, 0, 0.2)); }
}

[data-anim="Warp Speed"] { animation: warp-speed 1.5s cubic-bezier(0.17, 0.89, 0.32, 1.28) infinite alternate; }
@keyframes warp-speed {
    0% { transform: scale(1) skewX(0); filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5)); }
    100% { transform: scale(1.3) skewX(-15deg); filter: drop-shadow(20px 0 20px rgba(0, 255, 255, 0.8)) drop-shadow(-20px 0 20px rgba(255, 0, 255, 0.8)); }
}

[data-anim="Digital Pulse"] { animation: digital-pulse 1s steps(1) infinite; }
@keyframes digital-pulse {
    0% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 5px rgba(255,102,0,0.5)); }
    25% { transform: scale(1.1); filter: brightness(1.3) drop-shadow(0 0 20px rgba(255,102,0,0.9)); }
    50% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 5px rgba(255,102,0,0.5)); }
    75% { transform: scale(1.05); filter: brightness(1.2) drop-shadow(0 0 15px rgba(255,102,0,0.7)); }
}

[data-anim="Holographic Spin"] { animation: holo-spin 4s linear infinite; }
@keyframes holo-spin {
    0% { transform: rotateY(0deg); filter: hue-rotate(0deg) drop-shadow(0 0 15px rgba(0,255,255,0.6)); }
    50% { filter: hue-rotate(180deg) drop-shadow(0 0 25px rgba(255,0,255,0.8)); }
    100% { transform: rotateY(360deg); filter: hue-rotate(360deg) drop-shadow(0 0 15px rgba(0,255,255,0.6)); }
}

[data-anim="Cyber Scan"] { animation: cyber-scan 2s ease-in-out infinite alternate; }
@keyframes cyber-scan {
    0% { transform: translateY(-10px); filter: drop-shadow(0 15px 5px rgba(0,255,100,0.6)); opacity: 0.8; }
    100% { transform: translateY(10px); filter: drop-shadow(0 -15px 5px rgba(0,255,100,0.6)); opacity: 1; }
}

[data-anim="Plasma Glow"] { animation: plasma-glow 3s ease-in-out infinite alternate; }
@keyframes plasma-glow {
    0% { filter: drop-shadow(0 0 10px #ff6600) drop-shadow(0 0 20px #ff6600); transform: scale(0.95); }
    50% { filter: drop-shadow(0 0 15px #ff00ff) drop-shadow(0 0 30px #ff00ff); transform: scale(1.02); }
    100% { filter: drop-shadow(0 0 20px #00ffff) drop-shadow(0 0 40px #00ffff); transform: scale(1.05); }
}

[data-anim="Synthetic Breathe"] { animation: synth-breathe 4s ease-in-out infinite; }
@keyframes synth-breathe {
    0% { transform: scale(0.9) rotate(-2deg); opacity: 0.7; filter: blur(1px) drop-shadow(0 0 5px rgba(255,102,0,0.3)); }
    50% { transform: scale(1.1) rotate(2deg); opacity: 1; filter: blur(0px) drop-shadow(0 0 25px rgba(255,102,0,0.8)); }
    100% { transform: scale(0.9) rotate(-2deg); opacity: 0.7; filter: blur(1px) drop-shadow(0 0 5px rgba(255,102,0,0.3)); }
}

[data-anim="Quantum Drift"] { animation: quantum-drift 5s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes quantum-drift {
    0% { transform: translate(0, 0) scale(1) skew(0deg); opacity: 1; filter: drop-shadow(0 0 10px rgba(255,102,0,0.5)); }
    33% { transform: translate(15px, -10px) scale(1.05) skew(5deg); opacity: 0.8; filter: drop-shadow(-10px 10px 15px rgba(0,255,255,0.5)); }
    66% { transform: translate(-10px, 15px) scale(0.95) skew(-5deg); opacity: 0.9; filter: drop-shadow(10px -10px 15px rgba(255,0,255,0.5)); }
    100% { transform: translate(0, 0) scale(1) skew(0deg); opacity: 1; filter: drop-shadow(0 0 10px rgba(255,102,0,0.5)); }
}

[data-anim="Neural Link"] { animation: neural-link 0.8s infinite; }
@keyframes neural-link {
    0% { transform: scale(1); filter: brightness(1) hue-rotate(0deg); }
    10%, 30% { transform: scale(1.02); filter: brightness(1.2) hue-rotate(15deg); }
    20%, 40% { transform: scale(0.98); filter: brightness(0.9) hue-rotate(-15deg); }
    50%, 100% { transform: scale(1); filter: brightness(1) hue-rotate(0deg); }
}

[data-anim="Hyperdrive"] { animation: hyperdrive 2s cubic-bezier(0.8, 0, 0.2, 1) infinite; }
@keyframes hyperdrive {
    0% { transform: scale(0.5) translateZ(-500px); opacity: 0; filter: blur(10px); }
    50% { transform: scale(1.5) translateZ(200px); opacity: 1; filter: blur(0px) drop-shadow(0 0 30px rgba(255,102,0,1)); }
    100% { transform: scale(0.5) translateZ(-500px); opacity: 0; filter: blur(10px); }
}

/* --- Marquee Animation --- */
.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 3rem;
}
.marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 3rem;
    min-width: 100%;
    animation: scroll-x 12s linear infinite;
}
@keyframes scroll-x {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 3rem)); }
}