import {
  ShieldCheckIcon,
  ArrowPathIcon,
  RocketLaunchIcon,
} from '@heroicons/react/24/solid'
import { Container } from '../../components/Container'
import { Eyebrow, H3, P, CT, CP } from '../../components/Texts'

const features = [
  {
    name: 'Cryptographically verified deployments',
    description: 'Every cluster state is signed and checksummed to guarantee truth.',
    icon: ShieldCheckIcon,
  },
  {
    name: 'Stateless execution that scales anywhere',
    description: 'Run workloads on any node, region, or edge without manual orchestration.',
    icon: RocketLaunchIcon,
  },
  {
    name: 'Automatic healing and recovery',
    description: 'Self-repairing processes ensure workloads stay available and consistent.',
    icon: ArrowPathIcon,
  },
]

export default function ComputeDesign() {
  return (
    <section className="bg-white py-24 sm:py-32">
      <Container>
        <div className="mx-auto max-w-3xl sm:text-center">
          <Eyebrow>CORE VALUE</Eyebrow>
          <H3 className="mt-4 text-gray-900">Deterministic by Design</H3>
          <P className="mt-6 text-gray-600">
            Every workload runs exactly as declared: no drift, no hidden state, no surprises.
          </P>
        </div>

        <div className="mx-auto mt-16 max-w-5xl">
          <dl className="grid grid-cols-1 gap-12 text-gray-600 sm:grid-cols-2 lg:grid-cols-3">
            {features.map((feature) => (
              <div key={feature.name} className="relative pl-12">
                <feature.icon
                  aria-hidden="true"
                  className="absolute left-0 top-1 size-6 text-cyan-600"
                />
                <CT className="font-semibold text-gray-900">{feature.name}</CT>
                <CP className="mt-1 text-gray-600">{feature.description}</CP>
              </div>
            ))}
          </dl>
        </div>
      </Container>
    </section>
  )
}
