/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.hero-bg {
    background: linear-gradient(120deg, #e0f2fe 0%, #ede9fe 100%);
}

/* Card animations */
.feature-card {
    transition: all 0.3s ease;
}

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

.stats-card {
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.use-case-card {
    transition: all 0.3s ease;
}

.use-case-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Button styles */
.btn-primary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(124, 58, 237, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(124, 58, 237, 0.4);
}

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

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

/* Section dividers */
.section-divider {
    height: 100px;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
}

/* Process steps */
.process-step {
    position: relative;
}

.process-step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 60px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: #2563eb;
}

@media (max-width: 768px) {
    .process-step:not(:last-child):after {
        display: none;
    }
}

/* Navigation active state */
.nav-link {
    transition: all 0.3s ease;
}

.nav-link.active {
    border-color: #2563eb !important;
    color: #1f2937 !important;
}

.nav-link.active:hover {
    border-color: #2563eb !important;
    color: #1f2937 !important;
}

/* Contact button active state */
.nav-link[href="#contact"].active {
    background-color: #1d4ed8 !important;
    border-color: transparent !important;
    color: white !important;
}

.nav-link[href="#contact"].active:hover {
    background-color: #1e40af !important;
    border-color: transparent !important;
    color: white !important;
}

/* Mobile menu active state */
.mobile-nav-link.active {
    background-color: #eff6ff !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
}

/* Particle animations */
.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #2563eb, #7c3aed);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.particle-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}

.particle-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.particle-5 {
    width: 50px;
    height: 50px;
    top: 80%;
    left: 60%;
    animation-delay: 4s;
}

/* Form styles */
.form-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* FAQ styles */
.faq-item button {
    transition: all 0.3s ease;
}

.faq-item button:hover {
    background-color: #f8fafc;
}

.faq-item button i {
    transition: transform 0.3s ease;
}

.faq-item button[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-bg {
        background: linear-gradient(120deg, #e0f2fe 0%, #ede9fe 100%);
    }

    .particle {
        display: none;
    }
}

/* Loading animation */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .nav-link,
    .mobile-nav-link,
    .btn-primary,
    .btn-secondary {
        border: none !important;
        background: none !important;
        color: #000 !important;
    }

    .particle {
        display: none !important;
    }
}