/* Custom Premium Styles for SmartFlota Landing Page */

/* Custom Animations */
@keyframes scan {
    0% { top: 0%; opacity: 0.8; }
    50% { top: 100%; opacity: 0.8; }
    100% { top: 0%; opacity: 0.8; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }
    50% { box-shadow: 0 0 25px rgba(0, 229, 255, 0.6); }
}

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

@keyframes cursor-blink {
    50% { border-color: transparent }
}

/* AI Scan Line */
.scan-line {
    height: 4px;
    background: linear-gradient(90deg, transparent, #00e5ff, #0d46f2, #00e5ff, transparent);
    position: absolute;
    width: 100%;
    z-index: 10;
    animation: scan 4s linear infinite;
    box-shadow: 0 0 10px #00e5ff;
}

/* Premium Glow Cards */
.glow-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glow-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.15), 
                0 1px 1px 0 rgba(255, 255, 255, 0.05) inset;
    transform: translateY(-4px);
}

.glow-card-danger:hover {
    border-color: rgba(244, 63, 94, 0.3);
    box-shadow: 0 10px 30px -10px rgba(244, 63, 94, 0.15);
    transform: translateY(-4px);
}

/* Slider Before/After */
.before-after-container {
    position: relative;
    overflow: hidden;
    user-select: none;
}
.before-after-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.before-after-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.before-after-slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #00e5ff;
    cursor: ew-resize;
    z-index: 20;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}
.before-after-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #050a15;
    border: 2px solid #00e5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    font-size: 12px;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Glassmorphism custom components */
.glass-premium {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(5, 10, 21, 0.8) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Typing cursor */
.typing-cursor::after {
    content: '|';
    animation: cursor-blink 0.8s infinite;
    font-weight: 200;
}

/* Floating animation */
.float-element {
    animation: float 6s ease-in-out infinite;
}

/* Custom Scrollbar for modern web apps */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #050a15;
}
::-webkit-scrollbar-thumb {
    background: rgba(13, 70, 242, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0d46f2;
}