/* Custom Styles V2 for Resiliencia Artificial (Resiliencia-IA) */

:root {
  --color-navy-slate: #0b132b;
  --color-navy-card: #1c2541;
  --color-cerulean: #00b4d8;
  --color-cerulean-dark: #0077b6;
  --color-cyan-glow: #48cae4;
  --color-cyan-light: #90e0ef;
  --color-bg-dark: #060913;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--color-bg-dark);
  color: #f1f5f9;
  overflow-x: hidden;
}

/* Glassmorphism Cards V2 */
.glass-panel-v2 {
  background: rgba(20, 29, 53, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(72, 202, 228, 0.18);
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

/* Spotlight Effect on Hover */
.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 180, 216, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.glass-panel-hover-v2 {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-hover-v2:hover {
  background: rgba(28, 37, 65, 0.85);
  border-color: rgba(72, 202, 228, 0.5);
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 50px 0 rgba(0, 180, 216, 0.25);
}

/* Glow effects */
.glow-text-cyan {
  text-shadow: 0 0 24px rgba(72, 202, 228, 0.7);
}

.glow-box-v2 {
  box-shadow: 0 0 40px rgba(0, 180, 216, 0.35);
}

/* Animated Data Stream Canvas */
#bridgeCanvasV2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Gradient Text */
.text-gradient-primary-v2 {
  background: linear-gradient(135deg, #ffffff 0%, #90e0ef 40%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Image Glow Frame */
.image-glow-frame {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(72, 202, 228, 0.3);
  box-shadow: 0 12px 40px rgba(0, 180, 216, 0.2);
}

.image-glow-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 30px rgba(0, 180, 216, 0.2);
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060913;
}
::-webkit-scrollbar-thumb {
  background: #1c2541;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00b4d8;
}

/* Tab Active Indicator V2 */
.tab-btn-v2.active {
  background-color: rgba(0, 180, 216, 0.3);
  border-color: #00b4d8;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.3);
}
