/* * hero_app.css
 * Estilo "LinkedIn Solid"
 * - Tarjeta principal con fondo AZUL SÓLIDO (#0a66c2).
 * - Resto de tarjetas blancas y limpias.
 */

:root {
    /* --- COLORES PRINCIPALES (LinkedIn) --- */
    --brand-blue: #0a66c2;       /* Azul LinkedIn Principal */
    --brand-dark: #004182;       /* Azul Oscuro (Hover) */
    --bg-page: #F3F2EF;          /* Gris Fondo LinkedIn */
    --bg-white: #FFFFFF;         /* Blanco Puro */
    
    /* --- TEXTOS --- */
    --text-dark: #191919;        /* Negro Texto */
    --text-grey: #434649;        /* Gris Texto */
    --text-white: #FFFFFF;       /* Texto para fondos oscuros */
    --text-green: #057642;       /* Verde éxito */
}

/* =========================================
   ESTILOS DE ESCRITORIO (DESKTOP FIRST)
   ========================================= */

/* 1. Contenedor */
.hero-app-section {
    background-color: var(--bg-page);
    padding: 80px 24px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border-bottom: 1px solid #e0dfdc;
}

.hero-app-container {
    max-width: 1280px; /* Ancho máximo para pantallas grandes */
    margin: 0 auto;
}

/* 2. Encabezado Centrado */
.hero-app-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.hero-app-title {
    font-size: 3rem; /* 48px */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-app-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    font-weight: 400;
    margin-bottom: 24px;
}

/* Nota de Acceso */
.access-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(5, 118, 66, 0.1); /* Verde muy suave */
    color: var(--text-green);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    flex-wrap: wrap;
}

.access-note i {
    font-size: 1.2rem;
}

.access-note .small-note {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-left: 4px;
}

/* 3. Grid (Rejilla) */
.hero-app-grid {
    display: grid;
    /* Esto crea columnas automáticas de mínimo 280px */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* 4. Tarjetas (Diseño General) */
.hero-app-card {
    background-color: var(--bg-white);
    border-radius: 16px; /* Bordes redondeados */
    padding: 32px 24px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent; /* Prepara borde */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Sombra suave */
    display: flex;
    flex-direction: column;
    height: 100%; /* Para que todas tengan la misma altura */
    position: relative;
}

.hero-app-card:hover {
    transform: translateY(-5px); /* Se eleva al pasar el mouse */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Iconos */
.hero-card-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--brand-blue); /* Iconos azules por defecto */
}

/* Títulos y Textos */
.hero-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.hero-card-description {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.5;
    margin: 0;
}

/* 5. TARJETA DESTACADA (La azul sólida) */
.hero-app-card.featured {
    background-color: var(--brand-blue); /* FONDO AZUL SÓLIDO */
    border-color: var(--brand-blue);
}

.hero-app-card.featured .hero-card-title,
.hero-app-card.featured .hero-card-description,
.hero-app-card.featured .hero-card-icon {
    color: var(--text-white) !important; /* Todo el texto blanco */
}

.hero-app-card.featured:hover {
    background-color: var(--brand-dark); /* Azul más oscuro al hover */
}

/* Badge (Etiqueta Top) */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
}
.featured .card-badge { color: white; }

/* =========================================
   ESTILOS MÓVILES (MEDIA QUERIES)
   ========================================= */
@media (max-width: 768px) {
    .hero-app-section {
        padding: 40px 16px; /* Menos espacio en móvil */
    }
    .hero-app-title {
        font-size: 2rem; /* Título más pequeño */
    }
    .hero-app-grid {
        grid-template-columns: 1fr; /* 1 sola columna */
        gap: 16px;
    }
    .hero-app-card {
        padding: 24px; /* Tarjetas más compactas */
    }
    .access-note {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        border-radius: 12px;
    }
    .access-note .small-note {
        margin-left: 0;
        margin-top: 4px;
    }
}