/* --- NEXUS MOCKUP STYLES: HIGH VISIBILITY --- */
/* Corrección de visibilidad: Fondos sólidos para evitar "pantalla negra" */

/* 1. CONTENEDOR FIGMA */
.figma-embed-container {
    position: relative;
    width: 100%;
    /* Ratio 16:9 estándar */
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    
    /* FONDO GRIS CLARO DE SEGURIDAD */
    /* Si el iframe tarda, se ve esto en lugar de negro */
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    
    margin: 2rem auto 4rem auto; 
    
    /* Eliminamos opacidad inicial para asegurar visibilidad inmediata */
    opacity: 1; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* El Iframe (Contenido Real) */
.figma-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    
    /* IMPORTANTE: Fondo blanco forzado */
    /* Esto evita que diseños transparentes se vean negros */
    background-color: #ffffff !important; 
    
    z-index: 1;
}

/* 2. BOTONES DE CARGA Y SPINNERS */
.load-figma-button, 
.figma-loading-spinner {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

/* Botón "Tocar para cargar" (Visible en móvil) */
.load-figma-button {
    /* Fondo con contraste suficiente */
    background-color: #1e1e1e; 
    cursor: pointer;
    transition: background 0.3s;
}

.load-figma-button:hover {
    background-color: #252525;
}

.load-figma-button i {
    font-size: 3rem;
    color: #A8C7FA; /* Azul Nexus visible */
    margin-bottom: 0.5rem;
}

.load-figma-button strong {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Spinner de Carga */
.figma-loading-spinner {
    background-color: #1a1a1a;
    color: #fff;
    pointer-events: none;
    transition: opacity 0.3s ease;
    
    /* Oculto por defecto, JS lo activa */
    opacity: 0;
    visibility: hidden;
}

.figma-loading-spinner.is-loading {
    opacity: 1;
    visibility: visible;
}

.figma-loading-spinner i {
    font-size: 2.5rem;
    color: #C6A7FC; /* Púrpura */
}

/* 3. LISTA DE CARACTERÍSTICAS */
.interactive-features {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    
    /* Aseguramos visibilidad inmediata */
    opacity: 1; 
}

.interactive-features h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #A8C7FA;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.features-list {
    list-style: none; 
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr; 
    gap: 1rem; 
}

@media (min-width: 768px) {
    .features-list {
         grid-template-columns: 1fr 1fr;
    }
}

.features-list li {
    position: relative;
    padding-left: 2rem; 
    color: #ccc;
    font-size: 1rem;
}

.features-list li::before {
    content: '✓'; 
    position: absolute;
    left: 0;
    top: 0; 
    color: #A8C7FA; 
    font-weight: bold;
}

.features-list li strong {
    color: #fff;
}