/* ==========================================
   CONFIGURAÇÕES GERAIS DE BASE
=========================================== */
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: #f8fafc; 
    overflow-x: hidden; 
}

/* ==========================================
   CURSOR PERSONALIZADO GSAP
=========================================== */
#fake-cursor {
    width: 28px; 
    height: 28px; 
    position: absolute; 
    z-index: 9999; 
    pointer-events: none;
    transform-origin: top left; 
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.3));
}

/* ==========================================
   EFEITOS DE CARDS (DYNAMIC BOUNCE)
=========================================== */
.dynamic-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.dynamic-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #3b82f6; 
    box-shadow: 0 20px 40px -5px rgba(59, 130, 246, 0.2), 
                0 10px 20px -5px rgba(59, 130, 246, 0.1);
}

.dynamic-icon-box {
    transition: all 0.4s ease;
}

.dynamic-card:hover .dynamic-icon-box {
    transform: scale(1.1) rotate(-5deg);
    background-color: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb;
}

/* ==========================================
   EFEITO NEON HOVER (Borda brilhante no ROAS)
=========================================== */
.neon-hover { 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    border: 1px solid transparent; 
}

.neon-hover:hover {
    border-color: #3b82f6; 
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4), 
                inset 0 0 10px rgba(59, 130, 246, 0.1);
    transform: translateY(-5px); 
    background-color: #ffffff;
}

/* ==========================================
   SCROLL REVEAL (Animação de entrada na rolagem)
=========================================== */
.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

/* ==========================================
   CRM MOCKUP COMPONENTES & ESTADOS
=========================================== */
.crm-tab { 
    position: absolute; 
    inset: 0; 
    opacity: 0; 
    pointer-events: none; 
    padding: 1.2rem; 
    background: #f8fafc; 
    display: flex; 
    flex-direction: column; 
}

.crm-tab.active { 
    opacity: 1; 
    pointer-events: auto; 
    z-index: 10; 
}

.sidebar-item { 
    transition: all 0.2s; 
    border-radius: 0.5rem; 
    margin-bottom: 0.25rem; 
    color: #64748b; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
    padding: 0.6rem; 
    width: 100%; 
    font-size: 0.75rem;
}

.sidebar-item.active { 
    background-color: #eff6ff; 
    color: #2563eb; 
}

/* Esconder barra de rolagem nas caixas pequenas */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ==========================================
   FAQ & TOGGLES UI
=========================================== */
.faq-content { 
    max-height: 0; 
    overflow: hidden; 
    transition: all 0.4s ease; 
}

.faq-item.active .faq-content { 
    max-height: 800px; 
    padding-top: 1rem; 
    padding-bottom: 1rem; 
}

.faq-item.active .faq-icon { 
    transform: rotate(45deg); 
    color: #3b82f6; 
}

.toggle-switch { 
    width: 32px; 
    height: 18px; 
    background: #10b981; 
    border-radius: 16px; 
    position: relative; 
}

.toggle-switch::after { 
    content: ''; 
    position: absolute; 
    width: 14px; 
    height: 14px; 
    background: white; 
    border-radius: 50%; 
    top: 2px; 
    right: 2px; 
}