/* --- ROOT & VARIABLES --- */
:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #4338ca;
    --accent: #0ea5e9;
    --accent-secondary: #ec4899;
    --bg-color: #0b1121;
    --bg-surface: rgba(30, 41, 59, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    font-size: 16px;
}

/* --- RESET & CLASSIC --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background-color: transparent; /* Changed to transparent for parallax bg */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: none; /* For Custom Cursor */
}

/* --- AMBIENT PARALLAX BACKGROUND --- */
.ambient-background {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -999;
    background: 
        radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(14, 165, 233, 0.15), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.1), transparent 30%);
    background-color: var(--bg-color);
    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;
    pointer-events: none;
    will-change: transform;
}

/* --- FLOATING PARTICLES EFFECT --- */
.particles-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    overflow: hidden; pointer-events: none; z-index: -998;
}
.particle {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.8), transparent 70%);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    animation: floatParticle linear infinite;
}
.p1 { width: 15px; height: 15px; top: 20%; left: 10%; animation-duration: 15s; }
.p2 { width: 8px; height: 8px; top: 60%; left: 80%; background: radial-gradient(circle at center, rgba(236, 72, 153, 0.8), transparent 70%); animation-duration: 25s; animation-delay: 2s; }
.p3 { width: 25px; height: 25px; top: 80%; left: 20%; background: radial-gradient(circle at center, rgba(79, 70, 229, 0.6), transparent 70%); animation-duration: 30s; }
.p4 { width: 12px; height: 12px; top: 30%; left: 60%; animation-duration: 20s; animation-delay: 5s; }
.p5 { width: 6px; height: 6px; top: 90%; left: 90%; animation-duration: 18s; }
.p6 { width: 30px; height: 30px; top: 10%; left: 40%; background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%); animation-duration: 35s; }

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { transform: translateY(-20vh) scale(0) rotate(360deg); opacity: 0; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); cursor: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.justify-end { justify-content: flex-end; }

/* UTILITY CLASSES */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: none;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn:hover::before { left: 100%; }

.btn-lg { padding: 16px 40px; font-size: 1.125rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    background: var(--glass-bg);
    transform: translateY(-3px);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(11, 17, 33, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}
.logo span { color: var(--primary-light); }

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    font-size: 0.95rem; font-weight: 500;
    color: var(--text-muted); position: relative;
    padding-bottom: 5px;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--text-main); }
.nav-menu a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary-light); transition: var(--transition);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 20px; }

.hamburger {
    display: none; cursor: none; flex-direction: column; gap: 6px; z-index: 1002;
}
.hamburger .bar { width: 30px; height: 3px; background: #fff; border-radius: 3px; transition: var(--transition); }

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.swiper { width: 100%; height: 100%; }

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.bg-slide-1 {
    background: linear-gradient(rgba(11, 17, 33, 0.75), rgba(11, 17, 33, 0.9)), url('assets/hero_slide_1_1774383818019.png') no-repeat center center/cover;
}

.bg-slide-2 {
    background: linear-gradient(rgba(11, 17, 33, 0.8), rgba(11, 17, 33, 0.95)), url('assets/hero_slide_2_1774383836003.png') no-repeat center center/cover;
}

.hero-bg-shapes {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
}

.shape { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; }
.shape-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(79, 70, 229, 0.4); }
.shape-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: rgba(14, 165, 233, 0.4); }
.shape-3 { top: 20%; right: 10%; width: 40vw; height: 40vw; background: rgba(236, 72, 153, 0.3); }

.hero-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    padding-top: 100px; height: 100%;
}

.hero-reverse { grid-template-columns: 1fr 1fr; }

.badge {
    display: inline-block; padding: 8px 20px; border-radius: 50px;
    background: rgba(14, 165, 233, 0.1); border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--accent); font-size: 0.875rem; font-weight: 600; margin-bottom: 24px;
    letter-spacing: 1px; text-transform: uppercase;
}
.badge-alt {
    background: rgba(236, 72, 153, 0.1); border: 1px solid rgba(236, 72, 153, 0.3);
    color: var(--accent-secondary);
}

.hero-title { font-size: 4.8rem; margin-bottom: 24px; letter-spacing: -2px; line-height: 1.1; }
.hero-desc { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-visual { position: relative; perspective: 1000px; }

.glass-card {
    background: rgba(20, 25, 40, 0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); overflow: hidden;
    transform-style: preserve-3d;
    position: relative;
}

/* Realistic Glare Effect */
.glass-card::after, .service-card::after, .portfolio-card::after, .step-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(255, 255, 255, 0.15), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
    z-index: 2;
}

.glass-card:hover::after, .service-card:hover::after, .portfolio-card:hover::after, .step-card:hover::after {
    opacity: 1;
}

/* Hyper-Effects */
.hover-effect-strong {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}
.hover-effect-strong:hover {
    transform: translateY(-15px) scale(1.05) !important;
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.4);
    border-color: rgba(236, 72, 153, 0.6);
    z-index: 100;
}

.main-glass { min-height: 420px; transform: rotateY(-8deg) rotateX(5deg); }
.alt-glass { min-height: 420px; transform: rotateY(8deg) rotateX(5deg); }

.card-header { background: rgba(0, 0, 0, 0.4); padding: 15px 20px; border-bottom: 1px solid var(--glass-border); }
.dots { display: flex; gap: 8px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.card-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; height: 100%;}
.code-line { height: 12px; background: rgba(255,255,255,0.05); border-radius: 6px; margin-bottom: 20px; }
.circle-mockup { width: 100px; height: 100px; border-radius: 50%; border: 8px solid rgba(255,255,255,0.05); margin-bottom: 30px; border-top-color: var(--primary); animation: spin 4s linear infinite;}

@keyframes spin { 100% { transform: rotate(360deg); } }

.w-50 { width: 50%; } .w-60 { width: 60%; } .w-70 { width: 70%; } .w-80 { width: 80%; } .w-90 { width: 90%; }

.box-container { display: flex; gap: 20px; margin: 30px 0; }
.glass-box { flex: 1; height: 120px; background: rgba(255,255,255,0.02); border-radius: 12px; border: 1px solid var(--glass-border); }

/* Swiper navigation Overrides */
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev {
    color: #fff; background: rgba(0,0,0,0.3); width: 50px; height: 50px; border-radius: 50%;
    backdrop-filter: blur(5px); transition: 0.3s;
}
.hero-slider .swiper-button-next:hover, .hero-slider .swiper-button-prev:hover { background: var(--primary); }
.hero-slider .swiper-button-next::after, .hero-slider .swiper-button-prev::after { font-size: 20px; }

/* --- STATS SECTION --- */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.stats-container {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; padding: 40px;
    background: rgba(15, 23, 42, 0.7);
}
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 3rem; font-weight: 800; font-family: 'Outfit', sans-serif; color: #fff; margin-bottom: 5px;}
.stat-text { color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem;}

/* --- SECTION HEADERS --- */
.section-header { margin-bottom: 50px; }
.subtitle {
    color: var(--primary-light); font-weight: 600; font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 3px; display: block; margin-bottom: 10px;
}
.title { font-size: 3.5rem; margin-bottom: 15px; letter-spacing: -1px; }
.desc { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* --- SERVICES --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    background: var(--bg-surface); border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 40px 30px; position: relative; transition: var(--transition);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.service-card:hover {
    transform: translateY(-15px); border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); background: rgba(30, 41, 59, 0.8);
}
.service-icon {
    width: 70px; height: 70px; background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(255,255,255,0.05); border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: var(--accent); margin-bottom: 30px; transition: 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); color: #fff; background: var(--primary); }
.service-number {
    position: absolute; top: 30px; right: 30px; font-size: 4rem; font-weight: 800;
    color: rgba(255, 255, 255, 0.03); font-family: 'Outfit', sans-serif; transition: 0.3s;
}
.service-card:hover .service-number { color: rgba(255, 255, 255, 0.08); transform: translateY(-10px); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- PORTFOLIO --- */
.portfolioSwiper { padding-bottom: 50px; }
.portfolio-card {
    background: var(--bg-surface); border: 1px solid var(--glass-border);
    border-radius: 24px; overflow: hidden; transition: 0.3s; height: 100%;
    position: relative; transform-style: preserve-3d;
}
.portfolio-card:hover { transform: translateY(-10px); border-color: var(--primary-light); }
.portfolio-img {
    height: 250px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.8);
    background-size: cover; text-align: center; padding: 20px;
}
.bg-grad-1 { background: linear-gradient(45deg, #4f46e5, #ec4899); }
.bg-grad-2 { background: linear-gradient(45deg, #0ea5e9, #10b981); }
.bg-grad-3 { background: linear-gradient(45deg, #f59e0b, #ef4444); }
.bg-grad-4 { background: linear-gradient(45deg, #8b5cf6, #3b82f6); }
.portfolio-info { padding: 30px; }
.portfolio-info h3 { font-size: 1.5rem; margin-bottom: 10px; }
.portfolio-info p { color: var(--text-muted); }

/* --- PROCESS --- */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card {
    background: transparent; border: 1px solid var(--glass-border); border-radius: 20px;
    padding: 40px; position: relative; transition: 0.4s; overflow: hidden;
}
.step-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), transparent);
    opacity: 0; transition: 0.4s; z-index: -1;
}
.step-card:hover::before { opacity: 1; }
.step-card:hover { border-color: rgba(79, 70, 229, 0.4); transform: translateY(-5px); }
.step-num {
    font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15); margin-bottom: 25px;
    transition: 0.4s;
}
.step-card:hover .step-num { -webkit-text-stroke: 1px var(--primary-light); color: rgba(79, 70, 229, 0.1); }
.step-content h3 { font-size: 1.3rem; margin-bottom: 15px; }
.step-content p { color: var(--text-muted); }

/* --- REFERENCES --- */
.references { background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent); }
.py-50 { padding-bottom: 60px; }
.ref-card {
    background: var(--bg-surface); border: 1px solid var(--glass-border); border-radius: 20px;
    padding: 40px; position: relative; transition: 0.4s; height: 100%;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: left;
}
.ref-card:hover { transform: translateY(-10px); border-color: rgba(79, 70, 229, 0.4); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.ref-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; position: relative; }
.ref-avatar {
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; font-weight: 700; flex-shrink: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.ref-meta { flex-grow: 1; }
.ref-author { font-size: 1.25rem; margin-bottom: 5px; color: #fff; }
.ref-title { color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.ref-quote-icon { font-size: 3rem; color: rgba(255,255,255,0.05); position: absolute; right: 0; top: 0; }
.ref-rating { color: #f59e0b; font-size: 0.9rem; margin-bottom: 20px; display: flex; gap: 5px; }
.ref-text { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; font-style: italic; }
.ref-pagination { bottom: 0px !important; }

/* --- CTA --- */
.cta-container {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(14, 165, 233, 0.15));
    border: 1px solid var(--glass-border); border-radius: 40px; padding: 100px 40px;
    backdrop-filter: blur(15px);
}
.cta-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }


/* --- FOOTER --- */
.footer { background: #070b15; padding: 80px 0 30px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.brand-col p { color: var(--text-muted); margin: 24px 0; max-width: 320px; }
.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 45px; height: 45px; border-radius: 50%; background: var(--bg-surface);
    display: flex; align-items: center; justify-content: center; border: 1px solid var(--glass-border);
    color: #fff; transition: var(--transition); font-size: 1.1rem;
}
.social-links a:hover { background: var(--primary); transform: translateY(-5px); border-color: var(--primary); }
.footer-col h3 { font-size: 1.3rem; margin-bottom: 25px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-muted); position: relative; padding-left: 0; transition: 0.3s; }
.footer-col ul a:hover { color: var(--accent); padding-left: 10px; }
.footer-col ul a:hover::before { content: '→'; position: absolute; left: -15px; color: var(--accent); }
.contact-info li { color: var(--text-muted); display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-info i { color: var(--primary-light); font-size: 1.2rem; margin-top: 3px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.9rem; }

/* --- WHATSAPP FLOATING BUTTON --- */
.floating-whatsapp {
    position: fixed; bottom: 40px; right: 40px; background: #25d366; color: white;
    width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 38px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 900;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: none !important;
}
.floating-whatsapp:hover { transform: scale(1.15) rotate(-10deg); background: #1ebe57; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6); }
.floating-whatsapp .tooltip {
    position: absolute; right: 90px; background: #fff; color: #111; padding: 10px 15px;
    border-radius: 10px; font-size: 14px; font-weight: 700; opacity: 0; visibility: hidden;
    transition: 0.3s; white-space: nowrap; box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.floating-whatsapp .tooltip::after {
    content: ''; position: absolute; right: -8px; top: 50%; transform: translateY(-50%);
    border-left: 8px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.floating-whatsapp:hover .tooltip { opacity: 1; visibility: visible; right: 85px; }

/* --- CUSTOM CURSOR --- */
.cursor-dot {
    width: 8px; height: 8px; background: #fff; border-radius: 50%; position: fixed;
    top: 0; left: 0; z-index: 9999; pointer-events: none; transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-outline {
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%;
    position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}
.hover-effect .cursor-dot { width: 0; height: 0; }
.hover-effect .cursor-outline {
    width: 70px; height: 70px; background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-light); backdrop-filter: blur(2px);
}

/* --- ANIMATIONS --- */
.reveal-elem { opacity: 0; transform: translateY(80px) scale(0.95); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); filter: blur(5px); }
.reveal-elem.active { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .hero-title { font-size: 4rem; }
    .hero-container { gap: 40px; }
}

@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 150px; }
    .hero-reverse { grid-template-columns: 1fr; }
    .hero-reverse .hero-content { text-align: center; order: -1; }
    .hero-visual { display: none; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .title { font-size: 3rem; }
    .stats-section { margin-top: 0; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 0; background: rgba(11, 17, 33, 0.95); backdrop-filter: blur(15px); }
    .nav-menu {
        position: fixed; top: 75px; left: -100%; width: 100%; height: calc(100vh - 75px);
        background: var(--bg-color); flex-direction: column; justify-content: flex-start;
        padding-top: 50px; transition: 0.4s ease-in-out; gap: 30px;
    }
    .nav-menu.active { left: 0; }
    .nav-menu a { font-size: 1.5rem; }
    .hamburger { display: flex; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .nav-actions .btn { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .brand-col p { margin: 20px auto; }
    .social-links, .contact-info li { justify-content: center; }
    .contact-info li { flex-direction: column; align-items: center; gap: 5px; }
    .floating-whatsapp { width: 55px; height: 55px; right: 20px; bottom: 20px; font-size: 32px; }
    .floating-whatsapp .tooltip { display: none; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.8rem; }
    .services-grid, .process-steps { grid-template-columns: 1fr; }
    .stats-container { flex-direction: column; align-items: center; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    body { cursor: auto; } /* Disable custom cursor on very small devices as it interferes with touch */
    .cursor-dot, .cursor-outline { display: none; }
}
