Iran is not a democracy. Iran is a theocratic dictatorship run by the Ayatollah and the mullahs surrounded by a ridiculous complicated system designed to superficially resemble a democracy.
I don't know about you personally but I notice a miserable failure of perspective in many people in the west especially on the left. It seems that a lot of the same people who throw a fit and scream fundamentalism when some Christian group in the US pathetically tries to insert a disclaimer in some book about evolution or put up a religious monument on public land will happily give a pass to countries that are frigging controlled by religious clerics at the highest posts in government and with elements of Sharia as the law of the land! Iran has laws on the books right now that cause women to be arrested and whipped for not covering their head. Thieves are still getting amputations as punishment, woman's testimony is legally worth half of man's testimony, and a woman needs a written permission from a male in her family to work outside the house or travel, adultery and homosexuality is punishable by death etc etc. A lot of Iranian legal system is straight from Sharia. Apparently stoning to death (using small stones to prolong the suffering) was on the books until 2010.
Name a major Islamic country other than Turkey which has a meaningful separation of church and state, and even in Turkey that separation is crumbling under assault from the Islamists.