/* --- Paleta de Cores --- */
:root {
    --color-primary: #1E90FF; /* Azul VIBRANTE */
    --color-secondary: #00CC66; /* Verde VIBRANTE (Acesso Prof) */
    --color-text-dark: #333333;
    --color-bg-light: #F0F4F8; /* Fundo levemente cinza/azul */
}

/* --- Estilo Base (Substitui o Hub-Container do CSS Antigo) --- */
body {
    background-color: var(--color-bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.main-hub-container {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    width: 90%;
    text-align: center;
}

/* --- Branding e Títulos --- */
.header-branding {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primary); /* Linha divisória colorida */
}

.logo-text {
    font-size: 2.5em; /* Aumentado */
    color: var(--color-primary);
    font-weight: 800; /* Extra bold */
    letter-spacing: 1.5px;
    animation: bounceIn 1s ease-out; /* Animação simples na entrada */
}

.subtitle {
    color: #666;
    font-size: 1.05em;
    margin-top: -5px;
}

/* --- Botões Dinâmicos e Responsivos --- */
.action-grid {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.hub-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transições suaves */
}

.btn-icon {
    margin-right: 10px;
    font-size: 1.4em;
}

/* Estilo do Botão Primário (Família) */
.primary-btn {
    background: linear-gradient(45deg, var(--color-primary), #00BFFF); /* Gradiente */
    color: white;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

/* Estilo do Botão Secundário (Professor) */
.secondary-btn {
    background: white;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- Dinamismo (Hover/Active) --- */

/* Efeito de Clique/Hover */
.hub-btn:hover {
    transform: translateY(-3px); /* Leve levantamento */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.primary-btn:active {
    background: #00BFFF; /* Fica liso ao clicar */
    transform: scale(0.98);
}

.secondary-btn:active {
    background-color: var(--color-secondary);
    color: white;
    transform: scale(0.98);
}


/* --- Rodapé e Links --- */
.footer-links {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

.footer-text {
    color: var(--color-text-dark);
}

.link-action {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.link-action:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Animação para o H1 */
@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* --- Media Query para Dispositivos Maiores ---
@media (min-width: 768px) {
    .main-hub-container {
        padding: 40px 60px;
    }
}