/* =====================================================================
   ESTILOS ESPECÍFICOS: TABLAS DE STOCK
   ===================================================================== */

/* 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; }
.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); }

/* BOTÓN ESPECÍFICO DE DESARROLLO */
.btn-disabled { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 50px; font-size: 15px; font-weight: 600; background: rgba(255,255,255,0.05); color: #64748b; border: 1px solid rgba(255,255,255,0.1); cursor: not-allowed; }

/* ESTRUCTURA UNIFICADA ABOVE THE FOLD */
.unified-product { padding: 50px 0 60px; flex-grow: 1; display: flex; align-items: center; position: relative; z-index: 10;}
.product-header { display: flex; align-items: center; gap: 50px; margin-bottom: 50px; }

.hero-text { flex: 1; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; letter-spacing: 1px; margin-bottom: 20px; }
.tag-warning { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.3); }

/* Sombras añadidas para legibilidad sobre fondo neón */
.hero-text h1 { font-size: 48px; 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 h1 span { color: var(--primary); } 
.hero-text p { font-size: 16px; color: var(--text-muted); line-height: 1.6; font-weight: 300; max-width: 550px; margin: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);}

/* VISUAL ABSTRACTO: TABLA DE STOCK OPTIMIZADA */
.hero-visual { flex: 1; display: flex; justify-content: flex-end; perspective: 1000px; }
.abstract-table { width: 100%; max-width: 420px; background: rgba(20, 25, 35, 0.8); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: 12px; padding: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.4); transform: rotateY(-10deg) rotateX(5deg) translateZ(0); transition: 0.4s; will-change: transform, border-color;}
.abstract-table:hover { transform: translateY(-10px) rotateY(0) rotateX(0) translateZ(0); border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 30px 60px rgba(16, 185, 129, 0.2); }

.table-header { display: flex; gap: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; margin-bottom: 12px; }
.col-title { flex: 1; font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }

.table-row { display: flex; gap: 15px; margin-bottom: 12px; }
.table-row:last-child { margin-bottom: 0; }
.cell { flex: 1; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); padding: 12px; border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
.cell span { font-size: 14px; font-weight: 700; color: white; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }

.bar { height: 6px; border-radius: 10px; }
.green-bar { background: #10b981; box-shadow: 0 0 10px #10b981; }
.red-bar { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.yellow-bar { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }

/* FEATURES COMPACTOS */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; position: relative; z-index: 10;}
.feature-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: 16px; padding: 25px; transition: 0.4s; transform: translateZ(0); will-change: transform, backdrop-filter;}
.feature-card:hover { transform: translateY(-8px) translateZ(0); border-color: rgba(255,255,255,0.15); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
.icon-box { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; 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); }
.icon-box.blue { color: #3b82f6; }
.icon-box.green { color: #10b981; }
.icon-box.purple { color: #8b5cf6; }

/* Sombras de texto para legibilidad */
.feature-card h3 { font-size: 18px; margin: 0 0 10px 0; font-weight: 700; color: var(--text-main); text-shadow: 0 2px 10px rgba(0,0,0,0.8);}
.feature-card p { color: #e2e8f0; font-size: 14px; line-height: 1.6; margin: 0; font-weight: 300; text-shadow: 0 2px 8px rgba(0,0,0,0.8);}

/* RESPONSIVE MÓVIL */
@media (max-width: 992px) {
    .unified-product { padding: 40px 0; display: block; }
    .product-header { flex-direction: column; text-align: center; gap: 40px; }
    .hero-text h1 { font-size: 38px; }
    .hero-text p { margin: 0 auto; }
    .hero-visual { justify-content: center; width: 100%; }
    .abstract-table { transform: none; max-width: 100%; }
}

@media (max-width: 768px) {
    /* Optimización gráfica en móviles */
    .abstract-table, .feature-card { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}