* {
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Efeito de fundo glow da Hero */
body::before {
    content: '';
    position: absolute;
    top: -10%; /* Ajustado para começar mais acima no checkout */
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.25) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
    animation: glow-move 4s infinite ease-in-out alternate;
}

@keyframes glow-move {
    0% {
        transform: translate(-50%, 0) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, 40px) scale(1.15);
        opacity: 1;
    }
}

.checkout-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    height: 50px;
    margin-bottom: 15px;
}

.checkout-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 70px 40px 40px 40px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.checkout-banner {
    margin-bottom: 0;
    line-height: 0;
    position: relative;
    z-index: 20; /* Garante que a imagem fique por cima do conteúdo */
}

.checkout-banner img {
    width: 100%;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

@media (max-width: 768px) {
    .checkout-content {
        padding: 70px 20px 20px 20px;
    }
    
    body::before {
        width: 100%;
        left: 0;
        transform: none;
        background: radial-gradient(circle, rgba(0, 230, 118, 0.15) 0%, rgba(0,0,0,0) 70%);
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .guarantee-info {
        flex-direction: column;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 20px;
        align-items: center; /* Centralizar imagens na coluna */
    }
    
    .security-badges img {
        height: auto !important;
        width: 300px; /* Tamanho fixo solicitado */
        max-width: 90%; /* Segurança para telas muito pequenas */
    }
    
    .checkout-container {
        padding: 0 15px;
        margin: 20px auto;
        width: 100%;
        overflow-x: hidden;
    }
}

.order-summary {
    width: 100%;
    background: #fdfdfd;
    padding: 25px;
    border-radius: 8px;
    box-shadow: none;
    height: auto;
    margin-bottom: 30px;
    border: 1px solid #ccc;
}

.order-summary h3 {
    margin-top: 0;
}

.plan-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.checkout-form-container {
    width: 100%;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

h2 {
    font-size: 1.2rem;
    color: #0B750B;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px; /* Aumentado de 15px para 20px para dar mais respiro */
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, .plan-selector select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Adicionado para respeitar o padding */
}

.form-group input:focus, .plan-selector select:focus {
    border-color: #0B750B;
    outline: none;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.method-option {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.method-option:hover {
    border-color: #0B750B;
    background-color: #f9fdf9;
}

.method-option.active {
    border-color: #0B750B;
    background-color: #e8f5e9;
    color: #0B750B;
}

.payment-content {
    display: none;
    margin-top: 20px;
}

.payment-content.active {
    display: block;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    background-color: #0B750B;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-checkout:hover {
    background-color: #085a08;
}

.btn-checkout:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.total-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.security-badges {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Pequeno espaçamento para não colarem */
}

.security-badges img {
    flex: initial;
    width: auto;
    height: 68px; /* Aumentado em ~50% (de 45px para 68px) */
    display: block;
}

.guarantee-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 1rem; /* Aumentado de 0.9rem */
    font-weight: 500;
}

.guarantee-item {
    display: flex;
    flex-direction: column; /* Imagem em cima, texto embaixo */
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 15px;
    background-color: #fff;
    text-align: center; /* Centralizar texto */
}

.guarantee-item img {
    width: auto;
    height: 100px; /* Altura fixa de 100px */
    object-fit: contain;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.copy-paste-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.copy-paste-container textarea {
    flex: 1;
    height: 40px;
    padding: 5px;
    resize: none;
    font-size: 0.8rem;
}

.btn-copy {
    padding: 0 15px;
    background: #0B750B;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-close-modal {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}
