/* =====================================================================
   ESTILOS ESPECÍFICOS: CATÁLOGO DE MÓDULOS
   ===================================================================== */

/* NAV ESPECÍFICO DE PRODUCTO */
.product-nav { border-bottom: 1px solid var(--glass-border); padding: 15px 0; position: sticky; top: 0; background: rgba(10, 15, 25, 0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 100; transform: translateZ(0); will-change: backdrop-filter; }
.product-logo { font-weight: 800; font-size: 24px; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.product-logo i { color: var(--primary); }
.back-link { font-size: 15px; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 8px; transition: 0.3s;}
.back-link:hover { color: var(--text-main); transform: translateX(-5px); }

/* VISTA PRINCIPAL FUSIONADA */
.unified-catalog { padding: 60px 0 100px; flex-grow: 1; display: flex; align-items: center; position: relative; z-index: 10;}

/* TEXTO CENTRADO */
.hero-text-centered { text-align: center; max-width: 800px; margin: 0 auto 60px auto; display: flex; flex-direction: column; align-items: center;}
.tag { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; padding: 6px 15px; border-radius: 20px; letter-spacing: 1px; margin-bottom: 25px; }
.tag-accent { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }

.hero-text-centered h1 { font-size: 50px; font-weight: 800; margin: 0 0 20px 0; line-height: 1.1; letter-spacing: -1px; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9); }
.hero-text-centered h1 span { color: var(--primary); } 
.hero-text-centered p { font-size: 18px; color: var(--text-muted); line-height: 1.6; font-weight: 300; margin: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }

/* CATÁLOGO DE MÓDULOS (TARJETAS) */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.module-card { background: rgba(20, 25, 35, 0.5); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 20px; padding: 35px; position: relative; transition: 0.4s; display: flex; flex-direction: column; transform: translateZ(0); will-change: transform, backdrop-filter;}
.module-card:hover { transform: translateY(-8px) translateZ(0); border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.module-card.development { opacity: 0.85; }
.module-card.development:hover { border-color: rgba(245, 158, 11, 0.4); }

.module-status { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;}
.status-active { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-dev { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }

.module-icon { width: 65px; height: 65px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 25px; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); box-shadow: inset 0 0 20px rgba(255,255,255,0.02);}
.module-icon.blue { color: #3b82f6; }
.module-icon.green { color: #10b981; }
.module-icon.purple { color: #8b5cf6; }
.module-icon.yellow { color: #f59e0b; }

.module-card h3 { font-size: 20px; margin: 0 0 15px 0; font-weight: 700; color: var(--text-main); text-shadow: 0 2px 10px rgba(0,0,0,0.8);}
.module-card p { color: #e2e8f0; font-size: 14px; line-height: 1.6; margin: 0 0 25px 0; flex-grow: 1; font-weight: 300; text-shadow: 0 2px 8px rgba(0,0,0,0.8);}

.module-tech { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; }
.module-tech span { font-size: 11px; color: #cbd5e1; background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.08); text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

.btn-module { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); color: #3b82f6; padding: 12px; border-radius: 12px; text-align: center; font-weight: 600; font-size: 14px; transition: 0.3s; width: 100%; box-sizing: border-box; display: block; }
.btn-module:hover { background: #3b82f6; color: white; box-shadow: 0 5px 15px rgba(59,130,246,0.4); transform: translateY(-2px);}
.btn-locked { background: rgba(255,255,255,0.05); color: #64748b; border-color: rgba(255,255,255,0.1); cursor: not-allowed; }
.btn-locked:hover { background: rgba(255,255,255,0.05); color: #64748b; transform: none; box-shadow: none;}

/* RESPONSIVE MÓVIL */
@media (max-width: 992px) {
    .unified-catalog { padding: 40px 0 60px; }
    .hero-text-centered h1 { font-size: 40px; }
    .hero-text-centered p { font-size: 16px; }
}
@media (max-width: 768px) {
    /* Optimización de rendimiento móvil: bajamos el blur localmente */
    .module-card { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}