/*
 * css/pages/index.css
 * [VERSÃO 1.0 - ESTILOS DA LANDING PAGE INDEX.PHP]
 * - Estilos específicos para a página inicial (landing page).
 * - Remove estilos inline do HTML para melhor manutenção.
 */

/* =========================================
   Navbar Público
   ========================================= */
.navbar-public {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-dark); /* Cor de fundo da navbar */
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.navbar-public .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Ou a largura do seu container global */
    margin: 0 auto;
    padding: 0 1rem;
}
.brand-public {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--txt-white);
}
.brand-public i {
    color: var(--bee-primary);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-links .btn {
    padding: 0.75rem 1.25rem;
}
.nav-links .btn.primary {
    background: var(--bee-primary);
    color: var(--txt-dark);
}
.nav-links .btn.primary:hover {
    filter: brightness(1.1);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    padding: 8rem 1rem 4rem; /* Ajusta padding para navbar fixa */
    text-align: center;
    color: var(--txt-white);
    min-height: 100vh; /* Para que o conteúdo não fique "flutuando" */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-icon {
    margin-bottom: 1rem;
    color: var(--bee-primary);
    opacity: 0.8;
}
.hero-icon i {
    font-size: 3rem; /* Equivalente a fa-3x */
}
.hero-title {
    font-size: 3.5rem; /* Ajuste conforme a necessidade */
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.hero-lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--txt-400);
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-button {
    font-size: 1.1rem;
    padding: 12px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}
.security-badge {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--txt-500);
}

/* =========================================
   Features Section
   ========================================= */
.features-section {
    padding: 4rem 1rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    color: var(--txt-white);
}
.feature-card {
    border: 1px solid var(--glass-border);
    background: rgba(20, 20, 20, 0.6);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}
.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}
.feature-icon-primary {
    background: var(--bee-primary);
    color: #000;
}
.feature-icon-glass-primary {
    background: var(--glass-fill);
    color: var(--bee-primary);
    border: 1px solid var(--bee-primary);
}
.feature-icon-glass-success {
    background: var(--glass-fill);
    color: var(--ok);
    border: 1px solid var(--ok);
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--txt-400);
}

/* =========================================
   App Download Section (PWA)
   ========================================= */
.app-download-section {
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.app-download-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000 0%, #111 100%);
    z-index: -1;
}
.app-download-section .container {
    position: relative; /* Para garantir que o conteúdo esteja acima do background */
    z-index: 1;
}
.badge.badge-honey { /* Pode ser customizado ou usar sua classe genérica .badge */
    background: var(--bee-primary); /* Assumindo --bee-primary é o amarelo-mel */
    color: var(--txt-dark);
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.4em 0.8em;
    border-radius: var(--radius-sm);
}

.app-download-button { /* Estilo para o botão "INSTALAR AGORA" */
    /* Garante o flex e alinhamento do conteúdo interno */
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    /* Styles for btn-glass can be inherited from components.css */
}
.app-download-button i {
    color: var(--bee-primary); /* Assumindo o ícone de download é mel */
}

/* Phone Mockup */
.phone-mockup {
    width: 250px; /* Largura do celular */
    height: 480px; /* Altura do celular */
    background: #333;
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 0 0 5px #444, 0 0 0 8px #222, 0 10px 20px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-deep-dark); /* Cor da tela */
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--txt-white);
    font-size: 1.1rem;
}
.app-icon-display i {
    color: var(--txt-dark); /* Ícone da abelha na tela do mockup */
}
.text-success { /* Garante que a cor de sucesso esteja definida */
    color: var(--ok); /* Assumindo --ok é o verde de sucesso */
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    padding: 5rem 1rem;
    color: var(--txt-white);
    background: radial-gradient(circle at bottom, rgba(254,234,0,0.05) 0%, transparent 70%);
}
.cta-section h2 {
    font-size: 2.2rem; /* h3 na aula */
    font-weight: 700;
    margin-bottom: 1rem;
}
.cta-section p {
    font-size: 1.1rem;
    color: var(--txt-400);
    max-width: 700px;
    margin: 0 auto 2rem;
}
.cta-section .btn {
    font-size: 1.1rem;
    padding: 12px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}


/* Media Queries para responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 6rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-lead {
        font-size: 1rem;
    }
    .navbar-public .container {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    .app-download-section .row {
        flex-direction: column-reverse; /* Inverte a ordem no mobile */
    }
    .app-download-section .col-md-6 {
        text-align: center;
        margin-bottom: 2rem;
    }
    .app-download-section .d-flex.justify-content-md-start {
        justify-content: center !important;
    }
}