/* JavaTech - Estilos Visuales de Alta Precisión TI */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bg-slate: #0b132b;
  --bg-slate-dark: #070c1b;
  --bg-card: rgba(30, 41, 59, 0.72);
  --border-card: rgba(51, 65, 85, 0.65);
  --accent-emerald: #10b981;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-slate);
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0b132b;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid #0b132b;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Glassmorphism Styles */
.glass-header {
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

.glass-card {
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.55);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.15), 0 0 20px rgba(16, 185, 129, 0.05);
  transform: translateY(-3px);
}

.glass-card-featured {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  backdrop-filter: blur(14px);
  border: 2px solid #10b981;
  box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.25);
  position: relative;
}

.glass-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.glass-badge-blue {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.glass-input {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.7);
  color: #f8fafc;
  transition: all 0.2s ease;
}

.glass-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Background Cyber Grid */
.bg-grid-tech {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(51, 65, 85, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 65, 85, 0.12) 1px, transparent 1px);
}

/* Glowing Radial Spotlights */
.glow-emerald-hero {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.glow-cyan-hero {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(6, 182, 212, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Pulse animation for live online status */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

.pulse-indicator {
  animation: pulseGlow 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Floating WhatsApp Button Pulse */
@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.wa-floating-btn {
  animation: waPulse 2.5s infinite;
}

/* Tabs Animation */
.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

/* Before / After Container Styles */
.case-visual-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(51, 65, 85, 0.7);
  background: #070f20;
}

.case-visual-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.35s ease;
}

.badge-sla {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
