Let 'a' be a positive real number. If a real valued function \( f(x) = \begin{cases}\frac{6^x - 3^x - 2^x + 1}{1 - \cos\left(\frac{x}{a}\right)} & \text{if } x \neq 0 \\ \log 3 \log 4 & \text{if } x = 0 \end{cases} \) is continuous at \( x=0 \), then \( a = \)