/* Reset e Layout Base */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
}

.checkout-container {
    max-width: 1000px;
    margin: 120px auto 80px;
    padding: 0 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.checkout-main {
    background: #f9fafb;
    padding: 40px;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f0f0f;
    margin-bottom: 12px;
}

.checkout-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: .938rem;
    font-weight: 600;
    color: #0f0f0f;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: Poppins, sans-serif;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    transition: all .3s ease;
}

.form-input:focus {
    outline: 0;
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, .1);
}

.stripe-element {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
    transition: all .3s ease;
}

.stripe-element--focus {
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, .1);
}

.btn-checkout {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.125rem;
    font-weight: 700;
    background-color: #25d366;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    margin-top: 24px;
    box-shadow: 0 4px 6px -1px rgba(37, 211, 102, .2);
    transition: all .3s ease;
}

.btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 211, 102, .4), 0 0 20px rgba(37, 211, 102, .3);
}

.btn-checkout:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.order-summary {
    background: #111827;
    padding: 40px;
    border-radius: 1rem;
    border: 1px solid #374151;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.plan-details {
    background: rgba(255, 255, 255, .08);
    padding: 24px;
    border-radius: 1rem;
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 12px;
}

.plan-features {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.plan-features li i {
    color: #4ade80;
    font-size: 1rem;
}

.price-breakdown {
    border-top: 2px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: #d0d0d0;
    font-size: .938rem;
}

.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #25d366;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.security-badges {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .813rem;
    color: #b0b0b0;
}

.badge i {
    color: #4ade80;
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, .15), rgba(239, 68, 68, .08));
    border: 2px solid #ef4444;
    color: #dc2626;
    padding: 16px 20px;
    border-radius: 1rem;
    font-size: .938rem;
    font-weight: 600;
    margin-top: 16px;
    display: none;
    animation: slideDown .3s ease;
}

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(16, 185, 129, .08));
    border: 2px solid #10b981;
    color: #059669;
    padding: 16px 20px;
    border-radius: 1rem;
    font-size: .938rem;
    font-weight: 600;
    margin-top: 16px;
    display: none;
    animation: slideDown .3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width:768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }
    .checkout-main,
    .order-summary {
        padding: 28px 24px;
        position: static
    }
    .checkout-title {
        font-size: 1.625rem
    }
}

/* Estilos da página de Obrigado */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 50%, #0F0F0F 100%);
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.success-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.success-box {
    max-width: 700px;
    background: #111827;
    border-radius: 1rem;
    padding: 60px 50px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #374151;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #25D366, #34B7F1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 3.5rem;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.success-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.success-subtitle {
    font-size: 1.25rem;
    color: #E0E0E0;
    margin-bottom: 32px;
    font-weight: 500;
}

.success-message {
    background: rgba(37, 211, 102, 0.1);
    border: 2px solid #25D366;
    border-radius: 1rem;
    padding: 24px;
    margin-bottom: 32px;
}

.success-message-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4ADE80;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.success-message-text {
    font-size: 1rem;
    color: #D0D0D0;
    line-height: 1.7;
    margin: 0;
}

.next-steps {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 32px;
    margin-bottom: 32px;
}

.next-steps-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.steps-list {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.steps-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #D0D0D0;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #25D366, #34B7F1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #FFFFFF;
    flex-shrink: 0;
    font-size: 1.125rem;
}

.step-content {
    flex: 1;
    padding-top: 4px;
}

.step-content strong {
    color: #4ADE80;
    display: block;
    margin-bottom: 4px;
}

.buttons-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-success {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #1DA851);
    color: #FFFFFF;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-home {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.btn-home:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .success-box {
        padding: 40px 28px;
    }
    .success-title {
        font-size: 1.875rem;
    }
    .success-subtitle {
        font-size: 1rem;
    }
    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    .buttons-group {
        flex-direction: column;
    }
    .btn-success {
        width: 100%;
        justify-content: center;
    }
}

/* Footer Minimalista */
.footer-minimal {
    background: #0F0F0F;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-minimal .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-minimal p {
    margin: 0;
    font-size: 0.875rem;
    color: #9CA3AF;
    font-weight: 400;
}

.footer-minimal .developer-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-minimal .developer-link:hover {
    color: #1DA851;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-minimal {
        padding: 24px 0;
    }
    .footer-minimal p {
        font-size: 0.813rem;
        line-height: 1.6;
    }
}
