Remember that the dot product of any two vectors (or complex numbers viewed as vectors) is always associated with the cosine of the angle between them:
\[ \mathbf{u} \cdot \mathbf{v} = \|\mathbf{u}\| \|\mathbf{v}\| \cos\theta \]
This rule is universal across geometry and vector algebra.