A movement against Western influence threatens to close off a nation that succeeded in part by welcoming new ideas.