/* Variáveis de Cores (Fácil de alterar o tema) */
:root {
    --color-primary: #4F46E5; /* Indigo (Principal) */
    --color-secondary: #06B6D4; /* Teal (Secundário) */
    --color-text-dark: #1F2937;
    --color-text-light: #4B5563;
    --color-background: #F9FAFB;
    --color-footer-bg: #1F2937;
    --color-footer-text: #9CA3AF;

    /* Variáveis de Glassmorfismo (Novo) */
    --glass-bg: rgba(255, 255, 255, 0.1); 
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-blur: blur(10px);

    /* Cores de Destaque Tecnológico (Para o Mockup) */
    --highlight-indigo-light: #818CF8;
    --highlight-teal-light: #22D3EE;
    --highlight-success: #4ADE80; 
}

/* Reset Básico e Fontes */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-dark);
    background-color: white;
    line-height: 1.6;
}
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Utilitários e Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-8 { gap: 2rem; }
.gap-3 { gap: 0.75rem; } 
.text-center { text-align: center; }
.bg-light-gray { background-color: var(--color-background); }
.bg-indigo { background-color: var(--color-primary); }

/* HEADER */
.header-main {
    background-color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.tag-logo {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 900;
}
.nav-link {
    color: var(--color-text-light);
    font-weight: 600;
}
.nav-link:hover {
    color: var(--color-primary);
}
.login-link {
    margin-right: -0.5rem; 
}

/* BOTÕES (CTAs de Alta Conversão) */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
}
.btn-primary:hover { background-color: #4338CA; }

.btn-secondary {
    background-color: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    display: inline-block;
}
.btn-secondary:hover { 
    background-color: var(--color-primary); 
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary-color { /* Para o CTA de Influencer (Teal) */
    background-color: var(--color-secondary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
}
.btn-secondary-color:hover { background-color: #0891B2; }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* HERO SECTION */
#hero {
    /* Fundo Escuro para Tech/Glassmorfismo */
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%); 
    padding: 5rem 0 8rem 0;
    color: white; 
}
.hero-content { 
    grid-template-columns: 1fr 1fr; 
}
.tagline {
    color: #9CA3AF; /* Cinza claro para a tagline */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-top: 1rem;
    color: white; 
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #D1D5DB; 
    margin-top: 1rem;
    max-width: 500px;
}
.highlight-indigo {
    color: var(--highlight-indigo-light);
}
.hero-ctas {
    margin-top: 2.5rem;
}

/* --- DASHBOARD MOCKUP STYLES (LINHA 3D) --- */

.dashboard-mockup {
    /* Novo Visual Glassmorfismo */
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    
    border-radius: 1.5rem; 
    border: 1px solid var(--glass-border);
    padding: 2rem; 
    
    height: 450px; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Adiciona uma perspectiva sutil */
    transform: perspective(1000px) rotateY(-5deg); 
    transform-origin: left;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mockup-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white; 
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); 
}

.mockup-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: white;
    border: 1px solid var(--glass-border);
}
.profile-name {
    color: #D1D5DB;
}

.profile-dot {
    width: 10px;
    height: 10px;
    background-color: var(--highlight-success); 
    border-radius: 50%;
    box-shadow: 0 0 8px var(--highlight-success); 
}

/* MÉTRICAS (Mockup Grid) */
.mockup-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(0, 0, 0, 0.2); 
    padding: 1.2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease-in-out;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white; 
}

/* Cores de Destaque Tecnológico nas Métricas */
.metric-card .highlight-indigo { color: var(--highlight-indigo-light); } 
.metric-card .highlight-success { color: var(--highlight-success); } 
.metric-card .metric-value[style*="var(--color-secondary)"] {
    color: var(--highlight-teal-light) !important; 
}

.metric-label {
    font-size: 0.9rem;
    color: #D1D5DB; 
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ÁREA DO GRÁFICO (Mockup Chart Area) - LINHA 3D */
.mockup-chart-area {
    flex-grow: 1;
    background-color: rgba(0, 0, 0, 0.4); 
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5); 
}

.chart-label {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.chart-placeholder {
    flex-grow: 1;
    /* Fundo Escuro com Linhas de Grade Tecnológicas */
    background-color: #1F2937; 
    border-radius: 0.75rem;
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #374151;
    
    /* GRADIENTE DA LINHA 3D E GRADE */
    background-image: 
        /* 1. Efeito de Superfície do Gráfico (Gradient da área) */
        linear-gradient(to top, 
            rgba(79, 70, 229, 0.4) 0%, /* Indigo forte na base */
            rgba(129, 140, 248, 0.05) 90% /* Quase transparente no topo */
        ),
        /* 2. Grid Horizontal */
        linear-gradient(to bottom, transparent 99%, rgba(255, 255, 255, 0.1) 1px),
        /* 3. Grid Vertical */
        linear-gradient(to right, transparent 99%, rgba(255, 255, 255, 0.1) 1px);
        
    background-size: 
        /* Dimensão da área: 85% da largura, 90% da altura (simula o crescimento da linha) */
        85% 90%, 
        100% 20%, /* 5 linhas horizontais */
        20% 100%; /* 5 linhas verticais */
        
    background-repeat: no-repeat, repeat-y, repeat-x;
    
    /* Posição: alinha a área do gráfico à base inferior esquerda, começando ligeiramente para dentro */
    background-position: 
        5% 100%, 
        0 0, 
        0 0;
    
    /* Efeito de brilho sobre o painel do gráfico */
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.5) inset; 
    
    font-size: 0; 
}

/* SIMULAÇÃO DA LINHA DE DADOS REAL */
/* Usaremos um pseudo-elemento para criar a linha brilhante */
.chart-placeholder::after {
    content: ''; 
    position: absolute;
    bottom: 10%; /* Começa acima da base */
    left: 5%;
    width: 85%;
    height: 80%; /* Define a área do gráfico */
    
    /* A LINHA RASTREADORA - Simulação de curva crescente */
    background: linear-gradient(
        to right bottom, 
        transparent 0%, transparent 10%, /* Início: baixo */
        var(--highlight-teal-light) 10%, var(--highlight-teal-light) 20%, /* Ponto 1: sobe */
        transparent 20%, transparent 30%, 
        var(--highlight-teal-light) 30%, var(--highlight-teal-light) 40%, /* Ponto 2: sobe */
        transparent 40%, transparent 50%,
        var(--highlight-teal-light) 50%, var(--highlight-teal-light) 60%, /* Ponto 3: sobe */
        transparent 60%, transparent 75%,
        var(--highlight-teal-light) 75%, var(--highlight-teal-light) 85%, /* Ponto 4: pico */
        transparent 85% 
    );
    
    /* MÁSCARA - Para cortar o gradiente e formar a linha */
    -webkit-mask: linear-gradient(135deg, 
        transparent 0%, transparent 50%, 
        white 50%, white 100%
    );
    mask: linear-gradient(135deg, 
        transparent 0%, transparent 50%, 
        white 50%, white 100%
    );

    /* EFEITO DE BRILHO (GLOW) */
    box-shadow: 0 0 10px var(--highlight-teal-light);
    
    /* Linha fina e animada */
    border-bottom: 2px solid var(--highlight-teal-light); 
    border-radius: 50%; /* Ajuda a dar a sensação de curva */
    
    animation: lineGrowth 5s ease-in-out infinite alternate;
}

@keyframes lineGrowth {
    0% { width: 50%; opacity: 0.7; }
    100% { width: 90%; opacity: 1; }
}

/* --- FIM DASHBOARD MOCKUP STYLES --- */


/* TRUST BAR */
.trust-bar {
    padding: 2rem 0;
    border-top: 1px solid #E5E7EB;
    background-color: var(--color-background);
}
.trust-title {
    color: #9CA3AF;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.logo-group {
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo-text {
    font-size: 1.5rem;
    color: #D1D5DB;
    font-weight: 700;
}

/* SEÇÕES DE CONTEÚDO E CARDS */
.section-content {
    padding: 5rem 0;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.card-title-secondary { /* Cor para Influencers */
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}
.card-description {
    color: var(--color-text-light);
}

/* COMO FUNCIONA - FLUXO */
.flow-cards {
    max-width: 900px;
    margin: 0 auto;
    gap: 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); 
    text-align: left;
    position: relative;
    border: 1px solid #E5E7EB;
    transition: transform 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.flow-step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    background-color: var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* CTA FINAL */
.final-cta {
    padding: 4rem 0;
}
.final-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}
.btn-white {
    background-color: white;
    color: var(--color-primary);
    font-weight: 700;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    border-radius: 0.75rem;
    display: inline-block;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
    background-color: #F3F4F6;
}

/* RODAPÉ */
#footer {
    background-color: var(--color-footer-bg);
    color: white;
    padding: 3rem 0 1.5rem 0;
}
.footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    display: grid;
    padding-bottom: 2rem;
    border-bottom: 1px solid #374151;
}
.footer-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
#footer a {
    color: var(--color-footer-text);
    margin-bottom: 0.5rem;
    display: block;
}
#footer a:hover {
    color: white;
}
.newsletter-text {
    color: var(--color-footer-text);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}
.newsletter-input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: none;
    background-color: #374151;
    color: white;
}
.footer-copy {
    text-align: center;
    margin-top: 2rem;
    color: #6B7280;
    font-size: 0.875rem;
}

/* MEDIA QUERIES (Responsividade) */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .dashboard-mockup {
        transform: none; /* Desativa a perspectiva em telas menores */
    }
}

@media (max-width: 767px) {
    .hero-content { 
        grid-template-columns: 1fr; 
    }
    .desktop-only { 
        display: none; 
    }
    .flex-mobile-col { 
        flex-direction: column; 
    }
    .header-nav { 
        display: none; 
    }
    .header-cta { 
        margin-left: auto; 
    }
    .hero-title { 
        font-size: 2.5rem; 
    }
    .hero-image-placeholder, .dashboard-mockup { 
        display: none; /* Garante que o mockup não apareça em mobile */
    }
    .grid-cols-3, .grid-cols-2 { 
        grid-template-columns: 1fr; 
    }
    .flow-cards {
        grid-template-columns: 1fr;
    }
    .gap-8 { 
        gap: 1.5rem; 
    }
    .section-title { 
        font-size: 2rem; 
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .logo-group {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Ajuste para o Fluxo em Mobile */
    .flow-cards { 
        gap: 2rem;
    }
    .flow-step-number {
        top: 20px;
        right: 20px;
    }
}