/* Custom styles for enhanced user experience */

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Custom button hover effects */
button, a.bg-primary-green, a.bg-primary-orange {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

button:hover, a.bg-primary-green:hover, a.bg-primary-orange:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Custom card hover effects */
.shadow-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Pulse animation for important elements */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse-custom {
    animation: pulse 2s infinite;
}

/* Custom gradient backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.gradient-cta {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* Enhanced typography */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .text-6xl {
        font-size: 2.5rem !important;
    }
    
    .text-5xl {
        font-size: 2rem !important;
    }
    
    .text-4xl {
        font-size: 1.8rem !important;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
    }
    
    .text-2xl {
        font-size: 1.25rem !important;
    }
    
    .text-xl {
        font-size: 1.1rem !important;
    }
    
    /* Mobile button improvements */
    button, a.bg-primary-green, a.bg-primary-orange {
        font-size: 1.1rem !important;
        padding: 1rem 2rem !important;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 350px;
        text-decoration: none;
    }
    
    /* Mobile image improvements */
    .max-w-2xl {
        max-width: 100% !important;
        padding: 0 1rem;
    }
    
    img {
        width: 100%;
        height: auto;
    }
    
    /* Mobile grid improvements */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Mobile section padding */
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-16 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Mobile pricing display */
    .flex.items-center.justify-center.gap-4 {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    /* Mobile trust indicators */
    .flex.justify-center.items-center.space-x-8 {
        flex-direction: column !important;
        space-x: 0 !important;
        gap: 1rem;
    }
    
    /* Mobile testimonial improvements */
    .testimonial-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    /* Mobile bonus cards */
    .bg-white.text-gray-800.p-8 {
        padding: 1.5rem !important;
    }
    
    /* Mobile countdown and visitors */
    #visitors, #timer {
        font-size: 1rem !important;
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile specific adjustments */
    .min-h-screen {
        min-height: auto !important;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* Mobile sections spacing */
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Mobile cards padding */
    .p-8 {
        padding: 1.5rem !important;
    }
    
    /* Mobile margin adjustments */
    .mb-16 {
        margin-bottom: 2rem !important;
    }
    
    .mb-12 {
        margin-bottom: 2rem !important;
    }
    
    .mb-8 {
        margin-bottom: 1.5rem !important;
    }
}

/* Loading animation for better UX */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Enhanced focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* Custom star rating styling */
.star-rating {
    color: #fbbf24;
    font-size: 1.25rem;
}

/* Enhanced card styling */
.card-enhanced {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating animation for special elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Custom section dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
    margin: 2rem 0;
}

/* Enhanced testimonial styling */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #22c55e;
    opacity: 0.3;
    font-family: serif;
}

/* Custom guarantee seal styling */
.guarantee-seal {
    position: relative;
    display: inline-block;
}

.guarantee-seal::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #22c55e;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}
