/* public/css/index.css - Estilo Épico para Landing Page SocialAuto */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark-primary: #12121f; /* Um preto/azul ainda mais profundo */
    --bg-dark-secondary: #1a1a2e; /* Base anterior, agora secundário */
    --bg-dark-tertiary: #2a3a57;
    --text-primary: #f0f0f5; /* Um branco levemente acinzentado */
    --text-secondary: #a0a0c0;
    --accent-primary: #00aaff; /* Azul elétrico mais vibrante */
    --accent-secondary: #a060ff; /* Roxo mais vibrante */
    --accent-success: #28a745;
    --accent-danger: #dc3545;
    --border-color: #3a4a6e;
    --link-hover: #4fc3f7; /* Azul mais claro para hover */
    --font-main: 'Poppins', sans-serif;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.4);
    --shadow-large: 0 8px 25px rgba(0, 0, 0, 0.5);
    --border-radius: 8px;
    --gradient-hero: linear-gradient(135deg, rgba(42, 58, 87, 0.85) 0%, rgba(26, 26, 46, 0.95) 100%);
    --gradient-button: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --gradient-button-hover: linear-gradient(90deg, var(--link-hover) 0%, #b388ff 100%); /* Hover mais claro */
}

/* Reset Básico e Body */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    scroll-behavior: smooth; /* Rolagem suave para links internos */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark-primary);
    color: var(--text-primary);
    line-height: 1.7; /* Um pouco mais espaçado */
    overflow-x: hidden; /* Previne scroll horizontal indesejado */
}

.container {
    width: 100%;
    max-width: 1200px; /* Container um pouco maior */
    margin: 0 auto;
    padding: 0 25px;
}

/* --- Header --- */
.main-header {
    background-color: #071220/*rgba(26, 26, 46, 0.8); /* Fundo semi-transparente */
    padding: 15px 0;
    position: fixed; /* Fixa o header no topo */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px); /* Efeito de vidro fosco */
    border-bottom: 1px solid rgba(58, 74, 110, 0.5); /* Borda sutil */
    transition: background-color 0.3s ease;
}
/* Efeito no scroll (opcional)
body.scrolled .main-header {
    background-color: rgba(26, 26, 46, 0.95);
    box-shadow: var(--shadow-medium);
} */

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.9em;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo h1 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.logo h1 a:hover {
    color: var(--accent-primary);
}

.main-nav span { /* Mensagem "Olá, Usuário!" */
    margin-right: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.main-nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--text-primary);
    border-bottom-color: var(--accent-primary);
}

.main-nav a.button-style {
    background: var(--gradient-button);
    color: white;
    padding: 9px 18px;
    border-radius: var(--border-radius);
    margin-left: 25px;
    font-weight: 600;
    border-bottom: none; /* Remove borda de link */
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.main-nav a.button-style:hover {
    background: var(--gradient-button-hover);
    color: white; /* Garante cor no hover */
    border-bottom: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Ajuste para o body não ficar atrás do header fixo */
body {
    padding-top: 70px; /* Altura aproximada do header + um pouco de espaço */
}

/* --- Main Content --- */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 60px; /* Mais espaço entre seções */
    padding: 60px 0;
}

section h2 {
    font-size: 2.4em; /* Títulos de seção maiores */
    margin-bottom: 25px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}
/* Linha decorativa abaixo do H2 */
section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-button); /* Usa o gradiente do botão */
    border-radius: 2px;
}

section p.section-subtitle { /* Parágrafo abaixo do título da seção */
    margin-bottom: 40px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
}

/* --- Hero Section --- */
.hero-section {
    /* IMPORTANTE: Troque 'placeholder-bg.jpg' por uma imagem de fundo real e impactante! */
    background: var(--gradient-hero), url('placeholder-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px; /* Mais padding vertical */
    min-height: 70vh; /* Ocupa boa parte da tela inicial */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -70px; /* Compensa padding do body */
    margin-bottom: 60px;
}

.hero-section h2 {
    color: #fff;
    font-size: 3em; /* Título bem grande */
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Sombra para legibilidade */
    border-bottom: none; /* Remove borda padrão */
    padding-bottom: 0;
}
.hero-section h2::after { display: none; } /* Remove linha decorativa no hero */

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .cta-button { /* Botão principal maior */
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 30px; /* Botão mais arredondado */
    box-shadow: var(--shadow-medium);
}
.hero-section .cta-button:hover {
     box-shadow: var(--shadow-large);
     transform: translateY(-3px);
}

.hero-section p a { /* Link "Faça Login" */
    color: #fff;
    font-weight: 600;
}
.hero-section p a:hover {
    color: var(--link-hover);
}

/* --- Features Section --- */
.features-section {
    background-color: var(--bg-dark-secondary); /* Fundo ligeiramente diferente */
}

.features-grid {
    display: grid;
    /* Cria colunas flexíveis, mínimo 280px, máximo 1fr */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px; /* Espaçamento entre os itens */
    margin-top: 40px;
}

.feature-item {
    background-color: var(--bg-dark-tertiary);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px); /* Levanta no hover */
    box-shadow: var(--shadow-medium);
}

/* Adicionar estilo para ícones (placeholder) */
.feature-item .icon-placeholder {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--accent-primary);
    /* Exemplo: Use FontAwesome ou SVGs aqui */
    /* content: '\f121'; /* Exemplo com FontAwesome */
    /* font-family: 'Font Awesome 5 Free'; */
    /* font-weight: 900; */
}

.feature-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-item p {
    font-size: 0.98em;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- How It Works Section --- */
.how-it-works-section {
     background-color: var(--bg-dark-primary); /* Volta pro fundo primário */
}
/* Reusa o estilo do feature-item, mas pode customizar se quiser */
.how-it-works-section .feature-item {
    background-color: var(--bg-dark-secondary); /* Fundo um pouco diferente */
    border-left: 4px solid var(--accent-secondary); /* Borda lateral roxa */
    text-align: left;
}
.how-it-works-section .feature-item h3 {
     color: var(--accent-secondary); /* Título roxo */
}


/* --- CTA Section --- */
.cta-section {
    background: var(--gradient-button); /* Usa o gradiente do botão */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 0; /* Remove margem inferior da última seção antes do footer */
    border-radius: var(--border-radius); /* Arredonda a seção CTA */
}
.cta-section h2 {
    color: #fff;
    border-bottom: none;
    margin-bottom: 15px;
}
.cta-section h2::after { display: none; }
.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1em;
}
.cta-section .cta-button {
    background: #fff; /* Botão branco */
    color: var(--accent-secondary); /* Texto roxo */
    padding: 16px 35px;
    font-size: 1.2em;
    box-shadow: var(--shadow-light);
}
.cta-section .cta-button:hover {
     background: #f0f0f0;
     color: var(--accent-primary);
     box-shadow: var(--shadow-medium);
}


/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 20px;
    font-size: 0.9em;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}
footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--accent-primary);
}


/* --- Animações Sutis (Opcional) --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Aplica animação nas seções, exceto hero */
section:not(.hero-section) .container {
    /* Descomente para ativar animação de entrada */
    /* animation: fadeIn 0.8s ease-out forwards; */
    /* opacity: 0; */ /* Começa invisível para animação */
}
/* Garante que a animação não afete o header fixo (se usar animação) */
/* body { overflow-x: hidden; } */


/* --- Responsividade --- */
@media (max-width: 992px) {
    h1 { font-size: 1.9em; }
    section h2 { font-size: 2em; }
    .hero-section h2 { font-size: 2.5em; }
    .hero-section p { font-size: 1.1em; }
    .main-header .container { padding: 0 15px; }
    .container { padding: 0 15px; }
}

@media (max-width: 768px) {
    body { padding-top: 60px; /* Ajusta para header menor */ }
    .main-header { padding: 10px 0; }
    .main-header .container { flex-direction: column; }
    .logo h1 { margin-bottom: 10px; font-size: 1.6em;}
    .main-nav a { margin: 0 8px; font-size: 0.95em; }
    .main-nav a.button-style { margin-left: 15px; padding: 7px 14px; }
    .main-nav span { display: block; text-align: center; margin: 5px 0; width: 100%; }


    h1 { font-size: 1.7em; }
    section h2 { font-size: 1.8em; }
    section p.section-subtitle { font-size: 1em; }
    .hero-section { padding: 80px 15px; min-height: 60vh;}
    .hero-section h2 { font-size: 2em; }
    .hero-section p { font-size: 1em; }
    .hero-section .cta-button { padding: 14px 30px; font-size: 1.1em; }

    .features-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
    .feature-item { padding: 25px; }
}

@media (max-width: 480px) {
    body { padding-top: 55px; } /* Header ainda menor */
     .main-header { padding: 8px 0; }
     .main-nav a { margin: 0 5px; font-size: 0.9em; }
     .main-nav a.button-style { padding: 6px 12px; margin-left: 10px;}

    h1 { font-size: 1.5em; }
    section h2 { font-size: 1.6em; }
    section p.section-subtitle { font-size: 0.95em; }
    .hero-section { padding: 60px 10px; min-height: 50vh;}
    .hero-section h2 { font-size: 1.7em; }
    .hero-section p { font-size: 0.95em; }
    .hero-section .cta-button { padding: 12px 25px; font-size: 1em; }

    .features-grid { grid-template-columns: 1fr; gap: 20px; } /* Uma coluna */
    .feature-item { padding: 20px; }
    .cta-section { padding: 40px 15px; }
}
/* Estilo do Logo no Header da Index */
.main-header .logo img#main-logo {
    display: block;
    height: 40.0vh; /* Altura = 6% da altura da janela (viewport height) */
    width: auto;  /* Largura ajusta automaticamente para manter proporção */
    max-height: 45px; /* IMPORTANTE: Limite máximo para não ficar gigante em telas altas */
    min-height: 25px; /* Opcional: Limite mínimo para não sumir em telas baixas */
    /* margin-top: 5px; */
}

/* O mesmo para o logo admin, talvez com valor vh menor */
.admin-header .admin-logo img#admin-logo {
    display: block;
    height: 4.0vh; /* Ex: 4.5% da altura da janela */
    width: auto;
    max-height: 35px; /* Limite máximo */
    min-height: 20px; /* Limite mínimo */
}