Let $z \in \mathbb{C}$ be any number that satisfies the equation $z^2=1$. Certainly, $z=\pm1$ are two possible solutions to this equation. I claim that $z^k$ is also a solution to this equation for any $k \in \mathbb{R}$, resulting in (probably) at least one other distinct solution (for example, the solution $z=(-1)^{\pi}$).
Proof: Choose any $k \in \mathbb{R}$. Then $(z^k)^2=z^{2k}=(z^2)^k=1^k=1$, as desired.
So, can someone tell me what's wrong with my proof? I know that this has something to do with roots of unity and that this equation should only have 2 distinct solutions, so something must be wrong with my proof. Please bear in mind that I understand very little about complex numbers besides the definition that $i^2 = -1$. Thanks!