{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"hero-section","type":"registry:block","title":"Hero Section","description":"A product hero with a staggered title, two actions and a browser-framed dashboard that tilts flat on scroll, while a revenue line draws itself inside.","dependencies":["motion","lucide-react"],"registryDependencies":["utils"],"files":[{"path":"registry/prequel/hero-section/hero-section.tsx","type":"registry:component","content":"\"use client\";\n\nimport { useId, useRef } from \"react\";\nimport {\n  MotionConfig,\n  motion,\n  useInView,\n  useReducedMotion,\n  useScroll,\n  useTransform,\n} from \"motion/react\";\nimport { ArrowRight, ArrowUpRight, Lock } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\n\nconst EASE: [number, number, number, number] = [0.22, 1, 0.36, 1];\n\n/* ------------------------------------------------------------------ */\n/* types + demo defaults                                              */\n/* ------------------------------------------------------------------ */\n\nexport type HeroSectionAction = {\n  label: string;\n  href: string;\n};\n\nexport type HeroSectionAnnouncement = {\n  label: string;\n  href: string;\n};\n\nexport type HeroSectionProps = {\n  className?: string;\n  announcement?: HeroSectionAnnouncement;\n  title?: string;\n  description?: string;\n  primaryAction?: HeroSectionAction;\n  secondaryAction?: HeroSectionAction;\n  /** Address shown in the product frame. */\n  dashboardUrl?: string;\n};\n\nconst DEFAULT_ANNOUNCEMENT: HeroSectionAnnouncement = {\n  label: \"v1.4 · 57 free blocks, MIT licensed\",\n  href: \"https://prequelui.terravidhal.me/blocks\",\n};\n\nconst DEFAULT_TITLE = \"Ship a dashboard your users actually open.\";\nconst DEFAULT_DESCRIPTION =\n  \"Animated dashboard blocks for shadcn/ui. Typed, themeable, and built to be owned — copy one in, keep the code, and make it yours.\";\n\nconst DEFAULT_PRIMARY: HeroSectionAction = {\n  label: \"Browse free blocks\",\n  href: \"https://prequelui.terravidhal.me/blocks\",\n};\n\nconst DEFAULT_SECONDARY: HeroSectionAction = {\n  label: \"Star on GitHub\",\n  href: \"https://github.com/prequelui/prequelui\",\n};\n\nconst DEFAULT_DASHBOARD_URL = \"app.northwindlabs.com/overview\";\n\n/* ------------------------------------------------------------------ */\n/* mini dashboard geometry (static, deterministic)                    */\n/* ------------------------------------------------------------------ */\n\ntype Point = { x: number; y: number };\n\nconst CHART_VALUES = [\n  0.28, 0.34, 0.31, 0.4, 0.38, 0.46, 0.52, 0.49, 0.58, 0.62, 0.71, 0.68,\n  0.78, 0.84,\n];\n\nconst CHART_X0 = 182;\nconst CHART_X1 = 646;\nconst CHART_TOP = 288;\nconst CHART_BASE = 434;\n\nfunction smoothPath(points: Point[]) {\n  return points\n    .map((point, index) => {\n      if (index === 0) return `M${point.x},${point.y}`;\n      const previous = points[index - 1];\n      const cx = (previous.x + point.x) / 2;\n      return `C${cx},${previous.y} ${cx},${point.y} ${point.x},${point.y}`;\n    })\n    .join(\" \");\n}\n\nconst CHART_POINTS: Point[] = CHART_VALUES.map((value, index) => ({\n  x: CHART_X0 + ((CHART_X1 - CHART_X0) * index) / (CHART_VALUES.length - 1),\n  y: CHART_BASE - (CHART_BASE - CHART_TOP) * value,\n}));\n\nconst CHART_LINE = smoothPath(CHART_POINTS);\nconst CHART_LAST = CHART_POINTS[CHART_POINTS.length - 1];\nconst CHART_AREA = `${CHART_LINE} L${CHART_X1},${CHART_BASE} L${CHART_X0},${CHART_BASE} Z`;\n\nconst NAV_ITEMS = [\n  { label: \"Revenue\", y: 94 },\n  { label: \"Customers\", y: 128 },\n  { label: \"Reports\", y: 162 },\n] as const;\n\nconst KPI_CARDS = [\n  {\n    x: 164,\n    label: \"Net revenue\",\n    value: \"$84,260\",\n    delta: \"+12.4%\",\n    note: \"vs Oct\",\n  },\n  {\n    x: 420,\n    label: \"Active accounts\",\n    value: \"2,847\",\n    delta: \"+8.2%\",\n    note: \"vs Oct\",\n  },\n  {\n    x: 676,\n    label: \"Uptime\",\n    value: \"99.97%\",\n    delta: \"+0.02%\",\n    note: \"last 90 days\",\n  },\n] as const;\n\nconst ACTIVITY = [\n  {\n    initials: \"HC\",\n    name: \"Halo Cloud\",\n    note: \"Annual plan\",\n    amount: \"$4,800\",\n    cy: 286,\n  },\n  {\n    initials: \"BS\",\n    name: \"Bluebird Studio\",\n    note: \"Seat upgrade\",\n    amount: \"$1,260\",\n    cy: 334,\n  },\n  {\n    initials: \"SS\",\n    name: \"Sable Systems\",\n    note: \"Invoice paid\",\n    amount: \"$3,400\",\n    cy: 382,\n  },\n] as const;\n\n/* ------------------------------------------------------------------ */\n/* border light: one quiet pass, then gone                            */\n/* ------------------------------------------------------------------ */\n\nfunction FrameLight({ show, reduce }: { show: boolean; reduce: boolean }) {\n  const play = show && !reduce;\n\n  return (\n    <span\n      aria-hidden=\"true\"\n      className=\"pointer-events-none absolute inset-0 z-20 overflow-hidden rounded-xl p-px\"\n      style={{\n        WebkitMask:\n          \"linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)\",\n        WebkitMaskComposite: \"xor\",\n        mask: \"linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)\",\n        maskComposite: \"exclude\",\n      }}\n    >\n      <motion.span\n        className=\"absolute -inset-[120%] block\"\n        style={{\n          background:\n            \"conic-gradient(from 0deg, transparent 0deg, transparent 300deg, var(--foreground) 336deg, transparent 360deg)\",\n        }}\n        initial={{ rotate: 0, opacity: 0 }}\n        animate={\n          play\n            ? { rotate: [0, 0, 360, 360], opacity: [0, 0.85, 0.85, 0] }\n            : { rotate: 0, opacity: 0 }\n        }\n        transition={\n          play\n            ? { duration: 3.2, times: [0, 0.12, 0.82, 1], ease: \"linear\" }\n            : { duration: 0 }\n        }\n      />\n    </span>\n  );\n}\n\n/* ------------------------------------------------------------------ */\n/* the dashboard inside the browser frame                             */\n/* ------------------------------------------------------------------ */\n\nfunction MiniDashboard({\n  uid,\n  show,\n  reduce,\n}: {\n  uid: string;\n  show: boolean;\n  reduce: boolean;\n}) {\n  const gradientId = `hero-area-${uid}`;\n\n  return (\n    <svg\n      viewBox=\"0 0 960 520\"\n      role=\"img\"\n      aria-label=\"Product preview: Northwind Labs revenue dashboard with net revenue of $84,260, up 12.4 percent, 2,847 active accounts, 99.97 percent uptime, and a rising recurring revenue chart.\"\n      className=\"block h-auto w-full\"\n    >\n      <defs>\n        <linearGradient id={gradientId} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n          <stop\n            offset=\"0%\"\n            stopColor=\"var(--chart-1)\"\n            stopOpacity={0.16}\n          />\n          <stop offset=\"100%\" stopColor=\"var(--chart-1)\" stopOpacity={0} />\n        </linearGradient>\n      </defs>\n\n      {/* sidebar */}\n      <line x1={132} y1={0} x2={132} y2={520} stroke=\"var(--border)\" />\n\n      <g>\n        <circle\n          cx={26}\n          cy={32}\n          r={7}\n          fill=\"none\"\n          stroke=\"var(--foreground)\"\n          strokeWidth={1.4}\n        />\n        <circle cx={28.6} cy={29.4} r={1.5} fill=\"var(--foreground)\" />\n        <text\n          x={42}\n          y={36}\n          fill=\"var(--foreground)\"\n          fontSize={11.5}\n          fontWeight={600}\n          letterSpacing=\"-0.2\"\n        >\n          Northwind\n        </text>\n      </g>\n\n      <rect\n        x={12}\n        y={60}\n        width={108}\n        height={26}\n        rx={6}\n        fill=\"var(--muted)\"\n      />\n      <rect\n        x={22}\n        y={69}\n        width={8}\n        height={8}\n        rx={2}\n        fill=\"var(--foreground)\"\n      />\n      <text\n        x={38}\n        y={77}\n        fill=\"var(--foreground)\"\n        fontSize={10.5}\n        fontWeight={500}\n      >\n        Overview\n      </text>\n\n      {NAV_ITEMS.map((item) => (\n        <g key={item.label}>\n          <rect\n            x={22}\n            y={item.y + 9}\n            width={8}\n            height={8}\n            rx={2}\n            fill=\"none\"\n            stroke=\"var(--muted-foreground)\"\n            strokeWidth={1}\n            opacity={0.8}\n          />\n          <text\n            x={38}\n            y={item.y + 17}\n            fill=\"var(--muted-foreground)\"\n            fontSize={10.5}\n          >\n            {item.label}\n          </text>\n        </g>\n      ))}\n\n      <line x1={20} y1={206} x2={112} y2={206} stroke=\"var(--border)\" />\n      <rect\n        x={22}\n        y={231}\n        width={8}\n        height={8}\n        rx={2}\n        fill=\"none\"\n        stroke=\"var(--muted-foreground)\"\n        strokeWidth={1}\n        opacity={0.8}\n      />\n      <text\n        x={38}\n        y={239}\n        fill=\"var(--muted-foreground)\"\n        fontSize={10.5}\n      >\n        Settings\n      </text>\n\n      {/* page header */}\n      <text\n        x={164}\n        y={47}\n        fill=\"var(--foreground)\"\n        fontSize={21}\n        fontWeight={600}\n        letterSpacing=\"-0.4\"\n      >\n        Overview\n      </text>\n      <text x={164} y={67} fill=\"var(--muted-foreground)\" fontSize={10.5}>\n        Nov 1 – Nov 30, 2026\n      </text>\n\n      <rect\n        x={666}\n        y={30}\n        width={58}\n        height={24}\n        rx={12}\n        fill=\"var(--muted)\"\n      />\n      <circle cx={680} cy={42} r={2.5} fill=\"var(--success)\" />\n      <text\n        x={688}\n        y={45.5}\n        fill=\"var(--foreground)\"\n        fontSize={9.5}\n        fontWeight={500}\n      >\n        Live\n      </text>\n\n      <rect\n        x={740}\n        y={30}\n        width={176}\n        height={24}\n        rx={7}\n        fill=\"var(--muted)\"\n      />\n      <rect\n        x={799}\n        y={32}\n        width={58}\n        height={20}\n        rx={5}\n        fill=\"var(--card)\"\n        stroke=\"var(--border)\"\n      />\n      <text\n        x={770}\n        y={45.5}\n        textAnchor=\"middle\"\n        fill=\"var(--muted-foreground)\"\n        fontSize={9.5}\n      >\n        7D\n      </text>\n      <text\n        x={828}\n        y={45.5}\n        textAnchor=\"middle\"\n        fill=\"var(--foreground)\"\n        fontSize={9.5}\n        fontWeight={500}\n      >\n        30D\n      </text>\n      <text\n        x={883}\n        y={45.5}\n        textAnchor=\"middle\"\n        fill=\"var(--muted-foreground)\"\n        fontSize={9.5}\n      >\n        12M\n      </text>\n\n      {/* KPI cards */}\n      {KPI_CARDS.map((card) => (\n        <g key={card.label}>\n          <rect\n            x={card.x}\n            y={92}\n            width={240}\n            height={100}\n            rx={10}\n            fill=\"var(--card)\"\n            stroke=\"var(--border)\"\n          />\n          <text\n            x={card.x + 16}\n            y={116}\n            fill=\"var(--muted-foreground)\"\n            fontSize={10.5}\n            fontWeight={500}\n          >\n            {card.label}\n          </text>\n          <text\n            x={card.x + 16}\n            y={146}\n            fill=\"var(--foreground)\"\n            fontSize={22}\n            fontWeight={600}\n            letterSpacing=\"-0.6\"\n            className=\"tabular-nums\"\n          >\n            {card.value}\n          </text>\n          <text\n            x={card.x + 16}\n            y={167}\n            fill=\"var(--success)\"\n            fontSize={10.5}\n            fontWeight={500}\n            className=\"tabular-nums\"\n          >\n            {card.delta}\n          </text>\n          <text\n            x={card.x + 60}\n            y={167}\n            fill=\"var(--muted-foreground)\"\n            fontSize={10.5}\n          >\n            {card.note}\n          </text>\n        </g>\n      ))}\n\n      {/* revenue chart */}\n      <rect\n        x={164}\n        y={210}\n        width={500}\n        height={276}\n        rx={10}\n        fill=\"var(--card)\"\n        stroke=\"var(--border)\"\n      />\n      <text\n        x={182}\n        y={238}\n        fill=\"var(--foreground)\"\n        fontSize={12}\n        fontWeight={600}\n      >\n        Recurring revenue\n      </text>\n      <text x={182} y={255} fill=\"var(--muted-foreground)\" fontSize={9.5}>\n        Monthly · USD\n      </text>\n      <text\n        x={646}\n        y={242}\n        textAnchor=\"end\"\n        fill=\"var(--foreground)\"\n        fontSize={17}\n        fontWeight={600}\n        letterSpacing=\"-0.4\"\n        className=\"tabular-nums\"\n      >\n        $84,260\n      </text>\n      <text\n        x={646}\n        y={258}\n        textAnchor=\"end\"\n        fill=\"var(--success)\"\n        fontSize={9.5}\n        fontWeight={500}\n        className=\"tabular-nums\"\n      >\n        +12.4%\n      </text>\n\n      {[288, 330, 372, 414].map((gridY) => (\n        <line\n          key={gridY}\n          x1={182}\n          y1={gridY}\n          x2={646}\n          y2={gridY}\n          stroke=\"var(--border)\"\n          strokeWidth={0.8}\n          strokeDasharray=\"3 4\"\n        />\n      ))}\n      <line\n        x1={182}\n        y1={434}\n        x2={646}\n        y2={434}\n        stroke=\"var(--border)\"\n        strokeWidth={1}\n      />\n\n      <motion.path\n        d={CHART_AREA}\n        fill={`url(#${gradientId})`}\n        initial={{ opacity: reduce ? 1 : 0 }}\n        animate={{ opacity: show ? 1 : 0 }}\n        transition={{\n          duration: reduce ? 0 : 0.7,\n          delay: reduce ? 0 : 0.45,\n          ease: EASE,\n        }}\n      />\n      <motion.path\n        d={CHART_LINE}\n        fill=\"none\"\n        stroke=\"var(--chart-1)\"\n        strokeWidth={2}\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n        initial={{ pathLength: reduce ? 1 : 0 }}\n        animate={{ pathLength: show ? 1 : 0 }}\n        transition={{\n          duration: reduce ? 0 : 1.1,\n          delay: reduce ? 0 : 0.25,\n          ease: EASE,\n        }}\n      />\n      <motion.g\n        initial={{ opacity: reduce ? 1 : 0 }}\n        animate={{ opacity: show ? 1 : 0 }}\n        transition={{\n          duration: reduce ? 0 : 0.4,\n          delay: reduce ? 0 : 1.05,\n          ease: EASE,\n        }}\n      >\n        <circle\n          cx={CHART_LAST.x}\n          cy={CHART_LAST.y}\n          r={4}\n          fill=\"var(--card)\"\n          stroke=\"var(--chart-1)\"\n          strokeWidth={2}\n        />\n        <circle\n          cx={CHART_LAST.x}\n          cy={CHART_LAST.y}\n          r={1.6}\n          fill=\"var(--chart-1)\"\n        />\n      </motion.g>\n\n      <text x={182} y={458} fill=\"var(--muted-foreground)\" fontSize={9}>\n        Oct 1\n      </text>\n      <text\n        x={337}\n        y={458}\n        textAnchor=\"middle\"\n        fill=\"var(--muted-foreground)\"\n        fontSize={9}\n      >\n        Oct 15\n      </text>\n      <text\n        x={491}\n        y={458}\n        textAnchor=\"middle\"\n        fill=\"var(--muted-foreground)\"\n        fontSize={9}\n      >\n        Nov 1\n      </text>\n      <text\n        x={646}\n        y={458}\n        textAnchor=\"end\"\n        fill=\"var(--muted-foreground)\"\n        fontSize={9}\n      >\n        Nov 30\n      </text>\n\n      {/* activity list */}\n      <rect\n        x={680}\n        y={210}\n        width={236}\n        height={276}\n        rx={10}\n        fill=\"var(--card)\"\n        stroke=\"var(--border)\"\n      />\n      <text\n        x={698}\n        y={238}\n        fill=\"var(--foreground)\"\n        fontSize={12}\n        fontWeight={600}\n      >\n        Recent activity\n      </text>\n      <text x={698} y={255} fill=\"var(--muted-foreground)\" fontSize={9.5}>\n        Last 7 days\n      </text>\n\n      {ACTIVITY.map((item, index) => (\n        <g key={item.name}>\n          {index > 0 ? (\n            <line\n              x1={698}\n              y1={item.cy - 24}\n              x2={898}\n              y2={item.cy - 24}\n              stroke=\"var(--border)\"\n            />\n          ) : null}\n          <circle\n            cx={710}\n            cy={item.cy}\n            r={11}\n            fill=\"var(--muted)\"\n            stroke=\"var(--border)\"\n          />\n          <text\n            x={710}\n            y={item.cy + 3.5}\n            textAnchor=\"middle\"\n            fill=\"var(--muted-foreground)\"\n            fontSize={8}\n            fontWeight={600}\n          >\n            {item.initials}\n          </text>\n          <text\n            x={730}\n            y={item.cy - 2}\n            fill=\"var(--foreground)\"\n            fontSize={10.5}\n            fontWeight={500}\n          >\n            {item.name}\n          </text>\n          <text\n            x={730}\n            y={item.cy + 11}\n            fill=\"var(--muted-foreground)\"\n            fontSize={9}\n          >\n            {item.note}\n          </text>\n          <text\n            x={898}\n            y={item.cy - 2}\n            textAnchor=\"end\"\n            fill=\"var(--foreground)\"\n            fontSize={10.5}\n            fontWeight={500}\n            className=\"tabular-nums\"\n          >\n            {item.amount}\n          </text>\n          <text\n            x={898}\n            y={item.cy + 11}\n            textAnchor=\"end\"\n            fill=\"var(--muted-foreground)\"\n            fontSize={9}\n          >\n            Paid\n          </text>\n        </g>\n      ))}\n\n      <line x1={698} y1={410} x2={898} y2={410} stroke=\"var(--border)\" />\n      <text x={698} y={436} fill=\"var(--muted-foreground)\" fontSize={9.5}>\n        View all activity\n      </text>\n      <path\n        d=\"M890 432 l4 4 -4 4\"\n        fill=\"none\"\n        stroke=\"var(--muted-foreground)\"\n        strokeWidth={1}\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      />\n    </svg>\n  );\n}\n\n/* ------------------------------------------------------------------ */\n/* block                                                              */\n/* ------------------------------------------------------------------ */\n\nexport function HeroSection({\n  className,\n  announcement = DEFAULT_ANNOUNCEMENT,\n  title = DEFAULT_TITLE,\n  description = DEFAULT_DESCRIPTION,\n  primaryAction = DEFAULT_PRIMARY,\n  secondaryAction = DEFAULT_SECONDARY,\n  dashboardUrl = DEFAULT_DASHBOARD_URL,\n}: HeroSectionProps) {\n  const sectionRef = useRef<HTMLElement>(null);\n  const frameRef = useRef<HTMLDivElement>(null);\n  const titleId = useId();\n  const uid = useId().replace(/:/g, \"\");\n\n  const inView = useInView(sectionRef, { once: true, margin: \"-10% 0px\" });\n  const frameInView = useInView(frameRef, { once: true, margin: \"-10% 0px\" });\n  const reduce = Boolean(useReducedMotion());\n  const revealed = inView || reduce;\n  const frameShow = frameInView || reduce;\n\n  const { scrollYProgress } = useScroll({\n    target: frameRef,\n    offset: [\"start 90%\", \"start 30%\"],\n  });\n  const rotateX = useTransform(scrollYProgress, [0, 1], [12, 0]);\n  const scale = useTransform(scrollYProgress, [0, 1], [0.95, 1]);\n  const y = useTransform(scrollYProgress, [0, 1], [20, 0]);\n\n  return (\n    <MotionConfig reducedMotion=\"user\">\n      <section\n        ref={sectionRef}\n        aria-labelledby={titleId}\n        className={cn(\"w-full text-foreground\", className)}\n      >\n        <div className=\"mx-auto w-full max-w-6xl px-5 py-10 sm:px-6 sm:py-14 lg:px-8 lg:py-16\">\n          <motion.a\n            href={announcement.href}\n            initial={reduce ? false : { opacity: 0, y: 12 }}\n            animate={\n              revealed\n                ? { opacity: 1, y: 0 }\n                : { opacity: 0, y: reduce ? 0 : 12 }\n            }\n            transition={{ duration: reduce ? 0 : 0.5, ease: EASE }}\n            className=\"group inline-flex max-w-full items-center gap-2 border-b border-transparent pb-0.5 text-[12.5px] text-muted-foreground transition-colors hover:border-border hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background\"\n          >\n            <span\n              aria-hidden=\"true\"\n              className=\"h-1.5 w-1.5 shrink-0 rounded-full bg-foreground/70\"\n            />\n            <span className=\"min-w-0 truncate\">{announcement.label}</span>\n            <ArrowRight\n              aria-hidden=\"true\"\n              className=\"h-3.5 w-3.5 shrink-0 transition-transform duration-300 motion-safe:group-hover:translate-x-0.5\"\n            />\n          </motion.a>\n\n          <motion.h1\n            id={titleId}\n            initial={reduce ? false : { opacity: 0, y: 14 }}\n            animate={\n              revealed\n                ? { opacity: 1, y: 0 }\n                : { opacity: 0, y: reduce ? 0 : 14 }\n            }\n            transition={{\n              duration: reduce ? 0 : 0.55,\n              ease: EASE,\n              delay: reduce ? 0 : 0.06,\n            }}\n            className=\"mt-6 max-w-3xl text-balance text-4xl font-semibold leading-[1.05] tracking-[-0.045em] sm:text-5xl lg:text-6xl\"\n          >\n            {title}\n          </motion.h1>\n\n          <motion.p\n            initial={reduce ? false : { opacity: 0, y: 14 }}\n            animate={\n              revealed\n                ? { opacity: 1, y: 0 }\n                : { opacity: 0, y: reduce ? 0 : 14 }\n            }\n            transition={{\n              duration: reduce ? 0 : 0.55,\n              ease: EASE,\n              delay: reduce ? 0 : 0.12,\n            }}\n            className=\"mt-5 max-w-xl text-pretty text-[15px] leading-7 text-muted-foreground sm:text-[17px]\"\n          >\n            {description}\n          </motion.p>\n\n          <motion.div\n            initial={reduce ? false : { opacity: 0, y: 14 }}\n            animate={\n              revealed\n                ? { opacity: 1, y: 0 }\n                : { opacity: 0, y: reduce ? 0 : 14 }\n            }\n            transition={{\n              duration: reduce ? 0 : 0.55,\n              ease: EASE,\n              delay: reduce ? 0 : 0.18,\n            }}\n            className=\"mt-7 flex flex-wrap items-center gap-3\"\n          >\n            <a\n              href={primaryAction.href}\n              className=\"group inline-flex min-h-11 max-w-full items-center justify-center gap-2 rounded-full bg-foreground px-5 text-center text-[13.5px] font-medium text-background transition-colors hover:bg-foreground/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background\"\n            >\n              {primaryAction.label}\n              <ArrowUpRight\n                aria-hidden=\"true\"\n                className=\"h-4 w-4 shrink-0 transition-transform duration-300 motion-safe:group-hover:-translate-y-0.5 motion-safe:group-hover:translate-x-0.5\"\n              />\n            </a>\n            <a\n              href={secondaryAction.href}\n              className=\"inline-flex min-h-11 max-w-full items-center justify-center rounded-full border border-border bg-background px-5 text-center text-[13.5px] font-medium text-foreground transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background\"\n            >\n              {secondaryAction.label}\n            </a>\n          </motion.div>\n\n          <div\n            ref={frameRef}\n            className=\"mt-12 sm:mt-16 lg:mt-20\"\n            style={{ perspective: \"1600px\" }}\n          >\n            <motion.div\n              style={\n                reduce\n                  ? { transformOrigin: \"50% 100%\" }\n                  : { rotateX, scale, y, transformOrigin: \"50% 100%\" }\n              }\n              className=\"relative\"\n            >\n              <FrameLight show={frameShow} reduce={reduce} />\n\n              <div className=\"overflow-hidden rounded-xl border border-border bg-background shadow-xl\">\n                <div\n                  aria-hidden=\"true\"\n                  className=\"flex items-center gap-3 border-b border-border bg-muted/40 px-3 py-2.5 sm:px-4\"\n                >\n                  <div className=\"flex shrink-0 items-center gap-1.5\">\n                    <span className=\"h-2 w-2 rounded-full border border-border bg-muted-foreground/25\" />\n                    <span className=\"h-2 w-2 rounded-full border border-border bg-muted-foreground/25\" />\n                    <span className=\"h-2 w-2 rounded-full border border-border bg-muted-foreground/25\" />\n                  </div>\n                  <div className=\"mx-auto flex min-w-0 max-w-[260px] flex-1 items-center justify-center gap-1.5 rounded-md border border-border bg-background px-2.5 py-1 text-[11px] text-muted-foreground\">\n                    <Lock className=\"h-3 w-3 shrink-0\" aria-hidden=\"true\" />\n                    <span className=\"truncate\">{dashboardUrl}</span>\n                  </div>\n                  <div className=\"w-8 shrink-0 sm:w-14\" />\n                </div>\n\n                <MiniDashboard uid={uid} show={frameShow} reduce={reduce} />\n              </div>\n            </motion.div>\n          </div>\n        </div>\n      </section>\n    </MotionConfig>\n  );\n}\n\nexport default HeroSection;\n"}]}