/* ==========================================================================
   EZRAH TECNOLOGIA - DESIGN SYSTEM & CUSTOM STYLES
   Theme: High Availability Infrastructure, SysAdmin, Datacenter & NOC 24/7
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-darker: #040810;
  --bg-dark: #070e1b;
  --bg-card: rgba(13, 23, 42, 0.75);
  --bg-card-hover: rgba(20, 36, 65, 0.9);
  --border-subtle: rgba(56, 189, 248, 0.12);
  --border-active: rgba(56, 189, 248, 0.4);
  --accent-cyan: #00f0ff;
  --accent-blue: #2563eb;
  --accent-neon-green: #10b981;
  --accent-emerald: #059669;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-darker);
  color: var(--text-main);
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050a14;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}
::-webkit-scrollbar-thumb:hover {
  background: #00f0ff;
}

/* Glassmorphism panels */
.glass-nav {
  background: rgba(7, 14, 27, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.glass-card {
  background: rgba(11, 20, 38, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 240, 255, 0.15), 0 0 20px rgba(37, 99, 235, 0.2);
  background: rgba(15, 28, 54, 0.85);
}

.glass-panel {
  background: rgba(10, 18, 34, 0.8);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Glow Utilities */
.glow-cyan {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
}
.glow-cyan-text {
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}
.glow-green {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}
.glow-border-cyan {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

/* Pulse animation for Server Status LEDs */
@keyframes led-blink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 12px #10b981;
  }
  50% {
    opacity: 0.4;
    transform: scale(0.95);
    box-shadow: 0 0 4px #10b981;
  }
}

.led-pulse-green {
  animation: led-blink 2s infinite ease-in-out;
}

@keyframes led-blink-cyan {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 12px #00f0ff;
  }
  50% {
    opacity: 0.4;
    transform: scale(0.95);
    box-shadow: 0 0 4px #00f0ff;
  }
}

.led-pulse-cyan {
  animation: led-blink-cyan 2.4s infinite ease-in-out;
}

/* Terminal & Console Styles */
.terminal-window {
  background: #02060d;
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.terminal-header {
  background: #0a1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.term-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.scanlines {
  position: relative;
}
.scanlines::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
}

/* Cursor Blink */
@keyframes cursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background-color: #00f0ff;
  vertical-align: middle;
  margin-left: 4px;
  animation: cursorBlink 1s infinite;
}

/* Logo Circular Avatar with cyber frame */
.avatar-cyber-frame {
  position: relative;
  border-radius: 9999px;
  padding: 3px;
  background: linear-gradient(135deg, #00f0ff, #2563eb, #10b981);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avatar-cyber-frame:hover {
  transform: rotate(3deg) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
}

.avatar-cyber-frame img {
  border-radius: 9999px;
  background: #ffffff;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.whatsapp-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* SLA Level Cards */
.sla-card-p1 {
  border-left: 4px solid #ef4444 !important;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.08) 0%, rgba(11, 20, 38, 0.8) 100%);
}
.sla-card-p2 {
  border-left: 4px solid #f59e0b !important;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(11, 20, 38, 0.8) 100%);
}
.sla-card-p3 {
  border-left: 4px solid #3b82f6 !important;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, rgba(11, 20, 38, 0.8) 100%);
}
.sla-card-p4 {
  border-left: 4px solid #10b981 !important;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(11, 20, 38, 0.8) 100%);
}

/* Tech Ecosystem Badges */
.tech-pill {
  transition: all 0.25s ease;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tech-pill:hover {
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.15);
}

/* Toast alert */
#toast-notification {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 1000;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
#toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* GLPI Button cyber effect */
.btn-glpi {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 50%, #1e40af 100%);
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.3);
  transition: all 0.3s ease;
}
.btn-glpi:hover {
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.55);
  transform: translateY(-2px);
}
