/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cta-form {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        min-width: 100%;
    }
}

/* ================================================== */
/* DEMO VIDEO SECTION                                 */
/* ================================================== */

.video-container {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
    max-height: 600px;
}

.video-container video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Custom video controls styling (optional enhancement) */
.video-container video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .video-container {
        max-height: 300px;
        border-radius: 8px !important;
    }
    
    #demo h2 {
        font-size: 1.5rem;
    }
    
    #demo .lead {
        font-size: 1rem;
    }
}

/* Small mobile */
@media (max-width: 575.98px) {
    .video-container {
        max-height: 220px;
        margin: 0 0.75rem;  /* Bleed to edges */
        border-radius: 0 !important;
    }
}

