import { AppStoreLink } from '@/components/AppStoreLink'
import { P, SectionHeader } from '@/components/Texts'
import { WindowsLink } from '@/components/WindowsLink'
import { AndroidLink } from './AndroidLink'
import { LinuxLink } from '@/components/LinuxLink'
import { CircleBackground } from '@/components/CircleBackground'
import { Container } from '@/components/Container'

export function CallToAction() {
  return (
    <section
      id="get-free-shares-today"
      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>
        <div className="mx-auto max-w-2xl text-center">
          <SectionHeader as="h2" color="white">
            Get Started Today
          </SectionHeader>
          <P color="lightSecondary" className="mt-6">
            Download the Mycelium app and step into the future of secure,
            peer-to-peer networking; fast, private, and decentralized.
          </P>
          <div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
            <AppStoreLink color="white" />
            <WindowsLink color="white" />
            <AndroidLink color="white" />
            <LinuxLink color="white" />
          </div>
        </div>
      </Container>
    </section>
  )
}
