/* Contenedor principal */
.aplicativos-celular-section {
    position: relative;
    overflow: hidden;
    padding: 50px 20px;
    text-align: center;
    background-color: #f5f5f5; /* Fondo neutro claro */
    font-family: 'Roboto', sans-serif;
}

/* Video de fondo */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Filtro oscuro sobre el video */
.aplicativos-celular-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Oscurecimiento sutil */
    z-index: 1;
}

/* Contenedor del contenido */
.content-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

/* Título principal */
.titulo-aplicativo h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff; /* Verde corporativo */
    margin-bottom: 20px;
    text-transform: uppercase;
}

.titulo-aplicativo p {
    font-size: 1.2rem;
    color: #fff; /* Texto blanco */
    margin-bottom: 40px;
}

/* Tarjeta de contenido */
.app-card {
    background: rgba(255, 255, 255, 0.85); /* Transparencia añadida */
    border-radius: 10px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    transition: all 0.3s ease; /* Suaviza la animación */
}

/* Hover para mejorar el efecto */
.app-card:hover {
    background: rgba(255, 255, 255, 0.9); /* Incrementa ligeramente la opacidad */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Imagen de la app */
.app-card img {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Contenedor de las opciones */
.app-options {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Opciones individuales */
.option {
    text-align: left;
}

.option h2 {
    font-size: 1.5rem;
    color: #1a8537; /* Verde corporativo */
    font-weight: 600;
    margin-bottom: 10px;
}

.option p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Botones */
.btn-download {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.btn-download.android {
    background-color: #1a8537; /* Verde Android */
}

.btn-download.android:hover {
    background-color: #13662b;
}

/* Estilo para iPhone */
.btn-download.ios {
    background-color: #1a8537; /* Verde corporativo */
}

.btn-download.ios:hover {
    background-color: #13662b; /* Verde más oscuro */
    transform: translateY(-2px); /* Efecto de elevación */
}



/* Sección de Versionamiento */
.versionamiento-section {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: #f9f9f9;
}

.versionamiento-section h2 {
    font-size: 2rem;
    color: #1a8537;
    margin-bottom: 30px;
}

.versionamiento-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

/* Tabla de versionamiento */
.version-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px solid #ddd;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.version-table th,
.version-table td {
    padding: 15px;
    text-align: center;
    font-size: 1rem;
}

.version-table th {
    background-color: #1a8537; /* Verde */
    color: #fff;
    font-weight: bold;
}

.version-table td {
    background-color: #f9f9f9;
    color: #333;
}

.version-table tr:nth-child(even) td {
    background-color: #eaf7ea; /* Verde suave */
}

.version-table tr:hover td {
    background-color: #dff0df; /* Resalta la fila */
}

/* Responsividad */
@media (max-width: 1024px) {
    .app-card {
        flex-wrap: wrap;
    }

    .app-card img {
        max-width: 120px;
    }

    .titulo-aplicativo h1 {
        font-size: 2.2rem;
    }

    .titulo-aplicativo p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .titulo-aplicativo h1 {
        font-size: 1.8rem;
    }

    .titulo-aplicativo p {
        font-size: 0.9rem;
    }

    .btn-download {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .app-card img {
        max-width: 100px;
    }

    .versionamiento-section h2 {
        font-size: 1.8rem;
    }

    .version-table th,
    .version-table td {
        font-size: 0.9rem;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .titulo-aplicativo h1 {
        font-size: 1.5rem;
    }

    .titulo-aplicativo p {
        font-size: 0.85rem;
    }

    .btn-download {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .app-card {
        padding: 20px;
    }

    .app-card img {
        max-width: 80px;
    }

    .version-table th,
    .version-table td {
        font-size: 0.85rem;
        padding: 8px;
    }

    .version-table {
        overflow-x: auto;
        display: block;
    }
}

.app-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.version-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}
