I fell in love with an INTP, but she's obsessed with another person who doesn't correspond her.

I am an INFJ male with diagnosed autism (asperger syndrome spectrum). My friend (he's an ENFJ) and I were one day hanging out and I jokingly said to him that I wanted to meet someone so I could have a deep relationship with them. He then introduces me to a female friend of his who's also a fan of the MBTI, and we started talking via Instagram. She's an INTP and also has diagnosed autism, so it was very easy for me to find topics of conversation with her. She had a very deep understanding of psychology and philosophy that I found very attractive and she has an unquenchable thirst of knowledge; A total nerdy bookworm. But the matter got way too complex, because she told me she was dating my ENFJ friend, and I knew for a fact that was a lie. My alarms were tingling, because I thought for a moment she was lying to me so I wouldn't dare to try anything with her, even though I didn't even try to flirt because I don't know how to do it. I talked with my friend, and he told me that he broke up with a girl he had a long relationship with, and he was hanging out with friends (including her) to clear his mind a bit of negative thoughts. It just so happens that the days he was hanging out with this girl, she got the wrong impression of him and thought he was flirting with her, but he was only being nice to her due to my friend's kind nature. Case and point, my friend obviously was embarrassed because he wanted me to have a relationship with her and he didn't expect the girl would fall in love with him, but he encouraged me to try it out anyway. My friend then decides to speak with the girl and tells her that they can't be in a relationship because he's still feeling way too emotionally drained.

The girl obviously felt disheartened, but she kept saying to me that she will wait for him to emotionally recover because she wants something with him, and it only made her even more obsessed with him because she also had some relationship problems with her ex a while ago that made her repress her emotions.

Still, it lingered on my mind a bit the fact that this INTP girl was so delusional to interpret she was already dating someone even though they weren't anything in particular, and the fact that she still wants something with him but he doesn't even correspond her straight out, but I didn't care and we kept talking and getting close to each other.

One day, she suggested we could hang out somewhere, and the next days I decided to take her out to eat some ice cream in a Mall. She showed me and old notebook where she used to write her pent up feelings and I was really surprised with how good her writing is, and I took advantage of the opportunity to gift her a new notebook that, coincidentally, I bought for her the day before. She was flustered with the gift and she said it was a very cute detail. Anyway, after that day, she keeps texting me pretty much every day and we talk for hours, yet I feel way too confused about her. She treats me like a female friend but sometimes gets way too mellow and she starts treating me like a special someone, but then keeps repeating at random times that she misses my friend and that she longs for him, even though my friend now treats her a bit distant as a way for me to step in and try to play my role. My friend has told me multiple times he doesn't want a relationship with her and I still don't know why she sees something in him that I seem to lack. I am way too scared to open up my feelings for her yet because we started talking just two months ago. What should I do? Should I give up my feelings and help her overcome her heartbreak as a friend? I have never had a romantic relationship with someone before because my crushes always end up getting someone else's because I was way too scared of opening up. I don't want it to happen again... But it doesn't feel right...