/* =========================================
   1. RESET & VARIÁVEIS GLOBAIS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --neon-primary: #00f3ff;
    --neon-secondary: #ff00ff;
    --neon-accent: #39ff14;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: rgba(15, 15, 25, 0.85);
    /* Aumentei levemente a opacidade para leitura */
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --header-height: 80px;
    /* Variável para controlar altura do header */
    --warning-height: 0px;

    --primary: #00f3ff;
    --primary-glow: rgba(0, 243, 255, 0.4);
    --secondary: #bd00ff;
    --accent: #39ff14;

    /* Backgrounds */
    --bg-dark: #050508;
    --bg-panel: rgba(20, 20, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Text */
    --text-main: #ffffff;
    --text-muted: #94a3b8;

    /* Spacing */
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 12px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    /* Para o link âncora não ficar embaixo do header */
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    /* Evita rolagem horizontal indesejada */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. EFEITOS VISUAIS & FUNDO
   ========================================= */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    /* Garante que cliques passem pelos scripts */
}

.neon-text {
    text-shadow: 0 0 5px var(--neon-primary),
        0 0 10px rgba(0, 243, 255, 0.5);
    color: var(--text-color);
}

.neon-secondary {
    text-shadow: 0 0 5px var(--neon-secondary),
        0 0 10px rgba(255, 0, 255, 0.5);
    color: var(--text-color);
}

.neon-accent {
    text-shadow: 0 0 5px var(--neon-accent);
    color: var(--text-color);
}

/* =========================================
   3. LAYOUT & CONTAINERS
   ========================================= */
section {
    padding: 80px 20px;
    position: relative;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
    border-radius: 3px;
}

/* =========================================
   4. HEADER & NAVEGAÇÃO
   ========================================= */
header,
.header {
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    height: var(--header-height);
    top: 0 !important;
    /* Adicionado !important para garantir que fique no topo 0 */
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--neon-primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--neon-primary);
}

/* Botões Padrão */
.cta-button {
    background: linear-gradient(45deg, var(--neon-primary), var(--neon-secondary));
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    font-size: 0.95rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
}

/* =========================================
   5. HERO SECTION (CORRIGIDA)
   ========================================= */
.hero {
    /* Padding topo ajustado para compensar header fixo + respiro */
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    min-height: 100vh;
    /* Ocupa tela toda */
    display: flex;
    align-items: center;
    /* Centraliza verticalmente */
    background: radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.05) 0%, rgba(10, 10, 15, 0) 70%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Texto um pouco maior que a imagem */
    gap: 50px;
    align-items: center;
}

.hero-text-content {
    text-align: left;
}

/* Badge de Aviso */
.badge-warning {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 71, 87, 0.1);
    color: #ff6b6b;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: #ff6b6b;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 rgba(255, 107, 107, 0.4);
    animation: pulse-red 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 550px;
    line-height: 1.7;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.hero-benefits li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-benefits li::before {
    content: '✓';
    color: var(--neon-accent);
    font-weight: bold;
}

/* Área Visual (Mockup) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.glass-card-mockup {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.glass-card-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: var(--neon-primary);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

/* Gráfico Circular */
.score-circle {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke: var(--neon-primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    animation: progress 1.5s ease-out forwards;
    filter: drop-shadow(0 0 5px var(--neon-primary));
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

#animated-score {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}

.score-label {
    font-size: 0.85rem;
    color: var(--neon-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

.mockup-stats .stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.mockup-stats .bar {
    width: 60%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.mockup-stats .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
}

.status-badge {
    text-align: center;
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-primary);
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 25px;
    border: 1px solid var(--neon-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--neon-primary);
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
}

/* =========================================
   6. CARDS & FEATURES
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    /* Garante altura igual */
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--neon-accent);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--neon-primary);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   7. HOW IT WORKS (STEPS)
   ========================================= */
.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    gap: 20px;
}

.steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
    z-index: 1;
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: bold;
    border: 2px solid var(--neon-primary);
    color: var(--neon-primary);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

/* =========================================
   8. PRICING
   ========================================= */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--neon-primary);
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--neon-primary);
    color: #000;
    padding: 5px 35px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 800;
}

.price {
    font-size: 3.5rem;
    margin: 20px 0;
    color: var(--neon-primary);
    font-weight: 800;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    flex-grow: 1;
    /* Empurra o botão para baixo */
}

.pricing-features li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: #ddd;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-accent);
}

/* =========================================
   9. TESTIMONIALS & FAQ
   ========================================= */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-toggle {
    color: var(--neon-primary);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-toggle.active {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* =========================================
   10. MODAL & FORMS (Corrigido & Centralizado)
   ========================================= */
.modal-overlay {
    display: none;
    /* Controlado via JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;

    /* Centralização Flexbox */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: rgba(20, 20, 30, 0.98);
    border: 1px solid var(--neon-primary);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.15);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    animation: modalPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

.auth-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 600;
    transition: 0.3s;
}

.auth-tab.active {
    color: var(--neon-primary);
    border-bottom: 2px solid var(--neon-primary);
}

.auth-input,
.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: 0.3s;
    outline: none;
}

.auth-input:focus,
.form-control:focus {
    border-color: var(--neon-primary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-secondary));
    color: #000;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.auth-feedback {
    margin-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 20px;
}

.text-danger {
    color: #ff4444;
}

.text-success {
    color: #00C851;
}

.text-warning {
    color: #ffbb33;
}

/* =========================================
   11. FOOTER (CORRIGIDO & MELHORADO)
   ========================================= */
footer {
    background-color: var(--darker-bg);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0, 243, 255, 0.15);
    /* Borda neon sutil */
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    /* Evita overflow de efeitos de luz */
}

/* Efeito de brilho sutil no topo do footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-primary), transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    /* Melhora a distribuição: A primeira coluna (logo/sobre) ganha mais espaço se possível */
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Títulos das colunas */
.footer-column h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-column p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 300px;
    /* Evita que o texto fique muito largo */
}

/* Lista de Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    /* Necessário para o transform funcionar */
}

/* Hover effect nos links */
.footer-links a:hover {
    color: var(--neon-primary);
    transform: translateX(5px);
    /* Move levemente para a direita */
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

/* Redes Sociais */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--neon-primary);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.2);
    border-color: var(--neon-primary);
}

/* Rodapé inferior (Copyright) */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.85rem;
}

/* =========================================
   12. RESPONSIVIDADE (Mobile Fixes)
   ========================================= */

/* Tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .steps {
        flex-direction: column;
    }

    .steps::before {
        display: none;
    }

    .step {
        margin-bottom: 30px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Mobile (Ajuste principal do topo) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        /* Header menor no mobile */
    }

    /* Correção do Header Mobile */
    .nav-links {
        display: none;
    }

    /* Mantém escondido por enquanto, já que não tem JS de menu hambúrguer no código original */

    .logo {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Correção da Hero Section para não ficar buraco no topo */
    .hero {
        padding-top: 100px;
        /* Menos espaço no topo */
        padding-bottom: 40px;
        align-items: flex-start;
        /* Permite que o conteúdo suba um pouco mais */
    }

    .hero-title {
        font-size: 2.2rem;
        /* Fonte menor */
        margin-bottom: 15px;
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .glass-card-mockup {
        padding: 15px;
        transform: none !important;
        /* Remove efeito 3D no mobile para performance/leitura */
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    /* Modal ocupa quase a tela toda no mobile */
    .modal-content {
        padding: 25px;
        width: 100%;
        margin: 0 10px;
    }

    /* Ajuste de formulários e inputs */
    .pricing-cards {
        gap: 20px;
    }

    /* Ajuste do rodapé */
    .footer-content {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}


@media (max-width: 992px) {

    /* Tablet: Muda para 2 colunas */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {

    /* Mobile: 1 Coluna centralizada */
    .footer-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-column p {
        margin: 0 auto 25px auto;
        /* Centraliza o parágrafo */
    }

    /* Centraliza os ícones sociais no mobile */
    .social-links {
        justify-content: center;
        margin-bottom: 20px;
    }

    /* Ajuste do hover no mobile (remove o slide lateral) */
    .footer-links a:hover {
        transform: translateX(0);
        color: var(--neon-primary);
    }

    footer {
        padding: 50px 0 20px;
        /* Reduz padding no mobile */
    }
}

/* Animações Keyframes */
@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}









/* --- Dashboard Showcase Section --- */
.dash-showcase {
    background: radial-gradient(circle at 50% 50%, #0a0a0a 0%, #000 100%);
    overflow: hidden;
    position: relative;
    padding: 100px 0;
}

.dash-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

/* Texto de Marketing */
.showcase-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 1.1rem;
}

.showcase-icon {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

/* O Mockup Visual (Simulação do Dashboard) */
.dash-mockup-wrapper {
    position: relative;
}

/* Efeito de brilho atrás do mockup */
.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
}

.dash-interface {
    position: relative;
    z-index: 1;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.5s ease;
}

/* Header do Mockup */
.interface-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

/* Corpo do Mockup */
.interface-body {
    padding: 25px;
}

.mock-stat-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.mock-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-card span {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

.mock-card h4 {
    margin: 5px 0 0;
    color: #fff;
    font-size: 1.2rem;
}

/* Tabela Simulada */
.mock-table {
    width: 100%;
    border-collapse: collapse;
}

.mock-table th {
    text-align: left;
    color: #666;
    font-size: 0.8rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-table td {
    padding: 15px 0;
    color: #fff;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Badges Visuais */
.badge-score {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
}

.score-high {
    background: rgba(57, 255, 20, 0.1);
    color: #39ff14;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.score-mid {
    background: rgba(255, 187, 51, 0.1);
    color: #ffbb33;
    border: 1px solid rgba(255, 187, 51, 0.3);
}

.score-low {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

@media (max-width: 900px) {
    .dash-showcase-grid {
        grid-template-columns: 1fr;
    }

    .dash-interface {
        transform: none;
    }
}



/* Botão Flutuante Esquerdo */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

/* Pulsação Neon */
.wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: wa-pulse-anim 2s infinite;
}

@keyframes wa-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Customização do Modal WA */
.wa-modal {
    border-color: #25d366 !important;
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.15) !important;
}

.wa-header h3 {
    margin-bottom: 10px;
}

.wa-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.wa-btn {
    background: #25d366 !important;
    color: #fff !important;
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .wa-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
}


.migration-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--warning-height);
    background: linear-gradient(90deg, #ff9900, #ffcc00);
    /* Laranja alerta */
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Fica acima de tudo */
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0 10px;
    text-align: center;
}

.migration-warning a {
    color: #000;
    font-weight: 800;
    text-decoration: underline;
    margin-left: 5px;
}

/* Empurra o Header para baixo para não cobrir a tarja */
header {
    top: 0 !important;
}

/* Ajusta a sidebar do Dashboard para não bater no topo */
.dash-sidebar {
    top: calc(20px + var(--warning-height)) !important;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .migration-warning {
        font-size: 0.75rem;
        line-height: 1.2;
        padding: 5px;
    }
}



/**/
/**/
/**/
/**/
/**/



/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* =========================================
   3. HEADER
   ========================================= */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.badge-pro {
    font-size: 0.7rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 2px 8px;
    border-radius: 4px;
    color: #000;
    font-weight: 700;
    margin-left: 5px;
    vertical-align: middle;
}

/* =========================================
   4. MAIN LAYOUT
   ========================================= */
.main-content {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
}

.intro-section {
    margin-bottom: 40px;
}

.intro-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* =========================================
   5. NAVIGATION TABS
   ========================================= */
.dash-menu {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
    /* Scrollbar spacing */
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 12px 20px;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.tab-btn.active {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
}

/* =========================================
   6. UPLOAD ZONE & MODES
   ========================================= */
.mode-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.mode-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.mode-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

.mode-card.active {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(0, 243, 255, 0.05), transparent);
}

.check-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--primary);
    font-size: 1.2rem;
}

.mode-card.active .check-icon {
    opacity: 1;
    transform: scale(1);
}

.mode-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
    transition: 0.3s;
}

.mode-card.active .mode-icon {
    color: var(--primary);
}

.upload-area {
    border: 2px dashed var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-bottom: 30px;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--accent);
    background: rgba(57, 255, 20, 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: block;
}

.upload-area:hover .upload-icon {
    color: var(--accent);
    transform: translateY(-5px);
    transition: 0.3s;
}

/* =========================================
   7. LISTAS E TABELAS
   ========================================= */
.process-list {
    margin-top: 30px;
}

.file-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.modern-table th {
    text-align: left;
    padding: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--glass-border);
}

.modern-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

/* =========================================
   8. ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cyan {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
}

.purple {
    background: rgba(189, 0, 255, 0.1);
    color: var(--secondary);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}




/* =========================================
   COMPARADOR FORENSE (STYLE UPGRADE)
   ========================================= */
.comparator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .comparator-wrapper {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Boxes de Upload */
.comp-box {
    flex: 1;
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.comp-box:hover {
    background: rgba(30, 30, 45, 0.8);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.comp-content {
    z-index: 2;
    width: 100%;
}

.comp-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    transition: 0.3s;
}

.comp-icon.active {
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.comp-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.file-name-display {
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    word-break: break-all;
}

.file-name-display.active {
    color: var(--primary);
}

.hash-display {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 4px;
    color: #888;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Detalhes Visuais (Cantoneiras) */
.corner-accents::before,
.corner-accents::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.corner-accents::before {
    top: 0;
    left: 0;
    border-top-color: rgba(255, 255, 255, 0.1);
    border-left-color: rgba(255, 255, 255, 0.1);
    border-top-left-radius: 16px;
}

.corner-accents::after {
    bottom: 0;
    right: 0;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    border-right-color: rgba(255, 255, 255, 0.1);
    border-bottom-right-radius: 16px;
}

.comp-box:hover .corner-accents::before {
    border-top-color: var(--primary);
    border-left-color: var(--primary);
    width: 100%;
    height: 100%;
    /* Borda completa ao hover */
}

/* Área Central VS */
.comp-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vs-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--text-muted), transparent);
}

.btn-compare {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #000;
    font-weight: 800;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    transition: 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-compare:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(189, 0, 255, 0.5);
}

/* Resultado Verdict */
.verdict-box {
    margin-top: 30px;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid transparent;
    animation: fadeInUp 0.5s ease;
}

.verdict-box.success {
    background: rgba(57, 255, 20, 0.05);
    border-color: #39ff14;
    color: #fff;
}

.verdict-box.success .verdict-icon {
    color: #39ff14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.verdict-box.danger {
    background: rgba(255, 68, 68, 0.05);
    border-color: #ff4444;
    color: #fff;
}

.verdict-box.danger .verdict-icon {
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.verdict-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
}

.verdict-box h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.verdict-box p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}