{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "designs-toolkit",
  "title": "Designs Toolkit",
  "author": "AlgorizeTech",
  "description": "Ask the user to pick one of 2 designs toolkit variants: https://avaraui.com/view/designs-toolkit. This item holds 2 of them as looks of one component (corkboard, roadmap). Skip the question if the user already named one. A pinned resource toolkit grid featuring authentic 3D pushpins, staggered cards, brand icon badges, and connected corkboard path lines.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "src/components/custom/blocks/DesignsToolkitBlock.tsx",
      "content": "\"use client\";\n\nimport React, {\n  useCallback,\n  useEffect,\n  useId,\n  useRef,\n  useState,\n} from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport {\n  Palette,\n  Sparkles,\n  Layers,\n  Dribbble,\n  Shapes,\n  Image as ImageIcon,\n  Globe,\n  Code2,\n  Wind,\n  Database,\n  GitBranch,\n  Zap,\n} from \"lucide-react\";\n\nexport interface ToolkitItem {\n  id?: string;\n  number: string;\n  title: string;\n  description: string;\n  icon?: React.ReactNode;\n  iconName?: string;\n  logoBg?: string;\n  logoColor?: string;\n  accentColor: \"blue\" | \"red\" | \"green\" | \"pink\" | \"mint\" | \"cyan\" | \"orange\" | \"purple\" | string;\n  pinColor?: string;\n  onClick?: () => void;\n}\n\nexport interface FooterNote {\n  avatar?: string;\n  text?: React.ReactNode;\n  highlightText?: string;\n}\n\nexport interface DesignsToolkitProps\n  extends React.HTMLAttributes<HTMLDivElement> {\n  variant?: \"grid\" | \"roadmap\";\n  items?: ToolkitItem[];\n  title?: string;\n  description?: string;\n  showDashedLine?: boolean;\n  showGrid?: boolean;\n  showLines?: boolean;\n  interactive?: boolean;\n  animated?: boolean;\n  autoStartOnView?: boolean;\n  animationDuration?: number;\n  animationSpeed?: number;\n  footerNote?: FooterNote;\n}\n\n// Realistic 3D pushpin with highlights and depth shadow\nfunction PushPin({\n  color = \"#2563eb\",\n  className,\n}: {\n  color?: string;\n  className?: string;\n}) {\n  const pinId = useId();\n\n  return (\n    <div\n      className={cn(\n        \"relative flex items-center justify-center pointer-events-none select-none z-20\",\n        className,\n      )}\n    >\n      <svg\n        width=\"32\"\n        height=\"32\"\n        viewBox=\"0 0 32 32\"\n        fill=\"none\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        className=\"drop-shadow-[0_4px_6px_rgba(0,0,0,0.35)] transition-transform duration-300 group-hover:scale-110\"\n      >\n        <defs>\n          <radialGradient\n            id={`pin-grad-${pinId}`}\n            cx=\"35%\"\n            cy=\"30%\"\n            r=\"65%\"\n            fx=\"35%\"\n            fy=\"30%\"\n          >\n            <stop offset=\"0%\" stopColor=\"#ffffff\" stopOpacity=\"0.85\" />\n            <stop offset=\"25%\" stopColor={color} />\n            <stop offset=\"100%\" stopColor=\"#050505\" stopOpacity=\"0.8\" />\n          </radialGradient>\n          <radialGradient id={`pin-rim-${pinId}`} cx=\"50%\" cy=\"50%\" r=\"50%\">\n            <stop offset=\"60%\" stopColor={color} />\n            <stop offset=\"100%\" stopColor=\"#000000\" stopOpacity=\"0.6\" />\n          </radialGradient>\n        </defs>\n\n        {/* Pin base ring shadow */}\n        <circle cx=\"16\" cy=\"16.5\" r=\"11\" fill=\"rgba(0, 0, 0, 0.25)\" />\n\n        {/* Lower rim */}\n        <circle cx=\"16\" cy=\"16\" r=\"10.5\" fill={`url(#pin-rim-${pinId})`} />\n\n        {/* Inner top dome */}\n        <circle cx=\"16\" cy=\"15.5\" r=\"8.5\" fill={`url(#pin-grad-${pinId})`} />\n\n        {/* Specular glass highlight reflection */}\n        <ellipse\n          cx=\"13.5\"\n          cy=\"12.5\"\n          rx=\"3\"\n          ry=\"1.8\"\n          transform=\"rotate(-25 13.5 12.5)\"\n          fill=\"#ffffff\"\n          opacity=\"0.8\"\n        />\n        <circle cx=\"17.5\" cy=\"11.5\" r=\"1\" fill=\"#ffffff\" opacity=\"0.6\" />\n      </svg>\n    </div>\n  );\n}\n\n// Custom authentic brand icons\nexport function FreepikLogo() {\n  return (\n    <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" className=\"w-5 h-5\">\n      <path d=\"M4 4h16v4.5H9.5v2.8H18v4.2H9.5V20H4V4z\" />\n    </svg>\n  );\n}\n\nexport function PinterestLogo() {\n  return (\n    <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" className=\"w-5 h-5\">\n      <path d=\"M12 2C6.48 2 2 6.48 2 12c0 4.24 2.64 7.86 6.38 9.3-.09-.78-.17-1.98.04-2.83.19-.77 1.25-5.3 1.25-5.3s-.32-.64-.32-1.58c0-1.48.86-2.59 1.93-2.59.91 0 1.35.68 1.35 1.5 0 .91-.58 2.28-.88 3.55-.25 1.06.53 1.93 1.58 1.93 1.9 0 3.36-2 3.36-4.89 0-2.56-1.84-4.35-4.47-4.35-3.05 0-4.84 2.29-4.84 4.65 0 .92.35 1.91.79 2.45.09.11.1.2.07.31-.08.33-.26 1.05-.29 1.2-.05.2-.16.24-.37.15-1.38-.64-2.24-2.66-2.24-4.28 0-3.48 2.53-6.68 7.3-6.68 3.83 0 6.81 2.73 6.81 6.38 0 3.81-2.4 6.87-5.73 6.87-1.12 0-2.17-.58-2.53-1.27l-.69 2.63c-.25.96-.93 2.16-1.38 2.9A9.97 9.97 0 0 0 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2z\" />\n    </svg>\n  );\n}\n\nexport function EnvatoLogo() {\n  return (\n    <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" className=\"w-5 h-5\">\n      <path d=\"M19.4 3.6C16.8 1.2 11.2 2 8.3 4.2 4.6 7 3.3 12.3 5.4 16.6c2 4 6.8 6.2 11.2 5 4.3-1.2 7.1-5.6 6.4-10-.4-2.7-1.8-6-3.6-8zm-3.5 13.9c-2.4 1.7-6 .9-7.2-1.6-.9-1.9-.3-4.3 1.3-5.6 1.8-1.5 4.4-1.8 6.5-.8 1.2.6 1.9 1.7 1.9 3.1 0 2-1 3.8-2.5 4.9z\" />\n    </svg>\n  );\n}\n\nexport function DribbbleLogo() {\n  return (\n    <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" className=\"w-5 h-5\">\n      <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm7.65 7.42a15.82 15.82 0 0 1-5.18-.89c-.16-.38-.33-.76-.52-1.14 3.03-1.42 5.09-1.21 5.7.03zm-7.65-5.42c2.25 0 4.3.93 5.78 2.43-.87-.79-2.76-.87-5.32.33-.85-1.57-1.8-2.92-2.81-3.95.74-.52 1.51-.81 2.35-.81zm-4.39 1.63c.96 1 1.87 2.3 2.68 3.8-2.87.89-5.96.95-7.53.94 1-2.2 2.76-3.95 4.85-4.74zM3.99 12c0-.12.01-.25.02-.37 1.92.01 5.44-.06 8.59-1.07.23.48.44.96.63 1.45-3.8 1.15-7.23 3.65-8.8 6.13-.28-.68-.44-1.42-.44-2.14zm4.4 7.02c1.47-2.3 4.67-4.66 8.35-5.74.88 2.27 1.25 4.54 1.34 5.25A7.95 7.95 0 0 1 8.39 19.02zm11.23-2.16c-.19-.77-.66-2.95-1.56-5.11 1.71.28 3.25.9 3.51 1.02-.32 1.55-1.03 2.95-1.95 4.09z\" />\n    </svg>\n  );\n}\n\nexport function FlaticonLogo() {\n  return (\n    <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" className=\"w-5 h-5\">\n      <path d=\"M12 2L3 8v8l9 6 9-6V8l-9-6zm0 3.3L18.3 9 12 12.7 5.7 9 12 5.3zM5 10.3l6 3.6v6.8l-6-4v-6.4zm8 10.4v-6.8l6-3.6v6.4l-6 4z\" />\n    </svg>\n  );\n}\n\nexport function MockupWorldLogo() {\n  return (\n    <svg viewBox=\"0 0 24 24\" fill=\"currentColor\" className=\"w-5 h-5\">\n      <path d=\"M4 6h3.5l2.5 5 2.5-5H16l-3.5 7.5L16 21h-3.5L10 16l-2.5 5H4l3.5-7.5L4 6zm10 0h2.5l2 4 2-4H23l-3 6 3 6h-2.5l-2-4-2 4H14l3-6-3-6z\" />\n    </svg>\n  );\n}\n\nexport const CREATIVE_TOOLKIT_ITEMS: ToolkitItem[] = [\n  {\n    id: \"freepik\",\n    number: \"01\",\n    title: \"Freepik\",\n    description:\n      \"Freepik offers free and premium vectors, photos, PSDs, and mockups for graphic designers.\",\n    icon: <Palette className=\"w-5 h-5\" />,\n    logoBg: \"bg-blue-600 text-white\",\n    accentColor: \"blue\",\n    pinColor: \"#2563eb\",\n    onClick: () => {},\n  },\n  {\n    id: \"pinterest\",\n    number: \"02\",\n    title: \"Pinterest\",\n    description:\n      \"Pinterest is a visual platform for discovering, saving, and sharing creative ideas.\",\n    icon: <Sparkles className=\"w-5 h-5\" />,\n    logoBg: \"bg-red-600 text-white\",\n    accentColor: \"red\",\n    pinColor: \"#dc2626\",\n    onClick: () => {},\n  },\n  {\n    id: \"envato\",\n    number: \"03\",\n    title: \"Envato\",\n    description:\n      \"Envato is a marketplace for premium design assets like templates, graphics, videos, and more.\",\n    icon: <Layers className=\"w-5 h-5\" />,\n    logoBg: \"bg-[#7cb342] text-zinc-950\",\n    accentColor: \"green\",\n    pinColor: \"#65a30d\",\n    onClick: () => {},\n  },\n  {\n    id: \"dribbble\",\n    number: \"04\",\n    title: \"Dribbble\",\n    description:\n      \"Dribbble is a platform for showcasing, discovering, and connecting with creative design work.\",\n    icon: <Dribbble className=\"w-5 h-5\" />,\n    logoBg: \"bg-pink-500 text-white\",\n    accentColor: \"pink\",\n    pinColor: \"#db2777\",\n    onClick: () => {},\n  },\n  {\n    id: \"flaticon\",\n    number: \"05\",\n    title: \"Flaticon\",\n    description:\n      \"Flaticon offers millions of free and premium vector icons, stickers, and UI interface graphics.\",\n    icon: <Shapes className=\"w-5 h-5\" />,\n    logoBg: \"bg-emerald-500 text-white\",\n    accentColor: \"mint\",\n    pinColor: \"#059669\",\n    onClick: () => {},\n  },\n  {\n    id: \"mockup-world\",\n    number: \"06\",\n    title: \"Mockup World\",\n    description:\n      \"Mockup World offers free, high-quality PSD mockups for showcasing designs in realistic settings.\",\n    icon: <ImageIcon className=\"w-5 h-5\" />,\n    logoBg: \"bg-gradient-to-tr from-cyan-500 to-sky-400 text-white\",\n    accentColor: \"cyan\",\n    pinColor: \"#0891b2\",\n    onClick: () => {},\n  },\n];\n\nexport const DEVELOPER_TOOLKIT_ITEMS: ToolkitItem[] = [\n  {\n    id: \"nextjs\",\n    number: \"01\",\n    title: \"Next.js\",\n    description:\n      \"The React framework for high-performance production web applications.\",\n    icon: <Globe className=\"w-5 h-5\" />,\n    logoBg: \"bg-zinc-900 text-white dark:bg-zinc-800\",\n    accentColor: \"blue\",\n    pinColor: \"#2563eb\",\n    onClick: () => {},\n  },\n  {\n    id: \"typescript\",\n    number: \"02\",\n    title: \"TypeScript\",\n    description:\n      \"Strongly typed programming language that builds on JavaScript syntax.\",\n    icon: <Code2 className=\"w-5 h-5\" />,\n    logoBg: \"bg-blue-600 text-white\",\n    accentColor: \"red\",\n    pinColor: \"#dc2626\",\n    onClick: () => {},\n  },\n  {\n    id: \"tailwind\",\n    number: \"03\",\n    title: \"Tailwind CSS\",\n    description:\n      \"Utility-first CSS framework for rapid and maintainable UI design.\",\n    icon: <Wind className=\"w-5 h-5\" />,\n    logoBg: \"bg-sky-500 text-white\",\n    accentColor: \"green\",\n    pinColor: \"#65a30d\",\n    onClick: () => {},\n  },\n  {\n    id: \"supabase\",\n    number: \"04\",\n    title: \"Supabase\",\n    description:\n      \"Open source Firebase alternative with PostgreSQL database and realtime sync.\",\n    icon: <Database className=\"w-5 h-5\" />,\n    logoBg: \"bg-emerald-600 text-white\",\n    accentColor: \"pink\",\n    pinColor: \"#db2777\",\n    onClick: () => {},\n  },\n  {\n    id: \"github\",\n    number: \"05\",\n    title: \"GitHub\",\n    description:\n      \"Cloud-based hosting service for version control, CI/CD, and collaboration.\",\n    icon: <GitBranch className=\"w-5 h-5\" />,\n    logoBg: \"bg-zinc-950 text-white\",\n    accentColor: \"mint\",\n    pinColor: \"#059669\",\n    onClick: () => {},\n  },\n  {\n    id: \"vercel\",\n    number: \"06\",\n    title: \"Vercel\",\n    description:\n      \"Frontend cloud platform for seamless continuous deployment and serverless.\",\n    icon: <Zap className=\"w-5 h-5\" />,\n    logoBg: \"bg-zinc-900 text-white\",\n    accentColor: \"cyan\",\n    pinColor: \"#0891b2\",\n    onClick: () => {},\n  },\n];\n\nexport const ROADMAP_TOOLKIT_ITEMS: ToolkitItem[] = [\n  {\n    id: \"testimonials\",\n    number: \"01\",\n    title: \"Testimonials\",\n    description:\n      \"The only way to attract new clients, is to show your experience with the previous ones. Include: real photo, position at company, links their profiles\",\n    accentColor: \"orange\",\n    pinColor: \"#ea580c\",\n    onClick: () => {},\n  },\n  {\n    id: \"trust-badges\",\n    number: \"02\",\n    title: \"Trust Badges\",\n    description:\n      \"Show all the achievements you have. Awards, certificates, payment protections, etc.\",\n    accentColor: \"blue\",\n    pinColor: \"#3b82f6\",\n    onClick: () => {},\n  },\n  {\n    id: \"add-contacts\",\n    number: \"03\",\n    title: \"Add Contacts\",\n    description:\n      \"People need to understand that if something will happen, they can always reach out to you. Leave links to your social media, your email and the phone\",\n    accentColor: \"purple\",\n    pinColor: \"#8b5cf6\",\n    onClick: () => {},\n  },\n  {\n    id: \"case-studies\",\n    number: \"04\",\n    title: \"Case Studies\",\n    description:\n      \"Share detailed examples of how your product or service solved real problems. This helps visitors imagine their own success.\",\n    accentColor: \"orange\",\n    pinColor: \"#ea580c\",\n    onClick: () => {},\n  },\n  {\n    id: \"refund-policy\",\n    number: \"05\",\n    title: \"Clear Refund Policy\",\n    description:\n      \"Offer a transparent money-back guarantee or easy return process\",\n    accentColor: \"blue\",\n    pinColor: \"#3b82f6\",\n    onClick: () => {},\n  },\n];\n\nexport const DEFAULT_TOOLKIT_ITEMS: ToolkitItem[] = CREATIVE_TOOLKIT_ITEMS;\n\nconst ACCENT_STYLES: Record<\n  string,\n  {\n    outerBorder: string;\n    numColor: string;\n    tagGlow: string;\n    pin: string;\n  }\n> = {\n  blue: {\n    outerBorder:\n      \"border-blue-400/50 bg-blue-50/40 dark:border-blue-500/40 dark:bg-blue-950/20\",\n    numColor: \"text-blue-600 dark:text-blue-400\",\n    tagGlow: \"group-hover:shadow-[0_12px_30px_-8px_rgba(37,99,235,0.25)]\",\n    pin: \"#2563eb\",\n  },\n  red: {\n    outerBorder:\n      \"border-rose-400/50 bg-rose-50/40 dark:border-rose-500/40 dark:bg-rose-950/20\",\n    numColor: \"text-rose-600 dark:text-rose-400\",\n    tagGlow: \"group-hover:shadow-[0_12px_30px_-8px_rgba(225,29,72,0.25)]\",\n    pin: \"#dc2626\",\n  },\n  green: {\n    outerBorder:\n      \"border-lime-400/50 bg-lime-50/40 dark:border-lime-500/40 dark:bg-lime-950/20\",\n    numColor: \"text-lime-600 dark:text-lime-400\",\n    tagGlow: \"group-hover:shadow-[0_12px_30px_-8px_rgba(101,163,13,0.25)]\",\n    pin: \"#65a30d\",\n  },\n  pink: {\n    outerBorder:\n      \"border-pink-400/50 bg-pink-50/40 dark:border-pink-500/40 dark:bg-pink-950/20\",\n    numColor: \"text-pink-600 dark:text-pink-400\",\n    tagGlow: \"group-hover:shadow-[0_12px_30px_-8px_rgba(219,39,119,0.25)]\",\n    pin: \"#db2777\",\n  },\n  mint: {\n    outerBorder:\n      \"border-emerald-400/50 bg-emerald-50/40 dark:border-emerald-500/40 dark:bg-emerald-950/20\",\n    numColor: \"text-emerald-600 dark:text-emerald-400\",\n    tagGlow: \"group-hover:shadow-[0_12px_30px_-8px_rgba(5,150,105,0.25)]\",\n    pin: \"#059669\",\n  },\n  cyan: {\n    outerBorder:\n      \"border-cyan-400/50 bg-cyan-50/40 dark:border-cyan-500/40 dark:bg-cyan-950/20\",\n    numColor: \"text-cyan-600 dark:text-cyan-400\",\n    tagGlow: \"group-hover:shadow-[0_12px_30px_-8px_rgba(8,145,178,0.25)]\",\n    pin: \"#0891b2\",\n  },\n  orange: {\n    outerBorder:\n      \"border-orange-300/50 bg-orange-50/40 dark:border-orange-500/30 dark:bg-orange-950/20\",\n    numColor: \"text-orange-600 dark:text-orange-500\",\n    tagGlow: \"group-hover:shadow-[0_14px_32px_-8px_rgba(234,88,12,0.25)]\",\n    pin: \"#ea580c\",\n  },\n  purple: {\n    outerBorder:\n      \"border-purple-300/50 bg-purple-50/40 dark:border-purple-500/30 dark:bg-purple-950/20\",\n    numColor: \"text-purple-600 dark:text-purple-400\",\n    tagGlow: \"group-hover:shadow-[0_14px_32px_-8px_rgba(139,92,246,0.25)]\",\n    pin: \"#8b5cf6\",\n  },\n};\n\nexport default function DesignsToolkitBlock({\n  variant = \"grid\",\n  items,\n  title,\n  description,\n  showDashedLine = true,\n  showGrid = true,\n  showLines = variant === \"roadmap\",\n  interactive = true,\n  animated = true,\n  autoStartOnView = true,\n  animationDuration,\n  animationSpeed,\n  footerNote,\n  className,\n  ...props\n}: DesignsToolkitProps) {\n  const resolvedDefaultItems =\n    variant === \"roadmap\" ? ROADMAP_TOOLKIT_ITEMS : CREATIVE_TOOLKIT_ITEMS;\n  const activeItems = items ?? resolvedDefaultItems;\n  const duration = animationDuration ?? animationSpeed ?? 1150;\n  const [animStep, setAnimStep] = useState<number>(\n    animated ? 0 : variant === \"roadmap\" ? 11 : 6,\n  );\n  const [breakpoint, setBreakpoint] = useState<\"sm\" | \"md\" | \"lg\">(\"lg\");\n  const svgId = useId().replace(/:/g, \"-\");\n  const containerRef = useRef<HTMLDivElement>(null);\n  const hasStartedRef = useRef<boolean>(!autoStartOnView);\n  const timeoutsRef = useRef<ReturnType<typeof setTimeout>[]>([]);\n\n  // Track responsive screen size\n  useEffect(() => {\n    const updateSize = () => {\n      const w = window.innerWidth;\n      if (w >= 1024) setBreakpoint(\"lg\");\n      else if (w >= 768) setBreakpoint(\"md\");\n      else setBreakpoint(\"sm\");\n    };\n\n    updateSize();\n    window.addEventListener(\"resize\", updateSize);\n    return () => window.removeEventListener(\"resize\", updateSize);\n  }, []);\n\n  const clearAllTimeouts = useCallback(() => {\n    timeoutsRef.current.forEach((t) => clearTimeout(t));\n    timeoutsRef.current = [];\n  }, []);\n\n  // Choreographed animation sequence tailored for each breakpoint, scaled by duration\n  const startAnimation = useCallback(() => {\n    clearAllTimeouts();\n    setAnimStep(0);\n\n    const w = typeof window !== \"undefined\" ? window.innerWidth : 1200;\n    const factor = duration / 1150;\n\n    if (variant === \"roadmap\") {\n      // Sequential: Card 01 -> Line 1 -> Card 02 -> Line 2 -> Card 03 -> Line 3 -> Card 04 -> Line 4 -> Card 05 -> Line 5 (with arrow) -> Partner Note\n      const cardDur = Math.round(550 * factor);\n      const lineDur = Math.round(650 * factor);\n\n      const t1 = setTimeout(() => setAnimStep(1), 100);\n      const t2 = setTimeout(() => setAnimStep(2), 100 + cardDur);\n      const t3 = setTimeout(() => setAnimStep(3), 100 + cardDur + lineDur);\n      const t4 = setTimeout(() => setAnimStep(4), 100 + 2 * cardDur + lineDur);\n      const t5 = setTimeout(() => setAnimStep(5), 100 + 2 * cardDur + 2 * lineDur);\n      const t6 = setTimeout(() => setAnimStep(6), 100 + 3 * cardDur + 2 * lineDur);\n      const t7 = setTimeout(() => setAnimStep(7), 100 + 3 * cardDur + 3 * lineDur);\n      const t8 = setTimeout(() => setAnimStep(8), 100 + 4 * cardDur + 3 * lineDur);\n      const t9 = setTimeout(() => setAnimStep(9), 100 + 4 * cardDur + 4 * lineDur);\n      const t10 = setTimeout(() => setAnimStep(10), 100 + 5 * cardDur + 4 * lineDur);\n      const t11 = setTimeout(() => setAnimStep(11), 100 + 5 * cardDur + 5 * lineDur);\n\n      timeoutsRef.current.push(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11);\n      return;\n    }\n\n    if (w >= 1024) {\n      // LG Screen: 2 visible -> 1 emerges -> 3 emerges -> 4 emerges -> 5 emerges -> 6 emerges\n      const t1 = setTimeout(() => setAnimStep(1), Math.round(900 * factor)); // Card 01\n      const t2 = setTimeout(() => setAnimStep(2), Math.round(2100 * factor)); // Card 03\n      const t3 = setTimeout(() => setAnimStep(3), Math.round(3300 * factor)); // Card 04\n      const t4 = setTimeout(() => setAnimStep(4), Math.round(4500 * factor)); // Card 05\n      const t5 = setTimeout(() => setAnimStep(5), Math.round(5700 * factor)); // Card 06\n      const t6 = setTimeout(() => setAnimStep(6), Math.round(7000 * factor)); // Settled\n      timeoutsRef.current.push(t1, t2, t3, t4, t5, t6);\n    } else if (w >= 768) {\n      // MD Screen: Row 1 [01, 02] visible -> Row 2 [03, 04] emerges from under [01, 02] -> Row 3 [05, 06] emerges from under [03, 04]\n      const t1 = setTimeout(() => setAnimStep(1), Math.round(1100 * factor)); // [03, 04] emerge\n      const t2 = setTimeout(() => setAnimStep(2), Math.round(2400 * factor)); // [05, 06] emerge\n      const t3 = setTimeout(() => setAnimStep(3), Math.round(3700 * factor)); // Settled\n      timeoutsRef.current.push(t1, t2, t3);\n    } else {\n      // SM Screen: Card 01 visible -> 02 from under 01 -> 03 from under 02 -> 04 from under 03 -> 05 from under 04 -> 06 from under 05\n      const t1 = setTimeout(() => setAnimStep(1), Math.round(800 * factor)); // Card 02\n      const t2 = setTimeout(() => setAnimStep(2), Math.round(1900 * factor)); // Card 03\n      const t3 = setTimeout(() => setAnimStep(3), Math.round(3000 * factor)); // Card 04\n      const t4 = setTimeout(() => setAnimStep(4), Math.round(4100 * factor)); // Card 05\n      const t5 = setTimeout(() => setAnimStep(5), Math.round(5200 * factor)); // Card 06\n      const t6 = setTimeout(() => setAnimStep(6), Math.round(6400 * factor)); // Settled\n      timeoutsRef.current.push(t1, t2, t3, t4, t5, t6);\n    }\n  }, [clearAllTimeouts, duration, variant]);\n\n  useEffect(() => {\n    if (!animated) {\n      setAnimStep(variant === \"roadmap\" ? 11 : 6);\n      return;\n    }\n\n    if (!autoStartOnView) {\n      startAnimation();\n      return;\n    }\n\n    const el = containerRef.current;\n    if (!el) return;\n\n    const observer = new IntersectionObserver(\n      ([entry]) => {\n        if (entry.isIntersecting && !hasStartedRef.current) {\n          hasStartedRef.current = true;\n          startAnimation();\n        }\n      },\n      { threshold: 0.15 },\n    );\n\n    observer.observe(el);\n    return () => {\n      observer.disconnect();\n      clearAllTimeouts();\n    };\n  }, [animated, autoStartOnView, startAnimation, clearAllTimeouts]);\n\n  // Re-trigger animation when duration changes so user immediately sees the effect of slider\n  useEffect(() => {\n    if (!animated) return;\n    if (!hasStartedRef.current) return;\n\n    const timer = setTimeout(() => {\n      startAnimation();\n    }, 100);\n\n    return () => clearTimeout(timer);\n  }, [duration, animated, startAnimation]);\n\n  return (\n    <div\n      ref={containerRef}\n      className={cn(\n        \"relative w-full rounded-3xl border border-border/80 bg-background/95 dark:bg-zinc-950/95 overflow-hidden flex flex-col p-6 sm:p-10 md:p-14 select-none\",\n        variant === \"roadmap\" &&\n          \"p-6 sm:p-10 lg:p-12 bg-[#f8f9fa] dark:bg-[#0b0c0e] border-zinc-200/80 dark:border-zinc-800\",\n        className,\n      )}\n      {...props}\n    >\n      {/* Background Ruled Lines for Roadmap or Note paper */}\n      {showLines && (\n        <div\n          className=\"absolute inset-0 pointer-events-none z-0\"\n          style={{\n            backgroundImage:\n              \"repeating-linear-gradient(to bottom, transparent, transparent 33px, rgba(0, 0, 0, 0.05) 33px, rgba(0, 0, 0, 0.05) 34px)\",\n          }}\n        />\n      )}\n\n      {/* Background Grid Pattern (for Grid variant) */}\n      {showGrid && variant !== \"roadmap\" && (\n        <div\n          className=\"absolute inset-0 pointer-events-none opacity-60 dark:opacity-40\"\n          style={{\n            backgroundImage: `\n              linear-gradient(to right, currentColor 1px, transparent 1px),\n              linear-gradient(to bottom, currentColor 1px, transparent 1px)\n            `,\n            backgroundSize: \"44px 44px\",\n            color: \"var(--border)\",\n            maskImage:\n              \"radial-gradient(ellipse 90% 90% at 50% 50%, #000 65%, transparent 100%)\",\n            WebkitMaskImage:\n              \"radial-gradient(ellipse 90% 90% at 50% 50%, #000 65%, transparent 100%)\",\n          }}\n        />\n      )}\n\n      {/* Decorative Dashed Wave Line Connecting the Cards across the Corkboard (Grid variant - LG) */}\n      {variant === \"grid\" && showDashedLine && (\n        <svg\n          className={cn(\n            \"absolute inset-0 w-full h-full pointer-events-none z-0 hidden lg:block transition-opacity duration-1000\",\n            animStep >= 5 ? \"opacity-100\" : \"opacity-0\",\n          )}\n          xmlns=\"http://www.w3.org/2000/svg\"\n          preserveAspectRatio=\"none\"\n          viewBox=\"0 0 1000 600\"\n        >\n          <path\n            d=\"M 20 90 C 90 90, 110 85, 175 80 C 230 75, 380 70, 500 160 C 620 250, 700 85, 825 80 C 890 75, 960 160, 990 190\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            strokeWidth=\"2\"\n            strokeDasharray=\"6 6\"\n            className=\"text-foreground/20 dark:text-foreground/25\"\n          />\n          <path\n            d=\"M 10 400 C 60 380, 110 390, 175 390 C 280 390, 360 480, 500 480 C 620 480, 720 380, 825 390 C 890 395, 950 470, 990 510\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            strokeWidth=\"2\"\n            strokeDasharray=\"6 6\"\n            className=\"text-foreground/20 dark:text-foreground/25\"\n          />\n          <path\n            d=\"M 500 220 C 500 280, 500 360, 500 430\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            strokeWidth=\"2\"\n            strokeDasharray=\"6 6\"\n            className=\"text-foreground/15 dark:text-foreground/20\"\n          />\n        </svg>\n      )}\n\n      {/* Dashed Line for MD Screen (2 Columns) */}\n      {variant === \"grid\" && showDashedLine && (\n        <svg\n          className={cn(\n            \"absolute inset-0 w-full h-full pointer-events-none z-0 hidden md:max-lg:block transition-opacity duration-1000\",\n            animStep >= 2 ? \"opacity-100\" : \"opacity-0\",\n          )}\n          xmlns=\"http://www.w3.org/2000/svg\"\n          preserveAspectRatio=\"none\"\n          viewBox=\"0 0 700 800\"\n        >\n          <path\n            d=\"M 40 80 C 180 80, 350 80, 520 80 C 640 80, 640 340, 520 340 C 350 340, 180 340, 180 600 C 180 600, 350 600, 520 600\"\n            fill=\"none\"\n            stroke=\"currentColor\"\n            strokeWidth=\"2\"\n            strokeDasharray=\"6 6\"\n            className=\"text-foreground/20 dark:text-foreground/25\"\n          />\n        </svg>\n      )}\n\n      {/* Roadmap S-Curve Dashed Connector Path (Animated Smoothly Segment by Segment) */}\n      {variant === \"roadmap\" && showDashedLine && (\n        <>\n          {/* Desktop & Tablet Curved Connector Path through Card Centers */}\n          <svg\n            className=\"absolute inset-0 w-full h-full pointer-events-none z-0 hidden sm:block\"\n            viewBox=\"0 0 800 1200\"\n            preserveAspectRatio=\"none\"\n            fill=\"none\"\n          >\n            <defs>\n              <marker\n                id={`roadmap-arrow-${svgId}`}\n                viewBox=\"0 0 10 10\"\n                refX=\"8\"\n                refY=\"5\"\n                markerWidth=\"8\"\n                markerHeight=\"8\"\n                orient=\"auto\"\n              >\n                <path\n                  d=\"M 0 1.5 L 8 5 L 0 8.5 Z\"\n                  fill=\"currentColor\"\n                  className=\"text-zinc-500 dark:text-zinc-400\"\n                />\n              </marker>\n\n              {/* Segment 1: Card 01 (center 200, 140) -> Card 02 (center 600, 290) */}\n              <mask id={`mask-seg-1-${svgId}`}>\n                <path\n                  d=\"M 200 140 C 380 140, 440 290, 600 290\"\n                  fill=\"none\"\n                  stroke=\"white\"\n                  strokeWidth=\"20\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 2 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n\n              {/* Segment 2: Card 02 (center 600, 290) -> Card 03 (center 200, 480) */}\n              <mask id={`mask-seg-2-${svgId}`}>\n                <path\n                  d=\"M 600 290 C 440 290, 380 480, 200 480\"\n                  fill=\"none\"\n                  stroke=\"white\"\n                  strokeWidth=\"20\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 4 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n\n              {/* Segment 3: Card 03 (center 200, 480) -> Card 04 (center 600, 660) */}\n              <mask id={`mask-seg-3-${svgId}`}>\n                <path\n                  d=\"M 200 480 C 380 480, 440 660, 600 660\"\n                  fill=\"none\"\n                  stroke=\"white\"\n                  strokeWidth=\"20\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 6 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n\n              {/* Segment 4: Card 04 (center 600, 660) -> Card 05 (center 200, 850) */}\n              <mask id={`mask-seg-4-${svgId}`}>\n                <path\n                  d=\"M 600 660 C 440 660, 380 850, 200 850\"\n                  fill=\"none\"\n                  stroke=\"white\"\n                  strokeWidth=\"20\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 8 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n\n              {/* Segment 5: Card 05 (center 200, 850) -> Partner Note (center 495, 1030) */}\n              <mask id={`mask-seg-5-${svgId}`}>\n                <path\n                  d=\"M 200 850 C 270 980, 400 1030, 495 1030\"\n                  fill=\"none\"\n                  stroke=\"white\"\n                  strokeWidth=\"20\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 10 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n            </defs>\n\n            {/* Segment 1 Path */}\n            <path\n              d=\"M 200 140 C 380 140, 440 290, 600 290\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              strokeWidth=\"2\"\n              strokeDasharray=\"5 5\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#mask-seg-1-${svgId})`}\n            />\n\n            {/* Segment 2 Path */}\n            <path\n              d=\"M 600 290 C 440 290, 380 480, 200 480\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              strokeWidth=\"2\"\n              strokeDasharray=\"5 5\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#mask-seg-2-${svgId})`}\n            />\n\n            {/* Segment 3 Path */}\n            <path\n              d=\"M 200 480 C 380 480, 440 660, 600 660\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              strokeWidth=\"2\"\n              strokeDasharray=\"5 5\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#mask-seg-3-${svgId})`}\n            />\n\n            {/* Segment 4 Path */}\n            <path\n              d=\"M 600 660 C 440 660, 380 850, 200 850\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              strokeWidth=\"2\"\n              strokeDasharray=\"5 5\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#mask-seg-4-${svgId})`}\n            />\n\n            {/* Segment 5 Path with final Arrow pointing to partner note */}\n            <path\n              d=\"M 200 850 C 270 980, 400 1030, 495 1030\"\n              fill=\"none\"\n              stroke=\"currentColor\"\n              strokeWidth=\"2\"\n              strokeDasharray=\"5 5\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#mask-seg-5-${svgId})`}\n              markerEnd={`url(#roadmap-arrow-${svgId})`}\n            />\n\n            {/* Standalone Arrowhead Polygon at the end of Segment 5 */}\n            <polygon\n              points=\"490,1024 502,1030 490,1036\"\n              fill=\"currentColor\"\n              className={cn(\n                \"text-zinc-500 dark:text-zinc-400 transition-opacity duration-300\",\n                animStep >= 10 ? \"opacity-100\" : \"opacity-0\",\n              )}\n              style={{\n                transitionDelay:\n                  animStep >= 10\n                    ? `${Math.round(580 * (duration / 1150))}ms`\n                    : \"0ms\",\n              }}\n            />\n          </svg>\n\n          {/* Mobile Straight Vertical Dashed Connector (Animated Smoothly Segment by Segment) */}\n          <svg\n            className=\"absolute inset-0 w-full h-full pointer-events-none z-0 sm:hidden\"\n            viewBox=\"0 0 100 1450\"\n            preserveAspectRatio=\"none\"\n            fill=\"none\"\n          >\n            <defs>\n              {/* Mobile Segment 1 Mask (Card 01 -> Card 02) */}\n              <mask id={`m-mask-seg-1-${svgId}`}>\n                <line\n                  x1=\"50\"\n                  y1=\"110\"\n                  x2=\"50\"\n                  y2=\"370\"\n                  stroke=\"white\"\n                  strokeWidth=\"30\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 2 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n\n              {/* Mobile Segment 2 Mask (Card 02 -> Card 03) */}\n              <mask id={`m-mask-seg-2-${svgId}`}>\n                <line\n                  x1=\"50\"\n                  y1=\"370\"\n                  x2=\"50\"\n                  y2=\"630\"\n                  stroke=\"white\"\n                  strokeWidth=\"30\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 4 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n\n              {/* Mobile Segment 3 Mask (Card 03 -> Card 04) */}\n              <mask id={`m-mask-seg-3-${svgId}`}>\n                <line\n                  x1=\"50\"\n                  y1=\"630\"\n                  x2=\"50\"\n                  y2=\"890\"\n                  stroke=\"white\"\n                  strokeWidth=\"30\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 6 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n\n              {/* Mobile Segment 4 Mask (Card 04 -> Card 05) */}\n              <mask id={`m-mask-seg-4-${svgId}`}>\n                <line\n                  x1=\"50\"\n                  y1=\"890\"\n                  x2=\"50\"\n                  y2=\"1150\"\n                  stroke=\"white\"\n                  strokeWidth=\"30\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 8 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n\n              {/* Mobile Segment 5 Mask (Card 05 -> Partner Note) */}\n              <mask id={`m-mask-seg-5-${svgId}`}>\n                <line\n                  x1=\"50\"\n                  y1=\"1150\"\n                  x2=\"50\"\n                  y2=\"1310\"\n                  stroke=\"white\"\n                  strokeWidth=\"30\"\n                  pathLength=\"100\"\n                  strokeDasharray=\"100\"\n                  strokeDashoffset={animStep >= 10 ? \"0\" : \"100\"}\n                  style={{\n                    transition: `stroke-dashoffset ${Math.round(\n                      650 * (duration / 1150),\n                    )}ms cubic-bezier(0.4, 0, 0.2, 1)`,\n                  }}\n                />\n              </mask>\n            </defs>\n\n            {/* Mobile Segments with non-scaling-stroke so dots never become large */}\n            <line\n              x1=\"50\"\n              y1=\"110\"\n              x2=\"50\"\n              y2=\"370\"\n              stroke=\"currentColor\"\n              strokeWidth=\"1.8\"\n              strokeDasharray=\"4 4\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#m-mask-seg-1-${svgId})`}\n            />\n            <line\n              x1=\"50\"\n              y1=\"370\"\n              x2=\"50\"\n              y2=\"630\"\n              stroke=\"currentColor\"\n              strokeWidth=\"1.8\"\n              strokeDasharray=\"4 4\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#m-mask-seg-2-${svgId})`}\n            />\n            <line\n              x1=\"50\"\n              y1=\"630\"\n              x2=\"50\"\n              y2=\"890\"\n              stroke=\"currentColor\"\n              strokeWidth=\"1.8\"\n              strokeDasharray=\"4 4\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#m-mask-seg-3-${svgId})`}\n            />\n            <line\n              x1=\"50\"\n              y1=\"890\"\n              x2=\"50\"\n              y2=\"1150\"\n              stroke=\"currentColor\"\n              strokeWidth=\"1.8\"\n              strokeDasharray=\"4 4\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#m-mask-seg-4-${svgId})`}\n            />\n            <line\n              x1=\"50\"\n              y1=\"1150\"\n              x2=\"50\"\n              y2=\"1310\"\n              stroke=\"currentColor\"\n              strokeWidth=\"1.8\"\n              strokeDasharray=\"4 4\"\n              vectorEffect=\"non-scaling-stroke\"\n              className=\"text-zinc-400/80 dark:text-zinc-600/80\"\n              mask={`url(#m-mask-seg-5-${svgId})`}\n            />\n\n            {/* Downward Arrowhead pointing to mobile partner note */}\n            <polygon\n              points=\"47,1308 50,1316 53,1308\"\n              fill=\"currentColor\"\n              className={cn(\n                \"text-zinc-500 dark:text-zinc-400 transition-opacity duration-300\",\n                animStep >= 10 ? \"opacity-100\" : \"opacity-0\",\n              )}\n              style={{\n                transitionDelay:\n                  animStep >= 10\n                    ? `${Math.round(580 * (duration / 1150))}ms`\n                    : \"0ms\",\n              }}\n            />\n          </svg>\n        </>\n      )}\n\n      {/* Optional Section Title & Description */}\n      {(title || description) && (\n        <div className=\"relative z-10 mb-8 sm:mb-12 text-center max-w-xl mx-auto\">\n          {title && (\n            <h3 className=\"text-2xl sm:text-3xl font-bold tracking-tight text-foreground font-serif\">\n              {title}\n            </h3>\n          )}\n          {description && (\n            <p className=\"text-sm text-muted-foreground mt-2 leading-relaxed\">\n              {description}\n            </p>\n          )}\n        </div>\n      )}\n\n      {/* RESPONSIVE LAYOUT DISPATCHER */}\n      {variant === \"roadmap\" ? (\n        /* ========================================================================= */\n        /* ROADMAP VARIANT: Winding S-Curve Pathway (Alternating Zigzag)             */\n        /* ========================================================================= */\n        <div className=\"relative z-10 w-full max-w-3xl mx-auto\">\n          {/* Desktop & Tablet: 2 Columns Staggered Zigzag */}\n          <div className=\"hidden sm:grid grid-cols-2 gap-x-12 md:gap-x-16 gap-y-12 items-start\">\n            {/* Col 1 (Left): Cards 01, 03, 05 */}\n            <div className=\"flex flex-col gap-16 md:gap-20\">\n              {/* Card 01: Emerges at step 1 */}\n              {activeItems[0] && (\n                <RoadmapCard\n                  item={activeItems[0]}\n                  tilt=\"rotate-[4deg]\"\n                  interactive={interactive}\n                  isSettled={animStep >= 1}\n                  duration={duration}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 1\n                        ? undefined\n                        : \"translate3d(-2rem, -1rem, 0) scale(0.92)\",\n                    opacity: animStep >= 1 ? 1 : 0,\n                    pointerEvents: animStep >= 1 ? \"auto\" : \"none\",\n                  }}\n                />\n              )}\n              {/* Card 03: Emerges at step 5 after Line 2 finishes drawing */}\n              {activeItems[2] && (\n                <RoadmapCard\n                  item={activeItems[2]}\n                  tilt=\"rotate-[4deg]\"\n                  interactive={interactive}\n                  isSettled={animStep >= 5}\n                  duration={duration}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 5\n                        ? undefined\n                        : \"translate3d(-2rem, -1rem, 0) scale(0.92)\",\n                    opacity: animStep >= 5 ? 1 : 0,\n                    pointerEvents: animStep >= 5 ? \"auto\" : \"none\",\n                  }}\n                />\n              )}\n              {/* Card 05: Emerges at step 9 after Line 4 finishes drawing */}\n              {activeItems[4] && (\n                <RoadmapCard\n                  item={activeItems[4]}\n                  tilt=\"rotate-[3deg]\"\n                  interactive={interactive}\n                  isSettled={animStep >= 9}\n                  duration={duration}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 9\n                        ? undefined\n                        : \"translate3d(-2rem, -1rem, 0) scale(0.92)\",\n                    opacity: animStep >= 9 ? 1 : 0,\n                    pointerEvents: animStep >= 9 ? \"auto\" : \"none\",\n                  }}\n                />\n              )}\n            </div>\n\n            {/* Col 2 (Right): Cards 02, 04, and Footer Note */}\n            <div className=\"flex flex-col gap-16 md:gap-20 pt-28 md:pt-32\">\n              {/* Card 02: Emerges at step 3 after Line 1 finishes drawing */}\n              {activeItems[1] && (\n                <RoadmapCard\n                  item={activeItems[1]}\n                  tilt=\"rotate-[4deg]\"\n                  interactive={interactive}\n                  isSettled={animStep >= 3}\n                  duration={duration}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 3\n                        ? undefined\n                        : \"translate3d(2rem, -1rem, 0) scale(0.92)\",\n                    opacity: animStep >= 3 ? 1 : 0,\n                    pointerEvents: animStep >= 3 ? \"auto\" : \"none\",\n                  }}\n                />\n              )}\n              {/* Card 04: Emerges at step 7 after Line 3 finishes drawing */}\n              {activeItems[3] && (\n                <RoadmapCard\n                  item={activeItems[3]}\n                  tilt=\"-rotate-[3.5deg]\"\n                  interactive={interactive}\n                  isSettled={animStep >= 7}\n                  duration={duration}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 7\n                        ? undefined\n                        : \"translate3d(2rem, -1rem, 0) scale(0.92)\",\n                    opacity: animStep >= 7 ? 1 : 0,\n                    pointerEvents: animStep >= 7 ? \"auto\" : \"none\",\n                  }}\n                />\n              )}\n              {/* Footer Partner Note: Emerges at step 11 after Line 5 with arrow finishes drawing */}\n              <div\n                style={{\n                  transition: `opacity ${Math.round(\n                    duration * 0.65,\n                  )}ms ease, transform ${duration}ms cubic-bezier(0.16, 1, 0.3, 1)`,\n                  opacity: animStep >= 11 ? 1 : 0,\n                  transform:\n                    animStep >= 11\n                      ? \"translate3d(0, 0, 0)\"\n                      : \"translate3d(1.5rem, 1rem, 0)\",\n                }}\n                className=\"pt-4 flex flex-col items-center justify-center text-center select-none\"\n              >\n                <img\n                  src={\n                    footerNote?.avatar ||\n                    \"https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=96&h=96&fit=crop&crop=faces\"\n                  }\n                  alt=\"Design partner\"\n                  className=\"w-10 h-10 rounded-full object-cover shadow-sm ring-1 ring-black/10 dark:ring-white/10\"\n                />\n                <div className=\"mt-2 text-center text-xs sm:text-[13px] text-zinc-600 dark:text-zinc-400 font-medium leading-tight\">\n                  {footerNote?.text || (\n                    <>\n                      Your{\" \"}\n                      <span className=\"text-[#ea580c] font-semibold\">\n                        {footerNote?.highlightText || \"all in one\"}\n                      </span>\n                      <br />\n                      design partner.\n                    </>\n                  )}\n                </div>\n              </div>\n            </div>\n          </div>\n\n          {/* Mobile Screen: 1 Column Stack */}\n          <div className=\"sm:hidden flex flex-col gap-10 w-full max-w-xs mx-auto\">\n            {activeItems.map((item, idx) => (\n              <RoadmapCard\n                key={item.id || idx}\n                item={item}\n                tilt={idx % 2 === 0 ? \"rotate-[3deg]\" : \"-rotate-[3deg]\"}\n                interactive={interactive}\n                isSettled={animStep >= idx * 2 + 1}\n                duration={duration}\n                emergeStyle={{\n                  opacity: animStep >= idx * 2 + 1 ? 1 : 0,\n                  transform:\n                    animStep >= idx * 2 + 1\n                      ? undefined\n                      : \"translate3d(0, -1rem, 0) scale(0.95)\",\n                  pointerEvents: animStep >= idx * 2 + 1 ? \"auto\" : \"none\",\n                }}\n              />\n            ))}\n            {/* Mobile Footer Note */}\n            <div\n              style={{\n                transition: `opacity ${Math.round(duration * 0.65)}ms ease`,\n                opacity: animStep >= 11 ? 1 : 0,\n              }}\n              className=\"pt-4 flex flex-col items-center justify-center text-center\"\n            >\n              <img\n                src={\n                  footerNote?.avatar ||\n                  \"https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=96&h=96&fit=crop&crop=faces\"\n                }\n                alt=\"Design partner\"\n                className=\"w-9 h-9 rounded-full object-cover shadow-sm ring-1 ring-black/10 dark:ring-white/10\"\n              />\n              <div className=\"mt-2 text-xs text-zinc-600 dark:text-zinc-400 font-medium leading-tight\">\n                {footerNote?.text || (\n                  <>\n                    Your{\" \"}\n                    <span className=\"text-[#ea580c] font-semibold\">\n                      {footerNote?.highlightText || \"all in one\"}\n                    </span>\n                    <br />\n                    design partner.\n                  </>\n                )}\n              </div>\n            </div>\n          </div>\n        </div>\n      ) : (\n        <>\n          {breakpoint === \"lg\" && (\n            /* ========================================================================= */\n            /* LG DEVICE: 3 Columns x 2 Rows (Staggered Center)                         */\n            /* Sequence: 02 visible -> 01 emerges -> 03 emerges -> 04 -> 05 -> 06        */\n            /* ========================================================================= */\n            <div className=\"relative z-10 grid grid-cols-3 gap-8 lg:gap-10 w-full max-w-5xl mx-auto items-start\">\n              {/* Column 1: Items 01 & 04 */}\n              <div className=\"flex flex-col gap-8 lg:gap-10\">\n                {/* Card 01: Emerges 1st from beneath Card 02 to the left */}\n                {activeItems[0] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[0]}\n                    interactive={interactive}\n                    isSettled={animStep >= 1}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 1\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(calc(100% + 2rem), 3.5rem, 0) scale(0.92)\",\n                      opacity: animStep >= 1 ? 1 : 0,\n                      pointerEvents: animStep >= 1 ? \"auto\" : \"none\",\n                      zIndex: animStep >= 3 ? 25 : 15,\n                    }}\n                  />\n                )}\n                {/* Card 04: Emerges 3rd downwards from beneath Card 01 */}\n                {activeItems[3] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[3]}\n                    interactive={interactive}\n                    isSettled={animStep >= 3}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 3\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(0, calc(-100% - 2.5rem), 0) scale(0.92)\",\n                      opacity: animStep >= 3 ? 1 : 0,\n                      pointerEvents: animStep >= 3 ? \"auto\" : \"none\",\n                      zIndex: 10,\n                    }}\n                  />\n                )}\n              </div>\n\n              {/* Column 2: Items 02 & 05 (Offset downwards for organic rhythm) */}\n              <div className=\"flex flex-col gap-8 lg:gap-10 pt-14\">\n                {/* Card 02: Visible right from the start! */}\n                {activeItems[1] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[1]}\n                    interactive={interactive}\n                    isSettled={true}\n                    emergeStyle={{\n                      transform: \"translate3d(0, 0, 0) scale(1)\",\n                      opacity: 1,\n                      zIndex: 30,\n                    }}\n                  />\n                )}\n                {/* Card 05: Emerges 4th downwards from beneath Card 02 */}\n                {activeItems[4] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[4]}\n                    interactive={interactive}\n                    isSettled={animStep >= 4}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 4\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(0, calc(-100% - 2.5rem), 0) scale(0.92)\",\n                      opacity: animStep >= 4 ? 1 : 0,\n                      pointerEvents: animStep >= 4 ? \"auto\" : \"none\",\n                      zIndex: 10,\n                    }}\n                  />\n                )}\n              </div>\n\n              {/* Column 3: Items 03 & 06 */}\n              <div className=\"flex flex-col gap-8 lg:gap-10\">\n                {/* Card 03: Emerges 2nd from beneath Card 02 to the right */}\n                {activeItems[2] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[2]}\n                    interactive={interactive}\n                    isSettled={animStep >= 2}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 2\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(calc(-100% - 2rem), 3.5rem, 0) scale(0.92)\",\n                      opacity: animStep >= 2 ? 1 : 0,\n                      pointerEvents: animStep >= 2 ? \"auto\" : \"none\",\n                      zIndex: animStep >= 5 ? 25 : 15,\n                    }}\n                  />\n                )}\n                {/* Card 06: Emerges 5th downwards from beneath Card 03 */}\n                {activeItems[5] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[5]}\n                    interactive={interactive}\n                    isSettled={animStep >= 5}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 5\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(0, calc(-100% - 2.5rem), 0) scale(0.92)\",\n                      opacity: animStep >= 5 ? 1 : 0,\n                      pointerEvents: animStep >= 5 ? \"auto\" : \"none\",\n                      zIndex: 10,\n                    }}\n                  />\n                )}\n              </div>\n            </div>\n          )}\n\n          {breakpoint === \"md\" && (\n            /* ========================================================================= */\n            /* MD DEVICE: 2 Columns x 3 Rows                                             */\n            /* Row 1: [1, 2] visible                                                     */\n            /* Row 2: [3, 4] emerges from underneath [1, 2]                              */\n            /* Row 3: [5, 6] emerges from underneath [3, 4]                              */\n            /* ========================================================================= */\n            <div className=\"relative z-10 grid grid-cols-2 gap-8 w-full max-w-4xl mx-auto items-start\">\n              {/* Column 1: Items 01, 03, 05 */}\n              <div className=\"flex flex-col gap-8\">\n                {/* Card 01: Visible right from the start in Row 1 */}\n                {activeItems[0] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[0]}\n                    interactive={interactive}\n                    isSettled={true}\n                    emergeStyle={{\n                      transform: \"translate3d(0, 0, 0) scale(1)\",\n                      opacity: 1,\n                      zIndex: 30,\n                    }}\n                  />\n                )}\n                {/* Card 03: Emerges downwards from beneath Card 01 in Row 2 */}\n                {activeItems[2] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[2]}\n                    interactive={interactive}\n                    isSettled={animStep >= 1}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 1\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(0, calc(-100% - 2rem), 0) scale(0.92)\",\n                      opacity: animStep >= 1 ? 1 : 0,\n                      pointerEvents: animStep >= 1 ? \"auto\" : \"none\",\n                      zIndex: animStep >= 2 ? 20 : 15,\n                    }}\n                  />\n                )}\n                {/* Card 05: Emerges downwards from beneath Card 03 in Row 3 */}\n                {activeItems[4] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[4]}\n                    interactive={interactive}\n                    isSettled={animStep >= 2}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 2\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(0, calc(-100% - 2rem), 0) scale(0.92)\",\n                      opacity: animStep >= 2 ? 1 : 0,\n                      pointerEvents: animStep >= 2 ? \"auto\" : \"none\",\n                      zIndex: 10,\n                    }}\n                  />\n                )}\n              </div>\n\n              {/* Column 2: Items 02, 04, 06 */}\n              <div className=\"flex flex-col gap-8\">\n                {/* Card 02: Visible right from the start in Row 1 */}\n                {activeItems[1] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[1]}\n                    interactive={interactive}\n                    isSettled={true}\n                    emergeStyle={{\n                      transform: \"translate3d(0, 0, 0) scale(1)\",\n                      opacity: 1,\n                      zIndex: 30,\n                    }}\n                  />\n                )}\n                {/* Card 04: Emerges downwards from beneath Card 02 in Row 2 */}\n                {activeItems[3] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[3]}\n                    interactive={interactive}\n                    isSettled={animStep >= 1}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 1\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(0, calc(-100% - 2rem), 0) scale(0.92)\",\n                      opacity: animStep >= 1 ? 1 : 0,\n                      pointerEvents: animStep >= 1 ? \"auto\" : \"none\",\n                      zIndex: animStep >= 2 ? 20 : 15,\n                    }}\n                  />\n                )}\n                {/* Card 06: Emerges downwards from beneath Card 04 in Row 3 */}\n                {activeItems[5] && (\n                  <ToolkitCard\n                    duration={duration}\n                    item={activeItems[5]}\n                    interactive={interactive}\n                    isSettled={animStep >= 2}\n                    emergeStyle={{\n                      transform:\n                        animStep >= 2\n                          ? \"translate3d(0, 0, 0) scale(1)\"\n                          : \"translate3d(0, calc(-100% - 2rem), 0) scale(0.92)\",\n                      opacity: animStep >= 2 ? 1 : 0,\n                      pointerEvents: animStep >= 2 ? \"auto\" : \"none\",\n                      zIndex: 10,\n                    }}\n                  />\n                )}\n              </div>\n            </div>\n          )}\n\n          {breakpoint === \"sm\" && (\n            /* ========================================================================= */\n            /* SM DEVICE (Mobile): 1 Column x 6 Rows                                     */\n            /* Sequence: 1 visible -> 2 from under 1 -> 3 from under 2 -> 4 -> 5 -> 6     */\n            /* ========================================================================= */\n            <div className=\"relative z-10 flex flex-col gap-6 w-full max-w-sm mx-auto items-stretch\">\n              {/* Card 01: Visible right from the start */}\n              {activeItems[0] && (\n                <ToolkitCard\n                  duration={duration}\n                  item={activeItems[0]}\n                  interactive={interactive}\n                  isSettled={true}\n                  emergeStyle={{\n                    transform: \"translate3d(0, 0, 0) scale(1)\",\n                    opacity: 1,\n                    zIndex: 35,\n                  }}\n                />\n              )}\n              {/* Card 02: Emerges downwards from beneath Card 01 */}\n              {activeItems[1] && (\n                <ToolkitCard\n                  duration={duration}\n                  item={activeItems[1]}\n                  interactive={interactive}\n                  isSettled={animStep >= 1}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 1\n                        ? \"translate3d(0, 0, 0) scale(1)\"\n                        : \"translate3d(0, calc(-100% - 1.5rem), 0) scale(0.92)\",\n                    opacity: animStep >= 1 ? 1 : 0,\n                    pointerEvents: animStep >= 1 ? \"auto\" : \"none\",\n                    zIndex: animStep >= 2 ? 30 : 25,\n                  }}\n                />\n              )}\n              {/* Card 03: Emerges downwards from beneath Card 02 */}\n              {activeItems[2] && (\n                <ToolkitCard\n                  duration={duration}\n                  item={activeItems[2]}\n                  interactive={interactive}\n                  isSettled={animStep >= 2}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 2\n                        ? \"translate3d(0, 0, 0) scale(1)\"\n                        : \"translate3d(0, calc(-100% - 1.5rem), 0) scale(0.92)\",\n                    opacity: animStep >= 2 ? 1 : 0,\n                    pointerEvents: animStep >= 2 ? \"auto\" : \"none\",\n                    zIndex: animStep >= 3 ? 25 : 20,\n                  }}\n                />\n              )}\n              {/* Card 04: Emerges downwards from beneath Card 03 */}\n              {activeItems[3] && (\n                <ToolkitCard\n                  duration={duration}\n                  item={activeItems[3]}\n                  interactive={interactive}\n                  isSettled={animStep >= 3}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 3\n                        ? \"translate3d(0, 0, 0) scale(1)\"\n                        : \"translate3d(0, calc(-100% - 1.5rem), 0) scale(0.92)\",\n                    opacity: animStep >= 3 ? 1 : 0,\n                    pointerEvents: animStep >= 3 ? \"auto\" : \"none\",\n                    zIndex: animStep >= 4 ? 20 : 15,\n                  }}\n                />\n              )}\n              {/* Card 05: Emerges downwards from beneath Card 04 */}\n              {activeItems[4] && (\n                <ToolkitCard\n                  duration={duration}\n                  item={activeItems[4]}\n                  interactive={interactive}\n                  isSettled={animStep >= 4}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 4\n                        ? \"translate3d(0, 0, 0) scale(1)\"\n                        : \"translate3d(0, calc(-100% - 1.5rem), 0) scale(0.92)\",\n                    opacity: animStep >= 4 ? 1 : 0,\n                    pointerEvents: animStep >= 4 ? \"auto\" : \"none\",\n                    zIndex: animStep >= 5 ? 15 : 10,\n                  }}\n                />\n              )}\n              {/* Card 06: Emerges downwards from beneath Card 05 */}\n              {activeItems[5] && (\n                <ToolkitCard\n                  duration={duration}\n                  item={activeItems[5]}\n                  interactive={interactive}\n                  isSettled={animStep >= 5}\n                  emergeStyle={{\n                    transform:\n                      animStep >= 5\n                        ? \"translate3d(0, 0, 0) scale(1)\"\n                        : \"translate3d(0, calc(-100% - 1.5rem), 0) scale(0.92)\",\n                    opacity: animStep >= 5 ? 1 : 0,\n                    pointerEvents: animStep >= 5 ? \"auto\" : \"none\",\n                    zIndex: 5,\n                  }}\n                />\n              )}\n            </div>\n          )}\n        </>\n      )}\n    </div>\n  );\n}\n\nfunction ToolkitCard({\n  item,\n  interactive,\n  isSettled,\n  emergeStyle,\n  duration = 1150,\n}: {\n  item: ToolkitItem;\n  interactive?: boolean;\n  isSettled?: boolean;\n  emergeStyle?: React.CSSProperties;\n  duration?: number;\n}) {\n  const accent = ACCENT_STYLES[item.accentColor] || ACCENT_STYLES.blue;\n\n  return (\n    <div\n      role=\"button\"\n      tabIndex={0}\n      onClick={(e) => {\n        e.preventDefault();\n        e.stopPropagation();\n        item.onClick?.();\n      }}\n      onKeyDown={(e) => {\n        if (e.key === \"Enter\" || e.key === \" \") {\n          e.preventDefault();\n          item.onClick?.();\n        }\n      }}\n      style={{\n        ...emergeStyle,\n        transition: isSettled\n          ? \"transform 650ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 650ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease\"\n          : `transform ${duration}ms cubic-bezier(0.16, 1, 0.3, 1), opacity ${Math.round(\n              duration * 0.65,\n            )}ms ease-out, box-shadow 400ms ease`,\n      }}\n      className={cn(\n        \"group relative rounded-[28px] p-2.5 sm:p-3 border-2 will-change-transform text-left outline-none select-none\",\n        accent.outerBorder,\n        accent.tagGlow,\n        interactive &&\n          isSettled &&\n          \"hover:-translate-y-1.5 hover:shadow-xl hover:z-40 cursor-pointer active:scale-[0.99] focus-visible:ring-2 focus-visible:ring-primary\",\n      )}\n    >\n      {/* 3D Pushpin on the top border */}\n      <div className=\"absolute -top-3.5 left-1/2 -translate-x-1/2 z-30\">\n        <PushPin color={item.pinColor || accent.pin} />\n      </div>\n\n      {/* Inner Card White Body */}\n      <div className=\"relative z-10 w-full rounded-[20px] bg-card text-card-foreground p-5 sm:p-6 shadow-sm border border-border/40 flex flex-col justify-between min-h-[180px] sm:min-h-[200px]\">\n        {/* Top Row: Number & Logo */}\n        <div className=\"flex items-center justify-between gap-3\">\n          <span\n            className={cn(\n              \"text-2xl sm:text-3xl font-extrabold tracking-tight font-sans leading-none\",\n              accent.numColor,\n            )}\n          >\n            {item.number}\n          </span>\n\n          <div\n            className={cn(\n              \"w-10 h-10 sm:w-11 sm:h-11 rounded-xl flex items-center justify-center shrink-0 shadow-sm transition-transform duration-300 group-hover:scale-105\",\n              item.logoBg || \"bg-primary text-primary-foreground\",\n            )}\n          >\n            {item.icon}\n          </div>\n        </div>\n\n        {/* Title & Description */}\n        <div className=\"mt-4 flex-1\">\n          <h4 className=\"text-base sm:text-lg font-bold tracking-tight text-foreground flex items-center gap-1.5 font-sans\">\n            <span>{item.title}</span>\n          </h4>\n          <p className=\"text-xs sm:text-[13px] text-muted-foreground leading-relaxed mt-1.5\">\n            {item.description}\n          </p>\n        </div>\n      </div>\n    </div>\n  );\n}\n\nfunction JellyPushPin({\n  accent = \"orange\",\n  isHovered = false,\n  className,\n}: {\n  accent?: string;\n  isHovered?: boolean;\n  className?: string;\n}) {\n  const pinId = useId();\n\n  const configs: Record<\n    string,\n    {\n      glow: string;\n      domeGrad: [string, string, string];\n      rimGrad: [string, string];\n    }\n  > = {\n    orange: {\n      glow: \"rgba(249, 115, 22, 0.45)\",\n      domeGrad: [\"#ffedd5\", \"#f97316\", \"#9a3412\"],\n      rimGrad: [\"#ea580c\", \"#7c2d12\"],\n    },\n    blue: {\n      glow: \"rgba(59, 130, 246, 0.45)\",\n      domeGrad: [\"#dbeafe\", \"#3b82f6\", \"#1e40af\"],\n      rimGrad: [\"#2563eb\", \"#172554\"],\n    },\n    purple: {\n      glow: \"rgba(168, 85, 247, 0.45)\",\n      domeGrad: [\"#f3e8ff\", \"#a855f7\", \"#6b21a8\"],\n      rimGrad: [\"#9333ea\", \"#3b0764\"],\n    },\n  };\n\n  const c = configs[accent] || configs.orange;\n\n  return (\n    <div\n      className={cn(\n        \"relative flex items-center justify-center pointer-events-none select-none z-30\",\n        className,\n      )}\n    >\n      {/* Ambient soft glow on the paper */}\n      <div\n        className=\"absolute w-12 h-12 rounded-full blur-md opacity-80 pointer-events-none\"\n        style={{ backgroundColor: c.glow }}\n      />\n\n      <svg\n        width=\"34\"\n        height=\"34\"\n        viewBox=\"0 0 34 34\"\n        fill=\"none\"\n        xmlns=\"http://www.w3.org/2000/svg\"\n        className={cn(\n          \"relative z-10 drop-shadow-[0_4px_6px_rgba(0,0,0,0.3)] transition-transform duration-500\",\n          isHovered ? \"scale-110\" : \"scale-100\",\n        )}\n      >\n        <defs>\n          <radialGradient\n            id={`jelly-dome-${pinId}`}\n            cx=\"32%\"\n            cy=\"30%\"\n            r=\"68%\"\n            fx=\"32%\"\n            fy=\"30%\"\n          >\n            <stop offset=\"0%\" stopColor={c.domeGrad[0]} stopOpacity=\"0.95\" />\n            <stop offset=\"35%\" stopColor={c.domeGrad[1]} stopOpacity=\"0.9\" />\n            <stop offset=\"100%\" stopColor={c.domeGrad[2]} stopOpacity=\"0.85\" />\n          </radialGradient>\n          <radialGradient id={`jelly-rim-${pinId}`} cx=\"50%\" cy=\"50%\" r=\"50%\">\n            <stop offset=\"65%\" stopColor={c.rimGrad[0]} />\n            <stop offset=\"100%\" stopColor={c.rimGrad[1]} />\n          </radialGradient>\n        </defs>\n\n        {/* Soft shadow under base */}\n        <ellipse cx=\"17\" cy=\"18.5\" r=\"11\" fill=\"rgba(0,0,0,0.22)\" />\n\n        {/* Outer flange ring */}\n        <circle cx=\"17\" cy=\"17\" r=\"10.5\" fill={`url(#jelly-rim-${pinId})`} />\n\n        {/* Inner translucent dome */}\n        <circle cx=\"17\" cy=\"16.5\" r=\"8.5\" fill={`url(#jelly-dome-${pinId})`} />\n\n        {/* Glossy top-left specular reflection */}\n        <ellipse\n          cx=\"14.5\"\n          cy=\"13.5\"\n          rx=\"3\"\n          ry=\"1.8\"\n          transform=\"rotate(-25 14.5 13.5)\"\n          fill=\"#ffffff\"\n          fillOpacity=\"0.9\"\n        />\n\n        {/* Subtle rim highlight */}\n        <ellipse\n          cx=\"20\"\n          cy=\"19\"\n          rx=\"1.5\"\n          ry=\"0.8\"\n          transform=\"rotate(-20 20 19)\"\n          fill=\"#ffffff\"\n          fillOpacity=\"0.4\"\n        />\n      </svg>\n    </div>\n  );\n}\n\nfunction HandwrittenNumber({\n  num,\n  color,\n  className,\n}: {\n  num: string;\n  color: string;\n  className?: string;\n}) {\n  if (num === \"01\") {\n    return (\n      <svg\n        viewBox=\"0 0 65 38\"\n        className={cn(\"w-14 h-8 select-none\", className)}\n        fill=\"none\"\n        stroke={color}\n        strokeWidth=\"3.2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        {/* 0 */}\n        <path d=\"M 20 6 C 11 7, 5 16, 6 25 C 7 33, 14 36, 20 34 C 26 32, 28 23, 27 15 C 26 9, 23 6, 19 6\" />\n        {/* 1 */}\n        <path d=\"M 37 17 C 40 15, 45 12, 48 9 L 48 35\" />\n      </svg>\n    );\n  }\n  if (num === \"02\") {\n    return (\n      <svg\n        viewBox=\"0 0 65 38\"\n        className={cn(\"w-14 h-8 select-none\", className)}\n        fill=\"none\"\n        stroke={color}\n        strokeWidth=\"3.2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        {/* 0 */}\n        <path d=\"M 20 6 C 11 7, 5 16, 6 25 C 7 33, 14 36, 20 34 C 26 32, 28 23, 27 15 C 26 9, 23 6, 19 6\" />\n        {/* 2 */}\n        <path d=\"M 36 15 C 37 10, 42 7, 47 9 C 52 11, 52 17, 47 22 L 37 34 L 54 34\" />\n      </svg>\n    );\n  }\n  if (num === \"03\") {\n    return (\n      <svg\n        viewBox=\"0 0 65 38\"\n        className={cn(\"w-14 h-8 select-none\", className)}\n        fill=\"none\"\n        stroke={color}\n        strokeWidth=\"3.2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        {/* 0 */}\n        <path d=\"M 20 6 C 11 7, 5 16, 6 25 C 7 33, 14 36, 20 34 C 26 32, 28 23, 27 15 C 26 9, 23 6, 19 6\" />\n        {/* 3 */}\n        <path d=\"M 37 12 C 40 8, 48 7, 50 12 C 52 17, 46 20, 42 20 C 47 21, 52 24, 51 29 C 50 34, 43 36, 38 34\" />\n      </svg>\n    );\n  }\n  if (num === \"04\") {\n    return (\n      <svg\n        viewBox=\"0 0 65 38\"\n        className={cn(\"w-14 h-8 select-none\", className)}\n        fill=\"none\"\n        stroke={color}\n        strokeWidth=\"3.2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        {/* 0 */}\n        <path d=\"M 20 6 C 11 7, 5 16, 6 25 C 7 33, 14 36, 20 34 C 26 32, 28 23, 27 15 C 26 9, 23 6, 19 6\" />\n        {/* 4 */}\n        <path d=\"M 47 8 L 36 24 L 54 24 M 47 8 L 47 35\" />\n      </svg>\n    );\n  }\n  if (num === \"05\") {\n    return (\n      <svg\n        viewBox=\"0 0 65 38\"\n        className={cn(\"w-14 h-8 select-none\", className)}\n        fill=\"none\"\n        stroke={color}\n        strokeWidth=\"3.2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        {/* 0 */}\n        <path d=\"M 20 6 C 11 7, 5 16, 6 25 C 7 33, 14 36, 20 34 C 26 32, 28 23, 27 15 C 26 9, 23 6, 19 6\" />\n        {/* 5 */}\n        <path d=\"M 50 9 L 39 9 L 38 21 C 41 18, 48 18, 51 22 C 54 26, 51 33, 46 35 C 41 36, 36 33, 36 29\" />\n      </svg>\n    );\n  }\n  return <span className={cn(\"text-2xl font-bold italic\", color)}>{num}</span>;\n}\n\nfunction RoadmapCard({\n  item,\n  tilt,\n  interactive = true,\n  isSettled,\n  emergeStyle,\n  duration = 1150,\n}: {\n  item: ToolkitItem;\n  tilt?: string;\n  interactive?: boolean;\n  isSettled?: boolean;\n  emergeStyle?: React.CSSProperties;\n  duration?: number;\n}) {\n  const [isHovered, setIsHovered] = useState(false);\n\n  const padConfigs: Record<\n    string,\n    {\n      padBg: string;\n      color: string;\n      pinAccent: \"orange\" | \"blue\" | \"purple\";\n    }\n  > = {\n    orange: {\n      padBg: \"bg-[#fef3ee] dark:bg-[#251712]\",\n      color: \"#ff6a3d\",\n      pinAccent: \"orange\",\n    },\n    blue: {\n      padBg: \"bg-[#eef2ff] dark:bg-[#121c2d]\",\n      color: \"#3b82f6\",\n      pinAccent: \"blue\",\n    },\n    purple: {\n      padBg: \"bg-[#f5eefc] dark:bg-[#211530]\",\n      color: \"#9333ea\",\n      pinAccent: \"purple\",\n    },\n  };\n\n  const config = padConfigs[item.accentColor] || padConfigs.orange;\n\n  // Resting angle based on tilt class\n  const restingTransform =\n    tilt === \"-rotate-[3.5deg]\"\n      ? \"rotate(-3.5deg)\"\n      : tilt === \"rotate-[3deg]\"\n        ? \"rotate(3deg)\"\n        : \"rotate(4deg)\";\n\n  return (\n    <div\n      role=\"button\"\n      tabIndex={0}\n      onMouseEnter={() => {\n        if (interactive && isSettled) setIsHovered(true);\n      }}\n      onMouseLeave={() => {\n        setIsHovered(false);\n      }}\n      onClick={(e) => {\n        e.preventDefault();\n        e.stopPropagation();\n        item.onClick?.();\n      }}\n      onKeyDown={(e) => {\n        if (e.key === \"Enter\" || e.key === \" \") {\n          e.preventDefault();\n          item.onClick?.();\n        }\n      }}\n      style={{\n        ...emergeStyle,\n        transform: isSettled\n          ? isHovered\n            ? \"rotate(0deg) translate3d(0, -10px, 0)\"\n            : restingTransform\n          : emergeStyle?.transform,\n        boxShadow: isHovered\n          ? \"0 30px 65px -12px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.06)\"\n          : \"0 22px 45px -12px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04)\",\n        transition: isSettled\n          ? \"transform 700ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 700ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms ease\"\n          : `transform ${duration}ms cubic-bezier(0.16, 1, 0.3, 1), opacity ${Math.round(\n              duration * 0.65,\n            )}ms ease-out`,\n        zIndex: isHovered ? 40 : 10,\n      }}\n      className={cn(\n        \"group relative rounded-[28px] bg-white dark:bg-zinc-900 p-2.5 pb-3 sm:p-3 sm:pb-3.5\",\n        \"border border-black/[0.04] dark:border-white/[0.08] will-change-transform text-left outline-none select-none w-full max-w-[310px] mx-auto\",\n        interactive &&\n          isSettled &&\n          \"cursor-pointer focus-visible:ring-2 focus-visible:ring-primary\",\n      )}\n    >\n      {/* 3D Jelly Pushpin pinned at top center */}\n      <div className=\"absolute -top-4 left-1/2 -translate-x-1/2 z-30\">\n        <JellyPushPin accent={config.pinAccent} isHovered={isHovered} />\n      </div>\n\n      {/* Inner Pastel Box */}\n      <div\n        className={cn(\n          \"rounded-[20px] p-5 pt-4 flex flex-col justify-start min-h-[195px] sm:min-h-[210px]\",\n          config.padBg,\n        )}\n      >\n        {/* Handwritten Number */}\n        <div className=\"mb-1.5 flex items-center justify-between\">\n          <HandwrittenNumber num={item.number} color={config.color} />\n          {item.icon && (\n            <div className=\"w-8 h-8 rounded-lg flex items-center justify-center shrink-0\">\n              {item.icon}\n            </div>\n          )}\n        </div>\n\n        {/* Title */}\n        <h4 className=\"text-[17px] sm:text-[18px] font-bold text-zinc-900 dark:text-zinc-100 tracking-tight leading-snug\">\n          {item.title}\n        </h4>\n\n        {/* Description */}\n        <p className=\"text-[11.5px] sm:text-[12px] text-zinc-600 dark:text-zinc-400 leading-[1.55] mt-2\">\n          {item.description}\n        </p>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/custom/blocks/DesignsToolkitBlock.tsx"
    }
  ],
  "docs": "Named exports: DesignsToolkitBlock (default), ToolkitItem.",
  "categories": [
    "marketing",
    "data-display"
  ],
  "type": "registry:component"
}
