'use client'

import Image from 'next/image'
import { Button } from '@/components/shared/Button'

export function Hero() {
  return (
    <div className="relative isolate overflow-hidden">
      <div className="mx-auto max-w-7xl px-6 pb-24 pt-10 sm:pb-32 lg:px-8">
        <div className="mx-auto max-w-3xl text-center">
          <div className="mb-8 inline-flex items-center rounded-full bg-[#FF6B4A]/10 px-3 py-1 text-sm text-[#FF6B4A]">
            <span className="flex items-center gap-x-1.5">
              IndexAI 1.0 - Early Preview
            </span>
          </div>
          
          <h1 className="text-4xl font-bold tracking-tight text-[#333333] sm:text-6xl">
            AI Powered Data
            <br />
            <span className="text-[#FF6B4A]">Platform</span>
          </h1>
          <p className="mt-6 text-lg leading-8 text-gray-600">
            Explore your data, build your dashboard,
            <br />
            bring your team together.
          </p>
          <div className="mt-10 flex justify-center">
            <Button href="/log-in">
              Get Started
            </Button>
          </div>
        </div>

        <div className="mt-16">
          <div className="relative">
            <Image
              src="https://picsum.photos/1200/600"
              alt="Dashboard preview"
              width={1200}
              height={600}
              className="w-full rounded-xl shadow-2xl ring-1 ring-gray-900/10"
            />
          </div>
        </div>
      </div>
    </div>
  )
} 