/* Estilos para la presentación de Información Técnica */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: #020617; /* Slate 950 */
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    font-family: 'Inter', sans-serif;
}

.presentation-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #064e3b 0%, #020617 70%);
}

.slide-wrapper {
    display: none;
    width: 1280px;
    height: 720px;
    position: absolute;
    background: #030712;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.1);
    overflow: hidden;
    flex-shrink: 0;
    transform-origin: center;
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 12px;
}

.slide-wrapper.active {
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #f8fafc;
}

/* Fondo decorativo */
.glow-spot {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.glow-tl { top: -200px; left: -200px; background: #10b981; }
.glow-br { bottom: -200px; right: -200px; background: #064e3b; }

.header {
    height: 100px;
    padding: 0 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    background: rgba(2, 6, 23, 0.4);
    backdrop-blur: 10px;
    position: relative;
    z-index: 10;
}

.title-mark {
    width: 6px;
    height: 40px;
    background: linear-gradient(to bottom, #10b981, #059669);
    margin-right: 25px;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(to right, #f8fafc, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1rem;
    color: #94a3b8;
    margin: 4px 0 0 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer {
    height: 60px;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    font-size: 0.8rem;
    color: #475569;
    background: rgba(2, 6, 23, 0.4);
}

.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 20px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-blur: 5px;
}

.nav-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    color: #34d399;
    border-color: #10b981;
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

.back-btn {
    position: fixed;
    top: 30px;
    left: 40px;
    background: rgba(15, 23, 42, 0.6);
    color: #f8fafc;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    backdrop-blur: 10px;
}

.back-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.slide-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.6);
    color: #94a3b8;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-blur: 10px;
}

#current-idx { color: #10b981; font-weight: 700; }

@media (max-width: 768px) {
    .nav-btn {
        width: 45px;
        height: 45px;
        padding: 10px;
        bottom: 20px;
        top: auto;
        transform: none;
    }
    .prev-btn { left: 20px; }
    .next-btn { right: 20px; }
    .back-btn {
        top: 10px;
        left: 10px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .slide-counter { bottom: 25px !important; }
}

/* Componentes de las Slides */
.tech-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    backdrop-blur: 5px;
}

.tech-card:hover {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.code-window {
    background: #010409;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.code-header {
    background: rgba(16, 185, 129, 0.1);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-green { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

/* Animaciones de Gráficos SVG */
.flow-line {
    stroke-dasharray: 10;
    animation: flow 20s linear infinite;
}

@keyframes flow {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}
