how to control fine details from overhanging part to not build upwards
I think the issue is unsupported overhangs. There is not enough material to support the first layer of each small tooth. Have a look at how your slicer slices the first couple layers at the bottom. It might be that it tries to reduce the angle to 45°, so that it can print overhangs, or the overhangs are drooping before the next layer can assist with support.
Looking at your first two images, I think the printed top part of the tooth is actually quite similar to your 3D design.
You can fix this by making the tooth profile from the side have a 45° slope to maximum height, and the same on the top if you want the teeth to appear symmetrical.