My understanding is that Iran has among the greatest Urban-Rural divides in the world, and that the rural population is large enough to democratically force their conservative views onto the urban population. Turkey seems to be in a similar position, but their proximity to NATO and Europe keeps them somewhat grounded.
> small group of extremists holds the entire country hostage
I'm just not sure that the group of people we consider extremists are that small.