* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

header {
    background: #001181;
    color: #fff;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #ff3d00;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #e63600;
}

.features-section, .pricing-section {
    padding: 60px 0;
    background: #fff;
}

.features-section h2, .pricing-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature {
    flex-basis: calc(33.333% - 30px);
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.feature:hover .feature-img {
    width: 150%; /* Reducido de 100% a 75% */
    height: 150%; /* Reducido de 100% a 75% */
    top: 62.5%; /* Movido hacia abajo un 12.5% (la mitad de la reducción del 25%) */
    opacity: 1;
    filter: grayscale(0%);
    z-index: 1;
    object-fit: contain;  /* Changed from cover to contain */
    max-width: 150%;  /* Ensure image doesn't exceed container width */
    max-height: 150%;  /* Ensure image doesn't exceed container height */
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature p {
    position: relative;
    z-index: 2;
}

.feature:hover h3,
.feature:hover p {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.pricing-table {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.plan {
    flex-basis: calc(50% - 30px);
    background: #fff;
    border: 2px solid #001181;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.plan h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.plan .price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.plan .description {
    color: #666;
    margin-bottom: 20px;
}

.plan ul {
    list-style-type: none;
    margin-bottom: 30px;
}

.plan ul li {
    margin-bottom: 10px;
}

.featured {
    border-color: #ff3d00;
    box-shadow: 0 0 15px rgba(255, 61, 0, 0.2);
}

footer {
    background: #001181;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: #ff3d00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

#privacy-policy {
    background: #fff;
    padding: 40px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#privacy-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#privacy-policy h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

#privacy-policy p, #privacy-policy ul {
    margin-bottom: 15px;
}

#privacy-policy ul {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .feature {
        flex-basis: 100%;
    }

    .pricing-table {
        flex-direction: column;
    }

    .plan {
        flex-basis: 100%;
    }
}

/* Estilos existentes... */

.hero-header {
    position: relative;
    background-image: url('imagenes/fondo.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    color: #fff;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( rgba(0, 17, 129,2) 10%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
}

.header-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header nav {
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

.hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #ff3d00;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #e63600;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-header {
        height: 500px;
    }
}

.app-store-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.app-store-button img {
    height: 40px; /* Tamaño fijo para las imágenes de las tiendas de aplicaciones */
    width: auto; /* Mantener la proporción de aspecto */
    transition: transform 0.3s ease;
}

.app-store-button:hover img {
    transform: scale(1.05);
}

/* Actualizar los estilos del footer para incluir los nuevos enlaces */
footer .app-store-links {
    margin-top: 20px;
}

/* Ajustar el tamaño de las imágenes en dispositivos móviles */
@media (max-width: 768px) {
    .app-store-links {
        flex-direction: column;
        align-items: center;
    }

    .app-store-button img {
        height: 35px; /* Ligeramente más pequeño en móviles */
    }
}