/* Additional custom styles for marketing site */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Prevent layout shift during font loading and initial render */
html {
    scroll-behavior: auto !important; /* Override smooth scrolling that can cause position drift */
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrollbar issues */
}

/* Custom animations */
@keyframes background-float {
    0%, 100% { 
        transform: translate(0px, 0px) rotate(0deg); 
    }
    33% { 
        transform: translate(30px, -50px) rotate(120deg); 
    }
    66% { 
        transform: translate(-20px, 20px) rotate(240deg); 
    }
}

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

/* Note: smooth scrolling disabled to prevent layout shift */

/* Focus improvements */
a:focus,
button:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* Custom gradient text */
.gradient-text {
    background: linear-gradient(to right, #2563EB, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button styles */
.btn-primary {
    background: linear-gradient(to right, #2563EB, #1D4ED8);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, #1D4ED8, #1E40AF);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Responsive text */
@media (max-width: 640px) {
    .text-responsive-lg {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}