---
const bgPattern = "/assets/cta-bg-pattern.png";
const talkproLogo = "/assets/cta-talkpro-logo.png";
const androidIcon = "/assets/cta-android-icon.svg";
const appleIcon = "/assets/cta-apple-icon.svg";
const phoneArt = "/assets/cta-phone-art.png";
---

<section id="download" class="relative bg-white border-t border-[#eec8b8] w-full flex items-center justify-center overflow-hidden h-[600px]">
  <!-- Background pattern -->
  <img alt="" class="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 h-[923px] w-full max-w-[1920px] pointer-events-none" src={bgPattern} />

  <div class="relative flex items-center w-[1280px]">
    <!-- Left: download panel -->
    <div class="flex flex-1 flex-col gap-[36px] items-start justify-center min-w-0 overflow-clip">
      <div class="bg-white border border-[#fbbfa3] flex items-center justify-center px-[24px] py-[12px] rounded-[9999px] shrink-0">
        <span class="font-bold text-[#f08458] text-[14px] text-center tracking-[-0.04px] whitespace-nowrap leading-normal">DOWNLOAD</span>
      </div>

      <div class="flex flex-col gap-[16px] items-start w-full">
        <div class="flex gap-[20px] items-start shrink-0">
          <p class="font-bold text-[#1a1a1a] text-[48px] tracking-[-1.16px] leading-[1.2] whitespace-nowrap">Download</p>
          <div class="relative shrink-0 h-[72px] w-[188px]">
            <img alt="TalkPro" class="absolute inset-0 block max-w-none size-full" src={talkproLogo} />
          </div>
        </div>
        <p class="font-normal text-[#7a726d] text-[18px] tracking-[-0.33px] leading-[1.5] max-w-[542px]">
          Download TalkPro and experience a cleaner, simpler, and more modern way to stay connected.
        </p>
      </div>

      <!-- Store badges -->
      <div class="flex gap-[16px] items-center overflow-clip shrink-0">
        <div class="bg-[#f28a4b] border border-[#c5834e] flex gap-[8px] h-[70px] items-center overflow-clip px-[16px] py-[12px] rounded-[20px] shrink-0 w-[260px]">
          <img alt="Android" class="block shrink-0 size-[44px]" src={androidIcon} />
          <div class="flex flex-col gap-[3px] items-start overflow-clip shrink-0 whitespace-nowrap">
            <p class="font-semibold text-[#ffd6bc] text-[11px] tracking-[0.05px] leading-normal">ANDROID</p>
            <p class="font-semibold text-white text-[15px] tracking-[-0.13px] leading-normal">APK Coming Soon</p>
          </div>
        </div>
        <div class="bg-[#383838] border border-[#141414] flex gap-[8px] h-[70px] items-center overflow-clip px-[16px] py-[12px] rounded-[20px] shrink-0 w-[260px]">
          <div class="bg-[#151515] flex items-center justify-center rounded-[12px] shrink-0 size-[44px]">
            <img alt="Apple" class="block h-[27px] w-[22px]" src={appleIcon} />
          </div>
          <div class="flex flex-col gap-[3px] items-start overflow-clip shrink-0 whitespace-nowrap">
            <p class="font-semibold text-[#ccc] text-[11px] tracking-[0.05px] leading-normal">IOS</p>
            <p class="font-semibold text-white text-[15px] tracking-[-0.13px] leading-normal">Coming on App Store</p>
          </div>
        </div>
      </div>
    </div>

    <!-- Right: phone art -->
    <div class="relative shrink-0 h-[510px] w-[418px]">
      <div class="absolute inset-0 overflow-hidden pointer-events-none">
        <img alt="TalkPro on phone" class="absolute h-[136.1%] left-[3.8%] max-w-none top-[-18.05%] w-[92.43%]" src={phoneArt} />
      </div>
    </div>
  </div>
</section>
