12...exd4? was your decisive error. You are behind in development and you open the center to fuel his attack against your uncastled king. 12...axb4 or 12...e4 would have held.