/* Utilidades base que se aplican sobre Tailwind */

:root {
    --primary-color: #080812;
}

html {
    scroll-behavior: smooth;
}

/* Scrollbar Personalizado para que se vea premium */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617; 
}
::-webkit-scrollbar-thumb {
    background: #334155; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569; 
}

/* Efectos de Texto Gradiente */
.text-gradient {
    background: linear-gradient(to right, #c084fc, #22d3ee, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botones principales y secundarios */
.btn-primary {
    background: linear-gradient(to right, #7c3aed, #06b6d4);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 4px 14px 0 rgba(124, 58, 237, 0.39);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(6, 182, 212, 0.39);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Tarjetas estilo Glassmorphism */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
}

.comparison-card {
    background: linear-gradient(to bottom right, rgba(255,255,255,0.05), transparent);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.comparison-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-4px);
}

.use-case-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.use-case-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    transform: translateY(-8px);
}

/* Etiquetas del Hero */
.tag-pill {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #e2e8f0;
}

/* Animaciones simples */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Clases para JS Observer */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MENÚ MÓVIL ===== */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.mobile-menu a,
.mobile-menu button {
    cursor: pointer;
}