@props([ 'href' => '#', 'variant' => 'primary', // primary | secondary | ghost | light 'arrow' => true, ]) @php $base = 'inline-flex items-center justify-center gap-2 rounded-full px-6 py-3 text-sm font-semibold transition-all focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-teal-500'; $variants = [ // Solid blue — primary ProHealth CTA 'primary' => 'bg-teal-600 text-white shadow-[0_12px_28px_-10px_rgba(31,87,196,0.75)] hover:-translate-y-0.5 hover:bg-teal-700', // Solid navy — alternate dark CTA 'secondary' => 'bg-navy-900 text-white hover:-translate-y-0.5 hover:bg-navy-800', // Bordered on light 'ghost' => 'border border-line bg-white text-navy-900 hover:border-teal-300 hover:text-teal-700', // Translucent on dark 'light' => 'bg-white/10 text-white ring-1 ring-inset ring-white/25 hover:bg-white/20', ]; $classes = $base . ' ' . ($variants[$variant] ?? $variants['primary']); @endphp merge(['class' => $classes]) }}> {{ $slot }} @if ($arrow) @endif