I imagine there's a difference between using "you're smart" as a motivator, as you describe, and using it as an exclamation of praise for something that has already been accomplished (as opposed to praising how hard the person worked toward what they accomplished).