/* Amika - Custom Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    width:100%;
    max-width: 100vw;
}

    /* Ensure all container elements are properly centered */
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        @media (min-width: 640px) {
            .container {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }

        @media (min-width: 1024px) {
            .container {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        /* Progress Indicator */
        .progress-indicator {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 4px;
            background: linear-gradient(90deg, #FF6B9D, #4ECDC4, #FFD93D);
            z-index: 100;
            transition: width 0.3s ease;
        }

       /* Hero Section Gradient */
        .hero-gradient {
            background: linear-gradient(135deg, 
                #FF6B9D 0%, 
                #4ECDC4 50%, 
                #FFD93D 100%);
        }

        /* Floating Animations */
        .floating {
            animation: floating 6s ease-in-out infinite;
        }

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

        @keyframes floating {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        /* Pulse Glow Effect */
        .pulse-glow {
            animation: pulse-glow 2s infinite;
        }

        @keyframes pulse-glow {
            0% {
                box-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
            }
            50% {
                box-shadow: 0 0 30px rgba(255, 107, 157, 0.6);
                transform: scale(1.02);
            }
            100% {
                box-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
            }
        }

.countdown-digit {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.benefit-card, .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover, .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Sticky CTA */
.sticky-cta {
    display: none;
}

.sticky-cta.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Chat Widget */
.chat-widget {
    z-index: 1000;
}

.chat-widget .pulse-glow {
    position: relative;
}

.chat-widget .pulse-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Chatbot Widget */
#chatbotWidget {
    max-height: 500px;
}

#chatbotMessages {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 157, 0.3) transparent;
}

#chatbotMessages::-webkit-scrollbar {
    width: 4px;
}

#chatbotMessages::-webkit-scrollbar-track {
    background: transparent;
}

#chatbotMessages::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 157, 0.3);
    border-radius: 2px;
}

.chatbot-option {
    transition: all 0.2s ease;
}

.chatbot-option:hover {
    transform: translateX(2px);
}

/* Mobile Menu */
#mobileMenu {
    transition: all 0.3s ease;
}

#mobileMenu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Exit Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.exit-popup.show {
    display: flex;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .countdown-digit {
        min-width: 60px;
        padding: 12px;
    }
    
    .countdown-digit .text-2xl {
        font-size: 1.5rem;
    }
    
    #chatbotWidget {
        width: 90vw;
        left: 5vw;
        right: 5vw;
    }
    
    .chat-widget {
        bottom: 80px;
        right: 20px;
    }
    
    .sticky-cta {
        padding: 12px 16px;
    }
    
    .sticky-cta .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .benefit-card,
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    #chatbotWidget {
        bottom: 100px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating,
    .floating-delayed,
    .pulse-glow,
    .benefit-card,
    .testimonial-card {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}

/* Print Styles */
@media print {
    .fixed,
    .sticky-cta,
    .chat-widget,
    #chatbotWidget,
    #openChatbot,
    .exit-popup {
        display: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero-gradient {
        background: linear-gradient(135deg, #000 0%, #333 100%);
    }
    
    .bg-gradient-to-r,
    .bg-gradient-to-br {
        background: #000 !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #FF6B9D;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e55a8a, #45b7aa);
}

/* Additional utility classes */
.no-underline {
    text-decoration: none !important;
}

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

.shadow-glow {
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

/* Button hover effects */
button:hover,
a.btn:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Loading animation for future use */
.loading {
    animation: spin 1s linear infinite;
}

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

/* Gradient text utilities */
.gradient-text {
    background: linear-gradient(135deg, #FF6B9D, #4ECDC4, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}