/* css/style.css - Versão Final Multilíngue com Bandeiras */

/* --- 1. Reset e Variáveis (TEMA ESCURO) --- */
:root {
    --bg-main: #0B1A34;
    --bg-secondary: #132647;
    --accent-cyan: #00d2ff;
    --accent-hover: #33e0ff;
    --text-main: #ffffff;
    --text-secondary: #8892b0;
    --border-color: #1c355e;
    --success-green: #00ff88;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 20px; 
    position: relative;
}

/* --- 2. Header e Login (Topo) --- */
.login-container {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 100;
    display: flex;
    gap: 15px;
    align-items: center;
}

/* --- Seletor de Idioma com Bandeiras --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaçamento menor entre as bandeiras */
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.5; /* Bandeiras inativas ficam mais apagadas */
    padding: 2px;
    border-radius: 4px;
    border: 2px solid transparent;
}

.lang-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Estilo da imagem da bandeira */
.lang-flag {
    width: 18px; /* Reduzido de 22px para 18px (aprox. -20%) */
    height: auto;
    display: block;
    border-radius: 2px; /* Ajustei levemente o arredondamento para o novo tamanho */
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Idioma Ativo (Selecionado) */
.lang-btn.active {
    opacity: 1;
    cursor: default;
    pointer-events: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* Botão Área do Cliente */
.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: rgba(0, 210, 255, 0.05);
    white-space: nowrap;
    height: 40px;
}

.btn-login:hover {
    background-color: var(--accent-cyan);
    color: var(--bg-main);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Botão Google (Branco) */
.btn-google {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background-color: #ffffff;
    color: #1f1f1f;
    border: 1px solid #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    height: 40px;
}

.btn-google:hover {
    background-color: #f1f1f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.google-icon { width: 18px; height: 18px; }

/* --- 3. Layout Principal --- */
.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 20px 40px 20px; 
    flex: 1;
}

header { width: 100%; margin-bottom: 0px; }

.logo-img {
    width: 500px; 
    max-width: 100%; 
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.3));
}

/* --- 4. Hero Section e Botões Principais --- */
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 10px; 
    margin-bottom: 16px;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Container dos Botões */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Estilo Base COMPARTILHADO (Para garantir simetria) */
.btn-download, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;       /* Largura fixa igual */
    height: 60px;       /* Altura fixa igual */
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-sizing: border-box; 
    cursor: pointer;
}

/* Botão Principal (Comprar) */
.btn-download {
    background-color: var(--accent-cyan);
    color: var(--bg-main);
    border: 2px solid var(--accent-cyan); 
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.3);
}

.btn-download:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.6);
}

/* Botão Secundário (Baixar) */
.btn-outline {
    background-color: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.btn-outline:hover {
    background-color: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
    transform: translateY(-3px);
    color: #ffffff;
}

/* --- 5. Features Grid (Recursos) --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-cyan);
}

.feature-icon {
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.feature-icon svg { width: 32px; height: 32px; }

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- 6. Pricing Card (Preço) --- */
.pricing-card {
    background-color: rgba(19, 38, 71, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.price-tag {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 10px;
}

.price-currency {
    font-size: 1rem;
    color: var(--accent-cyan);
    vertical-align: super;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-details {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: left;
    display: inline-block;
}

.price-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.check-icon { color: var(--success-green); margin-right: 10px; }

.file-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
    opacity: 0.6;
    margin-bottom: 40px;
}

/* --- 7. Formulários e Abas --- */
.separator {
    height: 1px;
    background-color: var(--border-color);
    width: 100%;
    margin: 0 auto 40px auto;
    opacity: 0.5;
}

.contact-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-form { text-align: left; max-width: 500px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300d2ff'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.form-textarea { resize: vertical; height: 110px; }

.btn-submit {
    background-color: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--accent-cyan);
    color: var(--bg-main);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

/* Tab Control */
.tab-container {
    max-width: 600px; 
    margin: 0 auto 30px auto;
}

.tab-header {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    flex-wrap: wrap; 
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    flex: 1; 
    min-width: 100px; 
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    margin-top: auto;
    padding: 30px 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* --- 8. Responsividade (Mobile) --- */
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .login-container { 
        position: relative; 
        top: auto; 
        right: auto; 
        margin-bottom: 20px; 
        flex-direction: column; 
        justify-content: center;
        width: 100%;
    }
    /* Ajuste para o seletor de idiomas no mobile */
    .lang-switcher {
        margin-bottom: 15px;
    }
    .btn-login, .btn-google { width: 100%; justify-content: center; }

    .hero-section h1 { font-size: 2rem; }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Botões ocupam largura total no celular */
    .btn-download, .btn-outline { 
        width: 100%; 
    }
    
    .tab-btn { font-size: 0.85rem; padding: 10px 5px; }
}
/* --- PÁGINA DE RECUPERAÇÃO / LOGIN --- */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh; /* Centraliza verticalmente ocupando quase toda a tela */
    padding: 20px;
}

.auth-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 450px; /* Largura ideal para formulários */
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.auth-icon {
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.auth-title {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.auth-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.link-back {
    display: inline-block;
    margin-top: 25px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    border-bottom: 1px dashed transparent;
}

.link-back:hover {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}