/* Upgrade Modal Styles */
.upgrade-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    animation: fadeIn 0.3s;
}

.upgrade-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.upgrade-modal {
    background: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.upgrade-modal-header {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 2rem;
    border-radius: 1rem 1rem 0 0;
    position: relative;
}

.upgrade-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.upgrade-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.upgrade-modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upgrade-modal-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

.upgrade-modal-body {
    padding: 2rem;
}

.upgrade-plan-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid #6366f1;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.upgrade-plan-card h3 {
    color: #6366f1;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upgrade-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.5rem 0;
}

.upgrade-price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.upgrade-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.upgrade-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
}

.upgrade-features li i {
    color: #10b981;
    font-size: 1.25rem;
}

.upgrade-instructions {
    background: #fff7ed;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.upgrade-instructions h4 {
    color: #f59e0b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upgrade-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upgrade-steps li {
    padding: 0.75rem 0;
    display: flex;
    gap: 1rem;
    color: #78350f;
}

.upgrade-step-number {
    background: #f59e0b;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.upgrade-contact {
    background: #f0fdf4;
    border: 2px solid #10b981;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.upgrade-contact h4 {
    color: #10b981;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upgrade-contact-info {
    display: grid;
    gap: 0.75rem;
}

.upgrade-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #166534;
}

.upgrade-contact-item i {
    color: #10b981;
    font-size: 1.25rem;
    width: 24px;
}

.upgrade-contact-item strong {
    min-width: 80px;
}

.upgrade-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.upgrade-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.upgrade-btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.upgrade-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.upgrade-btn-secondary {
    background: #e2e8f0;
    color: #334155;
}

.upgrade-btn-secondary:hover {
    background: #cbd5e1;
}

@media (max-width: 640px) {
    .upgrade-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .upgrade-modal-header {
        padding: 1.5rem;
    }
    
    .upgrade-modal-body {
        padding: 1.5rem;
    }
    
    .upgrade-modal-footer {
        flex-direction: column;
    }
    
    .upgrade-btn {
        width: 100%;
        justify-content: center;
    }
}
