семи пядей во лбу

Etymology
lit. 'of seven feet in the forehead', based on the idea that one's intelligence is proportional to the size of one's forehead.

Adjective

 * 1) highly intelligent, rocket scientist