4.0 GPA requires a lot of hard work. It's not that you're not smart enough to do it or that you don't know how to study - it's just in general very hard to accomplish. It's really cool that you're aiming high
Just remember that the best of the best achieve a 4.0 GPA. Don't get discouraged if your GPA is lower than 4.0 - employers rarely look at GPA anyway.
In community college, before I transferred to uni, I was really all about the 4.0. I got SUPER depressed when I got a 3.8 in Economics. Then you get into full fledged uni and things get so much harder, and you have to balance so many things. I learned to aim high, but to also remember that having a 4.0 GPA isn't the most important thing in the world.
If you really really REAAAALLY want that 4.0, your time management skills must be top notch, and you should also have a good sense of when to ask for help so you don't fall behind.
Good luck to you!