Slice zucchini lengthwise into 1/8-inch thick strips. Lay on paper towels, sprinkle with 1 teaspoon salt, and let sit for 15-20 minutes to draw out moisture. Blot dry with paper towels.
Preheat oven to 375°F (190°C).
In a medium bowl, combine ricotta cheese, egg, 1/2 cup Parmesan cheese, chopped spinach, and black pepper. Mix well.
Spread a thin layer of marinara sauce (about 1/2 cup) on the bottom of a 9x13 inch baking dish.
Arrange a single layer of zucchini slices over the sauce, slightly overlapping.
Spread half of the ricotta mixture evenly over the zucchini.
Top with another layer of marinara sauce (about 1/2 cup), then sprinkle with 1 cup of shredded mozzarella cheese.
Repeat the layers: zucchini, remaining ricotta mixture, marinara sauce (about 1/2 cup), and 1 cup of shredded mozzarella.
Finish with a final layer of zucchini, the remaining marinara sauce, and a generous sprinkle of mozzarella and Parmesan cheese.
Cover the baking dish loosely with foil and bake for 30 minutes.
Remove the foil and continue baking for another 15-20 minutes, or until the cheese is golden brown and bubbling, and the zucchini is tender.
Let the lasagna rest for 10-15 minutes before slicing and serving. Garnish with fresh basil if desired.