/* ==========================================================================
   LEOTAU COMUNICACIONES - VIBRANT VITA 3D DESIGN (COLORES VIVOS & LUZ NATURAL)
   ========================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* Paleta Viva y Elegante */
  --bg-body: #f4f8fc;
  --bg-card: rgba(255, 255, 255, 0.85);
  
  --vivid-blue: #0052ff;
  --vivid-cyan: #00c6ff;
  --vivid-emerald: #10b981;
  --vivid-gradient: linear-gradient(135deg, #0052ff 0%, #00c6ff 50%, #10b981 100%);
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.8);
  --border-accent: rgba(0, 198, 255, 0.4);
  
  --shadow-vivid: 0 20px 40px rgba(0, 82, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

body {
  font-family: var(--font-main) !important;
  background-color: var(--bg-body) !important;
  color: var(--text-body) !important;
  overflow-x: hidden;
}

/* Three.js 3D Canvas de Fondo */
#three-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Hero Luminoso y Lleno de Vida */
#hero-video {
  position: relative;
  background: linear-gradient(135deg, #06152e 0%, #0a2540 60%, #0052ff 100%) !important;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  #hero-video {
    min-height: 48vh !important;
    padding: 40px 0 !important;
  }
  
  #hero-video h1 {
    font-size: 28px !important;
    margin-bottom: 12px !important;
  }
  
  #hero-video h2 {
    font-size: 15px !important;
    margin-bottom: 20px !important;
  }

  .hero-buttons-container {
    gap: 10px !important;
  }

  .btn-get-started, .hero-buttons-container .btn {
    padding: 10px 22px !important;
    font-size: 13px !important;
  }
}


#hero-video:after {
  display: none !important; /* Eliminada la capa oscura de sombra azul */
}

#hero-video .container {
  position: relative;
  z-index: 5;
}

#hero-video h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(34px, 5vw, 62px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  margin-bottom: 20px !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 0, 0, 0.6) !important;
}

#hero-video h1 span {
  background: linear-gradient(135deg, #00c6ff 0%, #00f2fe 50%, #38ef7d 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.9));
}

#hero-video h2 {
  font-size: clamp(17px, 2vw, 22px) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  max-width: 650px;
  margin-bottom: 35px !important;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.7) !important;
  background: rgba(6, 21, 46, 0.45);
  padding: 6px 14px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  display: inline-block;
}


/* Botones Vivos y Dinámicos */
.btn-get-started, .hero-buttons-container .btn {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 34px !important;
  border-radius: 50px !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
}

.btn-get-started {
  background: linear-gradient(135deg, #00c6ff 0%, #0052ff 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(0, 198, 255, 0.4) !important;
}

.btn-get-started:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 14px 35px rgba(0, 82, 255, 0.5) !important;
  color: #ffffff !important;
}

/* Tarjetas Claras, Cristalinas y Llenas de Vida */
.icon-box, .pricing .box, .testimonial-item, .contact .info-box, .faq .faq-list li {
  background: var(--bg-card) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 20px !important;
  color: var(--text-body) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease, border-color 0.3s ease !important;
  transform-style: preserve-3d;
  will-change: transform;
}

.icon-box:hover, .pricing .box:hover, .testimonial-item:hover, .contact .info-box:hover {
  border-color: var(--vivid-cyan) !important;
  box-shadow: var(--shadow-vivid) !important;
  background: #ffffff !important;
}

/* Títulos y Jerarquía Tipográfica Clara */
h1, h2, h3, h4, h5, h6, .pricing .box h3, .contact .info-box h3, .testimonial-item h3, .section-title h2, .section-title h3 {
  font-family: var(--font-display) !important;
  color: var(--text-dark) !important;
  font-weight: 700 !important;
}

p, .description, .pricing .box ul li, .contact .info-box p, .testimonial-item p, .faq .faq-list p, .section-title p {
  color: var(--text-body) !important;
}

.pricing .box ul li strong {
  color: var(--vivid-blue) !important;
}

.pricing .box h4 {
  color: var(--vivid-blue) !important;
}

.pricing .box h4 span {
  color: var(--text-muted) !important;
}

.pricing .box.featured {
  border: 2px solid var(--vivid-cyan) !important;
  background: #ffffff !important;
  box-shadow: 0 15px 40px rgba(0, 198, 255, 0.25) !important;
}

.pricing .box.featured:before {
  background: linear-gradient(135deg, #00c6ff, #10b981) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}
/* Header & Nav Responsive Fixes */
#header {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  color: #1e293b !important;
  font-size: 28px !important;
  cursor: pointer !important;
  display: none !important;
  line-height: 0 !important;
  transition: 0.3s !important;
  position: relative !important;
  z-index: 99999 !important;
}

#header .logo img {
  max-height: 62px !important;
  width: auto !important;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block !important;
  }
  
  #navbar ul {
    display: none;
  }

  /* En móvil ajustar tamaño del logo */
  #header {
    height: 72px !important;
  }
  
  #header .logo img {
    max-height: 51px !important;
    width: auto !important;
  }
}

/* Navbar Mobile Fullscreen Overlay */
.navbar-mobile {
  position: fixed !important;
  overflow: hidden !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  z-index: 9998 !important;
  transition: 0.3s !important;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  color: #ffffff !important;
  font-size: 32px !important;
  z-index: 99999 !important;
}

.navbar-mobile ul {
  display: block !important;
  position: absolute !important;
  top: 60px !important;
  right: 15px !important;
  left: 15px !important;
  bottom: 15px !important;
  padding: 12px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  overflow-y: auto !important;
}

.navbar-mobile > ul > li {
  padding: 0 !important;
}

.navbar-mobile a, .navbar-mobile a:focus {
  padding: 14px 18px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.navbar-mobile a:hover, .navbar-mobile .active {
  color: #29abe2 !important;
  background: #f0f9ff !important;
}

.navbar-mobile a:before {
  display: none !important;
}



#header .logo a {
  color: var(--text-dark) !important;
}

.navbar a, .navbar a:focus {
  color: var(--text-dark) !important;
  font-weight: 600 !important;
}

.navbar a:hover, .navbar .active {
  color: var(--vivid-blue) !important;
}

#topbar {
  background: linear-gradient(90deg, #0052ff 0%, #00c6ff 100%) !important;
}

/* Mobile Topbar compacto */
@media (max-width: 576px) {
  #topbar {
    padding: 6px 0 !important;
  }
  #topbar .contact-info a span {
    font-size: 0.78rem !important;
  }
  #topbar .social-links {
    gap: 6px !important;
  }
  #topbar .social-links a {
    font-size: 0.9rem !important;
    padding: 0 2px !important;
  }
  #topbar .social-links .btn {
    font-size: 0.7rem !important;
    padding: 3px 10px !important;
  }
}

/* Mobile Hero mejoras */
@media (max-width: 768px) {
  #hero-video {
    min-height: 55vh !important;
  }
  #hero-video h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  #hero-video h2 {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }
  .hero-buttons-container {
    gap: 10px !important;
  }
  .btn-get-started {
    font-size: 13px !important;
    padding: 10px 20px !important;
  }
  .hero-buttons-container .btn {
    font-size: 13px !important;
    padding: 10px 16px !important;
  }
}

.icon-box .icon {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%) !important;
  color: var(--vivid-blue) !important;
  border-radius: 16px !important;
}

.icon-box:hover .icon {
  background: linear-gradient(135deg, #0052ff 0%, #00c6ff 100%) !important;
  color: #ffffff !important;
}
