import React from 'react';
import Link from 'next/link';

export default function AnalyticsPage() {
  return (
    <div className="min-h-screen bg-gray-50 flex flex-col font-sans">
      <nav className="bg-gray-900 border-b border-gray-800">
        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
          <div className="flex justify-between h-20 items-center">
            <Link href="/" className="flex items-center gap-3">
              <div className="w-10 h-10 bg-indigo-600 rounded-xl flex items-center justify-center">
                <span className="text-white font-black text-xl tracking-tighter">CQ</span>
              </div>
              <span className="font-extrabold text-2xl tracking-tight text-white">CK-QR</span>
            </Link>
          </div>
        </div>
      </nav>
      <main className="flex-1 max-w-4xl mx-auto w-full px-6 py-16">
        <h1 className="text-5xl font-black text-gray-900 mb-6">Analytics Dashboard</h1>
        <p className="text-xl text-gray-600 mb-10 leading-relaxed">
          Turn physical scans into actionable digital intelligence. Track every interaction with your QR campaigns in real-time.
        </p>
        <div className="prose prose-lg prose-indigo max-w-none text-gray-700">
          <h2>Deep Scan Insights</h2>
          <p>
            Unlike static QR codes which offer zero visibility, every scan of a CK-QR dynamic code is logged and analyzed. Our platform provides beautiful charts and actionable data to help you understand your audience.
          </p>
          <h2>What we track</h2>
          <ul>
            <li><strong>Geographic Location:</strong> See exactly which city and country your scans are coming from. Perfect for global product packaging.</li>
            <li><strong>Device & OS:</strong> Know if your audience is using iOS, Android, or scanning from a desktop webcam.</li>
            <li><strong>Temporal Data:</strong> View scan spikes over time to measure the immediate impact of a marketing campaign or event.</li>
          </ul>
        </div>
      </main>
    </div>
  );
}
