import {
  SparklesIcon,
  Cog6ToothIcon,
  CubeTransparentIcon,
  CpuChipIcon,
} from '@heroicons/react/24/solid'
import { Eyebrow, H3, P, CT, CP } from '../../components/Texts'
import { Container } from '../../components/Container'

const capabilities = [
  {
    name: 'AI / ML Inference & Training',
    description: 'LLMs, embeddings, transformers, fine-tuning',
    icon: SparklesIcon,
  },
  {
    name: 'Acceleration in Kubernetes Workloads',
    description: 'GPU-backed deployments on Mycelium Cloud',
    icon: Cog6ToothIcon,
  },
  {
    name: 'Rendering & Simulation',
    description: 'Scientific visualization, VFX, real-time 3D',
    icon: CubeTransparentIcon,
  },
  {
    name: 'Agent Compute & RAG Pipelines',
    description: 'Vector memory + model execution on sovereign hardware',
    icon: CpuChipIcon,
  },
]

export function GpuCapabilities() {
  return (
    <section className="bg-white py-24 sm:py-32">
      <Container>
        <div className="mx-auto max-w-3xl text-center">
          <Eyebrow>CAPABILITIES</Eyebrow>
          <H3 className="mt-4 text-gray-900">What You Can Run on Mycelium Cloud</H3>
        </div>

        <div className="mx-auto mt-16 max-w-5xl">
          <dl className="grid grid-cols-1 gap-12 sm:grid-cols-2 lg:grid-cols-4">
            {capabilities.map((feature) => (
              <div key={feature.name} className="flex flex-col text-center">
                <div className="mx-auto flex size-12 items-center justify-center rounded-xl bg-cyan-50">
                  <feature.icon className="size-6 text-cyan-600" aria-hidden="true" />
                </div>
                <CT className="mt-6 text-gray-900">{feature.name}</CT>
                <CP className="mt-2 text-gray-600">{feature.description}</CP>
              </div>
            ))}
          </dl>
        </div>
      </Container>
    </section>
  )
}
