정신이 번쩍 들었거든요.
come to one's senses : return to thinking or behaving sensibly and reasonably; recover consciousness.