/* ==============================
   Estilo para la página de Demo de IA
============================== */

/* Contenedor principal de la página */
.ia-demo-header {
    background-color: #f8f9fa;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.ia-demo-header h1 {
    font-size: 2.5em;
    color: #0056b3;
    margin-bottom: 15px;
}

.ia-demo-header p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Botón de llamada a la acción (ver demo) */
.ia-demo-header .btn {
    font-size: 18px;
    padding: 12px 30px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.ia-demo-header .btn:hover {
    background-color: #0056b3;
}

/* Sección de Beneficios de la IA */
.ia-benefits {
    text-align: center;
    padding: 40px 20px;
}

.ia-benefits h2 {
    font-size: 2em;
    color: #0056b3;
    margin-bottom: 20px;
}

.ia-benefits p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ia-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ia-benefits ul li {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.ia-benefits ul li span {
    font-weight: bold;
}

/* Sección de Demo Interactiva */
.ia-demo {
    background-color: #f0f7ff;
    padding: 40px 20px;
    text-align: center;
}

.ia-demo h2 {
    font-size: 2.2em;
    color: #0056b3;
    margin-bottom: 20px;
}

.ia-demo p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 25px;
}

.ia-demo .btn {
    font-size: 18px;
    padding: 12px 30px;
    background-color: #28a745;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.ia-demo .btn:hover {
    background-color: #218838;
}

/* Sección de Testimonios */
.ia-testimonials {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.ia-testimonials h2 {
    font-size: 2em;
    color: #0056b3;
    margin-bottom: 30px;
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-size: 1em;
    color: #333;
    margin-bottom: 10px;
}

.testimonial strong {
    font-size: 1.1em;
    color: #0056b3;
}

/* Sección de Formulario de Contacto */
.ia-contact {
    background-color: #f0f7ff;
    padding: 40px 20px;
    text-align: center;
}

.ia-contact h2 {
    font-size: 2em;
    color: #0056b3;
    margin-bottom: 20px;
}

.ia-contact p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ia-contact form {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ia-contact input,
.ia-contact textarea {
    padding: 12px;
    font-size: 1.1em;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
}

.ia-contact button {
    font-size: 1.2em;
    padding: 12px 30px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.ia-contact button:hover {
    background-color: #0056b3;
}

/* Responsividad */
@media (max-width: 768px) {
    /* Ajustes para pantallas más pequeñas */
    .ia-demo-header h1 {
        font-size: 2em;
    }

    .ia-demo-header p {
        font-size: 1.1em;
    }

    .ia-demo .btn,
    .ia-demo-header .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .ia-testimonials .testimonial {
        width: 280px;
    }

    .ia-contact form {
        width: 100%;
        padding: 15px;
    }

    .ia-contact input,
    .ia-contact textarea {
        font-size: 1em;
        padding: 10px;
    }

    .ia-contact button {
        font-size: 1.1em;
    }
}
