It would help I think if you viewed (or at least thought about) the differential equations in terms of the underlying complex-variable analog. For example, when you see the equation

, you immediately think of real variables and real solutions but that equation is perfectly acceptable in terms of complex variables and complex solutions of the form:
in which

are all complex. And when we seek the real solution, we're actually solving the complex analog as a convenience in terms of the complex exponential and then finding the solution along the real axis which has a zero imaginary component. And we accomplish this by suitably adjusting the (complex) constants

and

to achieve this although we often do so mechanically and without thinking about the underlying complex solution. So in the case above, we write

as:
and since

and

are arbitrary, then

is also arbitrary and can be any number including a real one. It might better help to see this if one solves directly for

and

above so that we obtain a purely real solution (along the real axis) for say the IVP:
That's

and

which gives

and

.
I've then plotted the real surface and imaginary surface of the complex solution for this IVP below. The first plot shows a yellow contour along the real axis which is the real solution commonly obtained when one solves the real IVP. Note in the second plot, the imaginary solution along the real axis in this case is zero.