import { CircleBackground } from '../../components/CircleBackground'
import { Container } from '@/components/Container'
import { Button } from '@/components/Button'

export function CallToAction() {
  return (
    <section
      id="get-started"
      className="relative overflow-hidden bg-gray-900 py-20 sm:py-28"
    >
      <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
        <CircleBackground color="#06b6d4" className="animate-spin-slower" />
      </div>

      <Container className="relative">
        <div className="mx-auto max-w-2xl text-center">
          <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
            Start Building the Future of Sovereign AI
          </h2>
          <p className="mt-6 text-lg text-gray-300">
            Use today’s components — models, storage, compute, mesh — 
            and step into agents as they arrive.
          </p>

          <div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
            <Button
              as="a"
              to="/deploy"
              variant="solid"
              color="white"
            >
              Deploy a Model
            </Button>

            <Button
              as="a"
              to="/host"
              variant="outline"
              color="white"
            >
              Host a Node
            </Button>

            <Button
              as="a"
              to="https://threefold.info/mycelium_network/docs/"
              target="_blank"
              rel="noreferrer"
              variant="outline"
              color="white"
            >
              Follow Development
            </Button>
          </div>
        </div>
      </Container>
    </section>
  )
}
