/* =========================================
   ARQUIVO: landing.css
   Descrição: Estilos exclusivos para Home e Planos (Cyber/CSI)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
    --neon-green: #00ff88;
    --neon-blue: #00d4ff;
    --neon-red: #ff3366;
    --neon-yellow: #f1c40f;
    --neon-purple: #9b59b6;
    --neon-cyan: #00bcd4;
    --neon-orange: #e67e22;
    --dark-bg: #05050a;
    --text-main: #e0e0e0;
    --text-muted: #8a8a9e;
    
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* RESET E BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--dark-bg);
    font-family: var(--font-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* FUNDO TÁTICO (FIXO) */
.tactical-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: 
        linear-gradient(rgba(5, 5, 10, 0.92), rgba(5, 5, 10, 0.96)),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* NAV SUPERIOR */
.nav-tech {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px;
    background: rgba(5, 5, 10, 0.9);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    color: #fff; display: flex; align-items: center; gap: 10px;
}

/* BOTÕES NEON */
.btn-neon {
    padding: 10px 30px;
    font-family: var(--font-display); font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem;
    border: 1px solid var(--neon-green); color: var(--neon-green);
    background: rgba(0, 255, 136, 0.05);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    display: inline-block; cursor: pointer; text-align: center;
}
.btn-neon:hover { background: var(--neon-green); color: #000; box-shadow: 0 0 20px rgba(0, 255, 136, 0.4); }

.btn-neon-secondary { border-color: var(--text-muted); color: var(--text-muted); background: transparent; }
.btn-neon-secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.05); }

/* HERO SECTION */
.hero-section {
    min-height: 85vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
}

.hero-section::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 136, 0.03) 3px);
    pointer-events: none; z-index: -1;
}

.hero-title {
    font-family: var(--font-display); font-size: 3.5rem; font-weight: 900;
    color: #fff; margin-bottom: 20px; line-height: 1.1; text-transform: uppercase;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}
.hero-title span { color: transparent; -webkit-text-stroke: 1px var(--neon-green); display: block; }

.hero-subtitle {
    font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin-bottom: 40px;
    background: rgba(0,0,0,0.4); padding: 10px 20px; border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* FEATURE BLOCKS */
.features-section { padding: 100px 20px; overflow: hidden; background: linear-gradient(to bottom, #05050a, #0a0a12); }

.feature-row {
    display: flex; align-items: center; justify-content: center;
    gap: 80px; max-width: 1200px; margin: 0 auto 150px;
    flex-wrap: wrap; 
}
.feature-row.reverse { flex-direction: row-reverse; }

.feature-text { flex: 1; min-width: 300px; max-width: 600px; }

.feature-tag {
    font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 15px; display: inline-block;
    padding: 6px 12px; background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid; 
}

.feature-title {
    font-family: var(--font-display); font-size: 2.2rem; color: #fff;
    margin-bottom: 20px; line-height: 1.2; text-transform: uppercase;
}

.feature-list li {
    display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
    color: #e0e0e0; font-size: 1.1rem;
}

/* HOLO CARDS */
.feature-visual { flex: 1; display: flex; justify-content: center; perspective: 1000px; min-width: 300px; }

.holo-card {
    width: 100%; max-width: 450px; height: 320px;
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid; 
    border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative; overflow: hidden;
    transition: transform 0.5s ease;
}
.holo-card:hover { transform: rotateY(5deg) rotateX(5deg) scale(1.02); }

.holo-icon { font-size: 5rem; margin-bottom: 20px; filter: drop-shadow(0 0 15px currentColor); }
.holo-label { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 2px; }

.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: #fff; box-shadow: 0 0 15px #fff; opacity: 0.6;
    animation: scan 3s infinite linear;
}
@keyframes scan { 0% { top: 0%; opacity: 0; } 50% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* =========================================
   GAMIFICAÇÃO (ESTILO CYBER)
   ========================================= */
.gamification-section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a0a12 0%, #020205 100%);
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.gamification-section::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.game-grid {
    display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
    max-width: 1200px; margin: 0 auto; position: relative; z-index: 2;
}

.game-card {
    background: rgba(16, 16, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    flex: 1; min-width: 280px; max-width: 350px;
    text-align: center; backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 30, 0.8);
    border-color: var(--card-color);
    box-shadow: 0 10px 30px -10px var(--card-color-glow);
}

.game-icon {
    font-size: 3.5rem; margin-bottom: 25px; color: var(--card-color);
    filter: drop-shadow(0 0 15px var(--card-color-glow));
    transition: transform 0.4s ease;
}
.game-card:hover .game-icon { transform: scale(1.1) rotate(5deg); }

.game-title {
    font-family: var(--font-display); font-size: 1.5rem; color: #fff;
    margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase;
}
.game-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* =========================================
   PÁGINA DE PLANOS (CORREÇÃO COM GRID)
   ========================================= */
.pricing-wrapper {
    display: grid;
    /* Define duas colunas fixas no desktop que se ajustam */
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.plan-card {
    background-color: rgba(10, 10, 18, 0.85);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0;
    display: flex; flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    height: 100%; /* Força altura igual */
}

/* Destaque Perito */
.plan-card.premium {
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.15);
    transform: scale(1.05); 
    z-index: 2;
}

.badge-popular {
    background-color: var(--neon-green); color: #000;
    text-align: center; padding: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
    letter-spacing: 2px; text-transform: uppercase;
    position: absolute; top: -35px; left: -2px; right: -2px;
    border-radius: 6px 6px 0 0; border: 2px solid var(--neon-green);
}

.plan-header { padding: 40px 30px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.plan-title { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 10px; letter-spacing: 2px; text-transform: uppercase; }
.plan-price { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: #fff; }
.plan-price span { font-size: 1rem; color: var(--text-muted); font-family: var(--font-body); }

.plan-body { padding: 30px; flex-grow: 1; }
.plan-features li { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; color: #e0e0e0; font-size: 1rem; }
.plan-features li i { color: var(--neon-green); width: 20px; text-align: center; }
.plan-features li.disabled { color: #555; text-decoration: line-through; }
.plan-features li.disabled i { color: #555; }

.plan-footer { padding: 0 30px 40px; }
.btn-plan { width: 100%; display: block; text-align: center; padding: 15px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; clip-path: polygon(5% 0, 100% 0, 100% 70%, 95% 100%, 0 100%, 0 30%); transition: 0.3s; text-decoration: none; }
.btn-plan.solid { background: var(--neon-green); color: #000; border: none; }
.btn-plan.solid:hover { box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
.btn-plan.outline { border: 1px solid #555; color: #aaa; background: transparent; }
.btn-plan.outline:hover { border-color: #fff; color: #fff; }

footer { text-align: center; padding: 40px; background-color: #020205; color: #555; font-size: 0.8rem; border-top: 1px solid #222; margin-top: auto; }

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .hero-title { font-size: 2.5rem; }
    .feature-row, .feature-row.reverse { flex-direction: column; text-align: center; gap: 40px; }
    
    /* Ajuste para planos no mobile */
    .pricing-wrapper { 
        grid-template-columns: 1fr; /* Uma coluna só */
        gap: 60px; /* Mais espaço vertical */
        padding: 40px 20px;
    }
    .plan-card.premium { 
        transform: scale(1); /* Remove o zoom */
        margin-bottom: 20px; 
        order: -1; /* Mantém o destaque em cima */
    }
    .badge-popular { top: -30px; }
}

/* =========================================
   ESTILOS DE FORMULÁRIOS (LOGIN, CADASTRO, CHECKOUT)
   Adicione ao final do landing.css
   ========================================= */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.auth-card {
    background: rgba(10, 10, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* Linha Neon no topo */
.auth-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    box-shadow: 0 0 15px var(--neon-green);
}

.auth-logo {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--neon-green);
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
    background-color: rgba(0, 255, 136, 0.02);
}

.btn-auth {
    width: 100%;
    padding: 15px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--neon-green);
    color: #000;
    border: none;
    clip-path: polygon(5% 0, 100% 0, 100% 70%, 95% 100%, 0 100%, 0 30%);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-auth:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--neon-green);
    text-decoration: none;
}

/* Estilos Específicos do Checkout */
.checkout-summary {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.summary-total {
    border-top: 1px solid #333;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 700;
    color: var(--neon-green);
    font-size: 1.2rem;
}

/* Adicione ou atualize no final do landing.css */

/* Ajuste específico para o container do Mercado Pago */
.checkout-card {
    max-width: 600px; /* Mais largo para caber o form do MP */
}

/* Container onde o Mercado Pago vai renderizar o formulário */
#paymentBrick_container {
    margin-top: 20px;
    min-height: 400px; /* Evita pulo de layout enquanto carrega */
}

/* Ajuste para o loading do MP ficar bonito no tema dark */
.mp-loading {
    text-align: center;
    color: var(--neon-green);
    padding: 40px;
    font-family: var(--font-display);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}