/* Secciones */
.section {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5vw 15%;
    gap: 2rem;
    box-sizing: border-box;
    text-align: center;
}

.app-intro-section,
.app-demo-section {
    min-height: auto;
}

.app-intro-section {
    padding-top: 200px;
}

.app-intro-section .section-title,
.app-demo-section .section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0;
    color: var(--text-primary);
    transform: translateY(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible .section-title,
.section-visible .section-title {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    opacity: 0;
    color: var(--text-secondary);
    transform: translateY(-20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section-visible .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* Columnas demo */
.app-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: flex-start;
    justify-content: start;
}

.app-column-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.app-column-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    opacity: 0;
    color: var(--text-secondary);
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.app-column-text + .app-column-text {
    margin-top: 10px;
}

.section-visible .app-column-text {
    opacity: 1;
    transform: translateY(0);
}

.app-column-text:nth-child(2) {
    transition-delay: 0.1s;
}

.app-column-text:nth-child(3) {
    transition-delay: 0.3s;
}

/* Separador */
.app-separator-wrapper {
    background-color: var(--bg-main);
    padding: 3rem 0;
}

.app-separator {
    height: 2px;
    background-color: var(--accent-primary);
    width: 40%;
    margin: 0 auto;
    opacity: 0.25;
}

.app-video {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 5vw;
}

.app-video video {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1024px) {
    .section {
        padding: 200px 5vw;
    }
    
    .app-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-column ul {
        padding-left: 0;
        list-style-position: inside;
    }

    .app-separator {
        width: 80%;
    }

}

@media (max-width: 768px) {
    .section {
        padding: 8vw 5vw;
        gap: 1.5rem;
    }

    .app-intro-section,
    .app-demo-section {
        padding: 100px 10%;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .app-separator-wrapper {
        padding: 2.5rem 0;
    }

    .app-separator {
        width: 70%;
    }

    .app-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .app-column-text {
        font-size: 0.95rem;
    }

    .app-video {
        padding: 0;
    }
}