/* Non-critical CSS - Loaded asynchronously */

/* Animations */
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0)}40%{transform:translateY(-15px)}60%{transform:translateY(-7px)}}
@keyframes wiggle{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
.animate-float{animation:float 3s ease-in-out infinite}
.animate-pulse{animation:pulse 2s ease-in-out infinite}
.animate-bounce{animation:bounce 2s ease infinite}
.animate-wiggle{animation:wiggle 1s ease-in-out infinite}

/* Sections */
section{padding:80px 0}

/* Features Section */
.features{background:white;position:relative}
.features::before{content:'';position:absolute;top:0;left:0;right:0;height:100px;background:linear-gradient(180deg,transparent,white);transform:translateY(-100%)}
.section-header{text-align:center;margin-bottom:60px}
.section-header h2{font-size:clamp(2rem,4vw,2.75rem);font-weight:700;margin-bottom:15px}
.section-header p{font-size:1.1rem;color:var(--text-medium);max-width:600px;margin:0 auto}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px}
.feature-card{background:var(--gradient-sky);border-radius:24px;padding:30px;text-align:center;transition:all 0.3s;border:2px solid transparent;position:relative;overflow:hidden}
.feature-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--card-accent);border-radius:24px 24px 0 0}
.feature-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(0,0,0,0.1);border-color:var(--card-accent)}
.feature-card:nth-child(1){--card-accent:var(--brand-teal)}
.feature-card:nth-child(2){--card-accent:var(--brand-coral)}
.feature-card:nth-child(3){--card-accent:var(--brand-gold)}
.feature-card:nth-child(4){--card-accent:var(--brand-purple)}
.feature-icon{width:120px;height:120px;margin:0 auto 20px;object-fit:contain}
.feature-card h3{font-size:1.4rem;font-weight:700;margin-bottom:12px;color:var(--text-dark)}
.feature-card p{color:var(--text-medium);margin-bottom:20px;line-height:1.6}
.feature-list{list-style:none;text-align:left}
.feature-list li{padding:8px 0;display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text-dark)}
.feature-list li::before{content:'✓';color:var(--brand-teal);font-weight:700}

/* Screenshots Carousel */
.screenshots{background:linear-gradient(180deg,white 0%,#F0F7FF 100%);overflow:hidden;padding-bottom:60px}
.carousel-container{position:relative;max-width:100%;margin:0 auto}
.carousel-wrapper{overflow:hidden;position:relative}
.carousel-track{display:flex;transition:transform 0.5s ease-in-out;gap:30px;padding:20px 0}
.carousel-slide{flex:0 0 auto;display:flex;flex-direction:column;align-items:center}
.phone-mockup{width:280px;height:560px;background:#1a1a1a;border-radius:45px;padding:12px;box-shadow:0 25px 50px rgba(0,0,0,0.25);transition:all 0.4s ease;position:relative}
.phone-mockup:hover{transform:translateY(-10px) scale(1.02);box-shadow:0 35px 60px rgba(0,0,0,0.3)}
.phone-mockup::before{content:'';position:absolute;top:18px;left:50%;transform:translateX(-50%);width:90px;height:28px;background:#000;border-radius:20px;z-index:10}
.phone-mockup::after{content:'';position:absolute;top:24px;left:50%;transform:translateX(-50%);width:10px;height:10px;background:#1a1a1a;border-radius:50%;z-index:11;border:2px solid #333}
.phone-screen{width:100%;height:100%;border-radius:35px;overflow:hidden;position:relative;background:#f5f5f5}
.phone-screen img{width:100%;height:100%;object-fit:cover;object-position:top}
.phone-label{text-align:center;margin-top:20px;font-weight:600;font-size:1.1rem;color:var(--text-dark)}
.phone-label-sub{font-size:0.85rem;color:var(--text-medium);font-weight:400;margin-top:4px}
.carousel-nav{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:40px}
.carousel-btn{width:50px;height:50px;border-radius:50%;background:white;border:2px solid var(--brand-teal);color:var(--brand-teal);font-size:20px;cursor:pointer;transition:all 0.3s;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px rgba(0,0,0,0.1)}
.carousel-btn:hover{background:var(--brand-teal);color:white;transform:scale(1.1)}
.carousel-btn:disabled{opacity:0.5;cursor:not-allowed}
.carousel-dots{display:flex;gap:12px;align-items:center}
.carousel-dot{width:12px;height:12px;border-radius:50%;background:#ddd;border:none;cursor:pointer;transition:all 0.3s;padding:0}
.carousel-dot:hover{background:var(--brand-teal-dark);transform:scale(1.2)}
.carousel-dot.active{background:var(--brand-teal);width:30px;border-radius:10px}
.carousel-status{text-align:center;margin-top:15px;font-size:0.9rem;color:var(--text-medium)}
.carousel-status .paused-indicator{color:var(--brand-coral);font-weight:500}

/* Testimonials */
.testimonials{background:white}
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:30px}
.testimonial-card{background:var(--bg-cream);border-radius:20px;padding:30px;position:relative}
.testimonial-card::before{content:'"';position:absolute;top:20px;right:30px;font-size:80px;color:var(--brand-coral);opacity:0.2;font-family:Georgia,serif;line-height:1}
.testimonial-text{font-size:1rem;line-height:1.7;color:var(--text-dark);margin-bottom:25px;position:relative;z-index:1}
.testimonial-author{display:flex;align-items:center;gap:15px}
.testimonial-avatar{width:55px;height:55px;border-radius:50%;object-fit:cover;border:3px solid var(--brand-teal)}
.avatar-initials{width:55px;height:55px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700;color:white;flex-shrink:0}
.avatar-teal{background:var(--brand-teal)}
.avatar-coral{background:var(--brand-coral)}
.avatar-gold{background:var(--brand-gold)}
.testimonial-info h4{font-weight:600;color:var(--text-dark);margin-bottom:3px}
.testimonial-info p{font-size:13px;color:var(--text-medium)}
.stars{color:var(--brand-gold);font-size:14px;margin-top:5px}

/* Trial Banner */
.trial-banner{background:linear-gradient(135deg,var(--brand-teal),#00C9A7);color:white;text-align:center;padding:60px 20px;position:relative;overflow:hidden}
.trial-banner::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,0.1) 0%,transparent 60%);animation:pulse 4s ease-in-out infinite}
.trial-content{position:relative;z-index:1}
.trial-badge{display:inline-block;background:rgba(255,255,255,0.2);padding:10px 25px;border-radius:30px;font-size:14px;font-weight:600;margin-bottom:20px;backdrop-filter:blur(10px)}
.trial-banner h2{font-size:clamp(2rem,4vw,3rem);font-weight:700;margin-bottom:15px}
.trial-banner p{font-size:1.2rem;opacity:0.95;margin-bottom:30px;max-width:600px;margin-left:auto;margin-right:auto}
.trial-features{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;margin-bottom:35px}
.trial-feature{display:flex;align-items:center;gap:10px;font-weight:500}
.trial-feature span{font-size:24px}

/* Final CTA */
.final-cta{background:var(--gradient-sky);text-align:center}
.cta-mascot{width:200px;height:auto;margin:0 auto 30px;animation:bounce 2s ease infinite}
.final-cta h2{font-size:clamp(1.8rem,4vw,2.5rem);margin-bottom:15px}
.final-cta p{color:var(--text-medium);font-size:1.1rem;margin-bottom:30px}
.cta-buttons{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}

/* FAQ */
.faq{background:var(--bg-cream)}
.faq-list{max-width:800px;margin:0 auto}
.faq-item{background:white;border-radius:16px;margin-bottom:16px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.faq-question{width:100%;padding:24px 30px;background:white;border:none;text-align:left;font-family:'Fredoka',sans-serif;font-size:1.1rem;font-weight:600;color:var(--text-dark);cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:all 0.3s}
.faq-question:hover{background:#f9f9f9}
.faq-icon{font-size:1.5rem;color:var(--brand-teal);transition:transform 0.3s}
.faq-item.active .faq-icon{transform:rotate(45deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height 0.3s ease-out}
.faq-answer-content{padding:0 30px 24px;color:var(--text-medium);line-height:1.7}
.faq-item.active .faq-answer{max-height:300px}

/* Contact */
.contact{background:white;text-align:center}
.contact-cards{display:flex;justify-content:center;gap:40px;flex-wrap:wrap}
.contact-card{background:var(--bg-cream);padding:30px 40px;border-radius:20px;text-align:center;transition:all 0.3s}
.contact-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px rgba(0,0,0,0.1)}
.contact-icon{width:60px;height:60px;background:var(--brand-teal);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 15px;font-size:24px}
.contact-card h4{font-weight:600;margin-bottom:8px;color:var(--text-dark)}
.contact-card a{color:var(--brand-teal);text-decoration:none;font-weight:500}
.contact-card a:hover{text-decoration:underline}

/* Footer - 4 Column Design */
footer{background:#111827;color:#9CA3AF;padding:3rem 0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-col h4{color:white;font-family:'Fredoka',system-ui,-apple-system,sans-serif;font-weight:600;margin-bottom:1rem;font-size:1rem}
.footer-col ul{list-style:none;padding:0;margin:0}
.footer-col ul li{margin-bottom:0.5rem}
.footer-col a{color:#9CA3AF;text-decoration:none;font-size:0.875rem;transition:color 0.3s}
.footer-col a:hover{color:white}
.footer-brand{display:flex;align-items:center;gap:0.5rem;margin-bottom:1rem}
.footer-brand img{width:40px;height:40px}
.footer-brand-name{font-family:'Fredoka',system-ui,-apple-system,sans-serif;font-weight:700;font-size:1.25rem;color:white}
.footer-tagline{font-size:0.875rem;line-height:1.5}
.footer-bottom{border-top:1px solid #374151;padding-top:2rem;text-align:center;font-size:0.875rem}

/* Mobile Responsive */
@media(max-width:900px){
    .phone-mockup{width:240px;height:480px}
    .carousel-btn{width:40px;height:40px;font-size:16px}
    .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
}
@media(max-width:600px){
    section{padding:50px 0}
    .phone-mockup{width:200px;height:400px;border-radius:35px;padding:8px}
    .phone-mockup::before{width:70px;height:22px;top:12px}
    .phone-screen{border-radius:28px}
    .carousel-dots{gap:8px}
    .carousel-dot{width:10px;height:10px}
    .carousel-dot.active{width:24px}
    .footer-grid{grid-template-columns:1fr;text-align:center}
    .footer-brand{justify-content:center}
}