I am following the Barak and Arora book, in circuit chapter, they use direct reduction from $\texttt{CKT-SAT}$ to $\texttt{3SAT}$ directly without any clue.
How to construct an explicit reduction from the language $\texttt{CKT-SAT}$ to the language $\texttt{3SAT} ?$
Where: $$\text{CKT-SAT}= \left\{\langle C_n \rangle:\text{$C_n$ is a Boolean circuit and $\exists x\in \{0,1\}^n$ s.t.$ C_n(x)=1$}\right\}.$$
My thoughts: Convert $C_n$ into a 3-CNF (3-Clause Normal Form) formula $\phi$ such that $\phi$ is satisfiable if and only if $C_n$ is satisfiable. For each gate in the circuit (AND, OR, NOT), introduce fresh Boolean variables to represent the output of each gate. After then how to approach?