/* ============================================
   QUANTIX - ESTILOS GLOBALES
   Clases reutilizables y estilos generales
   ============================================ */

/* Variables CSS */
:root {
  --quantix-primary: #2563eb;
  --quantix-secondary: #ec4899;
  --quantix-dark: #d81b60;
  --quantix-light: #93c5fd;
  --quantix-text-dark: #0f172a;
  --quantix-cream: #f8fafc;
}

/* ============================================
   GRADIENTE PRINCIPAL - Clase Reutilizable
   ============================================ */
.bg-quantix-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #d81b60 100%);
}

.bg-quantix-gradient-light {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(216, 27, 96, 0.70) 100%);
}

.bg-quantix-gradient-soft {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(216, 27, 96, 0.08) 100%);
}

/* ============================================
   SCROLLBAR PERSONALIZADO
   ============================================ */
/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(248, 250, 252, 0.5);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ec4899 0%, #d81b60 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #d81b60 0%, #ec4899 100%);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ec4899 rgba(248, 250, 252, 0.5);
}

/* ============================================
   TIPOGRAFÍA GLOBAL
   ============================================ */
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   BOTONES CON GRADIENTE
   ============================================ */
.btn-quantix {
  background: linear-gradient(135deg, #2563eb 0%, #d81b60 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(216, 27, 96, 0.3);
}

.btn-quantix:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216, 27, 96, 0.4);
}

.btn-quantix:active {
  transform: translateY(0);
}

.btn-quantix-white {
  background: #ffffff;
  color: #2563eb;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-quantix-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ============================================
   TEXTOS CON GRADIENTE
   ============================================ */
.text-quantix-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #d81b60 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* ============================================
   BORDES Y SOMBRAS
   ============================================ */
.shadow-quantix {
  box-shadow: 0 10px 24px rgba(216, 27, 96, 0.2);
}

.shadow-quantix-lg {
  box-shadow: 0 20px 40px rgba(216, 27, 96, 0.3);
}

.border-quantix-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #2563eb 0%, #d81b60 100%) border-box;
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-quantix-primary {
  color: var(--quantix-primary);
}

.text-quantix-secondary {
  color: var(--quantix-secondary);
}

.text-quantix-dark {
  color: var(--quantix-dark);
}

/* Transiciones suaves */
.transition-quantix {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
}

