body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%; /* Enforce width containment */
    position: relative; /* Create new stacking context */
    max-width: 100vw; /* Enforce maximum width */
}

html {
    overflow-x: hidden; /* Ensure the whole document doesn't scroll horizontally */
    width: 100%;
    max-width: 100%;
}

/* Fix for GSAP animations to prevent overflow */
section {
    overflow: hidden; /* Prevent animations from causing overflow */
    max-width: 100%; /* Ensure sections don't exceed viewport width */
}

/* Fix for fixed navbar */
nav.fixed {
    max-width: 100vw;
    width: 100%;
    left: 0;
    right: 0;
}

/* Fix for fixed elements */
.fixed {
    max-width: 100vw;
    width: 100%;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.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);
}

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

.pricing-card:hover {
    transform: scale(1.03);
}

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

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

.faq-item {
    transition: all 0.3s ease;
}

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

.faq-question i.rotate-180 {
    transform: rotate(180deg);
}

.buy-now-float {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .feature-card, .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .buy-now-float {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Custom Table Styling */
.overflow-x-auto {
    -webkit-overflow-scrolling: touch;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    position: sticky;
    top: 0;
    background-color: #f3f4f6;
    z-index: 10;
}

/* Dropdown Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer.active {
    max-height: 500px;
}

.cta-section .inline-block p {
    margin-top: 2rem;
}

/* CTA Section Styling */
.bg-grid-pattern {
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

/* Responsive adjustments for CTA features */
@media (max-width: 640px) {
    .mt-10.flex.justify-center.gap-8 {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}