In a bowl, mix almond flour, melted butter, powdered erythritol, and vanilla extract until crumbly.
Press the mixture into a pie dish and refrigerate for 20–30 minutes to set.
Melt the sugar-free dark chocolate using a microwave or double boiler and let it cool slightly.
In a large bowl, beat cream cheese and butter until smooth and fluffy.
Add powdered erythritol, cocoa powder, vanilla extract, and salt, then mix until combined.
Slowly pour in melted chocolate while mixing continuously.
In another bowl, whip heavy cream until stiff peaks form.
Gently fold whipped cream into the chocolate mixture until light and fluffy.
Pour the filling into the chilled crust and smooth the top.
Refrigerate for at least 3–4 hours until set.
Garnish with whipped cream or shaved chocolate if desired and serve chilled.