/**
 * ========================================================================
 * DATISOFT SYSTEMS - CUSTOM STYLES
 * ========================================================================
 * Archivo CSS modular para la Landing Page corporativa
 * Incluye configuración de Tailwind, colores personalizados y animaciones
 * ========================================================================
 */

/* -----------------------------------------------------------------------
   CONFIGURACIÓN DE TAILWIND CSS
   ----------------------------------------------------------------------- */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* -----------------------------------------------------------------------
   CONFIGURACIÓN DE COLORES PERSONALIZADOS
   ----------------------------------------------------------------------- */
:root {
    --primary: #0F172A;      /* Azul Marino Profundo */
    --accent: #0EA5E9;       /* Azul Eléctrico / Cian */
    --light: #F8FAFC;        /* Fondo claro */
    --textgray: #334155;     /* Gris para texto */
    --silver: #E2E8F0;       /* Gris plata */
}

/* -----------------------------------------------------------------------
   TIPOGRAFÍA BASE
   ----------------------------------------------------------------------- */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: var(--textgray);
}

/* -----------------------------------------------------------------------
   COLORES DE TEXTO PERSONALIZADOS
   ----------------------------------------------------------------------- */
.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-textgray {
    color: var(--textgray);
}

/* -----------------------------------------------------------------------
   COLORES DE FONDO PERSONALIZADOS
   ----------------------------------------------------------------------- */
.bg-primary {
    background-color: var(--primary);
}

.bg-accent {
    background-color: var(--accent);
}

.bg-light {
    background-color: var(--light);
}

/* -----------------------------------------------------------------------
   GRADIENTE HERO SECTION
   ----------------------------------------------------------------------- */
.gradient-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1e3a5f 70%, #0EA5E9 100%);
}

/* -----------------------------------------------------------------------
   ANIMACIÓN: CARD HOVER (Elevación de Tarjetas)
   ----------------------------------------------------------------------- */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

/* -----------------------------------------------------------------------
   ANIMACIÓN: BOTÓN PRIMARY
   ----------------------------------------------------------------------- */
.btn-primary {
    background-color: var(--accent);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0284c7;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

/* -----------------------------------------------------------------------
   ANIMACIÓN: PULSE (Pulsación continua)
   ----------------------------------------------------------------------- */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* -----------------------------------------------------------------------
   BADGE POPULAR (Etiqueta destacada)
   ----------------------------------------------------------------------- */
.badge-popular {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}
/* Badge de Ilimitado */
.badge-unlimited {
    background-color: #dcfce7; /* Verde muy claro */
    color: #166534; /* Verde oscuro */
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid #86efac;
    margin-left: 8px;
}
/* -----------------------------------------------------------------------
   MOBILE MENU TOGGLE (Menú desplegable móvil)
   ----------------------------------------------------------------------- */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

/* -----------------------------------------------------------------------
   SOMBRA EMPRESARIAL (Enterprise Shadow)
   ----------------------------------------------------------------------- */
.enterprise-shadow {
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
}

/* -----------------------------------------------------------------------
   RESPONSIVE: AJUSTES MÓVILES
   ----------------------------------------------------------------------- */
@media (max-width: 768px) {
    .gradient-hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* -----------------------------------------------------------------------
   ESTILOS PARA ICONOS FONTAWESOME
   ----------------------------------------------------------------------- */
.fas, .fab {
    display: inline-block;
}

/* -----------------------------------------------------------------------
   UTILIDADES ADICIONALES
   ----------------------------------------------------------------------- */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.border-silver {
    border-color: var(--silver);
}

/* -----------------------------------------------------------------------
   ANIMACIONES DE SCROLL (Fade In)
   ----------------------------------------------------------------------- */
.section-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}


/* -----------------------------------------------------------------------
   ESTILOS PARA ENLACES
   ----------------------------------------------------------------------- */
a {
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* -----------------------------------------------------------------------
   ESTILOS PARA BOTONES
   ----------------------------------------------------------------------- */
button {
    cursor: pointer;
    border: none;
    outline: none;
}

button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* -----------------------------------------------------------------------
   FIN DEL ARCHIVO CSS
   ----------------------------------------------------------------------- */
