/* ANZ Digital Dubai - Premium Corporate & POS Software Stylesheet */

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(13, 110, 253, 0.4); }
    50% { box-shadow: 0 0 30px rgba(245, 166, 35, 0.6); }
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes waveBar {
    0%, 100% { height: 6px; }
    50% { height: 28px; }
}

.animate-pulse-glow {
    animation: pulseGlow 4s infinite;
}

.animate-float-slow {
    animation: floatElement 5s ease-in-out infinite;
}

/* Glassmorphism Styles */
.glass-nav {
    background: rgba(4, 13, 26, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-dark {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-dark:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(13, 110, 253, 0.5);
    box-shadow: 0 12px 40px -10px rgba(13, 110, 253, 0.25);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #F5A623 0%, #FFD074 50%, #F5A623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blue-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #0D6EFD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* POS Device Frames */
.pos-screen-frame {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #0f1d31;
    border: 6px solid #1e293b;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(13, 110, 253, 0.2);
}

@media (min-width: 768px) {
    .pos-screen-frame {
        border-width: 8px;
    }
}

.pos-phone-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    background: #000;
    border: 6px solid #2d3748;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.pos-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 14px;
    background: #2d3748;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 20;
}

/* Audio Player Wave Bars */
.wave-bar {
    width: 3px;
    background: #F5A623;
    border-radius: 9999px;
    display: inline-block;
    height: 8px;
    transition: height 0.2s ease;
}

.playing .wave-bar:nth-child(1) { animation: waveBar 1s infinite ease-in-out 0.1s; }
.playing .wave-bar:nth-child(2) { animation: waveBar 1s infinite ease-in-out 0.25s; }
.playing .wave-bar:nth-child(3) { animation: waveBar 1s infinite ease-in-out 0.4s; }
.playing .wave-bar:nth-child(4) { animation: waveBar 1s infinite ease-in-out 0.15s; }
.playing .wave-bar:nth-child(5) { animation: waveBar 1s infinite ease-in-out 0.3s; }
.playing .wave-bar:nth-child(6) { animation: waveBar 1s infinite ease-in-out 0.5s; }
.playing .wave-bar:nth-child(7) { animation: waveBar 1s infinite ease-in-out 0.2s; }
.playing .wave-bar:nth-child(8) { animation: waveBar 1s infinite ease-in-out 0.35s; }

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #040D1A;
}
::-webkit-scrollbar-thumb {
    background: #1e3a63;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0D6EFD;
}

/* Modal Backdrop */
.modal-overlay {
    background: rgba(4, 13, 26, 0.88);
    backdrop-filter: blur(8px);
}

/* Mobile-Friendly Adjustments */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Mobile Sticky Bottom CTA Bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(3, 10, 20, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 45;
    padding: 0.6rem 1rem;
}

@media (min-width: 1024px) {
    .mobile-bottom-bar {
        display: none;
    }
}

/* Touch friendly minimum click areas */
button, a {
    touch-action: manipulation;
}
