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

export function CallToAction() {
  return (
    <section className='relative overflow-hidden bg-gray-900'>
    {/* ✅ Top horizontal line with spacing */}
    <div className="max-w-7xl  bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
    {/* === Content === */}
    <div className="w-full border-t border-l border-r border-gray-800 " />
      <div  
      id="get-started"
      className="py-18 max-w-7xl mx-auto border-t-0 border-b-0 border bg-[#111111] border-gray-800">
      <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">
            Use the Mycelium Stack Your Way
          </h2>
          <p className="mt-6 text-lg text-gray-300">
            Run workloads, connect environments, host nodes, and build agentic systems, all on one sovereign, self-healing network. 
          </p>
          <p className="mt-4 text-lg text-gray-300">
            Start wherever you are. Scale however you choose.
          </p>
          <div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
            <Button to="/cloud" variant="solid" color="cyan">
              Get Started
            </Button>
            <Button
              to="https://threefold.info/mycelium_network/docs/"
              as="a"
              target="_blank"
              variant="outline"
              color="white"
            >
              Explore Docs
            </Button>
          </div>
        </div>
      </Container>
      
    </div>
    {/* ✅ Bottom horizontal line with spacing */}
      <div className="w-full border-b  border-gray-800" />
      <div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
    </section>
  )
}
