Spanish Language Stack Exchange is a question and answer site for students, teachers, and linguists wanting to discuss the finer points of the Spanish language. It's 100% free, no registration required.

2 Answers
2

It's not about pensar que or creer que, it is about something called Transporte de Negación. Basically, when the negation moves from the subordinate frase to the main one, the subordinate verb should be transformed to the subjuntive form.