/**
 * ==========================================================================
 * ZUNNIA - ESTILOS DE LA LANDING PAGE DE ADA
 * ==========================================================================
 *
 * Este archivo contiene los estilos para la página de producto
 * de Ada (ada.zunnia.net).
 *
 * @version 1.0.0
 * @author ZUNNIA
 */

/* ==========================================================================
 * 1. CONFIGURACIÓN GLOBAL Y RESET BÁSICO
 * ========================================================================== */

:root {
    /* Paleta para el tema oscuro (ADA) */
    --bg-dark: #0A192F;
    --text-dark-primary: #E6F1FF;
    --text-dark-secondary: #A8B2D1;

    /* Acentos */
    --accent-color-ada: #8da9b6;
}

body {
    font-family: 'Fredoka', sans-serif;
    margin: 0;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Aplica el tema oscuro directamente */
    background-color: var(--bg-dark);
    color: var(--text-dark-primary);
}

main {
    flex-grow: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* El contenido principal debe crecer para empujar el footer */
.main-content-ada {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ==========================================================================
 * 2. ESTILOS DE COMPONENTES (ADA)
 * ========================================================================== */

/* --- Barra de Navegación (Navbar) --- */
.navbar {
    padding: 1rem 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-weight: 700;
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--text-dark-primary);
}

/* --- Botones de Llamada a la Acción (CTA) --- */
.cta-button {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--accent-color-ada);
    color: var(--accent-color-ada);
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--accent-color-ada);
    color: var(--bg-dark);
    transform: scale(1.05);
}

/* --- Hero de Página de Producto (Ada) --- */
.page-hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-hero .product-title {
    font-size: 6rem;
    font-weight: 700;
    margin: 0;
}

.page-hero .product-subtitle {
    font-size: 1.5rem;
    max-width: 500px;
    margin: 1rem auto 2.5rem;
    color: var(--text-dark-secondary);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
}

/* ocuta el botón iniciar ahora */
.download-buttons .cta-button:first-child {
    display: none;
}

.download-buttons .cta-button {
    flex: 1;
    white-space: nowrap;
}

/* --- Pie de Página (Footer) --- */
.footer {
    padding: 3rem 0;
    margin-top: auto;
    background-color: rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left {
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-grow: 1;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark-primary);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul a {
    color: var(--text-dark-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: var(--text-dark-primary);
}

.footer-app-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-app-info img {
    width: 40px;
    height: 40px;
}

.footer-app-info h4 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark-primary);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-dark-secondary);
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: var(--text-dark-primary);
}

.footer-copyright-text {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    margin-top: 1.5rem;
}

/* ==========================================================================
 * 3. ESTILOS RESPONSIVOS (ADA)
 * ========================================================================== */

@media (max-width: 768px) {
    .page-hero .product-title { font-size: 3.5rem; }
    .page-hero .product-subtitle { font-size: 1.2rem; }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* ==========================================================================
 * SECCIÓN 4: COMPONENTES DE NAVEGACIÓN
 * ========================================================================== */

/* * Estilo para el componente selector de idioma.
 * Se usa 'lang-selector' para mantener consistencia con 'site-zunnia'.
 */
.lang-selector {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border: 2px solid var(--accent-color-ada);
    color: var(--accent-color-ada);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* * Estado hover del selector de idioma.
 * Invierte los colores, usando el color de fondo de la página.
 */
.lang-selector:hover {
    background-color: var(--accent-color-ada);
    color: var(--bg-dark);
}
