/**
 * Estilos Corporativos Ultra-Modernos - Conexión Corporativa Venezuela C.A. & CrediConex
 * Identidad Oficial: Azul Profundo (#0B3B8C), Azul Noche (#062356), Verde Lima (#76C043, #8CD600), Cyan Tech (#00A8E8)
 */

:root {
  --color-blue-deep: #0B3B8C;
  --color-blue-dark: #062356;
  --color-green-lime: #76C043;
  --color-green-bright: #8CD600;
  --color-cyan-tech: #00A8E8;
  --color-surface-bg: #F4F7FB;
  --color-white: #FFFFFF;
  --color-text-dark: #0f172a;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-surface-bg);
  color: var(--color-text-dark);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Clases de Identidad */
.bg-conexion-blue { background-color: #0B3B8C; }
.bg-conexion-dark { background-color: #062356; }
.bg-conexion-lime { background-color: #76C043; }
.bg-conexion-cyan { background-color: #00A8E8; }
.text-conexion-blue { color: #0B3B8C; }
.text-conexion-lime { color: #76C043; }
.text-conexion-cyan { color: #00A8E8; }

.border-conexion-lime { border-color: #76C043; }
.border-conexion-blue { border-color: #0B3B8C; }

/* Gradientes Modernos */
.gradient-hero {
  background: radial-gradient(circle at 80% 20%, rgba(0, 168, 232, 0.15) 0%, transparent 40%),
              linear-gradient(135deg, #062356 0%, #0B3B8C 55%, #082d6b 100%);
}

.gradient-card-lime {
  background: linear-gradient(135deg, #76C043 0%, #8CD600 100%);
}

.gradient-crediconex {
  background: linear-gradient(135deg, #062356 0%, #0B3B8C 50%, #00A8E8 100%);
}

.gradient-badge-glow {
  background: linear-gradient(90deg, #76C043 0%, #00A8E8 100%);
}

/* Glassmorphism Ultra Moderno */
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-card-dark {
  background: rgba(6, 35, 86, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Animaciones y Pulsos */
.pulse-badge {
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(118, 192, 67, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(118, 192, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(118, 192, 67, 0); }
}

.pulse-node {
  animation: pulse-node-anim 2.5s infinite;
}

@keyframes pulse-node-anim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Radar Ripple para Mapa */
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(118, 192, 67, 0.8);
  animation: radar-wave 3s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.radar-ring:nth-child(2) {
  animation-delay: 1s;
}

.radar-ring:nth-child(3) {
  animation-delay: 2s;
}

@keyframes radar-wave {
  0% { width: 12px; height: 12px; opacity: 1; margin: -6px 0 0 -6px; }
  100% { width: 90px; height: 90px; opacity: 0; margin: -45px 0 0 -45px; }
}

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

/* Efectos de Hover en Tarjetas */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(11, 59, 140, 0.15);
}

/* Estilos de Flyer Showcase */
.flyer-thumb {
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}
.flyer-thumb:hover {
  transform: scale(1.03);
}

/* PWA Install Bar */
.pwa-install-banner {
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
