/* Custom UI Styles for Payos - Premium Fintech Look */

/* Colors & Gradients */
:root {
    --payos-blue: #2563eb;
    --payos-navy: #02042a;
    --payos-indigo: #4f46e5;
    --payos-slate: #64748b;
}

/* Animations */
@keyframes scrollLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(40px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-scroll-left {
    animation: scrollLeft 40s linear infinite;
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-soft 4s ease-in-out infinite;
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Scroll Reveal Helper */
.reveal-on-scroll {
    opacity: 0;
}

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

/* Premium Gradient for CTA */
.premium-gradient {
    background: linear-gradient(135deg, #02042a 0%, #0a0c3d 100%);
}

/* Section Backgrounds */
.bg-mesh {
    background: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(79, 70, 229, 0.05) 0px, transparent 50%);
}

/* Glassmorphism Refinement */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.1);
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Product Feature Hover */
.feature-link {
    position: relative;
    padding-bottom: 2px;
}

.feature-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.feature-link:hover::after {
    width: 100%;
}

/* Section Spacing */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
}

/* Image Containment */
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-container:hover img {
    transform: scale(1.05);
}
