/* ==========================================================================
   PAYMENT PAGE - DARK NEON THEME
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Syncopate:wght@400;700&display=swap');

:root {
    --bg: #0a0a12;
    --card: #151521;
    --primary: #3b82f6;
    --secondary: #f59e0b;
    --accent: #10b981;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --input-bg: #1e1e2d;
    --border: rgba(255,255,255,0.1);
    --neon-glow: 0 0 20px rgba(59, 130, 246, 0.4);
}

* { box-sizing: border-box; }

body {
    margin: 0; font-family: 'Outfit', sans-serif; background-color: var(--bg); color: var(--text);
    display: flex; justify-content: center; align-items: center; min-height: 100vh;
    overflow-x: hidden;
}

/* Luz de Fundo */
.ambient-light {
    position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    z-index: -1; pointer-events: none;
}

/* Container Principal */
.payment-container {
    display: flex; width: 95%; max-width: 1100px; background: var(--card);
    border-radius: 24px; overflow: hidden; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
    position: relative; margin: 40px 0;
}

/* --- LOGO IMAGEM (Novo) --- */
.summary-logo {
    height: 95px; /* Tamanho ideal para o cabeçalho */
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5)); /* Brilho Neon na Logo */
}

/* --- LADO ESQUERDO (Resumo) --- */
.payment-summary {
    width: 40%; background: linear-gradient(160deg, #1a1a26 0%, #0f0f16 100%);
    padding: 50px; position: relative; display: flex; flex-direction: column; justify-content: space-between;
    border-right: 1px solid var(--border);
}

/* Efeito de linha neon no topo */
.payment-summary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.summary-header { margin-bottom: 40px; }
.back-link {
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem; display: inline-flex; 
    align-items: center; gap: 8px; margin-bottom: 20px; transition: 0.3s;
}
.back-link:hover { color: white; transform: translateX(-5px); }

.logo-text { font-family: 'Syncopate', sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: 1px; }
.logo-text span { color: var(--primary); }

.plan-showcase h3 { font-size: 1.8rem; margin-bottom: 15px; line-height: 1.3; }
.highlight { color: var(--primary); text-shadow: 0 0 15px rgba(59,130,246,0.4); }
.plan-showcase p { color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 15px; }
.badge {
    font-size: 0.85rem; background: rgba(255,255,255,0.05); padding: 8px 15px;
    border-radius: 8px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.05);
}
.badge i { color: var(--accent); }

.order-total { margin-top: 50px; border-top: 1px solid var(--border); padding-top: 25px; }
.order-total span { display: block; color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.order-total strong {
    font-size: 3rem; display: block; color: white; margin: 5px 0; 
    text-shadow: 0 0 20px rgba(255,255,255,0.2); font-weight: 700;
}
.order-total small { color: var(--text-muted); font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }

/* --- LADO DIREITO (Formulário) --- */
.payment-form-area { width: 60%; padding: 50px; background: var(--card); }

.form-header { margin-bottom: 30px; }
.form-header h2 { font-size: 1.8rem; margin: 0 0 10px 0; }
.form-header p { color: var(--text-muted); margin: 0; }

/* Seletor de Planos */
.plan-selector { display: grid; grid-template-columns: 1fr 1.2fr; gap: 15px; margin-bottom: 35px; }

.plan-option {
    position: relative; border: 1px solid var(--border); background: var(--input-bg);
    padding: 15px; border-radius: 12px; cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; gap: 12px;
}
.plan-option input { display: none; }

/* Hover & Selected States */
.plan-option:hover { border-color: var(--primary); transform: translateY(-2px); }
.plan-option.selected {
    border-color: var(--primary); background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Radio Visual */
.radio-check {
    width: 20px; height: 20px; border-radius: 50%; border: 2px solid #555;
    position: relative; flex-shrink: 0; transition: 0.3s;
}
.plan-option.selected .radio-check { border-color: var(--primary); }
.plan-option.selected .radio-check::after {
    content: ''; width: 10px; height: 10px; background: var(--primary);
    border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* Texto do Plano */
.plan-info { display: flex; flex-direction: column; }
.plan-name { font-weight: 600; font-size: 0.9rem; color: white; margin-bottom: 2px; }
.plan-price { color: var(--text-muted); font-size: 0.85rem; }
.total-year { font-size: 0.75rem; color: var(--accent); margin-top: 2px; font-weight: 600; }

/* Destaque Anual */
.plan-option.featured { border-color: rgba(245, 158, 11, 0.3); }
.plan-option.featured.selected { border-color: var(--secondary); background: rgba(245, 158, 11, 0.08); box-shadow: 0 0 20px rgba(245, 158, 11, 0.1); }
.plan-option.featured.selected .radio-check { border-color: var(--secondary); }
.plan-option.featured.selected .radio-check::after { background: var(--secondary); }

.best-badge {
    position: absolute; top: -10px; right: 10px; background: var(--secondary);
    color: black; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6); text-transform: uppercase;
}

/* Inputs */
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 0.9rem; margin-bottom: 8px; color: var(--text-muted); margin-left: 5px; }

.input-wrapper { position: relative; }
.input-wrapper i {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); transition: 0.3s;
}

.neon-input {
    width: 100%; background: var(--input-bg); border: 1px solid var(--border);
    border-radius: 10px; padding: 14px 14px 14px 45px; color: white;
    font-size: 1rem; outline: none; transition: 0.3s; font-family: 'Outfit';
}

.neon-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.neon-input:focus + i { color: var(--primary); }

/* Botão */
.btn-confirm {
    width: 100%; background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white; padding: 16px; border: none; border-radius: 12px;
    font-size: 1.1rem; font-weight: 700; cursor: pointer; margin-top: 10px;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    transition: 0.3s; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); text-transform: uppercase;
}
.btn-confirm:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5); }

.footer-note { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 25px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Responsividade */
@media (max-width: 900px) {
    .payment-container { flex-direction: column; height: auto; margin: 20px; width: auto; }
    .payment-summary, .payment-form-area { width: 100%; padding: 30px; }
    .payment-summary { border-right: none; border-bottom: 1px solid var(--border); }
    .plan-selector { grid-template-columns: 1fr; }
}