import { Container } from '@/components/Container'
import { Eyebrow, SectionHeader } from '@/components/Texts'

const architecture = [
  {
    title: 'Sovereign Compute Nodes',
    description: 'GPUs hosted on hardware you trust.',
  },
  {
    title: 'Encrypted Mesh Networking',
    description: 'Secure, private connectivity to workloads.',
  },
  {
    title: 'Reservation & Verification Layer',
    description: 'Guarantees GPU access and consistency.',
  },
]

export function GpuArchitecture() {
  return (
    <section id="gpu-architecture" className="bg-white py-24 sm:py-32">
      <Container>
        <div className="mx-auto max-w-3xl text-center">
          <Eyebrow>ARCHITECTURE</Eyebrow>
          <SectionHeader as="h2" className="mt-6 text-gray-900">
            HOW IT WORKS
          </SectionHeader>
        </div>

        <div className="mx-auto mt-16 max-w-4xl space-y-6 lg:space-y-0 lg:grid lg:grid-cols-3 lg:gap-8">
          {architecture.map((item) => (
            <div
              key={item.title}
              className="rounded-3xl border border-slate-200 bg-white p-8 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg"
            >
              <h3 className="text-xl font-semibold text-gray-900">
                {item.title}
              </h3>
              <p className="mt-3 text-sm leading-relaxed text-gray-600">
                {item.description}
              </p>
            </div>
          ))}
        </div>
      </Container>
    </section>
  )
}
