/* Reset básico y fuentes (igual que antes) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header (igual que antes) */
header {
    background-color: #6a1b9a;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Hero Section (igual que antes) */
#hero {
    background-color: #e1bee7;
    padding: 60px 20px;
    text-align: center;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #4a148c;
}

#hero .highlight {
    color: #6a1b9a;
    font-weight: 700;
}

#hero .subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Estilo para placeholders de imagen */
.image-placeholder {
    background-color: #e0e0e0;
    border: 2px dashed #bdbdbd;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #757575;
    font-style: italic;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 450px;
    height: 250px; /* Ajusta según el aspect ratio deseado */
    margin-left: auto;
    margin-right: auto;
}

/* Si usas una imagen real, este estilo aplicaría */
.hero-image {
    max-width: 100%;
    width: 450px;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


.cta-button {
    display: inline-block;
    background-color: #6a1b9a;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.cta-button:hover {
    background-color: #4a148c;
}

.cta-button-secondary {
    display: inline-block;
    background-color: transparent;
    color: #6a1b9a;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid #6a1b9a;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: #6a1b9a;
    color: #fff;
}


/* Secciones Generales (igual que antes) */
section {
    padding: 50px 0;
    text-align: center;
}

section h2, section h3 {
    margin-bottom: 25px;
    color: #4a148c;
    font-size: 1.8rem;
}
section h3 {
    font-size: 1.6rem;
}

section p {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
}

/* Cómo Funciona con SVG */
.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
}

.step {
    flex-basis: 30%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.step-icon-svg-container {
    width: 70px; /* Tamaño del contenedor del SVG */
    height: 70px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-svg {
    width: 100%; /* El SVG ocupa todo el contenedor */
    height: 100%;
}
/* Para imágenes de detalle si las añades */
.step-detail-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 10px;
    border: 1px solid #eee;
}


.step h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #6a1b9a;
}

.demo-video-link {
    margin-top: 30px;
}


/* Beneficios con SVG */
#beneficios ul, #personalizacion ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto 20px auto;
    text-align: left;
}

#beneficios li, #personalizacion li {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center; /* Alinear icono y texto verticalmente */
}

.benefit-icon-svg {
    width: 20px; /* Tamaño del icono de check */
    height: 20px;
    margin-right: 10px;
    fill: #6a1b9a; /* Color del check */
    flex-shrink: 0; /* Evita que el icono se encoja */
}


/* Personalización */
.personalizacion-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px; /* Ajusta según el aspect ratio deseado */
    margin: 20px auto 30px auto;
}

/* Si usas una imagen real */
.personalizacion-image {
    max-width: 100%;
    width: 500px;
    height: auto;
    margin: 20px auto 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* Para Quién (igual que antes) */
.target-groups {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.group {
    flex-basis: 30%;
    padding: 20px;
    background-color: #f3e5f5;
    border-radius: 8px;
}

.group h5 {
    font-size: 1.1rem;
    color: #6a1b9a;
    margin-bottom: 10px;
}

/* Contacto (igual que antes) */
#contacto {
    background-color: #ede7f6;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.contact-info a {
    color: #6a1b9a;
    text-decoration: none;
    font-weight: 700;
}
.contact-info a:hover {
    text-decoration: underline;
}


/* Footer (igual que antes) */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Modal para el vídeo (igual que antes) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#video-placeholder { /* Estilo para el placeholder del video */
    background-color: #f0f0f0;
    padding: 50px 20px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    margin-top: 20px;
}

.modal-content iframe {
    max-width: 100%;
    margin-top: 20px;
    border: none; /* Quitar borde del iframe si es necesario */
}


/* Responsividad (igual que antes) */
@media (max-width: 768px) {
    #hero h2 {
        font-size: 2rem;
    }
    .steps-container, .target-groups {
        flex-direction: column;
    }
    .step, .group {
        margin-bottom: 20px;
    }
    .hero-image-placeholder, .personalizacion-image-placeholder {
        height: 200px; /* Ajustar altura para móviles */
    }
     .hero-image, .personalizacion-image {
        width: 90%;
    }
}