Iran is hard to understand. Although it is ruled in an authoritarian manner, it's not a state in which everything is controlled from one center. There are many forces that work in parallel: the military, the intelligence service, the Revolutionary Guard, the clergy and the government. They all share a fear of the nation's youth.
