{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-32",
  "dependencies": [
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-32.tsx",
      "content": "import { motion, type Variants } from 'motion/react';\nimport { Play } from 'lucide-react';\nimport React from 'react';\n\nexport interface Hero32Props {\n    logoText?: string;\n    navItems?: string[];\n    loginText?: string;\n    title?: React.ReactNode;\n    subtitle?: React.ReactNode;\n    primaryActionText?: string;\n    backgroundImage?: string;\n}\n\nexport default function Hero32({\n    logoText = \"Haven\",\n    navItems = ['Home', 'Usecases', 'Pricing', 'Contact'],\n    loginText = \"Login\",\n    title = (\n        <>\n            Your Haven for <br />\n            <span className=\"italic\">Seamless</span> AI Solutions\n        </>\n    ),\n    subtitle = (\n        <>\n            Confidential, professional help tailored to your unique needs, <br className=\"hidden md:block\" />\n            available on your schedule.\n        </>\n    ),\n    primaryActionText = \"Book a demo\",\n    backgroundImage = \"https://assets.watermelon.sh/hero-32-bg.avif\",\n}: Hero32Props) {\n    // Nav: single element, drops in from top with blur\n    const navVariants: Variants = {\n        hidden: { opacity: 0, y: -24, filter: 'blur(8px)', scale: 0.97 },\n        visible: {\n            opacity: 1, y: 0, filter: 'blur(0px)', scale: 1,\n            transition: { type: 'spring', damping: 24, stiffness: 120, duration: 0.6 },\n        },\n    };\n\n    // Title: rises up with a heavier mass — slow, majestic settling\n    const titleVariants: Variants = {\n        hidden: { opacity: 0, y: 36, filter: 'blur(10px)' },\n        visible: {\n            opacity: 1, y: 0, filter: 'blur(0px)',\n            transition: { type: 'spring', damping: 28, stiffness: 80, mass: 1.4, delay: 0.35 },\n        },\n    };\n\n    // Subtitle: lighter, quicker\n    const subtitleVariants: Variants = {\n        hidden: { opacity: 0, y: 18, filter: 'blur(4px)' },\n        visible: {\n            opacity: 1, y: 0, filter: 'blur(0px)',\n            transition: { type: 'spring', damping: 22, stiffness: 110, delay: 0.65 },\n        },\n    };\n\n    // CTA group: scale up from slightly small + fade\n    const ctaVariants: Variants = {\n        hidden: { opacity: 0, scale: 0.92, y: 10 },\n        visible: {\n            opacity: 1, scale: 1, y: 0,\n            transition: { type: 'spring', damping: 20, stiffness: 140, delay: 0.85 },\n        },\n    };\n\n    return (\n      <div className=\"relative min-h-screen w-full overflow-hidden bg-[#5bb2ff] font-sans antialiased selection:bg-white/20\">\n        <div className=\"pointer-events-none absolute inset-0 z-0 select-none\">\n          <img\n            className=\"absolute inset-0 h-full w-full object-cover\"\n            src={backgroundImage}\n            alt=\"Sunflowers background\"\n          />\n        </div>\n\n        <div className=\"relative z-10 flex min-h-screen flex-col pt-6\">\n          {/* Nav — single spring drop */}\n          <motion.nav\n            variants={navVariants}\n            initial=\"hidden\"\n            animate=\"visible\"\n            className=\"mx-auto flex w-fit items-center gap-8 rounded-full bg-white px-2 py-2 shadow-sm\"\n          >\n            <div className=\"pl-4 text-base font-bold tracking-tight text-neutral-900 2xl:text-lg\">\n              {logoText}\n            </div>\n            <div className=\"hidden items-center gap-6 px-4 md:flex\">\n              {navItems.map((item) => (\n                <a\n                  key={item}\n                  href=\"#\"\n                  className=\"text-xs font-medium text-neutral-500 transition-colors hover:text-neutral-900 2xl:text-lg\"\n                >\n                  {item}\n                </a>\n              ))}\n            </div>\n            <button className=\"rounded-full bg-sky-500 px-6 py-2 text-xs font-medium text-white shadow-[inset_0_2px_0_rgba(255,255,255,0.2),inset_0_-2px_0_rgba(0,0,0,0.2)] transition-all hover:bg-sky-600 active:scale-[0.96] 2xl:text-lg\">\n              {loginText}\n            </button>\n          </motion.nav>\n\n          {/* Hero Main Content — each element independently animated */}\n          <div className=\"flex flex-1 items-start justify-center px-6 pt-20\">\n            <div className=\"flex max-w-4xl flex-col items-center text-center 2xl:max-w-6xl\">\n              {/* Title: majestic slow rise */}\n              <motion.h1\n                variants={titleVariants}\n                initial=\"hidden\"\n                animate=\"visible\"\n                className=\"text-5xl font-normal tracking-tight text-white md:text-7xl lg:text-[5.5rem] lg:leading-[1.1] 2xl:text-[7rem]\"\n                style={{ textWrap: 'balance', fontFamily: 'serif' }}\n              >\n                {title}\n              </motion.h1>\n\n              {/* Subtitle: lighter, quicker */}\n              <motion.p\n                variants={subtitleVariants}\n                initial=\"hidden\"\n                animate=\"visible\"\n                className=\"mt-6 max-w-2xl text-base leading-relaxed font-normal text-white md:text-lg\"\n                style={{ textWrap: 'pretty' }}\n              >\n                {subtitle}\n              </motion.p>\n\n              {/* CTA: scales into place */}\n              <motion.div\n                variants={ctaVariants}\n                initial=\"hidden\"\n                animate=\"visible\"\n                className=\"mt-8 flex items-center justify-center gap-4\"\n              >\n                <button className=\"flex min-h-12 items-center rounded-full bg-white/20 px-8 text-sm font-medium text-white shadow-[inset_2px_2px_0_-0.5px_rgba(255,255,255,0.1),inset_-2px_-2px_0_-0.5px_rgba(255,255,255,0.1)] backdrop-blur-sm transition-transform hover:bg-white/30 active:scale-[0.96] 2xl:text-lg\">\n                  {primaryActionText}\n                </button>\n                <button className=\"flex h-12 w-12 items-center justify-center rounded-full bg-white text-sky-400 shadow-lg transition-transform hover:scale-105 active:scale-[0.96]\">\n                  <Play className=\"h-5 w-5 fill-current\" />\n                </button>\n              </motion.div>\n            </div>\n          </div>\n        </div>\n      </div>\n    );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-32.tsx"
    }
  ],
  "type": "registry:ui"
}
