:root {
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #06b6d4;
    --bg-dark: #050505;
    --text: #ffffff;
    --text-dim: #a1a1aa;
    --glass: rgba(10, 10, 10, 0.8);
    --border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
}

.split-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

/* PANEL IZQUIERDO (TEXTO Y CONTROLES) */
.left-panel {
    width: 45%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a, #111111);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
    z-index: 2;
    padding: 40px;
}

.presentation-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide {
    position: absolute;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    max-width: 500px;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.text-content {
    /* Eliminado el fondo glass excesivo porque ahora está sobre negro puro */
    padding: 20px 0;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: #000;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px var(--primary-glow);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.6;
}

.controls {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.nav-btn {
    background: var(--glass);
    border: 1px solid var(--border);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-3px);
}

.progress-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--primary-glow);
}

.status-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-dim);
}


/* PANEL DERECHO (IMÁGENES) */
.right-panel {
    width: 55%;
    height: 100%;
    position: relative;
    background: #000;
}

.background-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-bg.active {
    opacity: 1;
}

/* Background Images */
#bg-1 { background-image: url('bg-1.png'); }
#bg-2 { background-image: url('bg-2.png'); }
#bg-3 { background-image: url('bg-3.png'); }
#bg-4 { background-image: url('bg-4.png'); }
#bg-5 { background-image: url('bg-5.png'); }
#bg-6 { background-image: url('bg-6.png'); }
#bg-7 { background-image: url('bg-7.png'); }
#bg-8 { background-image: url('bg-8.png'); }
#bg-9 { background-image: url('bg-9.png'); }


/* OVERLAY DE INICIO */
.overlay-start {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-box {
    text-align: center;
    max-width: 500px;
}

.logo-placeholder {
    font-size: 3rem;
    margin-bottom: 20px;
}

.intro-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.intro-box p {
    margin-bottom: 40px;
    color: var(--text-dim);
}

#start-btn {
    background: var(--primary);
    border: none;
    color: #000;
    padding: 18px 48px;
    border-radius: 100px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px var(--primary-glow);
}

#start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px var(--primary-glow);
}
