Hi.
Jealousy is one of those sucky emotions that can really take over your mind. Being frustrated with your friend and your own emotions is very natural. Everyone feels jealous of someone at some point in their lives. You can either focus on your jealousy and let it get worse or move forward with your own life.
As you said, no one is even close to perfect. It may seem like your friend has everything, but surely there are some other elements to her that you aren't quite so envious of.
In general, it's a good idea not to compare yourself to your friend--or to anyone. It is not very constructive or useful because everyone in the world has such a different set of circumstances in their lives.
Also, you may think your friend is friendly, smart and looks good, but that doesn't mean that you don't have those qualities yourself. Whatever your own opinion and thoughts are about something, those are yours alone. It may seem like your friend would look better in clothes than you would, but other people might have a totally different view.
It may be helpful to tell your friend how you feel, although that may feel weird. Whatever you do, keep in mind that people are made up of a lot of different qualities and values, and that each person is unique in their own way.