import { Button } from "@/components/ui/button"
import Link from "next/link"
import Image from "next/image"

export default function AppDownloadSection() {
  return (
    <section className="py-16 px-4 sm:px-6 lg:px-8 bg-gray-50">
      <div className="max-w-6xl mx-auto">
        <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
          {/* Left content */}
          <div>
            <div className="space-y-4">
              <p className="text-gray-600 text-sm mb-4">Download the Euphoria 5 App</p>
              <h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
                Euphoria 5 makes investing simple.
              </h2>
              <p className="text-gray-600 mb-8">
                Start your investment journey with Euphoria 5 today. Download our app and get started in minutes.
              </p>
              <Link
                href="/download"
                className="bg-rise-teal hover:bg-rise-teal/90 text-white px-8 py-3 rounded-lg font-medium inline-flex items-center justify-center"
              >
                Download App
              </Link>
            </div>
          </div>

          {/* Right content - Mobile mockup */}
          <div className="relative">
            <div className="relative max-w-xs mx-auto lg:max-w-sm">
              {/* Phone frame background */}
              <div className="relative">
                <Image
                  src="/app-preview.png"
                  alt="Euphoria 5 mobile app interface"
                  width={300}
                  height={600}
                  className="w-full h-auto rounded-3xl shadow-2xl"
                />
                {/* Decorative background circles */}
                <div className="absolute -z-10 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-96 h-96 bg-gradient-to-br from-rise-light-teal to-rise-light-purple rounded-full opacity-20 blur-3xl" />
                <div className="absolute -z-10 top-1/4 right-0 w-48 h-48 bg-gradient-to-br from-rise-light-orange to-rise-light-pink rounded-full opacity-30 blur-2xl" />
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
  )
}
