/* Reset de estilos básicos */
body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: #333;
    background-color: #f5f5f5;
}

/* Estilos del encabezado */
header {
    background-color: #004B70;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

/* Contenedor de los logos dentro del header */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.logo-container a {
    display: inline-block;
    text-decoration: none;
}

.logo {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 150px;
}

.logo-container a:hover .logo {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.innotech-logo {
    max-width: 170px;
}

/* Títulos del header */
header h1 {
    font-size: 2.5em;
    margin: 10px 0 0 0;
}

header h2 {
    font-size: 1.5em;
    margin-top: 10px;
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 600px) {
    header .logo {
        max-width: 100px;
    }

    header .logo,
    header .logo-container a {
        max-width: 90px; /* Reducir tamaño en móviles */
    }

    header .logo {
        max-width: 90px;
    }

    header h1 {
        font-size: 2em;
    }

    header h2 {
        font-size: 1.2em;
    }

    header .logo-container {
        flex-direction: column; /* Apila los logos verticalmente en móviles */
        gap: 10px; /* Reduce el espacio entre logos en móviles */
        padding: 0;
    }
}

/* Estilos principales del contenido */
main {
    padding: 20px;
}

.intro, .features, .more-features, .cta {
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
}

.intro p {
    font-size: 1.2em;
}

.features, .more-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.feature img {
    max-width: 200px;
    border-radius: 10px;
}

.feature div {
    flex-grow: 1;
}

.feature h3 {
    font-size: 1.5em;
    color: #004B70;
}

/* Estilos para la sección de descarga rápida */
.quick-download {
    margin: 20px auto 0;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quick-download p {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #004B70;
}

/* Estilos para el botón de llamada a la acción */
.cta .button {
    background-color: #004B70;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 1.2em;
    display: inline-block;
    transition: background-color 0.3s ease-in-out;
}

.cta .button:hover {
    background-color: #0074A8;
}

/* Estilos del pie de página */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #004B70;
    color: #ffffff;
}

footer .footer-links {
    margin-top: 10px;
    margin-bottom: 15px;
}

footer .footer-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 15px;
    margin: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
}

footer .footer-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsividad para características */
@media (max-width: 768px) {
    .feature {
        flex-direction: column;
    }

    .feature img {
        max-width: 100%;
    }
}

/* Estilos para los botones de tiendas de aplicaciones */
.store-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.store-badge {
    display: inline-block;
    transition: all 0.3s ease;
}

.store-badge img {
    height: 40px;
    width: auto;
}

.store-badge:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* Responsividad para los badges */
@media (max-width: 600px) {
    .store-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    footer .footer-links a {
        display: inline-block;
        margin: 0;
    }
}

/* Scroll animation classes */
.section {
    opacity: 0;
    transform: translateY(30px);
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}
.slide-in {
    animation: slideInLeft 1s ease-out forwards;
}
.zoom-in {
    animation: zoomInEffect 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes zoomInEffect {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Feature Card Animations */
.feature-card {
    opacity: 0;
    filter: blur(2px);
    perspective: 1000px;
    will-change: transform, opacity, filter;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:nth-child(odd) {
    transform: translateX(-30px) rotateY(-15deg) !important;
}

.feature-card:nth-child(even) {
    transform: translateX(30px) rotateY(15deg) !important;
}

.feature-card.animate {
    opacity: 1;
    transform: translateX(0) rotateY(0) !important;
    filter: blur(0);
    box-shadow: 0 8px 30px -5px rgba(0, 75, 112, 0.15);
}

.feature-card:hover {
    transform: translateZ(10px) !important;
    box-shadow: 0 12px 40px -10px rgba(0, 75, 112, 0.2) !important;
}

@media (max-width: 768px) {
    .feature-card, 
    .feature-card:nth-child(odd),
    .feature-card:nth-child(even) {
        transform: translateY(30px) !important;
    }
    
    .feature-card.animate {
        transform: translateY(0) !important;
    }
}

/* Remove static delays */
.features .feature-card:nth-child(n),
.more-features .feature-card:nth-child(n) {
    transition-delay: 0s;
}

.feature-card.slide-in {
    transform: translateX(-50px);
}

.feature-card.slide-in.animate {
    transform: translateX(0);
}

.feature-card.zoom-in {
    transform: scale(0.9);
}

.feature-card.zoom-in.animate {
    transform: scale(1);
}

@media (max-width: 768px) {
    .feature-card.slide-in {
        transform: translateY(30px);
    }
}
