Imitating Complex Trajectories: Bridging Low-Level Stability and High-Level Behavior