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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-in;
}

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

/* Header */
.header {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    animation: slideDown 0.6s ease-out;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: #667eea;
}

.logo h1 {
    color: #2d3748;
    font-size: 1.8rem;
    font-weight: 700;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.security-badge i {
    font-size: 1.2rem;
}

/* Client Info Card */
.client-info-card {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.client-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.client-header i {
    font-size: 2rem;
    color: #667eea;
}

.client-header h2 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
}

.client-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f7fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-row:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.detail-row.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.detail-row.highlight .detail-label {
    color: white;
}

.detail-label i {
    font-size: 1.1rem;
}

.detail-value {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
}

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

.value-highlight {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Payment Section */
.payment-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.section-title i {
    font-size: 2rem;
    color: #667eea;
}

.section-title h2 {
    color: #2d3748;
    font-size: 1.6rem;
    font-weight: 700;
}

/* QR Code */
.qr-code-container {
    text-align: center;
    margin-bottom: 30px;
}

.qr-code {
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05);
}

.qr-instruction {
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
}

/* PIX Code Section */
.pix-code-section {
    margin-bottom: 30px;
}

.pix-code-section h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pix-code-section h3 i {
    color: #667eea;
}

.pix-code-box {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#pixCode {
    flex: 1;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: #f7fafc;
    color: #2d3748;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

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

.copy-feedback {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #10b981;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    animation: slideInDown 0.4s ease-out;
}

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

.copy-feedback.show {
    display: flex;
}

/* Instructions */
.instructions {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.instructions h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instructions h3 i {
    color: #667eea;
}

.instructions ol {
    margin-left: 25px;
}

.instructions li {
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.instructions strong {
    color: #667eea;
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.contact-section h3 {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-section h3 i {
    color: #667eea;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-card.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.contact-card.email {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.contact-card i {
    font-size: 3rem;
    margin-bottom: 12px;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

/* Footer */
.footer {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.footer p {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer i {
    color: #667eea;
}

.footer-note {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .pix-code-box {
        flex-direction: column;
    }

    .copy-btn {
        justify-content: center;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .value-highlight {
        font-size: 1.5rem !important;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 20px;
    }

    .logo i {
        font-size: 2rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .payment-section,
    .client-info-card,
    .contact-section {
        padding: 20px;
    }

    .section-title h2,
    .client-header h2 {
        font-size: 1.2rem;
    }
}
