/* Custom CSS for the Detox Juice Landing Page */

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #10B981 0%, #F97316 100%);
    position: relative;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill="none"><circle cx="200" cy="200" r="100" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="800" r="150" fill="rgba(255,255,255,0.05)"/><circle cx="900" cy="300" r="80" fill="rgba(255,255,255,0.08)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

/* Offer gradient background */
.offer-gradient {
    background: linear-gradient(135deg, #F97316 0%, #DC2626 100%);
    position: relative;
}

.offer-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" fill="none"><polygon points="100,100 200,50 300,150 200,200" fill="rgba(255,255,255,0.1)"/><polygon points="700,600 850,550 900,700 750,750" fill="rgba(255,255,255,0.08)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
}

.mx-auto {
    margin-bottom: 2rem;
}

/* CTA Button hover effects */
.cta-button {
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px) scale(1.02);
}

/* WhatsApp message styling */
.whatsapp-message {
    margin-bottom: 1rem;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Benefit items animation */
.benefit-item {
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
}

/* Transformation cards */
.transformation-card {
    transition: all 0.3s ease;
}

.transformation-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Video container styling */
.video-container {
    transition: all 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10B981, #F97316);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #047857, #DC2626);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-gradient h2 {
        font-size: 1.25rem;
    }
    
    .cta-button {
        font-size: 1.125rem;
        padding: 1rem 2rem;
    }
    
    .whatsapp-message {
        margin-bottom: 1.5rem;
    }
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Pulse animation for important elements */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

/* Text gradient effects */
.text-gradient {
    background: linear-gradient(135deg, #10B981, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Box shadow utilities */
.shadow-vibrant {
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.shadow-orange {
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.2);
}

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

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


/* Success states */
.success-indicator {
    background: linear-gradient(135deg, #10B981, #047857);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Price strikethrough effect */
.line-through {
    position: relative;
}

.line-through::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: currentColor;
    transform: rotate(-5deg);
}

/* Call-to-action section enhancements */
.cta-section {
    background: linear-gradient(135deg, #10B981 0%, #F97316 50%, #DC2626 100%);
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
}

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