/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

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

/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.fade-in-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Benefit cards */
.benefit-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    transform: translateY(-4px);
    border-color: #00AEEF30;
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #00AEEF10, #8DC63F10);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #00AEEF;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, #00AEEF20, #8DC63F20);
    transform: scale(1.1);
}

/* Step cards */
.step-card {
    position: relative;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #00AEEF, #8DC63F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Certificate cards hover effect */
.certificate-card {
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-8px);
}

/* Simulator buttons */
.type-btn {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.type-btn:hover {
    border-color: #00AEEF;
    background: #00AEEF05;
}

.type-btn.active {
    border-color: #00AEEF;
    background: #00AEEF;
    color: white;
}

.type-btn.active i {
    color: white;
}

/* FAQ */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    animation: fadeIn 0.3s ease;
}

/* Testimonials slider */
.testimonials-slider {
    position: relative;
}

/* Header scroll effect */
#header.scrolled {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    background: white;
}

/* WhatsApp button animation */
#whatsapp-float {
    animation: float 3s ease-in-out infinite;
}

.whatsapp-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-block;
    color: currentColor;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.52 3.48A11.87 11.87 0 0 0 12.04 0C5.45 0 .08 5.37.08 11.96c0 2.11.55 4.17 1.6 5.99L0 24l6.2-1.63a11.95 11.95 0 0 0 5.84 1.49h.01c6.59 0 11.96-5.37 11.96-11.96 0-3.19-1.24-6.18-3.49-8.42ZM12.05 21.84h-.01a9.9 9.9 0 0 1-5.04-1.38l-.36-.21-3.68.96.98-3.59-.23-.37a9.92 9.92 0 0 1-1.52-5.29c0-5.44 4.43-9.87 9.88-9.87a9.8 9.8 0 0 1 6.98 2.9 9.82 9.82 0 0 1 2.89 6.99c0 5.44-4.43 9.86-9.89 9.86Zm5.42-7.39c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.39-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.61-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.19 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.69.25-1.29.17-1.41-.07-.12-.27-.2-.57-.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.52 3.48A11.87 11.87 0 0 0 12.04 0C5.45 0 .08 5.37.08 11.96c0 2.11.55 4.17 1.6 5.99L0 24l6.2-1.63a11.95 11.95 0 0 0 5.84 1.49h.01c6.59 0 11.96-5.37 11.96-11.96 0-3.19-1.24-6.18-3.49-8.42ZM12.05 21.84h-.01a9.9 9.9 0 0 1-5.04-1.38l-.36-.21-3.68.96.98-3.59-.23-.37a9.92 9.92 0 0 1-1.52-5.29c0-5.44 4.43-9.87 9.88-9.87a9.8 9.8 0 0 1 6.98 2.9 9.82 9.82 0 0 1 2.89 6.99c0 5.44-4.43 9.86-9.89 9.86Zm5.42-7.39c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.39-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.61-.92-2.21-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.19 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.69.25-1.29.17-1.41-.07-.12-.27-.2-.57-.35Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-icon-sm {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-logo {
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.9;
}

/* Counter animation styles */
.counter {
    display: inline-block;
}

/* Mobile menu animation */
#mobile-menu {
    animation: fadeIn 0.2s ease;
}

#mobile-menu.hidden {
    display: none;
}

/* Button hover effects */
button, a {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Selection color */
::selection {
    background: #00AEEF;
    color: white;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #00AEEF;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .fade-in {
        opacity: 1;
        transform: translateY(0);
    }

    .fade-in-delay {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .type-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Loading shimmer for prices */
.loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Card reveal animation */
@keyframes cardReveal {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-10deg);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0);
    }
}

.card-reveal {
    animation: cardReveal 0.6s ease forwards;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #00AEEF, #8DC63F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shadow utilities */
.shadow-primary {
    box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.3);
}

.shadow-accent {
    box-shadow: 0 10px 40px -10px rgba(34, 197, 94, 0.3);
}

/* Hover scale */
.hover-scale:hover {
    transform: scale(1.02);
}

/* Trust badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f1f5f9, #ffffff);
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    font-size: 0.875rem;
    color: #374151;
}

/* Price animation */
#final-price {
    transition: all 0.3s ease;
}

/* Dot indicators for slider */
.slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #00AEEF;
    width: 1.5rem;
    border-radius: 9999px;
}

/* Hero background pattern */
.hero-pattern {
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
}

/* Sticky header transition */
#header {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Buy button glow effect */
#buy-btn {
    position: relative;
    overflow: hidden;
}

#buy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#buy-btn:hover::before {
    width: 300%;
    height: 300%;
}
