import {
  CloudArrowUpIcon,
  LockClosedIcon,
  ArrowsRightLeftIcon,
  MicrophoneIcon,
  PhotoIcon,
  UsersIcon,
} from '@heroicons/react/20/solid'

const features = [
  {
    name: 'Multi-stage Generation',
    description: 'Generate HDRI environments to set the surroundings and select from pre-built templates. Customize further using text commands for precise, immersive results.',
    icon: CloudArrowUpIcon,
  },
  {
    name: 'Group Models with Behavior',
    description: 'Create dynamic groups of models that behave realistically, such as flowing waterfalls or animated meeting setups, bringing your environment to life.',
    icon: LockClosedIcon,
  },
  {
    name: 'Individual Model Adjustments',
    description: 'Interact with specific elements within your environment to modify them, such as resizing or repositioning objects, allowing precise customization for your needs.',
    icon: ArrowsRightLeftIcon,
  },
  {
    name: 'Voice Commands & Real-time Editing',
    description: 'Use voice commands to describe and generate environments, and make real-time modifications during activities, enhancing ease of interaction and creativity.',
    icon: MicrophoneIcon,
  },
  {
    name: 'Image-to-Metaverse',
    description: 'Upload images to integrate directly into your virtual space. In the future, use phone cameras to scan objects and add them seamlessly to the Metaverse.',
    icon: PhotoIcon,
  },
  {
    name: 'Real-time Collaboration',
    description: 'Invite multiple users to collaborate within the environment in real time, perfect for meetings, team projects, and shared creative sessions.',
    icon: UsersIcon,
  },
]

export default function HeroFeature2() {
  return (
    <div className="bg-gradient-to-b from-purple-50/80 to-purple-50/10 pt-24 pb-12">
      <div className="mx-auto max-w-7xl px-6 lg:px-8">
        <div className="mx-auto max-w-4xl text-center justify-center items-center">
          <p className="mt-8 h3-title text-center">HeroVerse 3D</p>
          <p className="mt-4 items-center align-center text-center section-text font-display -ct">
            First Generative AI 3D Tools for the Metaverse and Beyond
          </p>
        </div>
      </div>
      <div className="relative overflow-hidden pt-8">
        <div className="mx-auto max-w-6xl px-6 lg:px-8">
          {/* embed Video */}
          <video
            autoPlay
            loop
            muted
            playsInline
            className="relative w-full h-full overflow-hidden rounded-lg shadow-lg"
          >
            <source src="/videos/herohow.mp4" type="video/mp4" />
            Your browser does not support the video tag.
          </video>
          <div aria-hidden="true" className="relative">
            <div className="absolute -inset-x-20 bottom-0 bg-gradient-to-t from-white pt-[7%]" />
          </div>
        </div>
      </div>
      <div className="mx-auto mt-16 max-w-7xl px-6 sm:mt-20 md:mt-24 lg:px-8">
        <dl className="mx-auto grid max-w-2xl grid-cols-1 gap-x-6 gap-y-10 text-base leading-7 text-gray-600 sm:grid-cols-2 lg:mx-0 lg:max-w-none lg:grid-cols-3 lg:gap-x-8 lg:gap-y-16">
          {features.map((feature) => (
            <div key={feature.name} className="relative pl-9">
              <dt className="inline font-semibold text-gray-900">
                <feature.icon aria-hidden="true" className="absolute left-1 top-1 h-5 w-5 text-lg text-purple-500" />
                {feature.name}
              </dt>
              <dd className="text-sm mt-2">{feature.description}</dd>
            </div>
          ))}
        </dl>
      </div>
    </div>
  )
}
