/* ==========================================================================
   NEXTZHOP SIGNATURE - LANDING CANVAS (V37.0)
   Ubicación: /assets/css/landing-canvas.css
   Lógica: Diseño Fluido Completo (Full-Width), Grillas de Red y Paywalls.
   ========================================================================== */

/* 🛡️ SELLO DE RENDIMIENTO NATIVO */
::-webkit-scrollbar { display: none; }
html, body { margin: 0; padding: 0; background-color: var(--hub-bg-app); color: var(--hub-text-main); }
.nz-hidden { display: none !important; }
.nz-flex { display: flex !important; }

.nz-text-stroke { -webkit-text-stroke: 1.5px var(--hub-text-main); color: transparent; }

/* 🚀 UNIFIED SLIM HEADER (PWA SAFE AREA FIX) */
.nz-landing-header { 
    width: 100%; height: calc(50px + env(safe-area-inset-top)); 
    padding: env(safe-area-inset-top) 24px 0 24px;
    flex-shrink: 0; position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255,255,255,0.85);
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--hub-border); transition: background-color 0.3s ease;
}
.theme-dark .nz-landing-header { background-color: rgba(10,10,10,0.85); }

.nz-header-logo { font-family: serif; font-style: italic; font-weight: 900; font-size: 1.5rem; letter-spacing: -0.05em; color: var(--hub-text-main); }
.nz-header-actions { display: flex; align-items: center; gap: 16px; }
.nz-sys-status { display: none; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: bold; letter-spacing: 0.1em; text-transform: uppercase; color: #00C853; }
@media (min-width: 768px) { .nz-sys-status { display: flex; } }

/* HERO SECTION */
.nz-hero-section {
    position: sticky; top: 0; width: 100%; height: 100vh; padding: 0 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; z-index: 0; background-color: transparent;
}
.nz-hero-title {
    font-family: var(--hub-font-sans, sans-serif); font-style: italic; font-weight: 900;
    line-height: 0.85; letter-spacing: -0.05em; width: 100%; max-width: 72rem; margin: 0 auto 32px;
    font-size: clamp(3rem, 10vw, 7rem);
}
.nz-hero-desc-box { display: inline-block; border: 1px solid #00C853; background-color: rgba(0,200,83,0.03); padding: 20px 24px; border-radius: 6px; margin-bottom: 40px; }

/* RED GLOBAL BAR & GRID */
.nz-network-bar {
    position: relative; z-index: 20; width: 100%; border-top: 1px solid var(--hub-border); border-bottom: 1px solid var(--hub-border);
    padding: 12px 24px; display: flex; justify-content: space-between; align-items: center;
    background-color: var(--hub-bg-card); box-shadow: 0 -15px 40px rgba(0,0,0,0.02);
}
.nz-network-grid {
    position: relative; z-index: 20; width: 100%; display: grid; grid-template-columns: 1fr;
    border-left: 1px solid var(--hub-border); border-bottom: 1px solid var(--hub-border); padding-bottom: 160px;
}
@media (min-width: 768px) { .nz-network-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nz-network-grid { grid-template-columns: repeat(4, 1fr); } }

/* NODE SLOT NATIVE */
.nz-node-slot {
    position: relative; overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
    border-right: 1px solid var(--hub-border); border-bottom: 1px solid var(--hub-border);
}
.nz-scanline {
    position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--hub-accent);
    box-shadow: 0 0 15px var(--hub-accent-soft); opacity: 0; pointer-events: none; z-index: 10;
}
.nz-node-slot:hover .nz-scanline { animation: nzScan 2s infinite linear; opacity: 1; }
@keyframes nzScan { 0% { top: 0; } 100% { top: 100%; } }

.nz-node-img-wrap { width: 100%; height: 192px; position: relative; overflow: hidden; border-bottom: 1px solid var(--hub-border); background-color: var(--hub-bg-card); }
.nz-node-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.1); transition: filter 0.8s ease; }
.nz-node-slot:hover .nz-node-img { filter: grayscale(0%) contrast(1); }

/* Efecto Editorial (Capa Invasora) */
.nz-editorial-layer { background-color: var(--hub-bg-app); background-image: radial-gradient(var(--hub-grid-color) 1px, transparent 1px); background-size: 32px 32px; background-position: center; }

.reveal-item { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* MODALES NATIVOS */
.nz-modal-overlay { position: fixed; inset: 0; z-index: 150; background-color: var(--hub-bg-app); display: flex; flex-direction: column; }
.nz-paywall-overlay { position: fixed; inset: 0; z-index: 200; background-color: rgba(var(--hub-bg-app-rgb), 0.8); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.nz-terminal-overlay { position: fixed; inset: 0; z-index: 999999; background-color: #030303; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; font-family: 'JetBrains Mono', monospace; }
@media (min-width: 768px) { .nz-terminal-overlay { padding: 48px; } }