I need a detailed explanation of the steps to bake a perfect apple pie. Please include specific tips for preparing the crust and the filling. Your response should contain at least 5 sentences and highlight at least 2 sections with markdown.
user