'use client'

import { useEffect } from 'react'
import { useRouter } from 'next/navigation'

/**
 * Redirect /intelligence to /tld-pricing
 * This page is kept for backwards compatibility
 */
export default function IntelligenceRedirect() {
  const router = useRouter()
  
  useEffect(() => {
    router.replace('/tld-pricing')
  }, [router])
  
  return (
    <div className="min-h-screen flex items-center justify-center bg-background">
      <div className="text-center">
        <div className="w-6 h-6 border-2 border-accent border-t-transparent rounded-full animate-spin mx-auto mb-4" />
        <p className="text-foreground-muted">Redirecting to TLD Pricing...</p>
      </div>
    </div>
  )
}

