/* Custom CSS for AIroundMe Landing Page */

/* Font family */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Header styles */
#header {
    transition: all 0.3s ease;
}

#header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Navigation link active state */
.nav-link.active {
    color: #2563eb;
    font-weight: 600;
}

/* Hero section animations */
#hero-title {
    animation: fadeInUp 0.8s ease-out;
}

#hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    animation: fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: both;
}

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

/* CTA button pulse animation */
.cta-button,
.cta-button-footer {
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.cta-button-footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before,
.cta-button-footer:hover::before {
    width: 300px;
    height: 300px;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card-modern {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Benefit items animation */
.benefit-item {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }
.benefit-item:nth-child(7) { animation-delay: 0.7s; }
.benefit-item:nth-child(8) { animation-delay: 0.8s; }

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

/* Pricing cards */
.pricing-card {
    transition: all 0.3s ease;
}

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

/* FAQ accordion */
.faq-item {
    transition: all 0.3s ease;
}

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

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-item.active .faq-question {
    background-color: #f3f4f6;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    display: block;
}

/* Example cards */
.example-card {
    transition: all 0.3s ease;
}

/* Scroll to top button */
#scroll-top {
    transition: all 0.3s ease;
}

#scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

#scroll-top:hover {
    transform: translateY(-5px);
}

/* Section fade-in on scroll */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

/* Loading skeleton (if needed) */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Hero section */
    #hero {
        padding-top: 1.5rem !important;
        padding-bottom: 3rem !important;
    }
    
    #hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    #hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .cta-button,
    .cta-button-footer {
        width: 100%;
        justify-content: center;
    }
    
    /* Section headings - smaller on mobile */
    section h2 {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 2rem !important;
    }
    
    /* Reduce section padding on mobile */
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* How it works section - adjust spacing */
    #how-it-works {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    #how-it-works .space-y-12 > div {
        margin-bottom: 1.5rem;
    }
    
    #how-it-works .space-y-12 > div:last-child {
        margin-bottom: 0;
    }
    
    /* Reduce margins in how it works cards */
    #how-it-works .bg-white.rounded-xl {
        margin-bottom: 0;
    }
    
    /* Adjust card spacing in how it works */
    #how-it-works .space-y-12 {
        gap: 1.5rem;
    }
}

/* Print styles */
@media print {
    #header,
    #scroll-top,
    .cta-button,
    .cta-button-footer {
        display: none;
    }
}



