:root {
    --primary: #035d54;
    --primary-dark: #024a42;
    --accent: #00ff88;
    --danger: #ff3737;
    --success: #4CAF50;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border: #333333;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Container */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(90deg, var(--danger), #ff5555);
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    margin-bottom: 30px;
    border-radius: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Hero Section */
.hero-section {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.text-danger {
    color: var(--danger);
}

.highlight {
    color: var(--accent);
    text-decoration: underline;
}

.hero-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.benefit-icon {
    font-size: 1.5rem;
}

/* Checkout Wrapper */
.checkout-wrapper {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

/* Checkout Header */
.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-size: 0.9rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Order Bumps */
.order-bumps {
    margin-bottom: 30px;
}

.order-bumps h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.bump-item {
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.bump-item:hover {
    border-color: var(--accent);
}

.bump-item.selected {
    border-color: var(--accent);
    background: rgba(0, 255, 136, 0.1);
}

.bump-checkbox {
    display: flex;
    gap: 15px;
}

.bump-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.bump-content {
    flex: 1;
}

.bump-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bump-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.bump-price {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.price-discount {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.bump-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Order Summary */
.order-summary {
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.order-summary h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-security {
    text-align: center;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.pix-modal-content {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--accent);
}

.qr-code-container {
    margin: 30px 0;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.qr-code-container img {
    max-width: 250px;
    width: 100%;
}

.pix-code-container {
    margin-top: 20px;
}

.pix-code-box {
    position: relative;
    margin-top: 10px;
}

.pix-code-box textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 14px;
    resize: none;
}

.pix-code-box button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 8px 16px;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.payment-status {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.modal-content {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--success);
}

.success-icon {
    font-size: 80px;
    color: var(--success);
    margin-bottom: 20px;
    animation: checkmark 0.8s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Copy Alert */
.copy-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--success);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    z-index: 3000;
    transition: transform 0.3s ease;
    opacity: 0;
}

.copy-alert.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .checkout-container {
        padding: 10px;
    }
    
    .hero-section,
    .checkout-wrapper {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .bump-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}