/* ==========================================================================
   SISTEMA DE INTERFAZ PREMIUM - SOPORTE TÉCNICO (TELWARE PERÚ)
   ========================================================================== */

#telware-landing-root {
  background-color: #030712 !important;
  color: #f3f4f6 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  overflow-x: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

#telware-landing-root * {
  box-sizing: border-box !important;
}

#telware-landing-root .landing-container {
  width: 90% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* ==========================================================================
   1. HERO DE LA PÁGINA (CONTROL DE ESPACIOS)
   ========================================================================== */
#telware-landing-root .premium-hero-section {
  padding: 60px 0 30px 0 !important; /* Optimizado para eliminar el vacío superior */
  position: relative !important;
  text-align: center !important;
}

#telware-landing-root .hero-blur-ambient {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 600px !important;
  height: 300px !important;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%) !important;
  filter: blur(50px) !important;
  pointer-events: none !important;
}

#telware-landing-root .hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 6px 16px !important;
  border-radius: 30px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #fff !important;
  margin-bottom: 25px !important;
}

#telware-landing-root .badge-dot {
  width: 6px !important;
  height: 6px !important;
  background-color: #10b981 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #10b981 !important;
}

#telware-landing-root .premium-hero-section h1 {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 20px 0 !important;
  line-height: 1.2 !important;
}

#telware-landing-root .premium-hero-section p {
  font-size: 17px !important;
  color: #9ca3af !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  line-height: 1.6 !important;
}

/* ==========================================================================
   2. GRILLA HORIZONTAL INQUEBRANTABLE (4 COLUMNAS CORREGIDAS)
   ========================================================================== */
#telware-landing-root .products-showroom-section {
  padding: 20px 0 80px 0 !important;
}

#telware-landing-root .showroom-main-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important; /* Fuerza las 4 columnas */
  gap: 24px !important;
  width: 100% !important;
}

/* TARJETAS PREMIUM VISIBLES (REPARA EL ERROR DE OPACIDAD) */
#telware-landing-root .product-premium-card {
  background: linear-gradient(150deg, #0b1329 0%, #060b18 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 16px !important;
  padding: 35px 25px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  
  /* Corregido: Visibles por defecto para garantizar carga inmediata */
  opacity: 1 !important;
  transform: translateY(0) !important;
  
  transition: border-color 0.3s ease, 
              background-color 0.3s ease, 
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#telware-landing-root .product-premium-card:hover {
  border-color: rgba(59, 130, 246, 0.35) !important;
  background-color: #0d1933 !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
}

/* Contenedor de Iconos Tecnológicos */
#telware-landing-root .product-icon {
  color: #3b82f6 !important;
  background: rgba(59, 130, 246, 0.06) !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 22px !important;
  border: 1px solid rgba(59, 130, 246, 0.1) !important;
  transition: all 0.3s ease !important;
}

#telware-landing-root .product-premium-card:hover .product-icon {
  color: #ffffff !important;
  background: #3b82f6 !important;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4) !important;
}

#telware-landing-root .product-premium-card h3 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 12px 0 !important;
}

#telware-landing-root .product-premium-card p {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #9ca3af !important;
  margin: 0 !important;
}

/* Capa de destello futurista al pasar el mouse */
#telware-landing-root .card-glow-inner {
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05) 0%, transparent 60%) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}

#telware-landing-root .product-premium-card:hover .card-glow-inner { 
  opacity: 1 !important; 
}

/* ==========================================================================
   3. SECCIÓN DE VALOR / BENEFICIOS (DISEÑO 2x2)
   ========================================================================== */
#telware-landing-root .benefits-premium-section {
  padding: 80px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  background-color: #020617 !important;
}

#telware-landing-root .benefits-title-center {
  text-align: center !important;
  margin-bottom: 60px !important;
}

#telware-landing-root .benefits-title-center h2 {
  font-size: 34px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 15px 0 !important;
}

#telware-landing-root .benefits-title-center p {
  color: #9ca3af !important;
  font-size: 16px !important;
  margin: 0 !important;
}

#telware-landing-root .gradient-line {
  width: 50px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #3b82f6, #10b981) !important;
  margin: 20px auto 0 auto !important;
  border-radius: 4px !important;
}

#telware-landing-root .benefits-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important; /* Dos bloques a los lados */
  gap: 30px !important;
}

#telware-landing-root .benefit-row-item {
  display: flex !important;
  gap: 20px !important;
  background: rgba(255, 255, 255, 0.01) !important;
  padding: 25px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.02) !important;
}

#telware-landing-root .benefit-status-dot {
  color: #10b981 !important;
  font-weight: bold !important;
  font-size: 18px !important;
  background: rgba(16, 185, 129, 0.1) !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

#telware-landing-root .benefit-text-box h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
}

#telware-landing-root .benefit-text-box p {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #9ca3af !important;
  margin: 0 !important;
}

/* ==========================================================================
   4. BANNER INFERIOR CON SELECCIÓN DE BOTONES (CTA)
   ========================================================================== */
#telware-landing-root .landing-premium-cta {
  padding: 100px 0 !important;
  background: radial-gradient(circle at bottom center, #0a142c 0%, #030712 70%) !important;
  text-align: center !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  position: relative !important;
}

#telware-landing-root .bottom-radial-glow {
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 500px !important;
  height: 120px !important;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%) !important;
  filter: blur(40px) !important;
}

#telware-landing-root .landing-premium-cta h2 {
  font-size: 36px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 15px 0 !important;
}

#telware-landing-root .landing-premium-cta p {
  font-size: 16.5px !important;
  color: #9ca3af !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  line-height: 1.6 !important;
}

#telware-landing-root .cta-action-buttons {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 35px !important;
  flex-wrap: wrap !important;
}

/* Botón Catálogo Principal */
#telware-landing-root .btn-cta-primary {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8) !important;
  color: #ffffff !important;
  padding: 16px 36px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25) !important;
}

#telware-landing-root .btn-cta-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4) !important;
}

/* Botón secundario outline */
#telware-landing-root .btn-cta-outline {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 16px 36px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
}

#telware-landing-root .btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* ==========================================================================
   5. RESPONSIVE INTELIGENTE (DISPOSITIVOS MEDIANOS Y CELULARES)
   ========================================================================== */
@media (max-width: 1024px) {
  #telware-landing-root .showroom-main-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* Pasa a 2x4 en tablets */
  }
}

@media (max-width: 768px) {
  #telware-landing-root .premium-hero-section h1 { font-size: 32px !important; }
  #telware-landing-root .benefits-title-center h2 { font-size: 26px !important; }
  #telware-landing-root .benefits-grid { grid-template-columns: 1fr !important; } /* Cajas apiladas en vertical */
  #telware-landing-root .showroom-main-grid { grid-template-columns: 1fr !important; } /* Grilla limpia en una sola columna */
  #telware-landing-root .btn-cta-primary, #telware-landing-root .btn-cta-outline { width: 100% !important; text-align: center !important; }
}