/* 
 * EFFICAX - Custom Styles
 * Identidad visual SaaS: Minimalismo, tipografía Google Sans Flex, colores profundos.
 */

/* Tipografía Corporativa: Google Sans Flex (Variable Font) */
@font-face {
  font-family: "Google Sans Flex";
  src: url('../fonts/GoogleSansFlex-VariableFont.ttf') format('truetype');
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-style: normal;
  font-display: swap;
}

:root {
    --brand-blue: #215EA5;
    --brand-secondary: #4A8CD2;
    --brand-light: #E7F1FA;
    --cta-green: #2EAF60;
    --cta-light: #6ACC90;
    --neutral-dark: #2D2D2D;
    --neutral-medium: #78828C;
    --neutral-light: #DCE1E6;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Animación de Blobs estilo Vercel */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* Glassmorphism sutil para Header */
header.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Mejora de focus para accesibilidad */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Micro-interacciones para Cards */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.pause {
    animation-play-state: paused;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Glassmorphism avanzado */
.backdrop-blur-xl {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Estilos de selección de texto corporativos */
::selection {
    background-color: var(--brand-blue);
    color: white;
}
