/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #4f5b74;
    color: #1f2937;
    line-height: 1.6;
}

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

/* Header */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.rocket {
    font-size: 28px;
}

.logo-text {
    color: #1f2937;
    font-weight: 800;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.lock-icon {
    font-size: 16px;
}

/* Progress Bar */
.progress-bar {
    background: #ffffff;
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.progress-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 600px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.progress-step span {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.progress-step.active span {
    color: #1f2937;
    font-weight: 600;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e0e0e0;
    margin-bottom: 20px;
}

/* Checkout Section */
.checkout-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 30px;
}

/* Order Summary */
.order-summary {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
    border: 1px solid #e5e7eb;
}

.summary-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #111827;
}

.product-card {
    display: flex;
    gap: 16px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.product-image {
    flex-shrink: 0;
}

.product-placeholder {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.product-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.product-info p {
    font-size: 14px;
    color: #6b7280;
}

.benefits-list {
    margin-bottom: 25px;
}

.benefits-list h4 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #374151;
}

.benefits-list ul {
    list-style: none;
}

.benefits-list li {
    font-size: 13px;
    color: #6b7280;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.price-breakdown {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
}

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

.price-row.total {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 12px;
    color: #111827;
}

.price-row.total span {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
}

.discount {
    color: #10b981;
    font-weight: 500;
}

.current-price {
    color: #111827;
    font-size: 18px;
    font-weight: 600;
}

.price-row.coupon-applied {
    background: #f0fdf4;
    padding: 8px 12px;
    border-radius: 6px;
    margin: 8px 0;
    font-size: 13px;
}

.timer-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.timer-content {
    width: 100%;
}

.timer-label {
    font-size: 12px;
    color: #92400e;
    margin-bottom: 8px;
    font-weight: 500;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #92400e;
    line-height: 1;
}

.time-label {
    font-size: 11px;
    color: #92400e;
    font-weight: 500;
    margin-top: 2px;
}

.time-separator {
    font-size: 24px;
    font-weight: 700;
    color: #92400e;
    margin: 0 4px;
}

.guarantee-badge {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f0fdf4;
    border: 1px solid #10b981;
    border-radius: 8px;
    margin-bottom: 24px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-text strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #065f46;
    margin-bottom: 2px;
    font-weight: 600;
}

.badge-text p {
    font-size: 13px;
    color: #059669;
    font-weight: 400;
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.trust-item {
    text-align: center;
    flex: 1;
    padding: 12px 8px;
}

.trust-item svg {
    color: #6b7280;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
}

.trust-item strong {
    display: block;
    font-weight: 600;
    color: #374151;
}

/* Payment Form */
.payment-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.form-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.secure-connection {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.secure-connection svg {
    color: #10b981;
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.tab-button:hover {
    border-color: #3b82f6;
    background: #f9fafb;
}

.tab-button.active {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.1);
}

.tab-icon {
    font-size: 24px;
}

.tab-text {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.tab-discount {
    font-size: 11px;
    color: #10b981;
    font-weight: 500;
}

/* Payment Content */
.payment-content {
    display: none;
}

.payment-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* PIX Info */
.pix-info {
    background: #f0fdf4;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.pix-price {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-label {
    font-size: 13px;
    color: #065f46;
    font-weight: 500;
}

.price-value {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #059669;
}

.discount-badge {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

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

.form-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #111827;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.field-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Installment Selector */
.installment-selector {
    margin-bottom: 30px;
}

.installment-selector label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.installment-selector select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #111827;
}

.installment-selector select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Card Brands */
.card-brands {
    position: absolute;
    right: 16px;
    top: 38px;
    display: flex;
    gap: 5px;
}

.card-brands img {
    height: 25px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.card-brands img:hover {
    opacity: 1;
}

/* CVV Help */
.cvv-help {
    position: absolute;
    right: 14px;
    top: 36px;
    width: 20px;
    height: 20px;
    background: #e5e7eb;
    color: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    cursor: help;
    transition: all 0.2s ease;
}

.cvv-help:hover {
    background: #3b82f6;
    color: #ffffff;
}

/* Terms Checkbox */
.terms-checkbox {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #ffd700;
}

.terms-checkbox label {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    cursor: pointer;
}

.terms-checkbox a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #3b82f6;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-button:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.payment-info {
    margin-top: 16px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
}

.payment-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 4px 0;
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.security-item img {
    height: 30px;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    color: #aaaaaa;
}

.footer p {
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
        order: 2;
        top: 0;
    }

    .payment-form {
        order: 1;
    }

    .progress-bar .container {
        gap: 10px;
    }

    .progress-line {
        width: 40px;
    }

    .form-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .checkout-section {
        padding: 20px 0 40px;
    }

    .order-summary,
    .payment-form {
        padding: 25px 20px;
    }

    .summary-title,
    .form-title {
        font-size: 22px;
    }

    .payment-tabs {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .price-value {
        font-size: 28px;
    }

    .submit-button {
        font-size: 14px;
        padding: 16px 25px;
    }

    .progress-step span {
        font-size: 11px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .timer-box {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-mini {
        flex-direction: column;
        text-align: center;
    }
}

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

    .logo {
        font-size: 20px;
    }

    .secure-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .product-card {
        flex-direction: column;
        text-align: center;
    }

    .product-placeholder {
        margin: 0 auto;
    }

    .trust-badges {
        flex-direction: column;
        gap: 15px;
    }
}