Preheat your oven to 350°F (175°C) for even baking.
In a large mixing bowl, combine the softened cream cheese, mayonnaise, and sour cream. Mix until smooth and creamy.
Stir in the grated mozzarella and freshly grated parmesan cheese, reserving some for topping.
Fold in the minced garlic, chopped artichoke hearts, and drained spinach. Add red pepper flakes or cayenne pepper and lemon zest if desired.
Spread the mixture evenly into your baking dish and smooth down the top.
Sprinkle the reserved mozzarella and parmesan cheese on top.
Bake for about 25-30 minutes until bubbly and golden brown.
Let cool for a few minutes before serving warm with tortilla chips, crackers, or fresh veggies.