HER Overpotential: The low HER overpotential of 0.08 J underscores the innovative design of the N-Pt-N phenalene framework, which positions platinum as an exceptional electrocatalyst and photocatalyst. Trapping platinum between two nitrogen atoms fine-tunes its electronic properties, stabilizing reaction intermediates and lowering energy barriers for hydrogen evolution. This coordination creates a synergistic interaction that enhances catalytic efficiency under both electrical and light-driven conditions, making the N-Pt-N system a model for sustainable hydrogen production.