/* 1. RESET E FUNDO "BLINDADO" */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Criamos um fundo que ignora o conteúdo e fica fixo na tela */
html::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e1b4b 0%, #3b82f6 100%);
    z-index: -1;
}

body {
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centralização horizontal global */
}

/* 2. HEADER E EFEITOS DE MENU */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 75px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.3s;
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* DESTAQUE LILÁS ENTRAR */
.btn-login {
    background: #9333ea !important;
    color: white !important;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

/* 3. CONTEÚDO (MATA AS LINHAS PRETAS E CENTRALIZA) */
main.container {
    flex: 1;
    width: 100%;
    max-width: 1000px;
    margin-top: 100px; /* Evita ficar atrás do menu */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente */
    background: transparent !important;
}

section {
    display: none;
    width: 100%;
    background: transparent !important;
}

/* O SEGREDO: Usar flex aqui para manter o conteúdo no meio */
section.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

/* 4. RODAPÉ (ALINHADO À ESQUERDA) */
.footer {
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    padding: 50px 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: left; /* Rodapé à esquerda */
}

.footer h3 { color: #9333ea; margin-bottom: 15px; }
.footer ul { list-style: none; }
.footer a { color: #ccc; text-decoration: none; font-size: 0.9rem; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ESTILO DO CARD DE INÍCIO (Inspirado no Layout Manus) */
.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 24px;
    max-width: 800px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.badge {
    background: rgba(147, 51, 234, 0.2);
    color: #a855f7;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight {
    color: #9333ea;
    background: linear-gradient(90deg, #9333ea, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 2rem 0;
}

.btn-primary {
    background: #9333ea;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: white;
}

.stat-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Container de Planos */
.plans-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 30px;
}

.plans-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
    text-align: left;
}

.plans-table th, .plans-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.row-category {
    background: rgba(255, 255, 255, 0.02);
    font-weight: bold;
    color: var(--highlight); /* Cor de destaque definida no seu CSS */
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

.col-free { color: var(--text-secondary); text-align: center; }
.col-premium { color: var(--highlight); text-align: center; }
.check { text-align: center; color: #4CAF50; }

/* Ajuste Responsivo para Mobile */
@media (max-width: 600px) {
    .plans-table { font-size: 14px; }
    .plans-card { padding: 20px; }
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column; /* Coloca o logo em cima e o menu embaixo */
    padding: 10px;
  }
  
  .menu {
    gap: 10px; /* Reduz o espaço entre os itens */
    font-size: 0.9em; /* Diminui levemente a letra no celular */
    flex-wrap: wrap; /* Permite que os itens pulem de linha se necessário */
    justify-content: center;
  }
}

/* Centraliza o conteúdo das colunas de planos */
.plans-table td.center-text, 
.plans-table td.check {
    text-align: center;
}

/* Garante que o traço não fique "encostado" na borda em telas menores */
.center-text {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3); /* Deixa o traço discretamente cinza */
}

/* Container de Apoio */
.support-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1100px;
    margin: 0 auto;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}

.support-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-item h3 {
    color: var(--highlight);
    font-size: 1.1em;
    margin-bottom: 15px;
}

.support-item ul {
    list-style: none;
    padding: 0;
}

.support-item li {
    margin-bottom: 8px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.support-item li::before {
    content: "▹";
    color: var(--highlight);
    margin-right: 8px;
}

.wide {
    grid-column: span 2; /* Faz o bloco da IA ser mais largo */
}

.ia-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.ia-tags span {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

@media (max-width: 768px) {
    .wide { grid-column: span 1; }
}

.clickable {
    cursor: pointer;
    transition: color 0.3s;
}

.clickable:hover {
    color: var(--highlight) !important;
    text-decoration: underline;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.btn-back {
    background: none;
    border: none;
    color: var(--highlight);
    cursor: pointer;
    margin-bottom: 20px;
    font-weight: bold;
}

.modern-table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
  }