"use client"

import { ProductDemoFrame } from "@/components/landing/product/product-demo-frame"
import { WorkflowFlowPreview } from "@/components/landing/product/product-demos/workflow-flow-preview"

export function UltimailAutomationDemo() {
  return (
    <ProductDemoFrame
      fakeUrl="suite.votre-domaine.fr/mail/settings/automation"
      hint="Flux no-code réel — déclencheurs, conditions et actions."
      heightClass="h-[15rem] sm:h-[17rem]"
    >
      <div className="absolute inset-0 overflow-hidden bg-background">
        <WorkflowFlowPreview />
      </div>
    </ProductDemoFrame>
  )
}
