/* Custom styles to complement Tailwind CSS */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

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

.animate-slideUp {
    animation: slideUp 0.8s ease-out;
}

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

.animate-pulse-slow {
    animation: pulse 3s infinite ease-in-out;
}

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

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

@keyframes highlightText {
    0% { background-size: 0% 100%; }
    100% { background-size: 100% 100%; }
}

.highlight-text {
    background: linear-gradient(to right, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    animation: highlightText 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* Custom rounded navbar styles */
.navbar-rounded {
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Sticky navbar effect */
.navbar-scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Testimonial card styles */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom button hover effect */
.btn-primary-effect {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary-effect:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.btn-primary-effect:hover:after {
    width: 100%;
}

/* CTA pulsating effect */
.cta-pulse {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
    animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

/* Trust badge styles */
.trust-badge {
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
}

/* Video play button effect */
.play-video-btn {
    position: relative;
}

.play-video-btn:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
    z-index: -1;
}

/* Shine effect for cards */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.6s;
}

.shine-effect:hover:after {
    opacity: 1;
    animation: shine 1.5s forwards;
}

@keyframes shine {
    0% { transform: rotate(30deg) translate(-100%, -100%); }
    100% { transform: rotate(30deg) translate(100%, 100%); }
}

/* Number counter animation */
.counter {
    transition: all 0.5s ease;
}

/* Review stars animation */
.star-rating i {
    opacity: 0;
    transform: translateY(10px);
}

.star-rating.animate i:nth-child(1) { animation: fadeInStar 0.5s forwards 0.1s; }
.star-rating.animate i:nth-child(2) { animation: fadeInStar 0.5s forwards 0.2s; }
.star-rating.animate i:nth-child(3) { animation: fadeInStar 0.5s forwards 0.3s; }
.star-rating.animate i:nth-child(4) { animation: fadeInStar 0.5s forwards 0.4s; }
.star-rating.animate i:nth-child(5) { animation: fadeInStar 0.5s forwards 0.5s; }

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

/* Sticky call-to-action */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 100;
}

.sticky-cta.visible {
    transform: translateY(0);
}

/* Custom checkmark animation */
.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Mobile menu animation */
.mobile-menu-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms, transform 300ms;
}

.mobile-menu-exit {
    opacity: 1;
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 300ms, transform 300ms;
}

/* Gradient text effect */
.gradient-text {
    background-image: linear-gradient(90deg, #4F46E5, #10B981);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Add any custom CSS rules here if needed */

/* Example for scroll animation trigger */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
} 