body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Background gradient */
.bg-sparkle-gradient {
    background: linear-gradient(135deg, #FFD700, #FF69B4, #9932CC, #00BFFF);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Hero text animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
    /* Start hidden */
}

/* Button bounce animation */
@keyframes bounceIn {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.animate-cta-pulse {
    animation: bounceIn 2s infinite ease-in-out;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.7);
    /* Pink glow */
}

.animate-cta-pulse:hover {
    animation: none;
    /* Stop pulse on hover */
    box-shadow: 0 0 30px rgba(255, 105, 180, 1);
}

/* Card tilt effect */
.card-tilt:hover {
    transform: translateY(-5px) rotate(2deg) scale(1.02);
}

/* Carousel specific styles */
.carousel-container {
    overflow: hidden;
    position: relative;
    max-width: 900px;
    /* Adjust as needed */
    margin: 0 auto;
}

.carousel-slide-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: fit-content;
    /* Allow content to dictate width */
}

.carousel-item {
    flex: 0 0 auto;
    /* Prevent items from shrinking */
    width: 100%;
    /* Each item takes full width of the container */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #6a0dad;
    /* Purple */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    z-index: 10;
}

.carousel-button:hover {
    background-color: white;
    color: #ff69b4;
    /* Pink */
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* Animation for testimonial/screenshot fade */
.carousel-content-wrapper.fading {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.carousel-content-wrapper.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Specific styles for mobile screenshots */
.mobile-screenshot-container {
    width: 250px;
    /* Fixed width for the mobile device frame */
    height: 480px;
    /* Fixed height for the mobile device frame */
    background-color: #333;
    /* Dark background for phone bezel */
    border-radius: 30px;
    /* Rounded corners for the phone */
    padding: 10px;
    /* Inner padding for the screen */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    /* Hide overflow of image */
}

.mobile-screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the entire screen area */
    border-radius: 20px;
    /* Slightly rounded corners for the screen itself */
}

.mobile-screenshot-caption {
    font-size: 0.875rem;
    margin-top: 5px;
    text-align: center;
}

/* Recent Claims Sticky Section Styles */
.recent-claims-container {
    position: fixed;
    bottom: 1rem;
    /* Equivalent to bottom-4 */
    left: 1rem;
    /* Equivalent to left-4 */
    background-color: rgba(255, 255, 255, 0.95);
    /* Slightly transparent white */
    padding: 0.75rem 1rem;
    /* Equivalent to p-3, px-4 */
    border-radius: 0.5rem;
    /* Equivalent to rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Equivalent to shadow-lg */
    z-index: 50;
    /* Ensure it's on top */
    font-size: 0.875rem;
    /* Equivalent to text-sm */
    color: #4a5568;
    /* Equivalent to text-gray-700 */
    font-weight: 600;
    /* Equivalent to font-semibold */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    /* Start hidden for fade-in */
    pointer-events: none;
    /* Disable interactions when hidden */
    transform: translateX(-100%);
    /* Start off-screen for slide-in */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    /* Smooth transition for reveal */
    min-width: 280px;
    /* Ensure it's wide enough for messages */
    max-width: 90%;
    /* Responsive width */
}

.recent-claims-message {
    transition: opacity 0.5s ease-in-out;
}

.recent-claims-message.fade-out {
    opacity: 0;
}

.recent-claims-message.fade-in {
    opacity: 1;
}

/* Skeleton Loader Styles */
.skeleton {
    background-color: #e2e8f0;
    /* Light gray */
    background: linear-gradient(90deg, #e2e8f0 25%, #edf2f7 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.25rem;
    /* rounded-sm */
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-circle {
    border-radius: 9999px;
    /* rounded-full */
}

/* Specific skeleton heights/widths */
.skeleton-text-lg {
    height: 1.5rem;
    width: 80%;
}

.skeleton-text-md {
    height: 1.25rem;
    width: 60%;
}

.skeleton-text-sm {
    height: 1rem;
    width: 40%;
}

.skeleton-image-mobile {
    width: 100%;
    height: 100%;
}

/* Adjusted to fill parent */
.skeleton-image-avatar {
    width: 96px;
    height: 96px;
}

/* w-24 h-24 */
.skeleton-button {
    height: 40px;
    width: 120px;
}

/* Corrected layout for screenshot skeleton loader */
#screenshot-carousel-section-container .carousel-container {
    display: flex;
    flex-direction: column;
    /* Ensure vertical stacking */
    align-items: center;
    justify-content: center;
}

#screenshot-carousel-section-container .mobile-screenshot-container {
    width: 250px;
    height: 480px;
    display: flex;
    /* Ensure flex for centering */
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* Maintain inner padding */
}

#screenshot-carousel-section-container .mobile-screenshot-container .skeleton {
    width: 100%;
    /* Fill the inner screen area */
    height: 100%;
    /* Fill the inner screen area */
}