{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "security-compliance-badges",
  "title": "Security Compliance Badges",
  "type": "registry:block",
  "files": [
    {
      "path": "packages/registry-react/blocks/security-compliance-badges/SecurityComplianceBadges.tsx",
      "content": "'use client'\n\nimport * as React from 'react'\nimport { Check, CheckCircle2, Copy, Download, RefreshCw, ShieldCheck } from 'lucide-react'\nimport { Badge } from '@/components/ui/badge'\nimport { Button } from '@/components/ui/button'\nimport { Card } from '@/components/ui/card'\nimport { cn } from '@/lib/utils'\n\ninterface CompliancePillar {\n  id: string\n  name: string\n  standard: string\n  status: string\n  auditor: string\n  lastAudit: string\n  sha256: string\n  highlights: string[]\n}\n\nconst pillars: CompliancePillar[] = [\n  {\n    id: 'soc2',\n    name: 'SOC2 Type II Certified',\n    standard: 'AICPA Trust Services Criteria (Security, Availability, Confidentiality)',\n    status: 'Clean Opinion (Zero Exceptions)',\n    auditor: 'Schellman & Company, LLC',\n    lastAudit: 'Q4 2025 Audit Period',\n    sha256: '9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08',\n    highlights: [\n      'Continuous 24/7 automated control monitoring via Drata',\n      'Annual independent black-box & white-box penetration testing',\n      'Mandatory hardware key 2FA (WebAuthn / FIDO2) across all staff',\n      'Immutable tamper-evident centralized audit logs with 365-day retention',\n    ],\n  },\n  {\n    id: 'iso27001',\n    name: 'ISO/IEC 27001:2022',\n    standard: 'Information Security Management System (ISMS)',\n    status: 'Globally Certified',\n    auditor: 'BSI Group Global',\n    lastAudit: 'Continuous Surveillance',\n    sha256: '5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8',\n    highlights: [\n      'Strict cryptographic key management with automated rotation',\n      'Zero vendor data sharing or telemetry monetization guarantees',\n      'Comprehensive disaster recovery with RPO < 1 min, RTO < 15 mins',\n      'Physical security auditing of all tier-4 sovereign edge hosting locations',\n    ],\n  },\n  {\n    id: 'gdpr',\n    name: 'GDPR & CCPA Compliant',\n    standard: 'EU 2016/679 & California Consumer Privacy Act',\n    status: 'Strict Privacy Tier',\n    auditor: 'Internal Privacy Council + DPO',\n    lastAudit: 'Live Continuous Compliance',\n    sha256: '4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a',\n    highlights: [\n      'Zero third-party tracking cookies or marketing beacons in registry AST',\n      'Automated self-serve data portability & deletion API endpoints',\n      'EU Standard Contractual Clauses (SCCs) baked into standard DPA',\n      'Encrypted localized edge caches with sovereign residency enforcement',\n    ],\n  },\n  {\n    id: 'hipaa',\n    name: 'HIPAA & HITECH Ready',\n    standard: 'Health Insurance Portability and Accountability Act',\n    status: 'BAA Eligible',\n    auditor: 'Coalfire Systems',\n    lastAudit: 'Annual Attestation',\n    sha256: 'ef2d127de37b942baad06145e54b0c619a1f22327b2ebbcfbec78f5564afe39d',\n    highlights: [\n      'AES-256 encryption for data at rest and TLS 1.3 in transit',\n      'Automated Business Associate Agreement (BAA) execution for enterprise tiers',\n      'Strict role-based access control (RBAC) with just-in-time privilege escalation',\n      'PHI isolation architecture with zero persistent client-side caching',\n    ],\n  },\n]\n\nexport interface SecurityComplianceBadgesProps {\n  className?: string\n}\n\nexport function SecurityComplianceBadges({ className }: SecurityComplianceBadgesProps) {\n  const [activeTab, setActiveTab] = React.useState<string>('soc2')\n  const [copiedHash, setCopiedHash] = React.useState(false)\n  const [isDownloadingReport, setIsDownloadingReport] = React.useState(false)\n\n  const currentPillar = pillars.find((p) => p.id === activeTab)!\n\n  const copyHash = () => {\n    navigator.clipboard.writeText(currentPillar.sha256)\n    setCopiedHash(true)\n    setTimeout(() => setCopiedHash(false), 2000)\n  }\n\n  const mockDownload = () => {\n    setIsDownloadingReport(true)\n    setTimeout(() => {\n      setIsDownloadingReport(false)\n    }, 1200)\n  }\n\n  return (\n    <section\n      data-slot=\"security-compliance-badges\"\n      className={cn('bg-background relative overflow-hidden px-4 py-16 sm:px-6 sm:py-24 lg:px-8', className)}\n    >\n      {/* Ambient Radial Glow */}\n      <div className=\"bg-success/10 pointer-events-none absolute top-1/3 left-1/2 -z-10 h-80 w-full max-w-4xl -translate-x-1/2 -translate-y-1/2 rounded-full blur-xl\" />\n\n      <div className=\"mx-auto max-w-6xl space-y-12\">\n        {/* Section Header */}\n        <div className=\"mx-auto max-w-3xl space-y-4 text-center\">\n          <Badge variant=\"secondary\" className=\"gap-1.5 px-3 py-1 font-mono text-xs shadow-xs\">\n            <ShieldCheck className=\"text-success size-3.5\" />\n            Enterprise Trust &amp; Cryptographic Security\n          </Badge>\n          <h2 className=\"text-foreground text-3xl font-bold tracking-tight sm:text-4xl\">\n            Built for the most compliance-sensitive architectures.\n          </h2>\n          <p className=\"text-muted-foreground text-base\">\n            Zero runtime bloat, zero tracking beacons, and independent third-party verified attestations for your SecOps\n            team.\n          </p>\n        </div>\n\n        {/* Compliance Badges 4-Tile Preview Row */}\n        <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-4 sm:gap-4\">\n          {pillars.map((p) => (\n            <button\n              key={p.id}\n              type=\"button\"\n              className={cn(\n                'group relative overflow-hidden rounded-2xl border p-4 text-left transition-colors',\n                activeTab === p.id\n                  ? 'border-success/80 bg-success/5 ring-success/30 shadow-md ring-1'\n                  : 'border-border bg-card/70 hover:border-border hover:bg-card',\n              )}\n              onClick={() => setActiveTab(p.id)}\n            >\n              <div className=\"mb-3 flex items-center justify-between\">\n                <div className=\"bg-success/10 text-success flex size-8 items-center justify-center rounded-lg font-mono text-xs font-bold\">\n                  <ShieldCheck className=\"size-4\" />\n                </div>\n                <span\n                  className={cn('size-2 rounded-full', activeTab === p.id ? 'bg-success animate-pulse' : 'bg-muted')}\n                />\n              </div>\n\n              <h3 className=\"text-foreground truncate font-mono text-xs font-bold\">{p.name.split(' ')[0]}</h3>\n              <p className=\"text-muted-foreground mt-0.5 truncate text-xs\">{p.status}</p>\n            </button>\n          ))}\n        </div>\n\n        {/* Interactive Attestation & Security Workbench Card */}\n        <Card className=\"border-border bg-card/95 space-y-6 overflow-hidden rounded-2xl p-6 shadow-sm backdrop-blur-md sm:p-8\">\n          {/* Workbench Top Details */}\n          <div className=\"border-border/80 flex flex-col justify-between gap-4 border-b pb-6 sm:flex-row sm:items-center\">\n            <div className=\"space-y-1\">\n              <div className=\"flex items-center gap-2\">\n                <h3 className=\"text-foreground font-mono text-xl font-bold\">{currentPillar.name}</h3>\n                <Badge variant=\"outline\" className=\"border-success/20 bg-success/10 text-success font-mono text-xs\">\n                  Verified\n                </Badge>\n              </div>\n              <p className=\"text-muted-foreground font-mono text-xs\">{currentPillar.standard}</p>\n            </div>\n\n            <Button size=\"sm\" variant=\"outline\" className=\"shrink-0 gap-2 font-mono text-xs\" onClick={mockDownload}>\n              {isDownloadingReport ? (\n                <RefreshCw className=\"text-primary size-3.5 animate-spin\" />\n              ) : (\n                <Download className=\"text-muted-foreground size-3.5\" />\n              )}\n              <span>{isDownloadingReport ? 'Preparing DPA Bundle...' : 'Download Security Whitepaper'}</span>\n            </Button>\n          </div>\n\n          {/* Audit Details Grid */}\n          <div className=\"grid grid-cols-1 gap-6 md:grid-cols-2\">\n            {/* Left: Key Controls & Technical Enforcements */}\n            <div className=\"space-y-3\">\n              <p className=\"text-muted-foreground font-mono text-xs tracking-wider uppercase\">Key Technical Controls</p>\n              <ul className=\"space-y-2.5\">\n                {currentPillar.highlights.map((item, idx) => (\n                  <li key={idx} className=\"text-foreground/90 flex items-start gap-2.5 text-xs leading-relaxed\">\n                    <CheckCircle2 className=\"text-success mt-0.5 size-4 shrink-0\" />\n                    <span>{item}</span>\n                  </li>\n                ))}\n              </ul>\n            </div>\n\n            {/* Right: Auditor & Cryptographic SHA-256 Fingerprint */}\n            <div className=\"border-border bg-muted/20 flex flex-col justify-between space-y-4 rounded-xl border p-5\">\n              <div className=\"space-y-3\">\n                <div className=\"flex items-center justify-between font-mono text-xs\">\n                  <span className=\"text-muted-foreground\">Independent Auditor:</span>\n                  <span className=\"text-foreground font-semibold\">{currentPillar.auditor}</span>\n                </div>\n                <div className=\"flex items-center justify-between font-mono text-xs\">\n                  <span className=\"text-muted-foreground\">Audit Cycle:</span>\n                  <span className=\"text-foreground\">{currentPillar.lastAudit}</span>\n                </div>\n                <div className=\"flex items-center justify-between font-mono text-xs\">\n                  <span className=\"text-muted-foreground\">CVE Vulnerability Scan:</span>\n                  <span className=\"text-success font-bold\">0 High &bull; 0 Critical</span>\n                </div>\n              </div>\n\n              {/* SHA-256 Hash Box */}\n              <div className=\"border-border/60 space-y-1.5 border-t pt-3\">\n                <div className=\"text-muted-foreground flex items-center justify-between font-mono text-xs\">\n                  <span>Attestation PDF SHA-256 Fingerprint:</span>\n                  <button\n                    type=\"button\"\n                    className=\"text-primary flex items-center gap-1 hover:underline\"\n                    onClick={copyHash}\n                  >\n                    {copiedHash ? <Check className=\"text-success size-3\" /> : <Copy className=\"size-3\" />}\n                    <span>{copiedHash ? 'Copied' : 'Copy Hash'}</span>\n                  </button>\n                </div>\n                <p className=\"text-muted-foreground bg-background/80 border-border rounded border p-2 font-mono text-xs break-all select-all\">\n                  {currentPillar.sha256}\n                </p>\n              </div>\n            </div>\n          </div>\n        </Card>\n      </div>\n    </section>\n  )\n}\nexport default SecurityComplianceBadges\n",
      "type": "registry:block",
      "target": "~/components/blocks/SecurityComplianceBadges.tsx"
    }
  ],
  "dependencies": [
    "lucide-react"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://uipkge.dev/r/react/badge.json",
    "https://uipkge.dev/r/react/button.json",
    "https://uipkge.dev/r/react/card.json"
  ],
  "description": "Enterprise security and compliance workbench featuring SOC2, ISO27001, GDPR, and HIPAA audit inspection, cryptographic SHA-256 fingerprint verification, and whitepaper download.",
  "categories": [
    "marketing"
  ]
}