What are the pillars of fasting?
The pillars of fasting are intention and abstaining from all nullifiers of fasting from dawn to sunset.
What is the ruling on a person in a state of major impurity (junub) or a menstruating woman (ha'id) reciting the Quran from memory?
It is not permissible for a menstruating woman, a postpartum woman, or a person in a state of major impurity to recite anything from the Quran, whether from memory, from the Quran, from a phone, or a computer. It is also not permissible for them to touch the Quran, based on what was reported from Ali bin Abi Talib that the Prophet (peace be upon him) was not prevented from anything regarding the Quran except major impurity (janabah). (Reported by al-Tirmidhi who said it is a hasan sahih hadith). Menstruation and postpartum bleeding are analogous to major impurity (janabah) as they are all major impurities (hadath akbar).
For those mentioned, it is permissible to mention Allah and supplicate even with verses from the Quran, provided they do not intend them as recitation of the Quran, but intend them as remembrance (dhikr) or supplication (du'a). And Allah the Almighty knows best.
What is the ruling on discharges two or three days before the expected period of menstruation and the light-colored blood accompanying it? Must the woman abstain from prayer during this period?
If the total duration of these blood-tinged discharges reaches a day and a night (24 hours) or more, it is considered menstruation. If their total does not exceed 24 hours, it is not considered menstruation but is irregular bleeding (dam al-fasad). Each woman has specific cases for which she should ask the scholars. And Allah the Almighty knows best.
Does nosebleed during the day in Ramadan affect the validity of fasting?
A nosebleed does not affect the validity of fasting unless some of the blood reaches the body cavity or the person intentionally swallows it. In such a case, their fast is invalid, and they must refrain from eating and drinking for the rest of the day and make up for that day later.