Preheat your oven to 350°F (175°C).
Prepare a baking dish by greasing it lightly with butter.
Unwrap the kataifi and gently loosen the strands with your fingers.
Mix the kataifi with melted butter in a large bowl until well-coated.
Press half of the kataifi mixture into the bottom of the prepared baking dish.
Bake for 15-20 minutes until golden brown, then remove from the oven.
While the kataifi is baking, prepare the chocolate filling. Heat heavy cream in a pot until it simmers gently.
Remove the pot from heat and add chopped dark chocolate, stirring until smooth.
Fold in the chopped pistachios and a pinch of sea salt into the melted chocolate mixture.
Pour the chocolate filling over the baked kataifi crust, spreading it evenly.
Top with the remaining kataifi mixture, pressing gently to adhere.
Bake again for an additional 10-15 minutes until the top is golden brown.
Let the bar cool completely in the pan before slicing it into squares or bars.
Dust with powdered sugar before serving for an elegant finish.