Concept Flow - Catch-all routes with [...param]
User visits URL
Next.js checks pages folder
Match exact route?
No→Check catch-all route [...param
Extract all path segments
Render matched page
Show page with params
Next.js tries to find an exact page match. If none, it uses the catch-all route [...param] to capture all remaining path parts and render the page.