/* Tekarth Official Color Palette */
:root {
    --dark-main: #08111F;
    --dark-navy: #0B172A;
    --electric-blue: #2563EB;
    --electric-glow: rgba(37, 99, 235, 0.5);
    --cyan: #06B6D4;
    --cyan-glow: rgba(6, 182, 212, 0.5);
    --whatsapp-green: #25D366;
    --white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --text-main: #0F172A;
    --text-sec: #64748B;
    --border: #E2E8F0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background-color: var(--white); color: var(--text-main); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
p { line-height: 1.6; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 10; }

.section-padding { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 70px; max-width: 800px; margin-inline: auto; }
.section-header h2 { font-size: clamp(2.5rem, 4vw, 3.8rem); color: var(--dark-main); margin-bottom: 20px; }
.section-header p { font-size: 1.15rem; color: var(--text-sec); }

/* --- ADVANCED BACKGROUNDS & ORBS --- */
.bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px; z-index: 1; pointer-events: none;
}
.bg-shape {
    position: absolute; filter: blur(120px); z-index: 0; opacity: 0.4;
    animation: pulse-orb 12s infinite alternate cubic-bezier(0.4, 0, 0.2, 1); border-radius: 50%;
}
.shape-1 { top: -10%; left: -10%; width: 45vw; height: 45vw; background: var(--electric-blue); }
.shape-2 { top: 20%; right: -10%; width: 40vw; height: 40vw; background: var(--cyan); opacity: 0.25; animation-delay: -5s; }
@keyframes pulse-orb { 0% { transform: scale(1) translate(0, 0) rotate(0deg); } 100% { transform: scale(1.15) translate(40px, -40px) rotate(15deg); } }

/* --- FLOATING PHYSICS --- */
.float-subtle { animation: float 6s ease-in-out infinite; }
.float-medium { animation: float 5s ease-in-out infinite alternate-reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- GLOBAL NAVIGATION --- */
header {
    position: fixed; top: 20px; left: 5%; right: 5%;
    background: rgba(8, 17, 31, 0.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 15px 30px; border-radius: 100px; display: flex; justify-content: space-between; align-items: center;
    border: 1px solid rgba(255,255,255,0.1); z-index: 1000; box-shadow: 0 20px 40px rgba(0,0,0,0.2); transition: all 0.4s ease;
}
.logo { font-size: 1.5rem; font-family: var(--font-heading); font-weight: 900; color: var(--white); text-decoration: none; }
.nav-links { display: flex; gap: 35px; }
.nav-links a { color: #E2E8F0; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--cyan); }
.btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 100px; 
    font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); cursor: pointer; border: none;
}
.btn-primary { background: var(--electric-blue); color: var(--white); box-shadow: 0 10px 25px var(--electric-glow); }
.btn-primary:hover { background: #1D4ED8; box-shadow: 0 15px 35px var(--electric-glow); transform: translateY(-3px) scale(1.02); }

/* --- 1. HERO SECTION --- */
.hero { background-color: var(--dark-main); color: var(--white); padding: 180px 0 100px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; perspective: 1000px; }
.hero-content h1 { font-size: clamp(3rem, 5vw, 5.2rem); margin-bottom: 20px; line-height: 1.05; }
.highlight { 
    background: linear-gradient(90deg, var(--cyan), #93C5FD, var(--electric-blue), var(--cyan)); 
    background-size: 300% 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease-in-out infinite;
}
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero-content p { font-size: 1.15rem; color: #94A3B8; margin-bottom: 30px; max-width: 520px; font-weight: 400; }

/* 3D Glassmorphism Lead Capture Card */
.lead-card {
    background: rgba(11, 23, 42, 0.4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 35px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05); transform-style: preserve-3d;
}
.lead-card h3 { font-size: 1.8rem; margin-bottom: 8px; color: var(--white); }
.lead-card p { font-size: 0.9rem; color: #94A3B8; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.input-group label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 6px; color: #E2E8F0; }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3); color: var(--white); font-family: var(--font-body); font-size: 0.9rem; transition: all 0.3s;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--cyan); background: rgba(0,0,0,0.6); box-shadow: 0 0 20px rgba(6,182,212,0.2); }
.input-group select option { background: var(--dark-navy); color: var(--white); }

.recaptcha-mock { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 10px 15px; border-radius: 8px; margin-bottom: 15px; cursor: pointer; }
.rc-left { display: flex; align-items: center; gap: 12px; }
.rc-checkbox { width: 22px; height: 22px; border: 2px solid rgba(255,255,255,0.3); border-radius: 4px; background: rgba(0,0,0,0.2); transition: all 0.2s; }
.rc-text { font-size: 0.85rem; color: #E2E8F0; font-weight: 500; }
.rc-logo { font-size: 0.7rem; color: #94A3B8; text-align: right; line-height: 1.2; }
.lead-card .btn-primary { width: 100%; padding: 15px; border-radius: 12px; font-size: 1.05rem; }

.marquee-wrapper { margin-top: 60px; overflow: hidden; position: relative; width: 100%; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-content { display: flex; gap: 50px; width: max-content; animation: scroll 35s linear infinite; }
.marquee-content span { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #64748B; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(calc(-50% - 25px)); } }

/* --- 2. THE PROBLEM --- */
.problem-section { background: var(--white); text-align: center; border-bottom: 1px solid var(--border); }
.journey-strip {
    display: inline-flex; background: var(--bg-soft); padding: 18px 40px; border-radius: 100px;
    align-items: center; gap: 20px; flex-wrap: wrap; font-weight: 700; color: var(--dark-main);
    border: 1px solid var(--border); box-shadow: 0 15px 35px rgba(0,0,0,0.04); transition: transform 0.4s ease;
}
.journey-strip:hover { transform: scale(1.02); }
.journey-arrow { color: var(--cyan); font-weight: 900; }

/* --- 3. ABOUT TEKARTH --- */
.about-section { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&q=80') center/cover; border-radius: 24px; height: 500px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.stat-box { background: var(--white); padding: 20px; border-radius: 16px; border: 1px solid var(--border); }
.stat-box h4 { font-size: 2.5rem; color: var(--electric-blue); margin-bottom: 5px; }

/* --- 4. IMAGERY BENTO BOX --- */
.bento-section { background: var(--white); border-bottom: 1px solid var(--border); }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 340px); gap: 24px; }
.bento-card {
    background: var(--white); border-radius: 24px; padding: 40px; border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}
.bento-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.05;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease; z-index: 0; filter: grayscale(100%);
}
.bento-card:hover { transform: translateY(-10px); box-shadow: 0 0 0 1px var(--electric-blue), 0 30px 60px rgba(8, 17, 31, 0.1); }
.bento-card:hover .bento-bg { transform: scale(1.1); opacity: 0.15; filter: grayscale(0%); }
.bento-card h3 { font-size: 2rem; margin-bottom: 12px; z-index: 2; color: var(--dark-main); }
.bento-card p { z-index: 2; margin-bottom: 0; color: var(--text-sec); font-size: 1.05rem; }
.bento-large { grid-column: span 2; background: var(--dark-navy); border-color: rgba(255,255,255,0.1); }
.bento-large h3 { color: var(--white); }
.bento-large p { color: #94A3B8; }
.bento-large .bento-bg { opacity: 0.3; }
.bento-large:hover .bento-bg { opacity: 0.5; }
.bento-tall { grid-row: span 2; }
.bento-icon {
    position: absolute; top: 30px; right: 30px; width: 55px; height: 55px; background: var(--bg-soft); border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--electric-blue);
    font-weight: 800; font-family: var(--font-heading); border: 1px solid var(--border); z-index: 2; transition: transform 0.4s ease;
}
.bento-card:hover .bento-icon { transform: scale(1.1) rotate(5deg); }
.bento-large .bento-icon { background: rgba(255,255,255,0.05); color: var(--cyan); border-color: rgba(255,255,255,0.1); }

/* --- 5. DETAILED SERVICES GRID --- */
.services-section { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-item { background: var(--white); padding: 40px 30px; border-radius: 16px; border: 1px solid var(--border); transition: 0.3s; }
.service-item:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.service-icon { width: 60px; height: 60px; background: rgba(37, 99, 235, 0.1); color: var(--electric-blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; }
.service-item h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--dark-main); }

/* --- 6. OUR PROCESS --- */
.process-section { background: var(--white); border-bottom: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { background: var(--bg-soft); padding: 40px 30px; border-radius: 20px; border: 1px solid var(--border); position: relative; }
.step-num { font-family: var(--font-heading); font-size: 4rem; color: var(--electric-blue); opacity: 0.1; position: absolute; top: 10px; right: 20px; line-height: 1; }

/* --- 7. AI-READY WEB --- */
.ai-section { background: var(--dark-main); color: var(--white); position: relative; overflow: hidden; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ai-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.ai-feature-item { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 600; color: #E2E8F0; }
.ai-feature-item::before { content: '✓'; color: var(--cyan); font-weight: 900; background: rgba(6,182,212,0.15); padding: 4px 8px; border-radius: 6px; }
.ai-visual {
    background: rgba(11, 23, 42, 0.4); border: 1px solid rgba(6, 182, 212, 0.2); height: 450px; border-radius: 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; backdrop-filter: blur(12px);
    box-shadow: inset 0 0 40px rgba(6,182,212,0.05), 0 20px 40px rgba(0,0,0,0.4); overflow: hidden;
}
.ai-scanner { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--cyan); box-shadow: 0 0 15px 5px var(--cyan-glow); animation: scan 4s cubic-bezier(0.4, 0, 0.2, 1) infinite; z-index: 0; }
@keyframes scan { 0% { top: 5%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 95%; opacity: 0; } }
.ai-step { background: rgba(255,255,255,0.03); padding: 18px 40px; border-radius: 100px; margin: 12px 0; border: 1px solid rgba(255,255,255,0.08); font-weight: 600; font-size: 1.1rem; z-index: 2; position: relative;}
.ai-arrow { color: var(--cyan); font-size: 1.5rem; z-index: 2; position: relative;}

/* --- 8. GOOGLE REVIEWS --- */
.reviews-section { background: var(--bg-soft); overflow: hidden; border-bottom: 1px solid var(--border); }
.rating-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--white); padding: 10px 20px; border-radius: 100px; font-weight: 700; margin-top: 15px; border: 1px solid var(--border); }
.stars { color: #F59E0B; font-size: 1.2rem; letter-spacing: 2px;}
.reviews-track { display: flex; gap: 24px; animation: scrollReviews 30s linear infinite; width: max-content; }
.reviews-track:hover { animation-play-state: paused; }
.review-card { background: var(--white); border: 1px solid var(--border); padding: 30px; border-radius: 20px; width: 400px; box-shadow: 0 10px 20px rgba(0,0,0,0.02); flex-shrink: 0; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.reviewer-info { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--electric-blue); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.reviewer-name { font-weight: 700; color: var(--dark-main); font-size: 1.05rem; }
.google-logo { font-weight: 900; font-family: 'Outfit', sans-serif; font-size: 1.2rem; }
.google-logo span:nth-child(1) { color: #4285F4; } .google-logo span:nth-child(2) { color: #EA4335; } .google-logo span:nth-child(3) { color: #FBBC05; } .google-logo span:nth-child(4) { color: #4285F4; }
.review-text { font-size: 0.95rem; color: var(--text-sec); font-style: italic; margin-bottom: 15px; line-height: 1.6; }
@keyframes scrollReviews { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 12px)); } }

/* --- 9. ADVANCED AEO & SEO FAQ --- */
.faq-section { background: var(--white); }
.faq-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.faq-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: var(--electric-blue); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.08); }
.faq-question { width: 100%; text-align: left; padding: 25px 30px; background: transparent; border: none; font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; color: var(--dark-main); display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: color 0.3s; }
.faq-question:hover { color: var(--electric-blue); }
.faq-title-wrap { display: flex; flex-direction: column; gap: 8px; }
.faq-tag { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--cyan); letter-spacing: 1px; }
.faq-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--electric-blue); transition: transform 0.3s; font-weight: 900; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--electric-blue); color: var(--white); border-color: var(--electric-blue); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 30px; color: var(--text-sec); font-size: 1.05rem; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 250px; padding-bottom: 30px; }

/* --- 10. NEW PREMIUM FOOTER (UPGRADED) --- */
footer { background: var(--dark-main); color: var(--white); padding: 100px 0 20px; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-glow { position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%); z-index: 0; filter: blur(50px); pointer-events: none; }
.massive-watermark { position: absolute; bottom: -2%; left: 50%; transform: translateX(-50%); font-size: 18vw; font-family: var(--font-heading); font-weight: 900; color: rgba(255,255,255,0.02); white-space: nowrap; pointer-events: none; z-index: 0; line-height: 0.8; }

.footer-cta-box { background: rgba(11, 23, 42, 0.6); border: 1px solid rgba(6, 182, 212, 0.2); border-radius: 24px; padding: 60px 40px; text-align: center; margin-bottom: 80px; position: relative; z-index: 10; backdrop-filter: blur(12px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.footer-cta-box h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 25px; line-height: 1.1; }

.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; position: relative; z-index: 10; }
.footer-brand .logo { font-size: 2.2rem; letter-spacing: -1px; display: block; margin-bottom: 20px;}
.footer-brand p { color: #94A3B8; font-size: 1.05rem; max-width: 380px; }

.social-pills { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.social-pills a { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.1); color: var(--white); text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: all 0.3s; background: rgba(255,255,255,0.03); }
.social-pills a:hover { background: var(--electric-blue); border-color: var(--electric-blue); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37,99,235,0.3); }

footer h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 25px; letter-spacing: 0.5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #94A3B8; text-decoration: none; font-size: 0.95rem; transition: all 0.3s; font-weight: 500; display: inline-flex; align-items: center; }
.footer-links a::before { content: '→'; color: var(--cyan); margin-right: 0px; opacity: 0; transform: translateX(-10px); transition: all 0.3s; width: 0; overflow: hidden; font-weight: 900;}
.footer-links a:hover { color: var(--white); transform: translateX(5px); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); margin-right: 8px; width: auto; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: #64748B; font-size: 0.9rem; position: relative; z-index: 10; }
.footer-bottom-links a { color: #64748B; text-decoration: none; margin-left: 20px; transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--white); }

/* --- 11. UPGRADED AI CHATBOT (WHATSAPP INTEGRATION) --- */
.chatbot-fab { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background: linear-gradient(135deg, var(--electric-blue), var(--cyan)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: white; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); cursor: pointer; z-index: 2000; transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.2); animation: pulse-fab 2s infinite; }
@keyframes pulse-fab { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }
.chatbot-fab:hover { transform: scale(1.1) translateY(-5px); animation: none; box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4); }
.chatbot-fab::after { content: '1'; position: absolute; top: -2px; right: -2px; background: #EF4444; color: white; font-size: 0.75rem; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; border: 2px solid var(--white); }

.chat-window { position: fixed; bottom: 110px; right: 30px; width: 380px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(25px); border-radius: 20px; border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 30px 60px rgba(0,0,0,0.15); z-index: 2000; display: none; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: chatPop 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.chat-window.active { display: flex; }
@keyframes chatPop { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }

.chat-header { background: linear-gradient(90deg, var(--dark-navy), var(--dark-main)); color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--cyan); }
.chat-header h4 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.online-dot { width: 10px; height: 10px; background: #10B981; border-radius: 50%; display: inline-block; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.close-chat { cursor: pointer; opacity: 0.7; font-weight: bold; font-size: 1.2rem; }
.close-chat:hover { opacity: 1; }

.chat-body { padding: 20px; height: 350px; overflow-y: auto; background: rgba(248, 250, 252, 0.9); display: flex; flex-direction: column; gap: 15px; scroll-behavior: smooth; }

/* Bot & User Messages */
.msg-bot, .msg-user { padding: 12px 16px; font-size: 0.95rem; max-width: 85%; line-height: 1.5; animation: msgSlide 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.msg-bot { background: white; border: 1px solid var(--border); border-radius: 0 16px 16px 16px; color: var(--text-main); align-self: flex-start; }
.msg-user { background: linear-gradient(135deg, var(--electric-blue), var(--cyan)); color: white; border-radius: 16px 16px 0 16px; align-self: flex-end; }
@keyframes msgSlide { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }

.msg-btn { display: block; background: var(--white); color: var(--electric-blue); border: 1px solid var(--electric-blue); padding: 10px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 700; cursor: pointer; margin-top: 5px; text-align: left; transition: all 0.2s; }
.msg-btn:hover { background: var(--electric-blue); color: white; transform: translateX(5px); }

/* Typing Indicator */
.typing-indicator { display: flex; gap: 4px; padding: 12px 16px; background: white; border: 1px solid var(--border); border-radius: 0 16px 16px 16px; align-self: flex-start; width: max-content; }
.typing-indicator span { width: 6px; height: 6px; background: var(--text-sec); border-radius: 50%; animation: typing 1.4s infinite ease-in-out both; }
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* WhatsApp Button */
.whatsapp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--whatsapp-green); color: white; text-decoration: none; padding: 12px 20px; border-radius: 100px; font-weight: 700; margin-top: 12px; transition: 0.3s; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
.whatsapp-btn:hover { background: #1EBE5D; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); color: white; }

.chat-input { padding: 15px; background: white; border-top: 1px solid var(--border); display: flex; gap: 10px; border-radius: 0 0 20px 20px; }
.chat-input input { flex: 1; padding: 12px 15px; border: 1px solid var(--border); border-radius: 100px; font-family: var(--font-body); font-size: 0.95rem; outline: none; background: var(--bg-soft); }
.chat-input input:focus { border-color: var(--electric-blue); background: white; }
.chat-input button { background: var(--electric-blue); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s;}
.chat-input button:hover { transform: scale(1.05); }

/* --- STAGGERED SCROLL ANIMATIONS --- */
.fade-up { opacity: 0; transform: translateY(40px); transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

/* --- 100% RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .ai-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p, .section-header { margin: 0 auto 30px; }
    .bento-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-large, .bento-tall { grid-column: span 1; grid-row: span 1; min-height: 280px; }
    .ai-features { text-align: left; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .bento-grid, .services-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 20px; }
    .review-card { width: 300px; padding: 20px; }
    .chat-window { right: 5%; left: 5%; width: 90%; bottom: 100px; }
    .form-row { grid-template-columns: 1fr; gap: 12px; }
    .faq-question { padding: 20px; font-size: 1rem; }
    .faq-answer { padding: 0 20px; }
    .social-pills { justify-content: center; }
}
