{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-13",
  "dependencies": [
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-13.tsx",
      "content": "'use client'\n\nimport React from 'react';\nimport { Play, ChevronDown } from 'lucide-react';\nimport { motion, useMotionValue, useMotionTemplate } from 'motion/react';\nimport LogoIcon from '@/assets/logo-icon';\n\ninterface NavLink {\n    label: string;\n    href: string;\n    hasDropdown?: boolean;\n}\n\ninterface Hero4Props {\n    brandName?: string;\n    navLinks?: NavLink[];\n    loginLabel?: string;\n    loginHref?: string;\n    /** Small pill badge text above the heading */\n    badgeText?: string;\n    headingLine1?: string;\n    headingLine2?: string;\n    description?: string;\n    primaryCtaLabel?: string;\n    primaryCtaHref?: string;\n    secondaryCtaLabel?: string;\n    secondaryCtaHref?: string;\n    /** Bottom-right achievement text */\n    achievementText?: string;\n    backgroundImage?: string;\n}\n\nexport default function Hero4({\n    brandName = 'Watermelon',\n    navLinks = [\n        { label: 'Solution', href: '#', hasDropdown: true },\n        { label: 'Pricing', href: '#', hasDropdown: true },\n        { label: 'About', href: '#' },\n        { label: 'Resources', href: '#' },\n        { label: 'Integration', href: '#' },\n    ],\n    loginLabel = 'Log in',\n    loginHref = '#',\n    badgeText = '✦  Trusted by industry leaders',\n    headingLine1 = 'Where Innovation',\n    headingLine2 = 'Meets Impact.',\n    description = 'Watermelon empowers teams to build, scale, and transform with technology that drives real results.',\n    primaryCtaLabel = 'Get Started',\n    primaryCtaHref = '#',\n    secondaryCtaLabel = 'Watch Demo',\n    secondaryCtaHref = '#',\n    achievementText = \"We've completed over 100+ landmark projects\",\n    backgroundImage = 'https://assets.watermelon.sh/hero-5.avif',\n}: Hero4Props) {\n\n    const line1Words = headingLine1.split(' ');\n    const line2Words = headingLine2.split(' ');\n\n    // Mouse tracking for subtle spotlight elevation\n    const mouseX = useMotionValue(0);\n    const mouseY = useMotionValue(0);\n\n    function handleMouseMove({ currentTarget, clientX, clientY }: React.MouseEvent) {\n        const { left, top } = currentTarget.getBoundingClientRect();\n        mouseX.set(clientX - left);\n        mouseY.set(clientY - top);\n    }\n\n    return (\n        <section \n            className=\"relative w-full h-screen min-h-[700px] overflow-hidden bg-[#0d0b0f] group\"\n            onMouseMove={handleMouseMove}\n        >\n\n            {/* Background Image — cinematic zoom in */}\n            <motion.div\n                className=\"absolute inset-0\"\n                initial={{ scale: 1.12, opacity: 0 }}\n                animate={{ scale: 1, opacity: 1 }}\n                transition={{ duration: 2.6, ease: [0.25, 0.1, 0.25, 1] }}\n            >\n                <img\n                    src={backgroundImage}\n                    alt=\"Hero background\"\n                    className=\"absolute inset-0 h-full w-full object-cover object-center\"\n                />\n            </motion.div>\n\n            {/* Layered gradient overlays */}\n            <div className=\"absolute inset-0 bg-linear-to-t from-[#0d0b0f]/80 via-transparent to-[#0d0b0f]/40\" />\n            <div className=\"absolute inset-0 bg-linear-to-r from-[#0d0b0f]/60 via-transparent to-transparent\" />\n\n            {/* Noise texture */}\n            <div\n                className=\"absolute inset-0 opacity-[0.035] mix-blend-overlay pointer-events-none\"\n                style={{\n                    backgroundImage: `url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\")`,\n                    backgroundRepeat: 'repeat',\n                    backgroundSize: '128px 128px',\n                }}\n            />\n\n            {/* Mouse-tracking spotlight for minimal elevation */}\n            <motion.div\n                className=\"pointer-events-none absolute inset-0 z-0 opacity-0 group-hover:opacity-100 transition-opacity duration-700\"\n                style={{\n                    background: useMotionTemplate`\n                        radial-gradient(\n                            600px circle at ${mouseX}px ${mouseY}px,\n                            rgba(255, 255, 255, 0.05),\n                            transparent 80%\n                        )\n                    `,\n                }}\n            />\n\n            {/* Content Layer */}\n            <div className=\"relative z-10 flex flex-col h-full w-full\">\n\n                {/* ─── Navbar ─── */}\n                <motion.nav\n                    className=\"w-full px-6 md:px-10 lg:px-16 py-5 md:py-7 flex items-center justify-between\"\n                    initial={{ opacity: 0, y: -24 }}\n                    animate={{ opacity: 1, y: 0 }}\n                    transition={{ duration: 0.9, delay: 0.15, ease: 'easeOut' }}\n                >\n                    {/* Logo */}\n                    <a href=\"/\" className=\"flex items-center gap-2.5 shrink-0 group/logo\">\n                       <LogoIcon className='size-8 text-white' />\n                        <span className=\"text-white text-lg font-semibold tracking-tight transition-all duration-300\">\n                            {brandName}\n                        </span>\n                    </a>\n\n                    {/* Center Nav Links */}\n                    <div className=\"hidden lg:flex items-center gap-7 xl:gap-9\">\n                        {navLinks.map((link, idx) => (\n                            <motion.a\n                                key={idx}\n                                href={link.href}\n                                className=\"flex items-center gap-1 text-white/75 hover:text-white text-[14px] font-medium transition-colors duration-200 relative group/nav\"\n                                initial={{ opacity: 0, y: -12 }}\n                                animate={{ opacity: 1, y: 0 }}\n                                transition={{ duration: 0.5, delay: 0.25 + idx * 0.07 }}\n                            >\n                                {link.label}\n                                {link.hasDropdown && (\n                                    <ChevronDown size={14} strokeWidth={2} className=\"text-white/50 group-hover/nav:text-white/80 transition-colors\" />\n                                )}\n                                <span className=\"absolute -bottom-1 left-0 w-0 h-px bg-white/60 group-hover/nav:w-full transition-all duration-300\" />\n                            </motion.a>\n                        ))}\n                    </div>\n\n                    {/* Right Side — Log in */}\n                    <div className=\"flex items-center gap-5\">\n                        <motion.a\n                            href={loginHref}\n                            className=\"flex items-center gap-2.5 text-white/85 hover:text-white transition-colors text-[14px] font-medium group\"\n                            initial={{ opacity: 0 }}\n                            animate={{ opacity: 1 }}\n                            transition={{ duration: 0.6, delay: 0.6 }}\n                        >\n                            {/* Orange status dot */}\n                            <span className=\"relative flex h-2.5 w-2.5\">\n                                <span className=\"animate-ping absolute inline-flex h-full w-full rounded-full bg-orange-400 opacity-60\" />\n                                <span className=\"relative inline-flex rounded-full h-2.5 w-2.5 bg-orange-500\" />\n                            </span>\n                            {loginLabel}\n                        </motion.a>\n\n                        {/* Mobile Menu Button */}\n                        <button className=\"lg:hidden text-white p-1\">\n                            <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\">\n                                <line x1=\"3\" y1=\"7\" x2=\"21\" y2=\"7\" />\n                                <line x1=\"3\" y1=\"12\" x2=\"16\" y2=\"12\" />\n                                <line x1=\"3\" y1=\"17\" x2=\"21\" y2=\"17\" />\n                            </svg>\n                        </button>\n                    </div>\n                </motion.nav>\n\n                {/* ─── Hero Content ─── */}\n                <div className=\"flex-1 flex flex-col justify-end px-6 md:px-10 lg:px-16 pb-20 md:pb-28\">\n                    <div className=\"max-w-2xl\">\n\n                        {/* Badge pill */}\n                        <motion.div\n                            className=\"inline-flex items-center mb-8 md:mb-10\"\n                            initial={{ opacity: 0, y: 15 }}\n                            animate={{ opacity: 1, y: 0 }}\n                            transition={{ duration: 0.7, delay: 0.5 }}\n                        >\n                            <span className=\"relative inline-flex items-center px-4 py-1.5 rounded-full text-[12px] md:text-[13px] font-medium text-white/85 border border-white/15 bg-white/4 backdrop-blur-sm overflow-hidden\">\n                                <span className=\"absolute inset-0 -translate-x-full animate-[shimmer_3.5s_infinite] bg-linear-to-r from-transparent via-white/[0.07] to-transparent\" />\n                                <span className=\"relative\">{badgeText}</span>\n                            </span>\n                        </motion.div>\n\n                        {/* Heading — word-by-word stagger */}\n                        <h1 className=\"text-white text-[42px] sm:text-[54px] md:text-[64px] lg:text-[72px] font-light leading-[1.05] tracking-tight mb-6 md:mb-8\">\n                            <span className=\"block overflow-hidden\">\n                                {line1Words.map((word, i) => (\n                                    <motion.span\n                                        key={i}\n                                        className=\"inline-block mr-[0.3em]\"\n                                        initial={{ y: '120%', opacity: 0 }}\n                                        animate={{ y: 0, opacity: 1 }}\n                                        transition={{\n                                            duration: 0.85,\n                                            delay: 0.65 + i * 0.1,\n                                            ease: [0.33, 1, 0.68, 1],\n                                        }}\n                                    >\n                                        {word}\n                                    </motion.span>\n                                ))}\n                            </span>\n                            <span className=\"block overflow-hidden\">\n                                {line2Words.map((word, i) => (\n                                    <motion.span\n                                        key={i}\n                                        className=\"inline-block mr-[0.3em]\"\n                                        initial={{ y: '120%', opacity: 0 }}\n                                        animate={{ y: 0, opacity: 1 }}\n                                        transition={{\n                                            duration: 0.85,\n                                            delay: 0.95 + i * 0.1,\n                                            ease: [0.33, 1, 0.68, 1],\n                                        }}\n                                    >\n                                        {word}\n                                    </motion.span>\n                                ))}\n                            </span>\n                        </h1>\n\n                        {/* Animated horizontal rule */}\n                        <motion.div\n                            className=\"h-px bg-linear-to-r from-white/40 via-white/15 to-transparent mb-6 md:mb-7 max-w-sm\"\n                            initial={{ scaleX: 0, originX: 0 }}\n                            animate={{ scaleX: 1 }}\n                            transition={{ duration: 1.2, delay: 1.25, ease: [0.33, 1, 0.68, 1] }}\n                        />\n\n                        {/* Description */}\n                        <motion.p\n                            className=\"text-white/55 text-sm md:text-[15px] leading-relaxed max-w-md mb-10 md:mb-12\"\n                            initial={{ opacity: 0, y: 25 }}\n                            animate={{ opacity: 1, y: 0 }}\n                            transition={{ duration: 0.9, delay: 1.35, ease: 'easeOut' }}\n                        >\n                            {description}\n                        </motion.p>\n\n                        {/* CTA Buttons */}\n                        <div className=\"flex items-center gap-4 md:gap-5\">\n                            {/* Primary — white filled pill */}\n                            <motion.a\n                                href={primaryCtaHref}\n                                className=\"relative bg-white text-[#0d0b0f] rounded-full px-7 py-3 text-[14px] font-semibold overflow-hidden group/btn\"\n                                initial={{ opacity: 0, y: 20 }}\n                                animate={{ opacity: 1, y: 0 }}\n                                transition={{ duration: 0.7, delay: 1.55 }}\n                                whileHover={{ scale: 1.04 }}\n                                whileTap={{ scale: 0.96 }}\n                            >\n                                {/* Hover sweep — dark fills from bottom */}\n                                <span className=\"absolute inset-0 bg-[#0d0b0f] translate-y-full group-hover/btn:translate-y-0 transition-transform duration-300 ease-out rounded-full\" />\n                                <span className=\"relative z-10 group-hover/btn:text-white transition-colors duration-300\">\n                                    {primaryCtaLabel}\n                                </span>\n                            </motion.a>\n\n                            {/* Secondary — semi-transparent dark pill with play icon */}\n                            <motion.a\n                                href={secondaryCtaHref}\n                                className=\"flex items-center gap-2.5 bg-white/8 hover:bg-white/[0.14] backdrop-blur-sm border border-white/10 text-white rounded-full px-6 py-3 text-[14px] font-medium transition-all duration-300 group\"\n                                initial={{ opacity: 0, y: 20 }}\n                                animate={{ opacity: 1, y: 0 }}\n                                transition={{ duration: 0.7, delay: 1.7 }}\n                                whileHover={{ scale: 1.03 }}\n                                whileTap={{ scale: 0.97 }}\n                            >\n                                {secondaryCtaLabel}\n                                <span className=\"flex items-center justify-center w-5 h-5 rounded-full bg-white/15 group-hover:bg-white/25 transition-colors\">\n                                    <Play size={10} fill=\"white\" strokeWidth={0} className=\"ml-px\" />\n                                </span>\n                            </motion.a>\n                        </div>\n                    </div>\n                </div>\n\n                {/* ─── Bottom Bar ─── */}\n                <div className=\"w-full px-6 md:px-10 lg:px-16 pb-8 md:pb-10 flex items-end justify-between\">\n                    {/* Spacer for left */}\n                    <div />\n\n                    {/* Achievement text with elevated avatar stack — bottom right */}\n                    <motion.div\n                        className=\"flex items-center gap-3 md:gap-4\"\n                        initial={{ opacity: 0, y: 10 }}\n                        animate={{ opacity: 1, y: 0 }}\n                        transition={{ duration: 1, delay: 2 }}\n                    >\n                        <div className=\"flex -space-x-2\">\n                            {[\"wm_alex.png\", \"wm_olivia.png\", \"wm_mia.png\"].map((i) => (\n                                <div key={i} className=\"w-7 h-7 md:w-8 md:h-8 rounded-full border-2 border-[#0d0b0f] bg-white/5 backdrop-blur-md overflow-hidden relative\">\n                                    <img \n                                        src={`https://assets.watermelon.sh/${i}`} \n                                        alt=\"User avatar\" \n                                        className=\"absolute inset-0 h-full w-full object-cover opacity-80\" \n                                    />\n                                </div>\n                            ))}\n                        </div>\n                        <p className=\"text-white/45 text-[13px] md:text-[14px] font-medium tracking-wide\">\n                            {achievementText}\n                        </p>\n                    </motion.div>\n                </div>\n\n            </div>\n\n            {/* ─── Decorative Corner Frame Lines ─── */}\n            <motion.div\n                className=\"absolute top-6 right-6 md:top-8 md:right-10 lg:right-16 w-12 h-12 pointer-events-none hidden md:block\"\n                initial={{ opacity: 0 }}\n                animate={{ opacity: 1 }}\n                transition={{ duration: 1, delay: 2.4 }}\n            >\n                <span className=\"absolute top-0 right-0 w-full h-px bg-linear-to-l from-white/20 to-transparent\" />\n                <span className=\"absolute top-0 right-0 w-px h-full bg-linear-to-b from-white/20 to-transparent\" />\n            </motion.div>\n\n            <motion.div\n                className=\"absolute bottom-6 left-6 md:bottom-8 md:left-10 lg:left-16 w-12 h-12 pointer-events-none hidden md:block\"\n                initial={{ opacity: 0 }}\n                animate={{ opacity: 1 }}\n                transition={{ duration: 1, delay: 2.4 }}\n            >\n                <span className=\"absolute bottom-0 left-0 w-full h-px bg-linear-to-r from-white/20 to-transparent\" />\n                <span className=\"absolute bottom-0 left-0 w-px h-full bg-linear-to-t from-white/20 to-transparent\" />\n            </motion.div>\n\n            {/* CSS keyframes */}\n            <style>{`\n                @keyframes shimmer {\n                    to { transform: translateX(200%); }\n                }\n            `}</style>\n        </section>\n    );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-13.tsx"
    },
    {
      "path": "src/assets/logo-icon.tsx",
      "content": "export default function LogoIcon({ className }: { className?: string }) {\n  return (\n    <svg\n      className={className}\n      width=\"785\"\n      height=\"506\"\n      viewBox=\"0 0 785 506\"\n      fill=\"currentColor\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M392.688 104.141C299.504 104.141 291.288 234.316 261.147 234.316C231.007 234.316 230.996 0 121.38 0C-30.726 0 -49.9098 505.63 121.38 505.63C196.742 505.63 218.672 442.598 252.926 442.598C287.179 442.598 322.801 505.63 392.688 505.63C462.575 505.63 496.832 442.598 531.085 442.598C565.339 442.598 587.269 505.63 662.631 505.63C833.921 505.63 814.737 0 662.631 0C553.015 0 553.004 234.316 522.864 234.316C492.723 234.316 485.872 104.141 392.688 104.141Z\"\n        fill=\"currentColor\"\n      />\n      <circle cx=\"515.226\" cy=\"332.977\" r=\"46.5892\" fill=\"black\" />\n      <circle cx=\"268.575\" cy=\"332.976\" r=\"46.5892\" fill=\"black\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "assets/logo-icon.tsx"
    }
  ],
  "type": "registry:ui"
}
