What you describe with the states is called Federalism not a Democracy, but whatever makes you feel good
Within the boundaries of each state, there are state-level elections. In some state-level elections, like California, citizens of that state can vote directly to pass or repeal certain laws. This is a form of direct democracy.