Cristiano Ronaldo was the hat-trick hero as Juve sensationally turned this tie around to reach the quarters.