Just a small thing:
I think the perfect character is a character that is so perfectly flawed that it makes sense. Someone that has many layers. The top layer may seem flawless, but that bottom layer is so shattered, it’s nearly beyond repair.
So while writing characters, make them perfectly imperfect. That’s what will get you likable and relatable characters, and not perfect ones that are beyond the point of human.