/* ------------------------------------- */
/* ESTILOS GLOBALES Y RESET BÁSICO       */
/* ------------------------------------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9; /* Fondo muy claro */
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #1a237e; /* Azul oscuro corporativo */
}

/* Contenedor central para limitar el ancho y centrar */
section, header, footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ------------------------------------- */
/* ESTILOS DE LA CABECERA (HEADER)       */
/* ------------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #3f51b5; /* Azul primario */
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #3f51b5;
}

.cta-button {
    background-color: #ff9800; /* Naranja llamativo para CTA */
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

/* ------------------------------------- */
/* SECCIÓN HERO (PRINCIPAL)              */
/* ------------------------------------- */
#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #e8eaf6; /* Fondo azul claro */
    padding: 80px 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.hero-content {
    max-width: 50%;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #1a237e;
}

.tagline {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 30px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Botones de Descarga */
.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.store-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.android-btn {
    background-color: #4CAF50; /* Verde de Google Play */
    color: white;
}

.apple-btn {
    background-color: #000000; /* Negro de App Store */
    color: white;
}

/* ------------------------------------- */
/* SECCIÓN DE CARACTERÍSTICAS (FEATURES) */
/* ------------------------------------- */
#features {
    text-align: center;
    padding: 60px 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
}

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

.feature-item h3 {
    color: #3f51b5;
    margin-top: 0;
}

/* ------------------------------------- */
/* SECCIÓN DE RESEÑAS (REVIEWS)          */
/* ------------------------------------- */
#reviews {
    text-align: center;
    background-color: #ffffff;
    padding: 60px 20px;
    border-top: 1px solid #eee;
}

blockquote {
    font-style: italic;
    font-size: 1.2em;
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    border-left: 5px solid #ff9800;
    background-color: #fff3e0;
}

/* ------------------------------------- */
/* PIE DE PÁGINA (FOOTER)                */
/* ------------------------------------- */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1a237e;
    color: white;
    font-size: 0.9em;
}

.footer-links a {
    color: #9fa8da;
    text-decoration: none;
    margin: 0 10px;
}

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

/* ------------------------------------- */
/* MEDIAS QUERIES (RESPONSIVE)           */
/* ------------------------------------- */
@media (max-width: 900px) {
    #hero {
        flex-direction: column; /* Apila el contenido y la imagen en móvil/tablet */
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .cta-buttons {
        justify-content: center; /* Centra los botones en vista apilada */
    }
}

@media (max-width: 600px) {
    #hero h1 {
        font-size: 2.5em;
    }

    .cta-buttons {
        flex-direction: column; /* Apila los botones de descarga */
    }
}
