* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #FF3859 0%, #d42f4a 100%);
    min-height: 100vh;
    padding: 0;
    line-height: 1.6;
}

/* Security Banner */
.security-banner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 3px solid #10b981;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.security-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.security-item svg {
    color: #10b981;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    background: #F4F5F7;
    padding: 30px;
    border-radius: 16px 16px 0 0;
    border-bottom: 4px solid #10b981;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.header h1 {
    color: #FF3859;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.verification-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.verified {
    background: #dcfce7;
    color: #166534;
}

.badge.secure {
    background: #dbeafe;
    color: #1e3a8a;
}

.subtitle {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.trust-indicators {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.trust-item {
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Payment Card */
.payment-card {
    background: #F4F5F7;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.card-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
    background: white;
}

.card-header h2 {
    color: #1e293b;
    font-size: 1.6rem;
    font-weight: 700;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #166534;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Section Titles */
h3 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
}

h3 svg {
    color: #10b981;
}

/* Info Sections */
.client-info,
.plan-info,
.payment-info,
.pix-section,
.instructions,
.refund-policy {
    padding: 24px 30px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    margin-bottom: 10px;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-row:hover {
    border-color: #10b981;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row.highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.info-row .label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
}

.info-row.highlight .label {
    color: white;
    font-size: 1rem;
}

.info-row .value {
    color: #1e293b;
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
}

.info-row.highlight .value {
    color: white;
}

.info-row .value.total {
    font-size: 2.2rem;
    font-weight: 900;
}

/* Security Guarantee */
.security-guarantee {
    padding: 30px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 5px solid #10b981;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.guarantee-icon {
    color: #10b981;
    flex-shrink: 0;
}

.guarantee-content h4 {
    color: #166534;
    font-size: 1.3rem;
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.guarantee-content p {
    color: #166534;
    margin-bottom: 8px;
    line-height: 1.6;
}

.guarantee-content strong {
    font-weight: 700;
}

/* PIX Section */
.pix-security-info {
    background: #dbeafe;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #3b82f6;
}

.pix-security-info p {
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 5px;
}

.pix-code-container {
    margin-bottom: 16px;
}

.pix-code-container label {
    display: block;
    color: #475569;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

#pixCode {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #334155;
    background: #f8fafc;
    text-align: center;
    transition: all 0.3s ease;
}

#pixCode:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.copy-button {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.copy-button:active {
    transform: translateY(0);
}

.copy-button.success {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.success-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 14px 20px;
    background: #dcfce7;
    color: #166534;
    border-radius: 10px;
    font-weight: 600;
    border: 2px solid #10b981;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message.show {
    display: flex;
}

/* Instructions */
.instructions h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.instructions ol {
    margin-left: 20px;
    color: #475569;
}

.instructions li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.instructions strong {
    color: #1e293b;
    font-weight: 700;
}

/* Refund Policy */
.refund-policy {
    background: #fef3c7;
    border-left: 5px solid #f59e0b;
}

.refund-policy h4 {
    color: #92400e;
    font-size: 1.2rem;
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.policy-content p {
    color: #92400e;
    margin-bottom: 8px;
    line-height: 1.6;
}

.policy-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #fbbf24;
    font-style: italic;
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    text-align: center;
    border-top: 3px solid #10b981;
}

.footer-security {
    margin-bottom: 20px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.footer-badge svg {
    color: #10b981;
    flex-shrink: 0;
}

.footer-badge div {
    text-align: left;
}

.footer-badge strong {
    display: block;
    color: white;
    font-size: 1rem;
    margin-bottom: 4px;
}

.footer-badge span {
    display: block;
    color: #cbd5e1;
    font-size: 0.85rem;
}

.footer-note {
    color: #10b981;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .security-banner-content {
        gap: 15px;
    }

    .security-item {
        font-size: 0.75rem;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 8px;
    }

    .card-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .card-header h2 {
        font-size: 1.3rem;
    }

    .info-row {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .info-row .value {
        text-align: center;
    }

    .info-row .value.total {
        font-size: 1.8rem;
    }

    .security-guarantee {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-badge {
        flex-direction: column;
        text-align: center;
    }

    .footer-badge div {
        text-align: center;
    }

    .client-info,
    .plan-info,
    .payment-info,
    .pix-section,
    .instructions,
    .refund-policy {
        padding: 20px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 15px 10px;
    }

    .header {
        padding: 20px;
    }

    .header h1 {
        font-size: 2rem;
    }
}
