Preheat your oven to 350°F (175°C).
Prepare a 9x9 inch baking dish by greasing it lightly or lining it with parchment paper.
In a medium bowl, cream together the softened butter, granulated sugar, and salt until smooth.
Gradually mix in the flour until just combined, forming a dough.
Press the dough evenly into the prepared baking dish and bake for 15 minutes.
Meanwhile, in a large bowl, whisk together brown sugar, maple syrup, eggs, and vanilla extract until well blended.
Fold in the chopped pecans, ensuring they are evenly distributed.
Pour the filling over the pre-baked crust and sprinkle sea salt flakes on top.
Bake for an additional 25-30 minutes, or until the filling is set and slightly firm to the touch.
Allow the bars to cool completely in the baking dish before slicing.