/* Payment & Upgrade Styles */

/* Upgrade Section */
.upgrade-section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.upgrade-section h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.upgrade-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.upgrade-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.3s;
    text-align: center;
}

.upgrade-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.upgrade-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.upgrade-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.upgrade-card h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.upgrade-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.upgrade-price {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
}

.upgrade-price span {
    font-size: 1.2rem;
    opacity: 0.8;
}

.upgrade-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.upgrade-features li {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.upgrade-features li:last-child {
    border-bottom: none;
}

.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 15px;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #667eea;
}

/* Payment Modal */
.payment-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 20px;
}

.payment-modal-content {
    background: #1a1b2e;
    margin: 30px auto;
    padding: 35px;
    border-radius: 20px;
    max-width: 550px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.payment-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-header h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.payment-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.payment-plan-details {
    background: rgba(102, 126, 234, 0.1);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.plan-price .currency {
    font-size: 1.8rem;
}

.plan-price .interval {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
    display: grid;
    gap: 8px;
}

.plan-features li {
    color: rgba(255, 255, 255, 0.85);
    padding: 0;
    font-size: 0.95rem;
}

.payment-instructions {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.payment-instructions h3 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.payment-instructions ol {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 20px;
    margin: 0;
    line-height: 1.7;
}

.payment-instructions ol li {
    margin: 8px 0;
    font-size: 0.95rem;
}

.payment-instructions strong {
    color: #667eea;
    font-weight: 600;
}

.paypal-link {
    text-align: center;
    margin: 20px 0;
}

.btn-paypal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0070ba;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-paypal:hover {
    background: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4);
}

.payment-note {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
    padding: 12px 15px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.payment-note strong {
    color: #ffc107;
}

.payment-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    margin-top: 20px;
}

.payment-actions button {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-actions .btn-close {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-actions .btn-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.payment-actions .btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.payment-actions .btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.payment-actions button {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-success {
    background: #4CAF50;
    color: white;
    border: none;
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-success:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Payment Pending Notice */
.payment-pending-notice {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-icon {
    font-size: 2.5rem;
}

.notice-text strong {
    color: #ffc107;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.notice-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .upgrade-options {
        grid-template-columns: 1fr;
    }
    
    .payment-modal-content {
        margin: 20px;
        padding: 25px;
    }
    
    .payment-actions {
        flex-direction: column;
    }
}
