/* --- CSS GERAL --- */
:root {
    /* Cores do Tema Claro */
    --primary: #3b82f6; /* Azul Principal */
    --primary-dark: #2563eb;
    --primary-gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    --glass-bg: rgba(255, 255, 255, 0.9); /* Fundo dos cards e header */
    --glass-border: rgba(226, 232, 240, 0.8); /* Borda dos cards */
    --text-main: #1e293b; /* Texto principal (quase preto) */
    --text-light: #64748b; /* Texto secundário (cinza) */
    --bg-body: #f8fafc; /* Fundo da página (branco suave) */
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --radius: 20px;
    --highlight-bg: #ffffff;
}

/* --- Tema Escuro (Dark Mode) --- */
body.dark-mode {
    --primary: #60a5fa;
    --primary-dark: #3b82f6;
    --primary-gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    --glass-bg: rgba(30, 41, 59, 0.9); /* Fundo dos cards e header */
    --glass-border: rgba(255, 255, 255, 0.2); /* Borda dos cards mais clara */
    --text-main: #ffffff; /* Texto principal (branco puro) */
    --text-light: #e2e8f0; /* Texto secundário (cinza bem claro) */
    --bg-body: #0f172a; /* Fundo da página (azul escuro) */
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    --highlight-bg: #1e293b;
}

/* --- Reset e Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Outfit', sans-serif; 
    background-color: var(--bg-body); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden; 
    transition: background 0.5s, color 0.5s; 
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Elementos Flutuantes (Stickers) --- */
.sticker {
    position: absolute; 
    background: var(--glass-bg); 
    backdrop-filter: blur(10px); 
    padding: 10px 16px;
    border-radius: 50px; 
    border: 1px solid var(--glass-border); 
    box-shadow: var(--shadow-card);
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.85rem; 
    font-weight: 600; 
    z-index: 5;
    animation: float 6s ease-in-out infinite; 
    color: var(--text-main);
    transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.sticker i { font-size: 1.2rem; color: var(--primary); }
.st-1 { top: 18%; right: 8%; animation-delay: 0s; }
.st-2 { top: 45%; left: 5%; animation-delay: 1.5s; }
.st-3 { top: 75%; right: 5%; animation-delay: 2.5s; }
.st-4 { bottom: 10%; left: 10%; animation-delay: 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- Header --- */
header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 5%;
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000;
    background: var(--glass-bg); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.5s, border-color 0.5s;
}

.logo-area { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    font-weight: 700; 
    font-size: 1.4rem; 
    letter-spacing: -0.5px; 
}

.logo-img { 
    height: 40px; 
    width: auto; 
    border-radius: 0; 
    box-shadow: none;
    /* Ajuste para a logo se destacar no modo escuro, se necessário */
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

.header-btns { display: flex; gap: 10px; }

/* --- Botões --- */
.btn { 
    padding: 10px 22px; 
    border-radius: 50px; 
    border: none; 
    cursor: pointer; 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: all 0.3s; 
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-outline { 
    background: transparent; 
    border: 1px solid var(--text-light); 
    color: var(--text-main); 
}
.btn-fill { 
    background: var(--primary-gradient); 
    color: white; 
    box-shadow: 0 4px 10px rgba(37,99,235,0.3); 
}
.btn-fill:hover { 
    box-shadow: 0 6px 20px rgba(37,99,235,0.4); 
}
.btn-lg { padding: 16px 35px; font-size: 1.1rem; }

/* --- Hero Section --- */
.hero { 
    padding: 160px 5% 80px; 
    text-align: center; 
    max-width: 900px; 
    margin: 0 auto; 
    position: relative; 
}
.hero h1 { 
    font-size: 3.5rem; 
    line-height: 1.1; 
    margin-bottom: 20px; 
    font-weight: 800; 
    color: var(--text-main); /* Cor principal no modo claro */
    transition: color 0.5s;
}
.hero p { 
    font-size: 1.2rem; 
    color: var(--text-light); 
    margin-bottom: 30px; 
    max-width: 650px; 
    margin: 0 auto 30px; 
}
.cta-microcopy { 
    font-size: 0.85rem; 
    color: var(--text-light); 
    margin-top: 10px; 
    opacity: 0.8; 
}

.social-proof { 
    margin-top: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 30px; 
    font-size: 1rem; 
    color: var(--text-light); 
    font-weight: 500; 
}
.social-proof span { display: flex; align-items: center; gap: 5px; }
.star { color: #f59e0b; }

/* --- Seções Gerais --- */
section { padding: 80px 5%; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 800; color: var(--text-main); }

.grid-layout { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

/* --- Cards de Benefícios --- */
.card { 
    background: var(--highlight-bg); 
    padding: 35px; 
    border-radius: var(--radius); 
    border: 1px solid var(--glass-border); 
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, background 0.5s, border-color 0.5s; 
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.1); }
body.dark-mode .card:hover { box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.4); }

.benefit-icon { 
    width: 50px; 
    height: 50px; 
    background: rgba(59, 130, 246, 0.1); 
    color: var(--primary); 
    border-radius: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.6rem; 
    margin-bottom: 15px; 
    transition: background 0.5s;
}
body.dark-mode .benefit-icon { background: rgba(96, 165, 250, 0.1); }

.card h3 { margin-bottom: 10px; font-size: 1.3rem; font-weight: 700; }
.card p { color: var(--text-light); font-size: 1rem; }

/* --- Seção Como Funciona (Steps) --- */
#how-it-works { background-color: var(--highlight-bg); transition: background 0.5s; }
body.dark-mode #how-it-works { background-color: var(--highlight-bg); }

.steps-container { 
    display: flex; 
    flex-direction: column; 
    gap: 40px; 
    max-width: 700px; 
    margin: 0 auto; 
}
.step { 
    display: flex; 
    gap: 25px; 
    align-items: flex-start;
    padding: 15px;
    border-radius: 10px;
    transition: background 0.3s;
}
.step:hover { background: rgba(59, 130, 246, 0.05); }
body.dark-mode .step:hover { background: rgba(96, 165, 250, 0.05); }

.step-number { 
    width: 40px; 
    height: 40px; 
    flex-shrink: 0; 
    background: var(--primary-gradient); 
    color: white; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    font-size: 1.2rem;
}
.step h3 { font-size: 1.4rem; margin-bottom: 5px; }
.step p { color: var(--text-light); }

/* --- Seção Teste Rápido (Demo) --- */
.demo-box { 
    background: var(--highlight-bg); 
    border-radius: 30px; 
    border: 1px solid var(--glass-border); 
    padding: 50px; 
    text-align: center; 
    max-width: 900px; 
    margin: 0 auto; 
    box-shadow: var(--shadow-card);
    transition: background 0.5s, border-color 0.5s;
}
.input-demo { 
    display: flex; 
    gap: 15px; 
    margin-top: 30px; 
    justify-content: center; 
}
.input-demo input { 
    padding: 16px 25px; 
    border-radius: 50px; 
    border: 1px solid var(--glass-border); 
    flex: 1; 
    min-width: 250px; 
    outline: none; 
    font-size: 1rem;
    background: var(--bg-body);
    color: var(--text-main);
    transition: background 0.5s, border-color 0.5s;
}
.input-demo input:focus { border-color: var(--primary); }

.input-demo button { 
    padding: 16px 30px; 
    border-radius: 50px; 
    border: none; 
    background: var(--text-main); 
    color: var(--bg-body); 
    font-weight: 600; 
    cursor: pointer; 
    transition: background 0.5s, color 0.5s;
}
body.dark-mode .input-demo button { background: var(--text-main); color: var(--bg-body); }

/* --- Seção Planos (Pricing) --- */
.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 25px; 
    max-width: 1200px; 
    margin: 0 auto; 
    align-items: stretch; 
}
.plan-card { 
    background: var(--highlight-bg); 
    border: 1px solid var(--glass-border); 
    border-radius: 20px; 
    padding: 30px 25px; 
    display: flex; 
    flex-direction: column; 
    position: relative; 
    transition: transform 0.3s, border-color 0.5s, background 0.5s; 
}
.plan-card:hover { transform: translateY(-5px); }

.plan-card.highlight { 
    border: 2px solid var(--primary); 
    background: var(--highlight-bg); 
    transform: scale(1.05); 
    box-shadow: 0 15px 40px rgba(37,99,235,0.15); 
    z-index: 3; 
}
body.dark-mode .plan-card.highlight { 
    background: var(--highlight-bg); 
    box-shadow: 0 15px 40px rgba(37,99,235,0.3); 
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 20px;
    background: #f59e0b;
    color: white;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-card h3 { font-size: 1.5rem; margin-bottom: 5px; }
.price { font-size: 2.5rem; font-weight: 800; margin: 15px 0; color: var(--primary-dark); transition: color 0.5s; }
.features { margin-bottom: 25px; flex: 1; }
.features li { 
    margin-bottom: 10px; 
    font-size: 0.95rem; 
    color: var(--text-light); 
    display: flex; 
    gap: 10px; 
    align-items: center;
}
.features i { color: #10b981; font-size: 1.2rem; }

.btn-plan { 
    width: 100%; 
    padding: 12px; 
    border-radius: 10px; 
    border: 1px solid var(--glass-border); 
    background: transparent; 
    cursor: pointer; 
    font-weight: 600; 
    color: var(--text-main); 
    transition: all 0.3s;
}
.highlight .btn-plan { 
    background: var(--primary-gradient); 
    color: white; 
    border: none; 
}
.highlight .btn-plan:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 4px 10px rgba(37,99,235,0.4); 
}

/* --- FAQ e CTA Final --- */
.faq-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    max-width: 1000px; 
    margin: 0 auto; 
}
.faq-grid h3 { font-size: 1.2rem; margin-bottom: 5px; font-weight: 700; }
.faq-grid p { color: var(--text-light); }

.final-cta { 
    text-align: center; 
    padding: 80px 5%; 
    margin-top: 50px;
}
.final-cta h2 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 800; }
.final-cta p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 20px; }

/* --- Footer --- */
footer { 
    background: var(--highlight-bg); 
    padding: 40px 5%; 
    text-align: center; 
    font-size: 0.9rem; 
    color: var(--text-light); 
    border-top: 1px solid var(--glass-border); 
    transition: background 0.5s, border-color 0.5s;
}
.footer-nav { 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
    margin-bottom: 15px; 
    font-weight: 500; 
    flex-wrap: wrap; 
}
.footer-nav a:hover { color: var(--primary); }

/* --- Botão de Alternância de Tema --- */
.theme-toggle { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: var(--text-main); 
    color: var(--bg-body); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    z-index: 100; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
    transition: background 0.5s, color 0.5s, transform 0.2s;
}
.theme-toggle:hover { transform: scale(1.1); }
.theme-toggle i { font-size: 1.5rem; }

/* --- Responsividade (Mobile) --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .sticker { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .plan-card.highlight { transform: scale(1.02); }
}

@media (max-width: 768px) {
    header { padding: 10px 5%; }
    .logo-area { font-size: 1.2rem; }
    .logo-img { height: 35px; }
    .header-btns { 
        display: flex; 
        gap: 5px; /* Reduz o espaço entre os botões */
    }
    .header-btns .btn {
        padding: 8px 15px; /* Reduz o padding dos botões */
        font-size: 0.8rem; /* Reduz o tamanho da fonte */
    }
    
    .hero { padding-top: 120px; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .btn-lg { padding: 14px 30px; font-size: 1rem; }
    
    section { padding: 60px 5%; }
    .section-header h2 { font-size: 2rem; }
    .grid-layout { gap: 20px; }
    .card { padding: 25px; }
    
    .demo-box { padding: 30px; }
    .input-demo { flex-direction: column; }
    .input-demo input, .input-demo button { min-width: 100%; }
    
    .faq-grid { grid-template-columns: 1fr; }
    .final-cta h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .social-proof { flex-direction: column; gap: 10px; }
    .theme-toggle { width: 45px; height: 45px; }
}
