$cssPath = "site\assets\style.css"
$css = Get-Content $cssPath -Raw

# 1. Restore the trendy tool card hover effect that was lost during the 3D revert
$trendyBefore = '.tool-card:hover::before {
  opacity: 1;
}'
$trendyHoverRestore = '.tool-card:hover::before {
  opacity: 1;
}
.tool-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px -10px rgba(124,47,245, 0.2);
}'
$css = $css.Replace($trendyBefore, $trendyHoverRestore)

Set-Content -Path $cssPath -Value $css -Encoding UTF8
Write-Host "Restored trendy tool card hover effect."
