
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #4a50c2;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Texto de cabecera del formulario */
h2.form-heading {
    color: #FFFFFF;
    font-size: 1.6rem; /* o el tamaño que quieras */
    font-weight: 700; /* negrita */
    margin-bottom: 1rem;
}

/* Contenedor central más estrecho para mantener el contenido centrado */
.content-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: #ff5f88;
    line-height: 1.2;
}

h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

h2 {
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ff5f88;
    border-radius: 3px;
}

h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Estilos de Header */
header {
    background: linear-gradient(135deg, #4a50c2 0%, #6065d3 100%);
    padding: 20px 0 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: -20px;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-color: #f5f5f5;
    border-radius: 50% 50% 0 0;
    transform: translateY(15px);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.logo-img {
    max-height: 70px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Hero Section */
.hero {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #f5f5f5, #fafafa);
    position: relative;
    z-index: 0;
}

.hero-content {
    width: 100%;
    text-align: center;
}

.hero-image {
    width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 28px;
    color: #ff5f88;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.hero-text {
    font-size: 16px;
    color: #4a50c2;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.hero-highlight {
    color: #ff5f88;
    font-weight: 500;
}

/* Video Container */
.video-container {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.video-placeholder {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ff5f88 0%, #ff3a6f 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 95, 136, 0.3);
}

.video-placeholder:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 95, 136, 0.4);
}

.video-caption {
    margin-top: 15px;
    font-weight: 500;
    color: #ff5f88;
    text-align: center;
}

/* Form Container */
.form-container {
    background: #4a50c2;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

form input, form select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
}

button {
    background: linear-gradient(135deg, #ff5f88 0%, #ff3a6f 100%);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 95, 136, 0.2);
    width: 100%;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 95, 136, 0.3);
}

/* Features Section */
.features {
    padding: 40px 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #ff5f88;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 36px;
    color: #ff5f88;
    margin-bottom: 15px;
}

/* How it Works Section */
.how-it-works {
    padding: 40px 0;
    text-align: center;
}

.steps {
    margin-top: 30px;
    text-align: left;
}

.step {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, #ff5f88 0%, #ff3a6f 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 95, 136, 0.2);
}

/* Use Cases Section */
.use-cases {
    padding: 40px 0;
    background-color: white;
    position: relative;
    text-align: center;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background-color: white;
    border-radius: 50% 50% 0 0;
    z-index: -1;
}

.use-cases-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.use-case {
    background: #f5f5f5;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 15px;
}

.use-case:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
}

.gallery-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    color: #4a50c2;
    opacity: 0.8;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
}

/* Common Styles */
.highlight {
    color: #ff5f88;
    font-weight: 600;
}

ul {
    list-style-position: inside;
    margin-bottom: 20px;
    padding: 0 15px;
    text-align: left;
}

li {
    margin-bottom: 10px;
    font-size: 16px;
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 25px;
}

.section-intro {
    max-width: 930px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    text-align: center;
}

/* Media Queries para tabletas */
@media (min-width: 768px) {
    .container {
        width: 90%;
        max-width: 1400px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .form-container {
        max-width: 80%;
    }
}

/* Media Queries para desktop */
@media (min-width: 992px) {
    .container {
        width: 85%;
        max-width: 1600px;
    }

    h1 {
        font-size: 42px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    h2::after {
        width: 80px;
        bottom: -8px;
    }

    h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    p {
        font-size: 20px;
        margin-bottom: 20px;
    }

    /* Hero con 2 columnas en desktop */
    .hero {
        flex-direction: row;
        align-items: center;
        padding: 65px 0;
    }

    .hero-content {
        flex: 1.2;
        text-align: left;
        padding-right: 30px;
    }

    .hero-image {
        flex: 0.8;
    }

    .hero-title, .hero-text {
        text-align: left;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-text {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .feature-card {
        padding: 30px;
    }

    .feature-icon {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .step {
        gap: 25px;
        margin-bottom: 35px;
        padding: 0 20px;
    }

    .steps {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .form-container {
        padding: 30px;
        margin-bottom: 0;
        max-width: 100%;
    }

    li {
        font-size: 20px;
    }

    button {
        font-size: 20px;
    }
}

/* Media Queries para pantallas grandes */
@media (min-width: 1200px) {
    .container {
        width: 80%;
    }

    .hero {
        padding: 80px 0;
        gap: 60px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-text {
        font-size: 20px;
    }

    .features, .how-it-works, .use-cases {
        padding: 70px 0;
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
}

.demo-gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto;
}

@media (min-width: 576px) {
    .demo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.gallery-card-image {
    width: 100%;
    display: block;
    height: auto; /* Esto permite que la imagen mantenga su proporción original */
    border-bottom: 1px solid #f0f0f0;
}

.gallery-content {
    padding: 15px;
    text-align: center;
    color: #4a50c2;
    font-weight: 500;
    font-size: 16px;
}

.use-cases .hero-image {
    margin-top: 50px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.use-cases h3.text-center {
    margin-top: 60px;
    margin-bottom: 20px;
}

.gallery-card-image {
    width: 100%;
    display: block;
    height: auto;
    border-bottom: 1px solid #f0f0f0;
}