/* ===================================================
   ALAS - Página de Descargas de App
   Estilos corporativos del Grupo Empresarial Libertadores
   =================================================== */

:root {
    /* Paleta Corporativa */
    --black: #131b2e;
    --blue-dark: #012169;
    --blue-light: #0084d5;
    --gray-light: #f0f2f5;
    --gray-text: #6e7a8a;
    --white: #ffffff;
    --deco-cyan: #1fccea;
    
    /* Degradado Corporativo */
    --gradient: linear-gradient(135deg, #012169 0%, #0084d5 100%);
    
    --radius: 16px;
    --shadow: 0 10px 30px rgba(1, 33, 105, 0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--black);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* TIPOGRAFÍA */
h1, h2, h3 { 
    line-height: 1.1; 
    margin-bottom: 15px; 
    color: var(--blue-dark); 
    letter-spacing: -0.5px; 
}

h1 { 
    font-size: 2.8rem; 
    font-weight: 800; 
} 

h2 { 
    font-size: 2rem; 
    font-weight: 700; 
}

h3 { 
    font-size: 1.25rem; 
    font-weight: 600; 
}

p { 
    margin-bottom: 15px; 
    font-size: 1.1rem; 
    color: var(--gray-text); 
}

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

.container { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 24px; 
    position: relative; 
    z-index: 2; 
}

.section { 
    padding: 80px 0; 
}

/* ===================================================
   1. HERO SECTION (Recto y Limpio)
   =================================================== */
.hero {
    padding: 100px 0; 
    background: var(--gradient);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh; 
}

/* Fondo decorativo sutil */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero h1 { 
    color: #ffffff; 
    margin-bottom: 25px; 
} 

.hero p { 
    color: rgba(255,255,255,0.9); 
    font-size: 1.25rem; 
    max-width: 750px; 
    margin: 0 auto 40px auto; 
    font-weight: 400;
}

.glass-badge { 
    background: rgba(255,255,255, 0.1); 
    color: #ffffff; 
    display: inline-block; 
    padding: 8px 24px; 
    border-radius: 50px; 
    font-size: 0.95rem; 
    font-weight: 600; 
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo-principal {
    max-width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)); 
}

.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-store {
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-store:hover { 
    transform: translateY(-4px); 
    background-color: #1a2438;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--deco-cyan);
}

.btn-icon-img {
    width: 32px;
    height: auto;
    display: block;
}

.btn-store div { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    line-height: 1.1; 
}

.btn-store small { 
    font-size: 0.75rem; 
    font-weight: 400; 
    opacity: 0.8; 
    letter-spacing: 0.5px; 
    text-transform: uppercase; 
}

.btn-store span.btn-text { 
    font-size: 1.1rem; 
    font-weight: 700; 
}

/* ===================================================
   2. RESPALDO (LOGOS)
   =================================================== */
.trust-bar {
    padding-top: 60px;
    padding-bottom: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
}

.logos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    opacity: 1;
}

.logo-main img {
    height: auto;
    max-height: 50px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.logo-main img:hover { 
    filter: grayscale(0%); 
}

.logos-sub {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logos-sub img {
    height: 35px;
    width: auto;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.logos-sub img:hover { 
    filter: grayscale(0%); 
    opacity: 1; 
}

/* ===================================================
   3. BENEFICIOS
   =================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid var(--gray-light);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--blue-light);
}

.feature-icon { 
    font-size: 3rem; 
    margin-bottom: 20px; 
    display: inline-block;
    background: rgba(0, 132, 213, 0.08);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    color: var(--blue-dark); 
}

/* ===================================================
   4. CÓMO FUNCIONA
   =================================================== */
.steps { 
    background-color: var(--gray-light); 
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 20px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.step-number {
    background: var(--gradient);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ===================================================
   5 & 6. DIFERENCIAL
   =================================================== */
.differential-box {
    border-left: 6px solid var(--blue-light);
    padding: 40px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 40px 0;
    background: linear-gradient(to right, #f5f9fc, #fff);
    text-align: left;
}

.testimonial {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 60px auto;
    max-width: 700px;
    border: 1px solid var(--gray-light);
}

.stars { 
    color: #FFC107; 
    margin-bottom: 15px; 
    font-size: 1.4rem; 
    letter-spacing: 2px;
}

/* ===================================================
   7. CTA FINAL
   =================================================== */
.cta-final { 
    background-color: var(--black); 
    color: var(--white); 
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-final h2 { 
    color: var(--white); 
    margin-bottom: 10px; 
}

.cta-final p { 
    color: rgba(255,255,255,0.6); 
}

.cta-final .btn-store { 
    background: var(--white); 
    color: var(--black); 
    border-color: var(--white);
}

.cta-final .btn-store:hover { 
    background: var(--deco-cyan); 
    border-color: var(--deco-cyan); 
}

/* ===================================================
   8. LEGAL / FOOTER
   =================================================== */
footer { 
    background-color: var(--white);
    font-size: 0.9rem; 
    text-align: center; 
    padding: 50px 0; 
    color: var(--gray-text); 
    border-top: 1px solid var(--gray-light);
}

footer a { 
    color: var(--blue-dark); 
    text-decoration: none; 
    font-weight: 600; 
}

/* ===================================================
   MOBILE ADJUSTMENTS
   =================================================== */
@media (max-width: 768px) {
    h1 { 
        font-size: 2.1rem; 
    }
    
    .hero { 
        min-height: auto; 
        padding-bottom: 80px; 
    }
    
    .store-buttons { 
        flex-direction: column; 
        align-items: stretch; 
        width: 100%; 
        max-width: 340px; 
        margin: 25px auto 0; 
    }
    
    .btn-store { 
        width: 100%; 
        justify-content: center; 
    }
    
    .logo-main img { 
        max-height: 40px; 
    }
    
    .logos-sub { 
        gap: 20px; 
    }
    
    .logos-sub img { 
        height: 28px; 
    }
}
