{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "saas-landing",
  "title": "SaaS Landing",
  "author": "VenusUI",
  "description": "A complete marketing site for a product analytics startup, with real photos, a product dashboard, feature mockups, a customer story, pricing, FAQ and footer.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "input"
  ],
  "files": [
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing.tsx",
      "content": "import { SaasLandingCta } from \"./saas-landing-cta\"\nimport { SaasLandingCustomers } from \"./saas-landing-customers\"\nimport { SaasLandingFaq } from \"./saas-landing-faq\"\nimport { SaasLandingFeatures } from \"./saas-landing-features\"\nimport { SaasLandingFooter } from \"./saas-landing-footer\"\nimport { SaasLandingHero } from \"./saas-landing-hero\"\nimport { SaasLandingLogos } from \"./saas-landing-logos\"\nimport { SaasLandingNavbar } from \"./saas-landing-navbar\"\nimport { SaasLandingPricing } from \"./saas-landing-pricing\"\n\n/**\n * SaaS Landing: the full marketing site for Pulsewise, a made-up product\n * analytics company. Every section is its own file, so reorder or remove\n * them here and edit the copy in each file. Render it from `app/page.tsx`.\n */\nexport function SaasLanding() {\n  return (\n    <div className=\"flex min-h-svh flex-col bg-background text-foreground\">\n      <SaasLandingNavbar />\n      <main className=\"flex-1\">\n        <SaasLandingHero />\n        <SaasLandingLogos />\n        <SaasLandingFeatures />\n        <SaasLandingCustomers />\n        <SaasLandingPricing />\n        <SaasLandingFaq />\n        <SaasLandingCta />\n      </main>\n      <SaasLandingFooter />\n    </div>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-navbar.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Menu, X } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\n\nimport { SaasLandingLogo } from \"./saas-landing-logo\"\n\nconst links = [\n  { label: \"Product\", href: \"#features\" },\n  { label: \"Customers\", href: \"#customers\" },\n  { label: \"Pricing\", href: \"#pricing\" },\n  { label: \"FAQ\", href: \"#faq\" },\n  { label: \"Changelog\", href: \"#\" },\n]\n\n/**\n * Sticky header. Below `md` the links move into a disclosure menu that\n * closes on Escape (returning focus to the toggle) or when a link is chosen.\n */\nexport function SaasLandingNavbar() {\n  const [open, setOpen] = React.useState(false)\n  const toggleRef = React.useRef<HTMLButtonElement>(null)\n  const menuId = React.useId()\n\n  React.useEffect(() => {\n    if (!open) return\n    function onKeyDown(event: KeyboardEvent) {\n      if (event.key === \"Escape\") {\n        setOpen(false)\n        toggleRef.current?.focus()\n      }\n    }\n    document.addEventListener(\"keydown\", onKeyDown)\n    return () => document.removeEventListener(\"keydown\", onKeyDown)\n  }, [open])\n\n  return (\n    <header className=\"sticky top-0 z-40 border-b border-border/60 bg-background/80 backdrop-blur-lg supports-[backdrop-filter]:bg-background/70\">\n      <div className=\"mx-auto flex h-16 max-w-6xl items-center gap-8 px-4 sm:px-6\">\n        <a href=\"#\" aria-label=\"Pulsewise home\" className=\"rounded-md outline-none focus-visible:ring-3 focus-visible:ring-ring/50\">\n          <SaasLandingLogo />\n        </a>\n\n        <nav aria-label=\"Main\" className=\"hidden md:block\">\n          <ul className=\"flex items-center gap-1\">\n            {links.map((link) => (\n              <li key={link.label}>\n                <a\n                  href={link.href}\n                  className=\"rounded-md px-3 py-2 text-sm text-muted-foreground transition-colors outline-none hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/50\"\n                >\n                  {link.label}\n                </a>\n              </li>\n            ))}\n          </ul>\n        </nav>\n\n        <div className=\"ml-auto hidden items-center gap-2 md:flex\">\n          <Button variant=\"ghost\" size=\"sm\" asChild>\n            <a href=\"#\">Sign in</a>\n          </Button>\n          <Button size=\"sm\" asChild>\n            <a href=\"#pricing\">Start free trial</a>\n          </Button>\n        </div>\n\n        <Button\n          ref={toggleRef}\n          type=\"button\"\n          variant=\"ghost\"\n          size=\"icon\"\n          className=\"ml-auto md:hidden\"\n          aria-expanded={open}\n          aria-controls={menuId}\n          aria-label={open ? \"Close menu\" : \"Open menu\"}\n          onClick={() => setOpen((value) => !value)}\n        >\n          {open ? <X aria-hidden=\"true\" /> : <Menu aria-hidden=\"true\" />}\n        </Button>\n      </div>\n\n      <div id={menuId} hidden={!open} className=\"border-t bg-background md:hidden\">\n        <nav aria-label=\"Main\" className=\"mx-auto max-w-6xl px-4 py-3 sm:px-6\">\n          <ul className=\"grid gap-1\">\n            {links.map((link) => (\n              <li key={link.label}>\n                <a\n                  href={link.href}\n                  onClick={() => setOpen(false)}\n                  className=\"block rounded-md px-3 py-2.5 text-sm font-medium outline-none hover:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50\"\n                >\n                  {link.label}\n                </a>\n              </li>\n            ))}\n          </ul>\n          <div className=\"mt-3 grid grid-cols-2 gap-2 border-t pt-3\">\n            <Button variant=\"outline\" asChild>\n              <a href=\"#\">Sign in</a>\n            </Button>\n            <Button asChild>\n              <a href=\"#pricing\" onClick={() => setOpen(false)}>\n                Start free trial\n              </a>\n            </Button>\n          </div>\n        </nav>\n      </div>\n    </header>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-hero.tsx",
      "content": "import { ArrowRight, Check, Star } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\n\nimport { SaasLandingDashboard } from \"./saas-landing-dashboard\"\nimport { heroAvatars, portrait } from \"./saas-landing-media\"\n\nexport function SaasLandingHero() {\n  return (\n    <section className=\"relative isolate overflow-hidden\">\n      {/* Grid and glow behind the headline. */}\n      <div\n        aria-hidden=\"true\"\n        className=\"absolute inset-0 -z-10 bg-[linear-gradient(to_right,var(--border)_1px,transparent_1px),linear-gradient(to_bottom,var(--border)_1px,transparent_1px)] bg-size-[64px_64px] opacity-60 [mask-image:radial-gradient(ellipse_70%_55%_at_50%_0%,black_30%,transparent_100%)]\"\n      />\n      <div aria-hidden=\"true\" className=\"absolute top-0 left-1/2 -z-10 h-112 w-4xl -translate-x-1/2 rounded-full bg-saas-primary/15 blur-3xl\" />\n\n      <div className=\"mx-auto max-w-6xl px-4 pt-16 text-center sm:px-6 sm:pt-24\">\n        <a\n          href=\"#features\"\n          className=\"group inline-flex items-center gap-2 rounded-full border bg-background/80 py-1 pr-3 pl-1 text-xs shadow-sm backdrop-blur outline-none hover:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50 sm:text-sm\"\n        >\n          <span className=\"rounded-full bg-primary px-2 py-0.5 font-medium text-primary-foreground\">New</span>\n          <span className=\"text-muted-foreground\">AI Insights explains every drop-off</span>\n          <ArrowRight aria-hidden=\"true\" className=\"size-3.5 text-muted-foreground transition-transform group-hover:translate-x-0.5\" />\n        </a>\n\n        <h1 className=\"mx-auto mt-7 max-w-4xl text-4xl font-semibold tracking-tight text-balance sm:text-6xl sm:leading-[1.05]\">\n          Know exactly why users stay, and why they leave.\n        </h1>\n        <p className=\"mx-auto mt-6 max-w-2xl text-base leading-7 text-pretty text-muted-foreground sm:text-lg sm:leading-8\">\n          Pulsewise turns raw product events into funnels, retention cohorts and session replays your whole team can\n          read. Set it up in ten minutes. No SQL required.\n        </p>\n\n        <div className=\"mt-9 flex flex-col items-center justify-center gap-3 sm:flex-row\">\n          <Button size=\"lg\" className=\"w-full sm:w-auto\" asChild>\n            <a href=\"#pricing\">\n              Start your 14-day trial\n              <ArrowRight aria-hidden=\"true\" />\n            </a>\n          </Button>\n          <Button size=\"lg\" variant=\"outline\" className=\"w-full sm:w-auto\" asChild>\n            <a href=\"#\">Book a demo</a>\n          </Button>\n        </div>\n\n        <ul className=\"mt-6 flex flex-wrap items-center justify-center gap-x-5 gap-y-2 text-xs text-muted-foreground sm:text-sm\">\n          {[\"No credit card required\", \"SOC 2 Type II\", \"GDPR ready\"].map((item) => (\n            <li key={item} className=\"inline-flex items-center gap-1.5\">\n              <Check aria-hidden=\"true\" className=\"size-3.5 text-saas-accent\" />\n              {item}\n            </li>\n          ))}\n        </ul>\n\n        <div className=\"mt-10 flex flex-col items-center justify-center gap-3 sm:flex-row\">\n          <div className=\"flex -space-x-2\">\n            {heroAvatars.map((id) => (\n              <img\n                key={id}\n                src={portrait(id, 80)}\n                alt=\"\"\n                width={36}\n                height={36}\n                className=\"size-9 rounded-full border-2 border-background object-cover\"\n              />\n            ))}\n          </div>\n          <div className=\"text-left text-sm\">\n            <div className=\"flex items-center gap-0.5 text-amber-500\" aria-hidden=\"true\">\n              {Array.from({ length: 5 }, (_, i) => (\n                <Star key={i} className=\"size-3.5 fill-current\" />\n              ))}\n            </div>\n            <p className=\"text-muted-foreground\">\n              <span className=\"font-medium text-foreground\">4.9 out of 5</span> from 2,400+ product teams\n            </p>\n          </div>\n        </div>\n      </div>\n\n      <div className=\"relative mx-auto mt-14 max-w-6xl px-4 pb-20 sm:mt-16 sm:px-6 sm:pb-28\">\n        <SaasLandingDashboard />\n        <div aria-hidden=\"true\" className=\"pointer-events-none absolute inset-x-0 bottom-0 h-40 bg-linear-to-t from-background to-transparent\" />\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-dashboard.tsx",
      "content": "import {\n  BarChart3,\n  ChevronDown,\n  FlaskConical,\n  Gauge,\n  PlayCircle,\n  Repeat,\n  Settings,\n  Share2,\n  Sparkles,\n  TrendingDown,\n  TrendingUp,\n} from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\n/** Daily active users (thousands) for the last 30 days: this period and the one before. */\nconst current = [31, 33, 32, 35, 38, 36, 34, 37, 40, 42, 41, 39, 43, 46, 45, 44, 47, 50, 49, 48, 52, 54, 53, 51, 55, 58, 57, 56, 60, 62]\nconst previous = [28, 29, 31, 30, 32, 31, 30, 32, 33, 35, 34, 33, 34, 36, 35, 35, 37, 38, 37, 36, 38, 39, 39, 38, 40, 41, 40, 40, 42, 43]\n\nconst CHART_W = 600\nconst CHART_H = 180\nconst MAX = 70\n\nfunction linePath(values: number[]) {\n  const step = CHART_W / (values.length - 1)\n  return values\n    .map((value, i) => `${i === 0 ? \"M\" : \"L\"}${(i * step).toFixed(1)},${(CHART_H - (value / MAX) * CHART_H).toFixed(1)}`)\n    .join(\" \")\n}\n\nconst currentLine = linePath(current)\nconst currentArea = `${currentLine} L${CHART_W},${CHART_H} L0,${CHART_H} Z`\nconst previousLine = linePath(previous)\n\nconst kpis = [\n  { label: \"Weekly active users\", value: \"48,219\", change: \"+12.4%\", up: true },\n  { label: \"Activation rate\", value: \"41.8%\", change: \"+3.1 pts\", up: true },\n  { label: \"Avg. session\", value: \"6m 42s\", change: \"+8.0%\", up: true },\n  { label: \"Monthly churn\", value: \"2.3%\", change: \"−0.4 pts\", up: false, good: true },\n]\n\nconst funnel = [\n  { step: \"Signed up\", users: 12480, rate: 100 },\n  { step: \"Created a project\", users: 8236, rate: 66 },\n  { step: \"Invited a teammate\", users: 5101, rate: 41 },\n  { step: \"Activated\", users: 3894, rate: 31 },\n]\n\nconst nav = [\n  { label: \"Overview\", icon: Gauge, active: true },\n  { label: \"Funnels\", icon: BarChart3 },\n  { label: \"Retention\", icon: Repeat },\n  { label: \"Replays\", icon: PlayCircle },\n  { label: \"Experiments\", icon: FlaskConical },\n  { label: \"Settings\", icon: Settings },\n]\n\n/**\n * A static, realistic screen of the product. It's built with HTML so it\n * stays sharp and follows the theme; replace it with a real screenshot if\n * you prefer. Screen readers get one description instead of the details.\n */\nexport function SaasLandingDashboard({ className }: { className?: string }) {\n  return (\n    <div\n      role=\"img\"\n      aria-label=\"The Pulsewise overview dashboard: weekly active users up 12.4%, an activation funnel and an AI insight about an Android drop-off.\"\n      className={cn(\n        \"overflow-hidden rounded-xl border bg-card text-left text-card-foreground shadow-2xl shadow-black/10 ring-1 ring-foreground/5 select-none dark:shadow-black/40\",\n        className\n      )}\n    >\n      <div className=\"flex items-center gap-2 border-b bg-muted/40 px-4 py-2.5\">\n        <span className=\"size-2.5 rounded-full bg-foreground/15\" />\n        <span className=\"size-2.5 rounded-full bg-foreground/15\" />\n        <span className=\"size-2.5 rounded-full bg-foreground/15\" />\n        <span className=\"mx-auto truncate rounded-md border bg-background px-3 py-0.5 font-mono text-[11px] text-muted-foreground\">\n          app.pulsewise.io/acme/overview\n        </span>\n      </div>\n\n      <div className=\"grid md:grid-cols-[13rem_minmax(0,1fr)]\">\n        {/* A picture of the app's sidebar, not this page's, so no <aside> landmark. */}\n        <div className=\"hidden flex-col gap-1 border-r bg-muted/20 p-3 md:flex\">\n          <div className=\"mb-2 flex items-center gap-2 rounded-md border bg-background px-2 py-1.5 text-xs font-medium\">\n            <span className=\"grid size-5 place-items-center rounded bg-saas-accent text-[10px] font-semibold text-white\">A</span>\n            Acme Inc.\n            <ChevronDown className=\"ml-auto size-3.5 text-muted-foreground\" />\n          </div>\n          {nav.map(({ label, icon: Icon, active }) => (\n            <div\n              key={label}\n              className={cn(\n                \"flex items-center gap-2 rounded-md px-2 py-1.5 text-xs\",\n                active ? \"bg-background font-medium shadow-sm ring-1 ring-border\" : \"text-muted-foreground\"\n              )}\n            >\n              <Icon className=\"size-3.5\" />\n              {label}\n            </div>\n          ))}\n          <div className=\"mt-auto rounded-lg border bg-background p-3\">\n            <p className=\"text-xs font-medium\">Replays: 3,412 of 5,000</p>\n            <div className=\"mt-2 h-1.5 overflow-hidden rounded-full bg-muted\">\n              <div className=\"h-full w-[68%] rounded-full bg-primary\" />\n            </div>\n            <p className=\"mt-2 text-[11px] text-muted-foreground\">Resets in 9 days</p>\n          </div>\n        </div>\n\n        <div className=\"min-w-0 space-y-4 p-4 sm:p-5\">\n          <div className=\"flex flex-wrap items-center gap-2\">\n            <p className=\"text-sm font-semibold\">Activation overview</p>\n            <span className=\"rounded-md border px-2 py-0.5 text-[11px] text-muted-foreground\">Last 30 days</span>\n            <span className=\"ml-auto inline-flex items-center gap-1 rounded-md border px-2 py-0.5 text-[11px]\">\n              <Share2 className=\"size-3\" /> Share\n            </span>\n          </div>\n\n          <div className=\"grid grid-cols-2 gap-3 lg:grid-cols-4\">\n            {kpis.map((kpi) => {\n              const positive = kpi.up || kpi.good\n              const Trend = kpi.up ? TrendingUp : TrendingDown\n              return (\n                <div key={kpi.label} className=\"rounded-lg border bg-background p-3\">\n                  <p className=\"truncate text-[11px] text-muted-foreground\">{kpi.label}</p>\n                  <p className=\"mt-1 text-lg font-semibold tracking-tight tabular-nums\">{kpi.value}</p>\n                  <p\n                    className={cn(\n                      \"mt-0.5 inline-flex items-center gap-1 text-[11px] font-medium tabular-nums\",\n                      positive ? \"text-emerald-700 dark:text-emerald-400\" : \"text-red-600 dark:text-red-400\"\n                    )}\n                  >\n                    <Trend className=\"size-3\" />\n                    {kpi.change}\n                  </p>\n                </div>\n              )\n            })}\n          </div>\n\n          <div className=\"grid gap-3 lg:grid-cols-[minmax(0,1.55fr)_minmax(0,1fr)]\">\n            <div className=\"rounded-lg border bg-background p-3\">\n              <div className=\"flex items-center gap-3 text-[11px]\">\n                <p className=\"font-medium\">Daily active users</p>\n                <span className=\"ml-auto inline-flex items-center gap-1.5 text-muted-foreground\">\n                  <span className=\"size-2 rounded-full bg-saas-primary\" /> This period\n                </span>\n                <span className=\"inline-flex items-center gap-1.5 text-muted-foreground\">\n                  <span className=\"h-0.5 w-3 rounded-full bg-muted-foreground/50\" /> Previous\n                </span>\n              </div>\n              <svg viewBox={`0 0 ${CHART_W} ${CHART_H}`} preserveAspectRatio=\"none\" className=\"mt-3 h-36 w-full sm:h-44\">\n                <defs>\n                  <linearGradient id=\"saas-landing-area\" x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">\n                    <stop offset=\"0%\" stopColor=\"var(--saas-primary)\" stopOpacity=\"0.35\" />\n                    <stop offset=\"100%\" stopColor=\"var(--saas-primary)\" stopOpacity=\"0\" />\n                  </linearGradient>\n                </defs>\n                {[0.25, 0.5, 0.75].map((y) => (\n                  <line key={y} x1=\"0\" x2={CHART_W} y1={CHART_H * y} y2={CHART_H * y} stroke=\"var(--border)\" strokeDasharray=\"4 4\" vectorEffect=\"non-scaling-stroke\" />\n                ))}\n                <path d={previousLine} fill=\"none\" stroke=\"var(--muted-foreground)\" strokeOpacity=\"0.45\" strokeWidth=\"1.5\" strokeDasharray=\"5 4\" vectorEffect=\"non-scaling-stroke\" />\n                <path d={currentArea} fill=\"url(#saas-landing-area)\" />\n                <path d={currentLine} fill=\"none\" stroke=\"var(--saas-primary)\" strokeWidth=\"2\" vectorEffect=\"non-scaling-stroke\" />\n              </svg>\n              <div className=\"mt-2 flex justify-between font-mono text-[10px] text-muted-foreground\">\n                <span>Oct 14</span>\n                <span>Oct 21</span>\n                <span>Oct 28</span>\n                <span>Nov 4</span>\n                <span>Nov 12</span>\n              </div>\n            </div>\n\n            <div className=\"rounded-lg border bg-background p-3\">\n              <p className=\"text-[11px] font-medium\">Activation funnel</p>\n              <ul className=\"mt-3 space-y-3\">\n                {funnel.map((row) => (\n                  <li key={row.step}>\n                    <div className=\"flex items-baseline justify-between gap-2 text-[11px]\">\n                      <span className=\"truncate\">{row.step}</span>\n                      <span className=\"font-mono text-muted-foreground tabular-nums\">{row.users.toLocaleString(\"en-US\")}</span>\n                    </div>\n                    <div className=\"mt-1 h-2 overflow-hidden rounded-full bg-muted\">\n                      <div className=\"h-full rounded-full bg-saas-accent\" style={{ width: `${row.rate}%` }} />\n                    </div>\n                  </li>\n                ))}\n              </ul>\n              <p className=\"mt-3 text-[11px] text-muted-foreground\">\n                <span className=\"font-medium text-foreground\">31.2%</span> convert in 7 days\n              </p>\n            </div>\n          </div>\n\n          <div className=\"flex items-start gap-3 rounded-lg border border-saas-primary/30 bg-saas-primary/5 p-3\">\n            <span className=\"grid size-6 shrink-0 place-items-center rounded-md bg-saas-primary/15 text-saas-primary\">\n              <Sparkles className=\"size-3.5\" />\n            </span>\n            <p className=\"text-[12px] leading-5\">\n              <span className=\"font-medium\">Activation fell 6% on Android after v4.2.</span>{\" \"}\n              <span className=\"text-muted-foreground\">\n                71% of the drop-offs happen on the notification permission screen. 214 sessions to watch.\n              </span>\n            </p>\n          </div>\n        </div>\n      </div>\n    </div>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-logos.tsx",
      "content": "/** Customer logos. These brands are made up; put your customers' logos here (with their permission). */\nconst customers = [\n  { name: \"Northwind\", mark: <path d=\"M4 20 12 4l8 16h-5l-3-6-3 6Z\" /> },\n  { name: \"Brightloop\", mark: <path d=\"M12 3a9 9 0 1 0 9 9h-4a5 5 0 1 1-5-5Z\" /> },\n  { name: \"Kestrel\", mark: <path d=\"M3 12 12 3l9 9-9 9Zm9-4-4 4 4 4 4-4Z\" fillRule=\"evenodd\" /> },\n  { name: \"Fernway\", mark: <path d=\"M12 2c4 4 6 8 6 12a6 6 0 0 1-12 0c0-4 2-8 6-12Z\" /> },\n  { name: \"Oakline\", mark: <path d=\"M3 5h18v4H3Zm0 5h12v4H3Zm0 5h18v4H3Z\" /> },\n  { name: \"Quanta\", mark: <path d=\"M12 2 21 7v10l-9 5-9-5V7Zm0 5-4.5 2.5v5L12 17l4.5-2.5v-5Z\" fillRule=\"evenodd\" /> },\n]\n\nexport function SaasLandingLogos() {\n  return (\n    <section aria-labelledby=\"saas-landing-logos\" className=\"border-y bg-muted/30\">\n      <div className=\"mx-auto max-w-6xl px-4 py-12 sm:px-6\">\n        <h2 id=\"saas-landing-logos\" className=\"text-center text-sm text-muted-foreground\">\n          Trusted by product teams at fast-growing companies\n        </h2>\n        <ul className=\"mt-8 grid grid-cols-2 items-center gap-x-8 gap-y-8 sm:grid-cols-3 lg:grid-cols-6\">\n          {customers.map((customer) => (\n            <li key={customer.name} className=\"flex items-center justify-center gap-2 text-foreground/55\">\n              <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\" className=\"size-6 fill-current\">\n                {customer.mark}\n              </svg>\n              <span className=\"text-lg font-semibold tracking-tight\">{customer.name}</span>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-features.tsx",
      "content": "import type { ReactNode } from \"react\"\nimport { BellRing, Database, MousePointerClick, ShieldCheck, Sparkles, Users, Zap } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst funnelSteps = [\n  { step: \"Visited pricing\", rate: 100, users: \"24,310\" },\n  { step: \"Started checkout\", rate: 58, users: \"14,100\" },\n  { step: \"Entered card\", rate: 34, users: \"8,265\", drop: true },\n  { step: \"Subscribed\", rate: 29, users: \"7,050\" },\n]\n\n/** Share of each weekly cohort still active, week 0 to week 7. */\nconst cohorts = [\n  { week: \"Sep 15\", values: [100, 64, 52, 47, 44, 42, 41, 40] },\n  { week: \"Sep 22\", values: [100, 66, 55, 49, 46, 44, 43] },\n  { week: \"Sep 29\", values: [100, 69, 57, 51, 48, 47] },\n  { week: \"Oct 6\", values: [100, 71, 60, 55, 52] },\n  { week: \"Oct 13\", values: [100, 74, 63, 58] },\n  { week: \"Oct 20\", values: [100, 76, 66] },\n]\n\n/** Events on the replay timeline, as a percentage of the session. */\nconst replayEvents = [\n  { at: 5, type: \"view\" },\n  { at: 14, type: \"click\" },\n  { at: 26, type: \"click\" },\n  { at: 37, type: \"view\" },\n  { at: 49, type: \"click\" },\n  { at: 63, type: \"rage\" },\n  { at: 72, type: \"error\" },\n  { at: 88, type: \"click\" },\n] as const\n\nconst replayEventColor = {\n  view: \"bg-muted-foreground/60\",\n  click: \"bg-saas-primary\",\n  rage: \"bg-red-500\",\n  error: \"bg-amber-500\",\n}\n\nconst moreFeatures = [\n  { icon: MousePointerClick, title: \"Autocapture\", text: \"Clicks, page views and form submits are tracked from day one, no tagging plan needed.\" },\n  { icon: Zap, title: \"Real-time\", text: \"Events show up in charts within seconds, so you can watch a launch as it happens.\" },\n  { icon: Database, title: \"Warehouse sync\", text: \"Two-way sync with your data warehouse keeps one source of truth for every team.\" },\n  { icon: ShieldCheck, title: \"Private by default\", text: \"Inputs are masked, IPs are dropped and data can stay in the EU. SOC 2 Type II audited.\" },\n  { icon: BellRing, title: \"Smart alerts\", text: \"Get a Slack message when a funnel step or a key metric moves more than usual.\" },\n  { icon: Users, title: \"Team spaces\", text: \"Shared dashboards, comments and saved views keep product, design and growth aligned.\" },\n]\n\nfunction Card({ className, title, text, children }: { className?: string; title: string; text: string; children: ReactNode }) {\n  return (\n    <div className={cn(\"flex flex-col overflow-hidden rounded-2xl border bg-card\", className)}>\n      <div className=\"p-6 pb-0 sm:p-8 sm:pb-0\">\n        <h3 className=\"text-lg font-semibold tracking-tight\">{title}</h3>\n        <p className=\"mt-2 max-w-md text-sm leading-6 text-muted-foreground\">{text}</p>\n      </div>\n      <div aria-hidden=\"true\" className=\"mt-6 flex-1 p-6 pt-0 select-none sm:p-8 sm:pt-0\">\n        {children}\n      </div>\n    </div>\n  )\n}\n\nexport function SaasLandingFeatures() {\n  return (\n    <section id=\"features\" aria-labelledby=\"saas-landing-features\" className=\"scroll-mt-16 py-24 sm:py-32\">\n      <div className=\"mx-auto max-w-6xl px-4 sm:px-6\">\n        <div className=\"mx-auto max-w-2xl text-center\">\n          <p className=\"text-sm font-medium text-saas-primary\">Product</p>\n          <h2 id=\"saas-landing-features\" className=\"mt-3 text-3xl font-semibold tracking-tight text-balance sm:text-4xl\">\n            From raw events to clear answers in minutes\n          </h2>\n          <p className=\"mt-4 text-base leading-7 text-muted-foreground\">\n            Everything you need to see what users do, understand why, and decide what to build next, in one place.\n          </p>\n        </div>\n\n        <div className=\"mt-14 grid gap-4 lg:grid-cols-5\">\n          <Card\n            className=\"lg:col-span-3\"\n            title=\"Funnels that point at the problem\"\n            text=\"Build a funnel from any events in seconds. Pulsewise highlights the step where most people leave and who they are.\"\n          >\n            <div className=\"space-y-3 rounded-xl border bg-background p-4\">\n              {funnelSteps.map((row) => (\n                <div key={row.step} className=\"grid grid-cols-[7.5rem_minmax(0,1fr)_3rem] items-center gap-3 text-xs sm:grid-cols-[9rem_minmax(0,1fr)_3.5rem]\">\n                  <span className=\"truncate text-muted-foreground\">{row.step}</span>\n                  <div className=\"h-7 overflow-hidden rounded-md bg-muted\">\n                    <div\n                      className={cn(\"flex h-full min-w-11 items-center rounded-md px-2 font-mono text-[11px] text-white\", row.drop ? \"bg-red-600\" : \"bg-saas-primary dark:text-neutral-950\")}\n                      style={{ width: `${row.rate}%` }}\n                    >\n                      {row.rate}%\n                    </div>\n                  </div>\n                  <span className=\"text-right font-mono text-muted-foreground tabular-nums\">{row.users}</span>\n                </div>\n              ))}\n              <p className=\"rounded-md bg-red-500/10 px-3 py-2 text-xs text-red-700 dark:text-red-300\">\n                Biggest drop-off: 41% leave at “Entered card”, mostly on mobile Safari.\n              </p>\n            </div>\n          </Card>\n\n          <Card\n            className=\"lg:col-span-2\"\n            title=\"Retention you can trust\"\n            text=\"Weekly cohorts show whether changes keep people coming back, not just whether they signed up.\"\n          >\n            <div className=\"overflow-hidden rounded-xl border bg-background p-3\">\n              <div className=\"grid grid-cols-[3.25rem_repeat(8,minmax(0,1fr))] gap-1 font-mono text-[10px]\">\n                <span />\n                {Array.from({ length: 8 }, (_, i) => (\n                  <span key={i} className=\"text-center text-muted-foreground\">\n                    W{i}\n                  </span>\n                ))}\n                {cohorts.map((cohort) => (\n                  <div key={cohort.week} className=\"contents\">\n                    <span className=\"truncate text-muted-foreground\">{cohort.week}</span>\n                    {Array.from({ length: 8 }, (_, i) => {\n                      const value = cohort.values[i]\n                      const tint = value === undefined ? 0 : Math.round(value * 0.85)\n                      return (\n                        <span\n                          key={i}\n                          // From 64% the (dark-mode) green is bright enough that only dark text keeps 4.5:1; below it, light text does.\n                          className={cn(\"grid h-6 place-items-center rounded-sm\", tint >= 64 ? \"text-neutral-950\" : \"text-foreground\")}\n                          style={value === undefined ? undefined : { backgroundColor: `color-mix(in oklab, var(--saas-accent) ${tint}%, transparent)` }}\n                        >\n                          {value === undefined ? \"\" : value === 100 ? \"\" : value}\n                        </span>\n                      )\n                    })}\n                  </div>\n                ))}\n              </div>\n            </div>\n          </Card>\n\n          <Card\n            className=\"lg:col-span-2\"\n            title=\"Session replays, one click away\"\n            text=\"Jump from any chart to the recordings behind it and watch exactly where people hesitate.\"\n          >\n            <div className=\"overflow-hidden rounded-xl border bg-background text-[11px]\">\n              {/* Who the recording is from */}\n              <div className=\"flex items-center gap-2.5 border-b px-3 py-2\">\n                <span className=\"grid size-7 shrink-0 place-items-center rounded-full bg-saas-accent/15 text-[10px] font-semibold text-foreground\">\n                  JK\n                </span>\n                <div className=\"min-w-0\">\n                  <p className=\"truncate font-medium\">jonas.k@fernway.io</p>\n                  <p className=\"truncate text-[10px] text-muted-foreground\">Berlin · Chrome on macOS · 2 days ago</p>\n                </div>\n                <span className=\"ml-auto shrink-0 rounded-full bg-red-500/10 px-2 py-0.5 text-[10px] font-medium text-red-700 dark:text-red-400\">\n                  Rage click\n                </span>\n              </div>\n\n              {/* The recorded screen */}\n              <div className=\"relative bg-muted/50 px-4 pt-4 pb-5\">\n                <div className=\"rounded-lg border bg-background p-3.5 shadow-sm\">\n                  <div className=\"flex items-center justify-between text-[10px] text-muted-foreground\">\n                    <span>Step 3 of 4</span>\n                    <span>app.pulsewise.io/onboarding</span>\n                  </div>\n                  <div className=\"mt-2 grid grid-cols-4 gap-1\">\n                    {[0, 1, 2, 3].map((step) => (\n                      <span key={step} className={cn(\"h-1 rounded-full\", step < 3 ? \"bg-saas-primary\" : \"bg-muted\")} />\n                    ))}\n                  </div>\n                  <p className=\"mt-3 text-[13px] font-semibold\">Invite your teammates</p>\n                  <p className=\"mt-0.5 text-muted-foreground\">Pulsewise works best when your whole team can see it.</p>\n                  <div className=\"mt-3 space-y-1.5\">\n                    <div className=\"rounded-md border px-2 py-1.5\">maria@fernway.io</div>\n                    <div className=\"flex items-center rounded-md border border-saas-primary px-2 py-1.5 ring-2 ring-saas-primary/20\">\n                      <span className=\"text-muted-foreground\">name@company.com</span>\n                    </div>\n                  </div>\n                  <div className=\"mt-3 flex items-center justify-between\">\n                    <span className=\"relative text-muted-foreground underline underline-offset-2\">\n                      Skip for now\n                      {/* Rage-click rings, the cursor trail and the cursor itself, anchored to the link. */}\n                      <span className=\"absolute top-1/2 left-[85%] size-8 -translate-1/2 rounded-full border-2 border-red-500/70 bg-red-500/10\" />\n                      <span className=\"absolute top-1/2 left-[85%] size-8 -translate-1/2 animate-ping rounded-full border-2 border-red-500/60 motion-reduce:hidden\" />\n                      <svg viewBox=\"0 0 160 70\" className=\"absolute bottom-1/2 left-[85%] h-[70px] w-40 overflow-visible\">\n                        <path\n                          d=\"M0 70 C18 54 40 50 70 53 S125 62 160 56\"\n                          fill=\"none\"\n                          stroke=\"var(--saas-primary)\"\n                          strokeWidth=\"1.5\"\n                          strokeDasharray=\"3 4\"\n                          strokeLinecap=\"round\"\n                        />\n                      </svg>\n                      <svg viewBox=\"0 0 14 20\" className=\"absolute top-1/2 left-[85%] h-5 w-3.5 drop-shadow\">\n                        <path d=\"M1 1v15.5l4-3.6 2.7 6 2.6-1.1-2.7-5.9H13Z\" fill=\"white\" stroke=\"black\" strokeWidth=\"1.2\" strokeLinejoin=\"round\" />\n                      </svg>\n                      <span className=\"absolute top-full left-[85%] mt-3 ml-2 rounded-md bg-red-600 px-1.5 py-0.5 text-[10px] font-medium whitespace-nowrap text-white no-underline shadow\">\n                        4 clicks in 1.2s\n                      </span>\n                    </span>\n                    <span className=\"rounded-md bg-primary px-2.5 py-1.5 font-medium text-primary-foreground\">Send invites</span>\n                  </div>\n                </div>\n              </div>\n\n              {/* Player */}\n              <div className=\"space-y-2.5 border-t px-3 py-2.5\">\n                <div className=\"relative h-1.5 rounded-full bg-muted\">\n                  <div className=\"h-full w-[63%] rounded-full bg-foreground/70\" />\n                  {replayEvents.map((event) => (\n                    <span\n                      key={event.at}\n                      className={cn(\"absolute top-1/2 size-2 -translate-1/2 rounded-full ring-2 ring-background\", replayEventColor[event.type])}\n                      style={{ left: `${event.at}%` }}\n                    />\n                  ))}\n                  <span className=\"absolute top-1/2 left-[63%] h-3.5 w-1 -translate-1/2 rounded-full bg-foreground\" />\n                </div>\n                <div className=\"flex items-center gap-3\">\n                  <span className=\"grid size-6 shrink-0 place-items-center rounded-full bg-primary text-primary-foreground\">\n                    <svg viewBox=\"0 0 12 12\" className=\"size-2.5 fill-current\">\n                      <path d=\"M3 2v8l7-4Z\" />\n                    </svg>\n                  </span>\n                  <span className=\"font-mono text-[10px] text-muted-foreground tabular-nums\">01:52 / 02:58</span>\n                  <span className=\"rounded border px-1 font-mono text-[10px]\">1×</span>\n                  <span className=\"ml-auto hidden items-center gap-2.5 text-[10px] text-muted-foreground sm:flex\">\n                    <span className=\"inline-flex items-center gap-1\"><span className=\"size-1.5 rounded-full bg-saas-primary\" />Click</span>\n                    <span className=\"inline-flex items-center gap-1\"><span className=\"size-1.5 rounded-full bg-red-500\" />Rage</span>\n                    <span className=\"inline-flex items-center gap-1\"><span className=\"size-1.5 rounded-full bg-amber-500\" />Error</span>\n                  </span>\n                </div>\n              </div>\n            </div>\n          </Card>\n\n          <Card\n            className=\"lg:col-span-3\"\n            title=\"Ask questions in plain English\"\n            text=\"AI Insights reads your events and answers like an analyst would, with the chart and sessions to back it up.\"\n          >\n            <div className=\"space-y-3 rounded-xl border bg-background p-4 text-[13px]\">\n              <div className=\"ml-auto w-fit max-w-[85%] rounded-2xl rounded-br-sm bg-primary px-3.5 py-2 text-primary-foreground\">\n                Why did trial conversions drop last week?\n              </div>\n              <div className=\"flex gap-2.5\">\n                <span className=\"grid size-7 shrink-0 place-items-center rounded-full bg-saas-primary/15 text-saas-primary\">\n                  <Sparkles className=\"size-3.5\" />\n                </span>\n                <div className=\"space-y-2 rounded-2xl rounded-tl-sm border bg-muted/40 px-3.5 py-2.5\">\n                  <p>\n                    Trial-to-paid fell from <span className=\"font-medium\">18.4%</span> to <span className=\"font-medium\">14.9%</span>. Two\n                    things changed on Nov 4:\n                  </p>\n                  <ul className=\"list-disc space-y-1 pl-4 text-muted-foreground\">\n                    <li>The new onboarding skips the “Invite teammates” step. Teams that invite convert 3.2× more.</li>\n                    <li>Checkout errors doubled for cards issued in India (3-D Secure timeouts).</li>\n                  </ul>\n                </div>\n              </div>\n            </div>\n          </Card>\n        </div>\n\n        <ul className=\"mt-16 grid gap-x-8 gap-y-10 sm:grid-cols-2 lg:grid-cols-3\">\n          {moreFeatures.map(({ icon: Icon, title, text }) => (\n            <li key={title} className=\"flex gap-4\">\n              <span className=\"grid size-10 shrink-0 place-items-center rounded-lg border bg-card\">\n                <Icon aria-hidden=\"true\" className=\"size-5\" />\n              </span>\n              <div>\n                <h3 className=\"font-medium\">{title}</h3>\n                <p className=\"mt-1 text-sm leading-6 text-muted-foreground\">{text}</p>\n              </div>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-customers.tsx",
      "content": "import { ArrowRight, Quote } from \"lucide-react\"\n\nimport { photos, portrait } from \"./saas-landing-media\"\n\nconst results = [\n  { value: \"+38%\", label: \"activation in 60 days\" },\n  { value: \"3×\", label: \"faster product analysis\" },\n  { value: \"11 hrs\", label: \"saved per analyst, weekly\" },\n]\n\nconst testimonials = [\n  {\n    quote: \"We replaced three tools and a weekly SQL ritual with Pulsewise. The funnel view alone paid for the year.\",\n    name: \"Priya Natarajan\",\n    role: \"Head of Growth, Fernway\",\n    photo: \"1494790108377-be9c29b29330\",\n  },\n  {\n    quote: \"Setup took one coffee. By lunch we knew why trial users never invited their team, and we shipped the fix that week.\",\n    name: \"Marcus Reid\",\n    role: \"Co-founder, Kestrel\",\n    photo: \"1507003211169-0a1dd7228f2d\",\n  },\n  {\n    quote: \"Having the replay right next to the funnel step is the killer feature. I watch the exact moment people get stuck.\",\n    name: \"Sofie Lindqvist\",\n    role: \"Senior Product Designer, Oakline\",\n    photo: \"1438761681033-6461ffad8d80\",\n  },\n  {\n    quote: \"EU data residency and input masking out of the box. Our security review took a day, not a quarter.\",\n    name: \"David Brenner\",\n    role: \"CTO, Quanta Health\",\n    photo: \"1472099645785-5658abf4ff4e\",\n  },\n  {\n    quote: \"AI Insights flagged an Android regression before our crash reporting did. It's like having an analyst on every squad.\",\n    name: \"Amara Osei\",\n    role: \"Product Manager, Northwind\",\n    photo: \"1580489944761-15a19d654956\",\n  },\n  {\n    quote: \"The warehouse stays our source of truth, and PMs finally answer their own questions instead of queuing dashboards.\",\n    name: \"Tomás Alvarez\",\n    role: \"Data Lead, Brightloop\",\n    photo: \"1506794778202-cad84cf45f1d\",\n  },\n]\n\nexport function SaasLandingCustomers() {\n  return (\n    <section id=\"customers\" aria-labelledby=\"saas-landing-customers\" className=\"scroll-mt-16 border-t bg-muted/30 py-24 sm:py-32\">\n      <div className=\"mx-auto max-w-6xl px-4 sm:px-6\">\n        <div className=\"mx-auto max-w-2xl text-center\">\n          <p className=\"text-sm font-medium text-saas-primary\">Customers</p>\n          <h2 id=\"saas-landing-customers\" className=\"mt-3 text-3xl font-semibold tracking-tight text-balance sm:text-4xl\">\n            Teams ship better products with Pulsewise\n          </h2>\n        </div>\n\n        {/* Case study */}\n        <figure className=\"mt-14 grid overflow-hidden rounded-3xl border bg-card lg:grid-cols-2\">\n          <div className=\"relative min-h-72 lg:min-h-full\">\n            <img\n              src={photos.caseStudy}\n              alt=\"Two members of the Brightloop product team celebrating with a high five at their desks.\"\n              width={1200}\n              height={900}\n              loading=\"lazy\"\n              decoding=\"async\"\n              className=\"absolute inset-0 size-full object-cover\"\n            />\n            <span className=\"absolute top-4 left-4 rounded-full bg-black/60 px-3 py-1 text-xs font-medium text-white backdrop-blur\">\n              Case study · Brightloop\n            </span>\n          </div>\n          <div className=\"flex flex-col p-8 sm:p-12\">\n            <Quote aria-hidden=\"true\" className=\"size-8 text-saas-primary\" />\n            <blockquote className=\"mt-6 text-xl leading-8 font-medium tracking-tight text-pretty sm:text-2xl sm:leading-9\">\n              “We knew people were leaving during onboarding but not why. In one afternoon with Pulsewise we found the\n              step, watched the sessions and fixed it. Activation is up 38% since.”\n            </blockquote>\n            <figcaption className=\"mt-8 flex items-center gap-3\">\n              <img\n                src={portrait(\"1573496359142-b8d87734a5a2\", 112)}\n                alt=\"\"\n                width={48}\n                height={48}\n                loading=\"lazy\"\n                decoding=\"async\"\n                className=\"size-12 rounded-full object-cover\"\n              />\n              <div className=\"text-sm\">\n                <p className=\"font-semibold\">Elena Marsh</p>\n                <p className=\"text-muted-foreground\">VP of Product, Brightloop</p>\n              </div>\n            </figcaption>\n            <dl className=\"mt-10 grid grid-cols-3 gap-4 border-t pt-8\">\n              {results.map((result) => (\n                <div key={result.label} className=\"flex flex-col-reverse justify-end\">\n                  <dt className=\"mt-1 text-xs leading-5 text-muted-foreground sm:text-sm\">{result.label}</dt>\n                  <dd className=\"text-2xl font-semibold tracking-tight tabular-nums sm:text-3xl\">{result.value}</dd>\n                </div>\n              ))}\n            </dl>\n            <a\n              href=\"#\"\n              className=\"mt-8 inline-flex w-fit items-center gap-1.5 rounded-sm text-sm font-medium underline-offset-4 outline-none hover:underline focus-visible:ring-3 focus-visible:ring-ring/50\"\n            >\n              Read the Brightloop story\n              <ArrowRight aria-hidden=\"true\" className=\"size-4\" />\n            </a>\n          </div>\n        </figure>\n\n        {/* Testimonials */}\n        <ul className=\"mt-6 columns-1 gap-6 sm:columns-2 lg:columns-3\">\n          {testimonials.map((item) => (\n            <li key={item.name} className=\"mb-6 break-inside-avoid\">\n              <figure className=\"rounded-2xl border bg-card p-6\">\n                <blockquote className=\"text-sm leading-6\">“{item.quote}”</blockquote>\n                <figcaption className=\"mt-5 flex items-center gap-3\">\n                  <img\n                    src={portrait(item.photo)}\n                    alt=\"\"\n                    width={40}\n                    height={40}\n                    loading=\"lazy\"\n                    decoding=\"async\"\n                    className=\"size-10 rounded-full object-cover\"\n                  />\n                  <div className=\"text-sm\">\n                    <p className=\"font-medium\">{item.name}</p>\n                    <p className=\"text-muted-foreground\">{item.role}</p>\n                  </div>\n                </figcaption>\n              </figure>\n            </li>\n          ))}\n        </ul>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-pricing.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Check } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { cn } from \"@/lib/utils\"\n\ntype Billing = \"monthly\" | \"yearly\"\n\n/** Prices are per month in USD; `null` means \"talk to sales\". */\nconst plans = [\n  {\n    name: \"Starter\",\n    description: \"For side projects and teams finding product-market fit.\",\n    price: { monthly: 0, yearly: 0 },\n    cta: \"Start for free\",\n    href: \"#\",\n    features: [\"Up to 10,000 monthly tracked users\", \"Funnels, retention and paths\", \"1 year of data history\", \"3 team members\", \"Community support\"],\n  },\n  {\n    name: \"Growth\",\n    description: \"For product teams that ship and learn every week.\",\n    price: { monthly: 59, yearly: 49 },\n    cta: \"Start 14-day trial\",\n    href: \"#\",\n    highlighted: true,\n    features: [\n      \"Up to 100,000 monthly tracked users\",\n      \"5,000 session replays a month\",\n      \"AI Insights and smart alerts\",\n      \"Unlimited history and team members\",\n      \"Warehouse sync\",\n      \"Email and chat support\",\n    ],\n  },\n  {\n    name: \"Enterprise\",\n    description: \"For companies with advanced security and scale needs.\",\n    price: null,\n    cta: \"Talk to sales\",\n    href: \"#\",\n    features: [\"Unlimited tracked users\", \"SSO, SCIM and audit logs\", \"EU or US data residency\", \"99.99% uptime SLA\", \"Dedicated success manager\"],\n  },\n]\n\nexport function SaasLandingPricing() {\n  const [billing, setBilling] = React.useState<Billing>(\"yearly\")\n\n  return (\n    <section id=\"pricing\" aria-labelledby=\"saas-landing-pricing\" className=\"scroll-mt-16 py-24 sm:py-32\">\n      <div className=\"mx-auto max-w-6xl px-4 sm:px-6\">\n        <div className=\"mx-auto max-w-2xl text-center\">\n          <p className=\"text-sm font-medium text-saas-primary\">Pricing</p>\n          <h2 id=\"saas-landing-pricing\" className=\"mt-3 text-3xl font-semibold tracking-tight text-balance sm:text-4xl\">\n            Start free. Upgrade when it pays for itself.\n          </h2>\n          <p className=\"mt-4 text-base leading-7 text-muted-foreground\">\n            Every plan includes unlimited events, dashboards and seats for viewers.\n          </p>\n        </div>\n\n        <div className=\"mt-10 flex justify-center\">\n          <div role=\"group\" aria-label=\"Billing period\" className=\"inline-flex rounded-full border bg-muted/50 p-1 text-sm\">\n            {([\"monthly\", \"yearly\"] as const).map((period) => (\n              <button\n                key={period}\n                type=\"button\"\n                aria-pressed={billing === period}\n                onClick={() => setBilling(period)}\n                className={cn(\n                  \"inline-flex items-center gap-2 rounded-full px-4 py-1.5 font-medium transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring/50\",\n                  billing === period ? \"bg-background text-foreground shadow-sm\" : \"text-muted-foreground hover:text-foreground\"\n                )}\n              >\n                {period === \"monthly\" ? \"Monthly\" : \"Yearly\"}\n                {period === \"yearly\" ? (\n                  <span className=\"rounded-full bg-emerald-500/15 px-1.5 py-0.5 text-[11px] text-emerald-700 dark:text-emerald-400\">−17%</span>\n                ) : null}\n              </button>\n            ))}\n          </div>\n        </div>\n\n        <ul className=\"mt-12 grid gap-6 lg:grid-cols-3\">\n          {plans.map((plan) => {\n            const price = plan.price?.[billing]\n            return (\n              <li\n                key={plan.name}\n                className={cn(\n                  \"relative flex flex-col rounded-2xl border bg-card p-8\",\n                  plan.highlighted && \"border-foreground/20 shadow-xl ring-1 ring-foreground/10 lg:-my-3 lg:py-11\"\n                )}\n              >\n                {plan.highlighted ? (\n                  <span className=\"absolute -top-3 left-8 rounded-full bg-primary px-3 py-1 text-xs font-medium text-primary-foreground\">\n                    Most popular\n                  </span>\n                ) : null}\n                <h3 className=\"text-lg font-semibold\">{plan.name}</h3>\n                <p className=\"mt-2 text-sm leading-6 text-muted-foreground\">{plan.description}</p>\n                <p className=\"mt-6 flex items-baseline gap-1\">\n                  {price === undefined ? (\n                    <span className=\"text-4xl font-semibold tracking-tight\">Custom</span>\n                  ) : (\n                    <>\n                      <span className=\"text-4xl font-semibold tracking-tight tabular-nums\">${price}</span>\n                      <span className=\"text-sm text-muted-foreground\">/ month</span>\n                    </>\n                  )}\n                </p>\n                <p className=\"mt-1 h-5 text-xs text-muted-foreground\">\n                  {price === undefined\n                    ? \"Annual contract, invoiced\"\n                    : price === 0\n                      ? \"Free forever\"\n                      : billing === \"yearly\"\n                        ? `$${price * 12} billed yearly`\n                        : \"Billed monthly\"}\n                </p>\n                <Button className=\"mt-6\" variant={plan.highlighted ? \"default\" : \"outline\"} asChild>\n                  <a href={plan.href}>{plan.cta}</a>\n                </Button>\n                <ul className=\"mt-8 space-y-3 text-sm\">\n                  {plan.features.map((feature) => (\n                    <li key={feature} className=\"flex gap-3\">\n                      <Check aria-hidden=\"true\" className=\"mt-0.5 size-4 shrink-0 text-saas-accent\" />\n                      {feature}\n                    </li>\n                  ))}\n                </ul>\n              </li>\n            )\n          })}\n        </ul>\n\n        <p className=\"mt-10 text-center text-sm text-muted-foreground\">\n          Prices in USD, excluding tax. Startups under two years old and nonprofits get 50% off.{\" \"}\n          <a href=\"#\" className=\"font-medium text-foreground underline underline-offset-4\">\n            Apply here\n          </a>\n          .\n        </p>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-faq.tsx",
      "content": "import { ChevronDown, MessageCircle } from \"lucide-react\"\n\nimport { portrait } from \"./saas-landing-media\"\n\nconst faqs = [\n  {\n    question: \"How long does setup take?\",\n    answer:\n      \"Most teams send their first events in under ten minutes with our JavaScript, iOS, Android or React Native SDK. Autocapture records clicks, page views and form submits without extra code, and you can add custom events whenever you're ready.\",\n  },\n  {\n    question: \"Will Pulsewise slow down my site or app?\",\n    answer:\n      \"No. The web SDK is 9 KB gzipped, loads asynchronously and sends events in batches, so it never blocks rendering. On mobile, events are queued and sent when the device is on a good connection.\",\n  },\n  {\n    question: \"How do you handle privacy and GDPR?\",\n    answer:\n      \"Text inputs are masked in replays by default, IP addresses are dropped after geolocation, and you can host your data in the EU. We sign a DPA with every customer, support a cookieless mode and are SOC 2 Type II audited.\",\n  },\n  {\n    question: \"What counts as a monthly tracked user?\",\n    answer:\n      \"A unique person who sends at least one event in a calendar month. Anonymous visitors who later sign up are merged, so they count once. Going over your plan never stops tracking; we'll suggest a plan change instead.\",\n  },\n  {\n    question: \"Can I bring my existing data?\",\n    answer:\n      \"Yes. Import historical events from a CSV file or straight from your data warehouse, and keep your current tracking running in parallel while your team compares the numbers.\",\n  },\n  {\n    question: \"Can I cancel at any time?\",\n    answer:\n      \"Yes. Monthly plans end at the close of the billing period, and yearly plans can be cancelled for a prorated refund in the first 30 days. You can export all of your data whenever you like.\",\n  },\n]\n\nconst supportTeam = [\"1534528741775-53994a69daeb\", \"1519085360753-af0119f7cbe7\", \"1531123897727-8f129e1688ce\"]\n\nexport function SaasLandingFaq() {\n  return (\n    <section id=\"faq\" aria-labelledby=\"saas-landing-faq\" className=\"scroll-mt-16 border-t py-24 sm:py-32\">\n      <div className=\"mx-auto grid max-w-6xl gap-12 px-4 sm:px-6 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.6fr)] lg:gap-16\">\n        <div>\n          <p className=\"text-sm font-medium text-saas-primary\">FAQ</p>\n          <h2 id=\"saas-landing-faq\" className=\"mt-3 text-3xl font-semibold tracking-tight text-balance sm:text-4xl\">\n            Questions, answered\n          </h2>\n          <p className=\"mt-4 text-base leading-7 text-muted-foreground\">\n            Can’t find what you’re looking for? Our product specialists reply in under five minutes during working\n            hours.\n          </p>\n          <div className=\"mt-8 flex items-center gap-4\">\n            <div className=\"flex -space-x-2\">\n              {supportTeam.map((id) => (\n                <img\n                  key={id}\n                  src={portrait(id, 80)}\n                  alt=\"\"\n                  width={36}\n                  height={36}\n                  loading=\"lazy\"\n                  decoding=\"async\"\n                  className=\"size-9 rounded-full border-2 border-background object-cover\"\n                />\n              ))}\n            </div>\n            <a\n              href=\"#\"\n              className=\"inline-flex items-center gap-2 rounded-md border bg-card px-3 py-2 text-sm font-medium outline-none hover:bg-muted focus-visible:ring-3 focus-visible:ring-ring/50\"\n            >\n              <MessageCircle aria-hidden=\"true\" className=\"size-4\" />\n              Chat with us\n            </a>\n          </div>\n        </div>\n\n        <div className=\"divide-y border-y\">\n          {faqs.map((faq) => (\n            <details key={faq.question} className=\"group\">\n              <summary className=\"flex cursor-pointer list-none items-center justify-between gap-6 py-5 text-left font-medium outline-none focus-visible:ring-3 focus-visible:ring-ring/50 [&::-webkit-details-marker]:hidden\">\n                {faq.question}\n                <ChevronDown\n                  aria-hidden=\"true\"\n                  className=\"size-4 shrink-0 text-muted-foreground transition-transform group-open:rotate-180 motion-reduce:transition-none\"\n                />\n              </summary>\n              <p className=\"pb-5 text-sm leading-6 text-muted-foreground\">{faq.answer}</p>\n            </details>\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-cta.tsx",
      "content": "import { ArrowRight } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\n\nimport { photos } from \"./saas-landing-media\"\n\n/** Sits on a photo with a dark overlay, so its colors are fixed rather than themed. */\nexport function SaasLandingCta() {\n  return (\n    <section aria-labelledby=\"saas-landing-cta\" className=\"px-4 pb-24 sm:px-6 sm:pb-32\">\n      <div className=\"relative isolate mx-auto max-w-6xl overflow-hidden rounded-3xl bg-neutral-950\">\n        <img\n          src={photos.cta}\n          alt=\"\"\n          width={1600}\n          height={900}\n          loading=\"lazy\"\n          decoding=\"async\"\n          className=\"absolute inset-0 -z-10 size-full object-cover opacity-60\"\n        />\n        <div aria-hidden=\"true\" className=\"absolute inset-0 -z-10 bg-linear-to-r from-neutral-950 via-neutral-950/85 to-neutral-950/30\" />\n\n        <div className=\"max-w-xl px-8 py-16 sm:px-14 sm:py-20\">\n          <h2 id=\"saas-landing-cta\" className=\"text-3xl font-semibold tracking-tight text-balance text-white sm:text-4xl\">\n            Your users are already telling you what to build.\n          </h2>\n          <p className=\"mt-4 text-base leading-7 text-neutral-300\">\n            Start listening today. Free for 14 days, with every Growth feature included and help from a real person\n            whenever you need it.\n          </p>\n          <div className=\"mt-8 flex flex-col gap-3 sm:flex-row\">\n            <Button size=\"lg\" className=\"bg-white text-neutral-950 hover:bg-white/90\" asChild>\n              <a href=\"#pricing\">\n                Start your free trial\n                <ArrowRight aria-hidden=\"true\" />\n              </a>\n            </Button>\n            <Button\n              size=\"lg\"\n              variant=\"outline\"\n              className=\"border-white/25 bg-white/5 text-white hover:bg-white/15 hover:text-white dark:border-white/25 dark:bg-white/5 dark:hover:bg-white/15\"\n              asChild\n            >\n              <a href=\"#\">Book a demo</a>\n            </Button>\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-footer.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { Input } from \"@/components/ui/input\"\n\nimport { SaasLandingLogo } from \"./saas-landing-logo\"\n\nconst columns = [\n  { title: \"Product\", links: [\"Features\", \"Pricing\", \"Integrations\", \"Changelog\", \"Status\"] },\n  { title: \"Company\", links: [\"About\", \"Customers\", \"Careers\", \"Blog\", \"Contact\"] },\n  { title: \"Resources\", links: [\"Documentation\", \"API reference\", \"Guides\", \"Community\", \"Webinars\"] },\n  { title: \"Legal\", links: [\"Privacy\", \"Terms\", \"DPA\", \"Security\"] },\n]\n\nconst social = [\"X\", \"LinkedIn\", \"GitHub\", \"YouTube\"]\n\nexport function SaasLandingFooter() {\n  const [subscribed, setSubscribed] = React.useState(false)\n  const emailId = React.useId()\n\n  return (\n    <footer className=\"border-t bg-muted/30\">\n      <div className=\"mx-auto max-w-6xl px-4 py-16 sm:px-6\">\n        <div className=\"grid gap-12 lg:grid-cols-[minmax(0,1.2fr)_minmax(0,2fr)]\">\n          <div className=\"max-w-sm\">\n            <SaasLandingLogo />\n            <p className=\"mt-4 text-sm leading-6 text-muted-foreground\">\n              Product analytics that explains itself. Built in Amsterdam and Bengaluru for teams everywhere.\n            </p>\n\n            {subscribed ? (\n              <p role=\"status\" className=\"mt-6 text-sm font-medium\">\n                Thanks! Check your inbox to confirm your subscription.\n              </p>\n            ) : (\n              <form\n                className=\"mt-6\"\n                onSubmit={(event) => {\n                  event.preventDefault()\n                  setSubscribed(true)\n                }}\n              >\n                <label htmlFor={emailId} className=\"text-sm font-medium\">\n                  The monthly product memo\n                </label>\n                <div className=\"mt-2 flex gap-2\">\n                  <Input id={emailId} type=\"email\" name=\"email\" required autoComplete=\"email\" placeholder=\"you@company.com\" />\n                  <Button type=\"submit\">Subscribe</Button>\n                </div>\n              </form>\n            )}\n          </div>\n\n          <nav aria-label=\"Footer\" className=\"grid grid-cols-2 gap-8 sm:grid-cols-4\">\n            {columns.map((column) => (\n              <div key={column.title}>\n                <h3 className=\"text-sm font-medium\">{column.title}</h3>\n                <ul className=\"mt-4 space-y-3\">\n                  {column.links.map((link) => (\n                    <li key={link}>\n                      <a href=\"#\" className=\"text-sm text-muted-foreground transition-colors hover:text-foreground\">\n                        {link}\n                        {link === \"Careers\" ? (\n                          <span className=\"ml-2 rounded-full bg-saas-accent/15 px-1.5 py-0.5 text-[11px] font-medium text-foreground\">\n                            Hiring\n                          </span>\n                        ) : null}\n                      </a>\n                    </li>\n                  ))}\n                </ul>\n              </div>\n            ))}\n          </nav>\n        </div>\n\n        <div className=\"mt-14 flex flex-col gap-4 border-t pt-8 text-sm text-muted-foreground sm:flex-row sm:items-center sm:justify-between\">\n          <div className=\"flex flex-wrap items-center gap-x-6 gap-y-2\">\n            <p>© 2026 Pulsewise, Inc.</p>\n            <a href=\"#\" className=\"inline-flex items-center gap-2 hover:text-foreground\">\n              <span className=\"relative flex size-2\">\n                <span className=\"absolute inline-flex size-full animate-ping rounded-full bg-emerald-500 opacity-60 motion-reduce:animate-none\" />\n                <span className=\"relative inline-flex size-2 rounded-full bg-emerald-500\" />\n              </span>\n              All systems operational\n            </a>\n          </div>\n          <ul className=\"flex gap-5\">\n            {social.map((name) => (\n              <li key={name}>\n                <a href=\"#\" className=\"hover:text-foreground\">\n                  {name}\n                </a>\n              </li>\n            ))}\n          </ul>\n        </div>\n      </div>\n    </footer>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-logo.tsx",
      "content": "import { cn } from \"@/lib/utils\"\n\n/** The Pulsewise mark and wordmark. Swap in your own logo here. */\nexport function SaasLandingLogo({ className }: { className?: string }) {\n  return (\n    <span className={cn(\"inline-flex items-center gap-2 text-[15px] font-semibold tracking-tight\", className)}>\n      <svg viewBox=\"0 0 32 32\" aria-hidden=\"true\" className=\"size-7 shrink-0\">\n        <rect width=\"32\" height=\"32\" rx=\"8\" className=\"fill-primary\" />\n        <path\n          d=\"M6 17h4.5l3-7.5 4.5 14 3-8.5 1.5 2H26\"\n          fill=\"none\"\n          className=\"stroke-primary-foreground\"\n          strokeWidth=\"2.25\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n      </svg>\n      Pulsewise\n    </span>\n  )\n}\n",
      "type": "registry:component"
    },
    {
      "path": "registry/default/blocks/saas-landing/components/saas-landing-media.ts",
      "content": "/**\n * Photos used by the template. All are from Unsplash (https://unsplash.com),\n * free to use under the Unsplash License, and loaded from Unsplash's image\n * CDN. Replace them with your own photos before you launch.\n */\nfunction unsplash(id: string, width: number, height: number, faces = false) {\n  const crop = faces ? \"&crop=faces\" : \"\"\n  return `https://images.unsplash.com/photo-${id}?w=${width}&h=${height}&fit=crop${crop}&auto=format&q=80`\n}\n\nexport function portrait(id: string, size = 96) {\n  return unsplash(id, size, size, true)\n}\n\nexport const photos = {\n  caseStudy: unsplash(\"1600880292203-757bb62b4baf\", 1200, 900),\n  cta: unsplash(\"1522071820081-009f0129c71c\", 1600, 900),\n}\n\n/** Faces in the hero's \"rated by\" row. */\nexport const heroAvatars = [\n  \"1531123897727-8f129e1688ce\",\n  \"1500648767791-00dcc994a43e\",\n  \"1544005313-94ddf0286df2\",\n  \"1560250097-0b93528c311a\",\n  \"1517841905240-472988babdf9\",\n]\n",
      "type": "registry:component"
    }
  ],
  "cssVars": {
    "theme": {
      "color-saas-primary": "var(--saas-primary)",
      "color-saas-accent": "var(--saas-accent)"
    },
    "light": {
      "saas-primary": "oklch(0.511 0.262 276.966)",
      "saas-accent": "oklch(0.596 0.145 163.225)"
    },
    "dark": {
      "saas-primary": "oklch(0.673 0.182 276.935)",
      "saas-accent": "oklch(0.765 0.177 163.223)"
    }
  },
  "meta": {
    "version": "0.2.1"
  },
  "categories": [
    "templates"
  ],
  "type": "registry:block"
}