It shouldn't be surprising. Star Trek was a space western created by WW2 veterans in the 1960s, was reborn as a series of action-adventure films and buddy comedies in the 1980s, and reached its zenith as a thoughtful sci-fi drama in the early 1990s. It represents the values of a generation that was born 100 years ago: meritocracy, colorblindness, and individual achievement; hierarchy, tradition, and respect for authority; plurality of opinion and debate; deterrence through superior firepower; military involvement in science, politics, and diplomacy; the superiority of Western Civilization over any form of collectivism, despotism, etc.; and homogeneous nation-states voluntarily cooperating or competing with one another.
It's true that Roddenberry inserted some real shitlibbery, especially later in his life. And Star Trek never really figured out how a post-scarcity economy would work, opening the door for some really brain-dead critiques of capitalism while the heroes continue to own property, run businesses, buy and sell things, etc. (All of that apparently stems from a joke in Star Trek IV when Kirk couldn't pay for a pizza.) These can be ignored while one appreciates the broader themes of the series.