/* Paleta de Cores */
:root {
    --bg-dark: #0a0a0a; /* Preto quase total */
    --bg-metal: #1a1a1a; /* Cinza metálico escuro */
    --container-color: #0d0d0d; /* Fundo da caixa bem escuro */
    --primary-green: #00ff9b; /* Verde vibrante/neon */
    --light-blue: #89cff0; /* Azul claro para botões */
    --glow-green: rgba(0, 255, 155, 0.6); /* Verde para o brilho */
    --text-color: #e0e0e0; /* Cor de texto principal */
    --text-secondary-color: #b3b3b3; /* Cor de texto secundário (mais claro) */
    --border-color: rgba(0, 255, 155, 0.25); /* Borda com verde transparente */
}

/* Estilos Globais */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(ellipse at center, var(--bg-metal) 0%, var(--bg-dark) 70%);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Layout Principal */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.content-box {
    width: 91%;
    max-width: 600px;
    background-color: var(--container-color);
    padding: 2.5rem 3.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    /* Efeito de brilho neon */
    box-shadow: 0 0 10px var(--border-color), 0 0 25px var(--border-color), inset 0 0 8px rgba(0, 255, 155, 0.1);
    transition: all 0.3s ease;
}

/* Cabeçalho e Rodapé */
header {
    width: 100%;
    background-color: var(--container-color);
    padding: 1rem 2rem;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-color);
}

footer {
    width: 100%;
    background-color: transparent; /* Fundo transparente para misturar com o body */
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
}

header nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--primary-green);
}

/* Estilo para o item de navegação "Exclusivo" */
.exclusive-nav-item {
    transition: all 0.3s ease;
    padding: 6px 10px; /* Um pouco menor que antes */
    border-radius: 5px;
    font-weight: bold;
    text-shadow: none;
}

/* Estilo para o botão QUANDO o plano está ATIVO */
.exclusive-nav-item.active-exclusive {
    background: linear-gradient(45deg, #ffd700, #f0a500);
    color: var(--bg-dark) !important; /* Cor do texto escura para contraste */
}

/* Estilo para o botão QUANDO está BLOQUEADO, com animação */
.exclusive-nav-item.locked-exclusive {
    background-color: var(--light-blue);
    color: var(--bg-dark) !important;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(137, 207, 240, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(137, 207, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(137, 207, 240, 0); }
}

footer {
    text-align: center;
    color: var(--text-secondary-color);
}

/* Tipografia e Elementos */
h2 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* --- Estilos da Seção Exclusiva --- */

.exclusive-layout {
    display: flex;
    width: 100%;
    max-width: 1200px; /* Layout mais largo para a área exclusiva */
    margin: 0 auto; /* Garante que o layout fique centralizado */
    gap: 2rem;
}

.exclusive-sidebar {
    flex: 0 0 250px; /* Largura fixa para a sidebar */
    background-color: var(--container-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content; /* Altura se ajusta ao conteúdo */
}

.exclusive-sidebar h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.exclusive-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exclusive-sidebar li a {
    display: block;
    color: var(--text-secondary-color);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.exclusive-sidebar li a:hover {
    background-color: var(--bg-metal);
    color: var(--primary-green);
    transform: translateX(5px);
}

.exclusive-sidebar li a.active {
    background-color: rgba(0, 255, 155, 0.1);
    color: var(--primary-green);
    font-weight: bold;
}

.exclusive-content {
    flex: 1; /* Ocupa o espaço restante */
}

/* --- Estilos para o Menu Exclusivo Responsivo --- */

.sidebar-toggle {
    display: none; /* Oculto no desktop */
}

.sidebar-overlay {
    display: none;
}

@media screen and (max-width: 992px) {
    .exclusive-layout {
        flex-direction: column;
        padding: 0 1rem; /* Adiciona um respiro nas laterais no mobile */
    }

    .exclusive-layout .content-box {
        max-width: 100%; /* Garante que a caixa de conteúdo não vaze */
    }

    .exclusive-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1001;
        border-radius: 0 12px 12px 0;
    }

    body.sidebar-open .exclusive-sidebar {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }

    body.sidebar-open .sidebar-overlay {
        display: block;
    }

    .sidebar-toggle {
        display: block;
        position: fixed;
        top: 80px; /* Ajuste conforme a altura do seu header principal */
        left: 15px;
        z-index: 999;
        background: var(--primary-green);
        border: none;
        border-radius: 8px;
        width: 44px;
        height: 44px;
        cursor: pointer;
    }

    .hamburger, .hamburger::before, .hamburger::after {
        content: '';
        display: block;
        background-color: var(--bg-dark);
        height: 3px;
        width: 24px;
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    .hamburger::before { transform: translateY(-8px); }
    .hamburger::after { transform: translateY(8px); }
}


.dashboard-welcome {
    text-align: center;
}

p {
    line-height: 1.6;
    color: var(--text-secondary-color);
}

a {
    color: var(--primary-green);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Formulários */
.form-group {
    margin-bottom: 1.5rem;
}

.dashboard-top-links {
    text-align: center;
    margin-bottom: 2rem; /* Espaçamento para desktop */
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary-color);
    font-size: 0.9rem;
}

textarea, input[type="text"], input[type="email"], input[type="password"], input[type="url"], select {
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea {
    font-family: monospace;
}

textarea:focus, input:focus, select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 8px rgba(0, 255, 155, 0.5);
}

button {
    width: 100%;
    padding: 12px;
    background: var(--light-blue);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #a9e1f7;
    transform: translateY(-2px);
}

/* Estilos específicos do Dashboard */
.tool-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.tool-list li {
    margin-bottom: 1rem;
}

.tool-info {
    display: flex;
    flex-direction: column;
}

.tool-list .tool-link {
    display: flex;
    align-items: center;
    background-color: #1c1c1c;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    position: relative; /* Para posicionar o badge */
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tool-list .tool-link:hover {
    background-color: #2a2a2a;
    border-color: var(--primary-green);
    transform: translateX(5px);
}

.plan-requirement {
    font-size: 0.8rem;
    color: var(--light-blue);
    margin-top: 5px;
    opacity: 0.8;
}

.tool-list .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-green);
}

/* Estilos para caixas de resultado com botão de copiar */
.result-container {
    position: relative;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto; /* Sobrescreve o width: 100% padrão */
    padding: 8px 12px;
    font-size: 0.8rem;
    background-color: var(--primary-green);
    color: var(--bg-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Estilos para Tabelas de Dados (Histórico e Conta) */
.data-table, .history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.data-table th, .history-table th {
    background-color: #1c1c1c;
    color: var(--primary-green);
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid var(--primary-green);
}

.data-table td, .history-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary-color);
}

.data-table tbody tr:hover, .history-table tbody tr:hover {
    background-color: #1a1a1a;
}

.history-table .data-cell {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.history-table .data-cell:hover {
    white-space: normal;
    overflow: visible;
}

/* Navegação Inferior para Mobile */
.mobile-bottom-nav {
    display: none; /* Oculto por padrão no desktop */
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    header .desktop-nav {
        display: none; /* Hide desktop nav on mobile */
    }

    .dashboard-top-links {
        display: none; /* Hide desktop nav on mobile */
    }
    
    /* Ajusta o container principal para ter margens mínimas */
    .main-container {
        padding: 1rem; /* Reduz o espaçamento geral */
    }

    /* Ajusta a caixa de conteúdo para ser mais compacta no mobile */
    .content-box {
        padding: 1.5rem; /* Reduz o espaçamento interno */
        box-shadow: 0 0 8px var(--border-color), 0 0 15px var(--border-color); /* Suaviza a sombra */
    }

    /* Adiciona espaço no final da página para não sobrepor o conteúdo */
    body {
        padding-bottom: 80px; /* Altura da barra de navegação + um pouco de espaço */
    }

    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 65px; /* Altura da barra */
        background-color: var(--container-color);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-color);
        text-decoration: none;
        flex-grow: 1;
        transition: color 0.2s;
    }

    .mobile-bottom-nav a:hover, .mobile-bottom-nav a.active {
        color: var(--primary-green);
    }

    .mobile-bottom-nav .nav-icon {
        font-size: 1.5rem;
    }

    .mobile-bottom-nav .nav-label {
        font-size: 0.7rem;
        margin-top: 4px;
    }
}

/* --- Estilos da Landing Page --- */

/* Container principal da landing page */
.landing-container {
    width: 100%;
    max-width: 1100px; /* Mais largo que o content-box */
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Seção Herói */
.hero-section {
    text-align: center;
    padding: 4rem 1rem;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Estilos de botões para a landing page */
.btn-primary {
    background: var(--primary-green);
    color: var(--bg-dark);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 155, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(0, 255, 155, 0.1);
    transform: translateY(-3px);
}

/* Seção de Ferramentas */
.features-section {
    padding: 4rem 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Seção Final de CTA */
.final-cta-section {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--container-color);
    border-radius: 12px;
    margin-top: 2rem;
}