/* ==========================================================================
   INTERFAZ DE PRODUCTOS PREMIUM Y LÍNEAS DE HARDWARE - TELWARE
   ========================================================================== */

#telware-products-root {
  background-color: #030712 !important;
  color: #f3f4f6 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  overflow-x: hidden !important;
}

#telware-products-root * {
  box-sizing: border-box !important;
}

#telware-products-root .products-container {
  width: 90% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Títulos de Secciones */
#telware-products-root .section-title-wrapper {
  margin-bottom: 40px !important;
}
#telware-products-root .section-title-wrapper.centralizado {
  text-align: center !important;
}
#telware-products-root .section-title-wrapper h2 {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
}
#telware-products-root .section-title-wrapper p {
  font-size: 15px !important;
  color: #9ca3af !important;
  margin: 0 !important;
}

/* 1. HERO */
#telware-products-root .products-hero-section {
  padding: 80px 0 40px 0 !important;
  position: relative !important;
  text-align: center !important;
}

#telware-products-root .products-hero-blur {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 600px !important;
  height: 250px !important;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%) !important;
  filter: blur(40px) !important;
  pointer-events: none !important;
}

#telware-products-root .products-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 14px !important;
  border-radius: 30px !important;
  font-size: 12.5px !important;
  color: #e5e7eb !important;
  margin-bottom: 24px !important;
}

#telware-products-root .badge-dot {
  width: 6px !important;
  height: 6px !important;
  background-color: #3b82f6 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #3b82f6 !important;
}

#telware-products-root .products-hero-section h1 {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 16px 0 !important;
}

#telware-products-root .products-hero-section p {
  font-size: 16.5px !important;
  color: #9ca3af !important;
  max-width: 760px !important;
  margin: 0 auto !important;
  line-height: 1.6 !important;
}

/* 2. REJILLA DE PRODUCTOS (SHOWROOM) */
#telware-products-root .products-showroom-section {
  padding: 40px 0 60px 0 !important;
}

#telware-products-root .products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
}

#telware-products-root .product-show-card {
  background: #090f1f !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#telware-products-root .product-show-card:hover {
  border-color: rgba(59, 130, 246, 0.3) !important;
  transform: translateY(-5px) !important;
}

/* Caja de Icono (Solución al abandono visual) */
#telware-products-root .card-image-emulation {
  height: 140px !important;
  background: linear-gradient(135deg, #070c18 0%, #03060c 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

#telware-products-root .card-image-emulation svg {
  width: 46px !important;
  height: 46px !important;
  color: rgba(59, 130, 246, 0.3) !important;
  transition: color 0.3s ease, transform 0.3s ease !important;
}

#telware-products-root .product-show-card:hover .card-image-emulation svg {
  color: #3b82f6 !important;
  transform: scale(1.1) !important;
}

/* Cuerpo de información */
#telware-products-root .product-card-info {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

#telware-products-root .product-card-info h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
}

#telware-products-root .product-card-info p {
  font-size: 13px !important;
  color: #9ca3af !important;
  line-height: 1.55 !important;
  margin: 0 0 20px 0 !important;
  flex-grow: 1 !important;
}

#telware-products-root .product-card-link {
  color: #3b82f6 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: auto !important;
}

#telware-products-root .product-card-link span {
  transition: transform 0.2s ease !important;
}

#telware-products-root .product-show-card:hover .product-card-link span {
  transform: translateX(4px) !important;
}

/* 3. SECCIÓN BENEFICIOS */
#telware-products-root .products-benefits-section {
  padding: 60px 0 !important;
  background-color: #050b14 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

#telware-products-root .benefits-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px !important;
}

#telware-products-root .benefit-premium-item {
  text-align: center !important;
  padding: 10px !important;
}

#telware-products-root .benefit-icon-box {
  font-size: 30px !important;
  margin-bottom: 16px !important;
}

#telware-products-root .benefit-premium-item h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
}

#telware-products-root .benefit-premium-item p {
  font-size: 13px !important;
  color: #9ca3af !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* 4. LLAMADA A LA ACCIÓN (CTA) */
#telware-products-root .products-cta-section {
  padding: 90px 0 !important;
  position: relative !important;
  text-align: center !important;
  background: radial-gradient(circle at top center, #0a142c 0%, #030712 80%) !important;
}

#telware-products-root .cta-layout-wrapper h2 {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 12px 0 !important;
}

#telware-products-root .cta-layout-wrapper p {
  font-size: 15.5px !important;
  color: #9ca3af !important;
  max-width: 620px !important;
  margin: 0 auto 32px auto !important;
  line-height: 1.6 !important;
}

#telware-products-root .products-cta-actions {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
}

#telware-products-root .btn-products-primary {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8) !important;
  color: #ffffff !important;
  padding: 14px 30px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  transition: opacity 0.2s ease !important;
}

#telware-products-root .btn-products-primary:hover {
  opacity: 0.95 !important;
}

#telware-products-root .btn-products-outline {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 14px 30px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

#telware-products-root .btn-products-outline:hover {
  border-color: #3b82f6 !important;
  background: rgba(59, 130, 246, 0.03) !important;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  #telware-products-root .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  #telware-products-root .benefits-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 680px) {
  #telware-products-root .products-grid { grid-template-columns: 1fr !important; }
  #telware-products-root .benefits-grid { grid-template-columns: 1fr !important; }
  #telware-products-root .products-cta-actions { flex-direction: column !important; gap: 12px !important; }
  #telware-products-root .products-hero-section h1 { font-size: 30px !important; }
}