import { H3, Eyebrow } from "@/components/Texts"
import { Button } from "@/components/Button"

export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) {
  return (
    <div className="">
      {/* Boxed container */}
      <div
        className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
        style={{ backgroundImage: "url('/images/cloudhero4.webp')", backgroundSize: "contain" }}
      >
        {/* Inner padding */}
        <div className="px-6 py-16 lg:py-24">
          <div className="max-w-2xl lg:pl-6">
            <Eyebrow>
              MYCELIUM CLOUD
            </Eyebrow>
            <H3 className="mt-4">
              Sovereign Edge Cloud Infrastructure
            </H3>
            <p className="mt-6 text-lg text-gray-600">
              Run compute, storage, and AI resources on infrastructure you control.
            </p>
            <p className="mt-2 text-lg text-gray-600">
              The Mycelium Cloud runs on a distributed grid of independent nodes, 
              delivering secure, scalable performance wherever your users or data live.
            </p>
            <div className="mt-10 flex items-center gap-x-6">
              <Button
                onClick={onGetStartedClick}
                variant="solid"
                color="cyan"
              >
                Deploy Workloads
              </Button>
              <Button to="#" variant="outline">
                Explore Docs <span aria-hidden="true">→</span>
              </Button>
            </div>
          </div>
        </div>
        
      </div>
      {/* ✅ Bottom horizontal line with spacing */}
      <div className="w-full border-b  border-gray-100" />
      <div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
    </div>
  )
}
