/* ======================================================= */
/* --- ARQUIVO CSS ÚNICO E DEFINITIVO (V9 FINAL) --- */
/* ======================================================= */

/* --- Configurações Gerais --- */
:root {
    --azul-marinho: #0D253F;
    --ciano-vibrante: #00A9E0;
    --branco-texto: #FFFFFF;
    --preto-fundo: #05080a;
    --cinza-borda: #222b36;
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--preto-fundo);
    color: var(--branco-texto);
    overflow-x: hidden;
}

/* ======================================================= */
/* 1. ESTILOS GLOBAIS (APLICÁVEIS A AMBAS AS PÁGINAS) */
/* ======================================================= */

.video-background {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
}
.video-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(20%) grayscale(50%);
}
.video-slide.active { opacity: 1; }
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 8, 10, 0.95);
    z-index: -1;
}

.main-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 10;
    display: flex;
    align-items: center;
    background-color: transparent;
}
.header-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img { height: 40px; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}
.main-nav a {
    color: var(--branco-texto);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 0;
}
.main-nav a:hover { color: var(--ciano-vibrante); }
.main-nav a.nav-login {
    border: 2px solid var(--ciano-vibrante);
    padding: 8px 16px;
    border-radius: 50px;
}
.main-nav a.nav-login:hover {
    background-color: var(--ciano-vibrante);
}

.headline { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.subheadline { font-size: 1.25rem; font-weight: 400; margin: 0 auto 30px auto; max-width: 600px; opacity: 0.9; }

/* ======================================================= */
/* 2. ESTILOS ESPECÍFICOS DA PÁGINA INICIAL (index.php) */
/* ======================================================= */

.content-wrapper-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--header-height) 20px 20px 20px;
    text-align: center;
}
.content-wrapper-center .hero-content { max-width: 800px; }
.cta-button {
    background-color: var(--ciano-vibrante); color: var(--branco-texto); font-size: 1.1rem;
    font-weight: 700; text-decoration: none; padding: 15px 35px;
    border-radius: 50px; transition: transform 0.3s, box-shadow 0.3s; display: inline-block;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 169, 224, 0.3); }

/* ======================================================= */
/* 3. ESTILOS ESPECÍFICOS DA PÁGINA DE RECURSOS (recursos.php) */
/* ======================================================= */

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: calc(var(--header-height) + 60px); 
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
}
.text-center { text-align: center; }

.cta-form-container {
    max-width: 700px; margin: 40px auto; padding: 20px 0;
}
.cta-form-container h3 { margin: 0 0 20px 0; color: var(--branco-texto); }
.early-access-form { display: flex; gap: 15px; }
.early-access-form input, .early-access-form button {
    padding: 18px 25px; font-size: 1.1rem; border-radius: 50px;
}
.early-access-form input {
    flex-grow: 1; background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--cinza-borda); color: var(--branco-texto);
}
.early-access-form input:focus { border-color: var(--ciano-vibrante); outline: none; }
.early-access-form button {
    background-color: var(--ciano-vibrante); color: var(--branco-texto); border: none;
    font-weight: 700; cursor: pointer;
}
.features-section { padding: 80px 0; text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.benefit-card {
    padding: 30px; border-radius: 12px;
    border: 2px solid var(--cinza-borda); /* Borda mais grossa */
    text-align: center; transition: transform 0.3s, border-color 0.3s;
}
.benefit-card:hover { transform: translateY(-5px); border-color: var(--ciano-vibrante); }
.benefit-card i { font-size: 2.5rem; color: var(--ciano-vibrante); margin-bottom: 15px; }
.benefit-card h3 { font-size: 1.5rem; margin: 0 0 10px 0; }
.benefit-card p { color: var(--texto-secundario); line-height: 1.7; }

/* ======================================================= */
/* 4. RESPONSIVIDADE (PARA AMBAS AS PÁGINAS) */
/* ======================================================= */
@media (max-width: 768px) {
    .headline { font-size: 2.5rem; }
    .subheadline { font-size: 1rem; }
    .header-content { padding: 0 15px; }
    .main-nav { gap: 15px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }

    .early-access-form { 
        flex-direction: column;
        gap: 0;
    }
    .early-access-form button {
        margin-top: 15px !important;
    }
}