1import{r as P}from"./rolldown-runtime.C1f3BsDW.js";import"./inertia.BE4YqsTM.js";import"./http.DWpeO7Ui.js";import{Bn as R,Hr as b,Jt as E,K as G,Mr as K,Qn as Y,Qr as Q,U as J,Wn as X,fn as A,h as Z,it as ee,v as re,wr as te,xt as se}from"./icons.ChOq_Y4q.js";import{t as ae}from"./react-core.CAMe6Z4j.js";import"./utils.CgzVjNgC.js";import"./state.L8kQliOB.js";import{jt as m,k as S}from"./entry-client.DX3aUoe5.js";import"./dist.CoNAZqlp.js";import"./dist.DxccqHSW.js";import"./dist.D4237Rk6.js";import"./dist.BhzTvz6X.js";import"./es2015.Cr2X04_P.js";import"./dist.C1cc-Zbw.js";import"./badge.CK53iWwP.js";import"./dropdown-menu.D1MnQ7U0.js";import"./useMediaQuery.CHA9c3gs.js";import{t as ie}from"./lenis.DZFFtZ8G.js";import{t as le}from"./SEO.gPDL2mFy.js";import{t as $}from"./marketingVideos.CTDV7UYs.js";import{t as oe}from"./cta-card-section.BVZwUhiQ.js";import{t as ne}from"./CtaMicrocopy.D3zGPrw8.js";import{t as O}from"./useRoute.D5WEuP_a.js";import{t as W}from"./useStartCreatingHref.BVwqKiRT.js";import{t as T}from"./gsap.BxN_RF7A.js";import{t as p}from"./RevealOnScroll.Bzi3Q9FE.js";import{t as ce}from"./how-it-works-section.C3FA2lIt.js";import"./logo.7ZVhR9ER.js";import{t as de}from"./Footer.Ccp81B1O.js";import{t as me}from"./Header.C54sFzrK.js";import{a as xe,i as pe,n as ue,t as ge}from"./MarketingHero.CGOgM9co.js";/* empty css */import{t as he}from"./clients-section.JEQW946i.js";import{i as be,n as fe,t as je}from"./schema.nKoiFBQt.js";import{n as ve,t as ye}from"./TopicNextStep.BeNxsr-x.js";import"./section-blur-accent.B7vx0p10.js";import{n as we}from"./faq-section.CerYMBUG.js";import{t as Ne}from"./proof-section.B4WgtmuU.js";import{t as ke}from"./scrolling-text.DQYpJQUN.js";import{t as z}from"./LiteYouTube.BviezSHV.js";import{n as Se,r as h}from"./featurePages.gKoGXW8Y.js";var e=P(ae(),1);function _e(t){return!!t?.includes("youtube.com/embed")}const Le=({feature:t})=>{const r=O(),s=W(),i=t.icon,n=_e(t.gifUrl),o=!!t.gifUrl?.endsWith(".mp4"),l=!!t.gifUrl&&!n&&!o;return(0,e.jsxs)("section",{className:ge,children:[(0,e.jsx)(pe,{}),(0,e.jsxs)("div",{className:"relative z-10 mx-auto grid max-w-screen-2xl items-center gap-10 lg:grid-cols-[minmax(0,0.95fr)_minmax(0,1.05fr)] lg:gap-14",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("nav",{className:"mb-6 flex flex-wrap gap-2 text-xs uppercase tracking-[0.18em] text-muted-foreground","aria-label":"Breadcrumb",children:[(0,e.jsx)("a",{href:"/",className:"transition-colors hover:text-foreground",children:"Home"}),(0,e.jsx)("span",{children:"/"}),(0,e.jsx)("a",{href:"/features",className:"transition-colors hover:text-foreground",children:"Features"}),(0,e.jsx)("span",{children:"/"}),(0,e.jsx)("span",{className:"max-w-[220px] truncate text-foreground",children:t.title})]}),(0,e.jsxs)("p",{className:"flex items-center gap-2 text-xs font-semibold uppercase tracking-[0.24em] text-muted-foreground",children:[(0,e.jsx)(i,{className:"h-3.5 w-3.5 text-primary",strokeWidth:1.6}),t.eyebrow]}),(0,e.jsxs)("h1",{className:"mt-5 text-4xl font-semibold leading-[1.05] tracking-[-0.03em] text-foreground sm:text-6xl lg:text-7xl",children:[(0,e.jsx)("span",{className:"mb-3 block font-sans text-xs font-semibold uppercase tracking-[0.2em] text-primary sm:text-sm",children:t.title}),t.headline," ",(0,e.jsx)("br",{}),(0,e.jsx)("span",{className:"font-serif font-normal italic tracking-normal",children:t.headlineAccent})]}),(0,e.jsx)(xe,{children:t.subheadline}),(0,e.jsxs)(ue,{children:[(0,e.jsx)(S,{asChild:!0,size:"lg",children:(0,e.jsxs)("a",{href:s,className:"inline-flex items-center gap-2",children:["Start now",(0,e.jsx)(b,{className:"h-4 w-4"})]})}),(0,e.jsx)(S,{asChild:!0,size:"lg",variant:"outline",children:(0,e.jsx)("a",{href:r("demo"),children:"Watch examples"})})]}),t.heroReassurance?(0,e.jsx)("p",{className:"mt-4 text-xs text-muted-foreground",children:t.heroReassurance}):(0,e.jsx)(ne,{className:"mt-4 justify-start"})]}),(0,e.jsx)("div",{className:"hero-panel-enter mx-auto w-full max-w-3xl",children:(0,e.jsxs)("div",{className:"relative aspect-[16/10] overflow-hidden rounded-3xl border border-border/40 bg-card/60",children:[l&&(0,e.jsx)("img",{src:t.gifUrl,alt:t.gifPlaceholder,className:"block h-full w-full object-cover",width:1280,height:800,loading:"eager",decoding:"async",fetchpriority:"high"}),n&&t.gifUrl&&(0,e.jsx)(z,{url:t.gifUrl,title:`${t.title} preview`,priority:!0}),o&&(0,e.jsx)("video",{src:t.gifUrl,className:"block h-full w-full object-cover",autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0,preload:"metadata"}),!t.gifUrl&&(0,e.jsx)("div",{className:"h-full p-8",children:(0,e.jsx)("div",{className:"flex h-full items-center justify-center rounded-2xl border border-border/50 bg-background/40 text-center",children:(0,e.jsx)("p",{className:"text-sm font-medium text-muted-foreground",children:t.gifPlaceholder})})}),(0,e.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-gradient-to-t from-background/35 via-transparent to-transparent"})]})})]})]})};var I=[R,ee,re,G],F=[{bg:"bg-primary/10",border:"border-primary/25",text:"text-primary",glow:"bg-primary/15",badge:"bg-primary/15 text-primary border-primary/25",line:"from-primary/30"},{bg:"bg-accent/10",border:"border-accent/25",text:"text-accent-foreground",glow:"bg-accent/10",badge:"bg-accent/10 text-accent-foreground border-accent/20",line:"from-accent/30"},{bg:"bg-primary/10",border:"border-primary/25",text:"text-primary",glow:"bg-primary/15",badge:"bg-primary/15 text-primary border-primary/25",line:"from-primary/30"},{bg:"bg-accent/10",border:"border-accent/25",text:"text-accent-foreground",glow:"bg-accent/10",badge:"bg-accent/10 text-accent-foreground border-accent/20",line:"from-accent/30"}];const Ce=({feature:t})=>{const r=t.bullets;return(0,e.jsxs)("section",{className:"relative overflow-hidden px-4 py-20 sm:px-6 sm:py-28 lg:px-8",children:[(0,e.jsxs)("div",{className:"pointer-events-none absolute inset-0","aria-hidden":"true",children:[(0,e.jsx)("img",{src:"/images/benefits/4.webp",alt:"","aria-hidden":"true",loading:"lazy",decoding:"async",className:"absolute inset-0 opacity-10 h-full w-full object-cover opacity-[0.04]"}),(0,e.jsx)("div",{className:"absolute left-[-10rem] top-[-8rem] h-80 w-80 rounded-full bg-primary/12 blur-[90px]"}),(0,e.jsx)("div",{className:"absolute bottom-[-10rem] right-[-8rem] h-80 w-80 rounded-full bg-accent/10 blur-[90px]"})]}),(0,e.jsxs)("div",{className:"relative z-10 mx-auto max-w-7xl",children:[(0,e.jsx)(p,{variant:"up",children:(0,e.jsxs)("div",{className:"flex flex-col gap-8 md:flex-row md:items-end md:justify-between",children:[(0,e.jsxs)("div",{className:"max-w-2xl",children:[(0,e.jsxs)("p",{className:"inline-flex items-center gap-2 text-xs font-semibold uppercase tracking-[0.24em] text-primary/80",children:[(0,e.jsx)("span",{className:"h-px w-6 bg-primary/70"}),"Core workflow"]}),(0,e.jsxs)("h2",{className:"mt-4 text-3xl font-semibold leading-[1.08] tracking-[-0.03em] text-foreground sm:text-4xl lg:text-5xl",children:["What you can do with"," ",(0,e.jsx)("span",{className:"text-gradient-hero",children:t.title})]}),(0,e.jsx)("p",{className:"mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg",children:t.primaryKeyword?`From early concept through client-ready handoff, every ${t.primaryKeyword} step lives in one connected workspace.`:t.subheadline})]}),(0,e.jsxs)("div",{className:"shrink-0 rounded-2xl border border-border/50 bg-card/60 px-6 py-4 text-center",children:[(0,e.jsx)("p",{className:"text-4xl font-bold tracking-tight text-foreground",children:String(r.length).padStart(2,"0")}),(0,e.jsx)("p",{className:"mt-1 text-xs font-semibold uppercase tracking-[0.2em] text-muted-foreground",children:"Core capabilities"})]})]})}),(0,e.jsx)("div",{className:"mt-14 grid gap-px overflow-hidden rounded-3xl border border-border/50 bg-border/30 sm:grid-cols-2",children:r.map((s,i)=>{const n=I[i%I.length],o=F[i%F.length],l=i===r.length-1;return r.length-2,(0,e.jsx)(p,{delay:.06*i,variant:"scale",className:m(r.length%2!==0&&l?"sm:col-span-2":void 0),children:(0,e.jsxs)("article",{className:"group relative h-full overflow-hidden bg-background/90 px-7 py-8 transition-colors duration-300 hover:bg-card/80 sm:px-8 sm:py-9",children:[(0,e.jsx)("div",{className:m("pointer-events-none absolute -right-10 -top-10 h-40 w-40 rounded-full blur-3xl transition-opacity duration-500 opacity-0 group-hover:opacity-100",o.glow),"aria-hidden":"true"}),(0,e.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("span",{className:m("inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md border text-[11px] font-bold",o.badge),
1children:String(i+1).padStart(2,"0")}),(0,e.jsxs)("span",{className:"text-[10px] font-semibold uppercase tracking-[0.2em] text-muted-foreground",children:["Step ",i+1]})]}),(0,e.jsx)("div",{className:m("flex h-11 w-11 shrink-0 items-center justify-center rounded-xl border transition-all duration-300 group-hover:scale-110",o.bg,o.border),children:(0,e.jsx)(n,{className:m("h-5 w-5",o.text),strokeWidth:1.7})})]}),(0,e.jsxs)("div",{className:"relative z-10 mt-6",children:[(0,e.jsx)("h3",{className:"text-xl font-semibold tracking-[-0.02em] text-foreground sm:text-2xl",children:s.title}),(0,e.jsx)("p",{className:"mt-3 text-sm leading-7 text-muted-foreground sm:text-base",children:s.description})]}),!l&&(0,e.jsxs)("div",{className:"mt-6 flex items-center gap-2",children:[(0,e.jsx)("div",{className:m("h-px flex-1 bg-gradient-to-r to-transparent",o.line)}),(0,e.jsx)(b,{className:m("h-3.5 w-3.5 opacity-40",o.text)})]}),(0,e.jsx)("div",{className:m("absolute bottom-0 left-0 right-0 h-[2px] scale-x-0 bg-gradient-to-r to-transparent transition-transform duration-500 ease-out group-hover:scale-x-100","from-primary/50")})]})},s.title)})}),(0,e.jsx)(p,{variant:"fade",delay:.2,className:"mt-8",children:(0,e.jsx)("p",{className:"text-center text-xs text-muted-foreground/60",children:"All steps connect â changes in one stage cascade through your entire project without rebuilding from scratch."})})]})]})};var Ee=[{slug:"script",badge:"Core engine",iconLabel:"AI",ctaLabel:"Explore script AI",wide:!0,stripLabel:"Connected pipeline",description:"Start with an idea and generate a structured script with scene intent, dialogue flow, and shot logic. Keep narrative shape stable while iterating faster on visual direction."},{slug:"ai-image",badge:"Stills",iconLabel:"IMG",ctaLabel:"Explore AI images",description:"Generate cinematic storyboard pictures that hold one film look across your scenes."},{slug:"ai-video",badge:"Motion",iconLabel:"VID",ctaLabel:"Explore AI video",description:"Turn approved storyboard pictures into video clips with shot-level control and continuity across your sequence."},{slug:"voice",badge:"12 languages",iconLabel:"VO",ctaLabel:"Explore voice",description:"Generate voice and narration with natural cadence, then sync dialogue to your storyboard timing."},{slug:"sound-design",badge:"Sound",iconLabel:"SFX",ctaLabel:"Explore sound",description:"Create music and sound effects directly in the project timeline so every scene feels production-ready."},{slug:"export",badge:"Final output",iconLabel:"EXP",ctaLabel:"Explore export",description:"Export review cuts, share links, and deliver clean assets for post without reassembling your project."}];const Ae=()=>(0,e.jsxs)("section",{className:"relative overflow-hidden bg-card/35 px-4 py-16 sm:px-6 sm:py-20 lg:px-8",children:[(0,e.jsxs)("div",{className:"pointer-events-none absolute inset-0","aria-hidden":"true",children:[(0,e.jsx)("div",{className:"absolute left-[-10rem] top-[-8rem] h-72 w-72 rounded-full bg-primary/15 blur-[70px]"}),(0,e.jsx)("div",{className:"absolute bottom-[-9rem] right-[-7rem] h-80 w-80 rounded-full bg-accent/12 blur-[70px]"})]}),(0,e.jsxs)("div",{className:"mx-auto max-w-7xl",children:[(0,e.jsx)(p,{children:(0,e.jsxs)("div",{className:"mb-10 flex flex-col gap-5 md:mb-12 md:flex-row md:items-end md:justify-between",children:[(0,e.jsxs)("div",{className:"max-w-3xl",children:[(0,e.jsxs)("p",{className:"inline-flex items-center gap-2 text-xs font-semibold uppercase tracking-[0.2em] text-primary/85",children:[(0,e.jsx)("span",{className:"h-px w-6 bg-primary/80"}),"Platform features"]}),(0,e.jsxs)("h2",{className:"mt-3 text-3xl font-semibold leading-[1.08] tracking-[-0.02em] text-foreground sm:text-4xl lg:text-5xl",children:["Everything from script",(0,e.jsx)("br",{}),"to final delivery"]})]}),(0,e.jsx)("p",{className:"max-w-[22rem] text-sm leading-7 text-muted-foreground sm:text-base",children:"Every tool connects, so a script change can cascade into frames, motion, audio, and delivery without restarting your production flow."})]})}),(0,e.jsx)("div",{className:"overflow-hidden rounded-2xl sm:rounded-3xl",children:(0,e.jsx)("div",{className:"grid gap-px md:grid-cols-2 lg:grid-cols-3",children:Ee.map((t,r)=>{const s=h[t.slug];return(0,e.jsx)(p,{delay:.04*r,variant:"scale",className:t.wide?"md:col-span-2 lg:col-span-2":void 0,children:(0,e.jsxs)("article",{className:"group relative h-full bg-gradient-to-tr from-primary/5 to-background px-6 py-7 transition-colors duration-200 hover:bg-card/85 sm:px-7 sm:py-8",children:[(0,e.jsx)("div",{className:"pointer-events-none absolute -right-12 -top-14 h-40 w-40 rounded-full bg-primary/10 blur-3xl","aria-hidden":"true"}),(0,e.jsxs)("div",{className:"relative z-10",children:[(0,e.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,e.jsxs)("span",{className:"inline-flex items-center gap-2 text-[11px] font-semibold uppercase tracking-[0.14em] text-primary",children:[(0,e.jsx)("span",{className:"h-px w-4 bg-primary/70"}),t.badge]}),(0,e.jsx)("span",{className:"inline-flex h-8 min-w-8 items-center justify-center rounded-md border border-border/60 bg-background/70 px-2 text-[10px] font-semibold uppercase tracking-[0.12em] text-foreground
1/80",children:t.iconLabel})]}),(0,e.jsx)("h3",{className:`mt-4 font-semibold tracking-tight text-foreground ${t.wide?"text-2xl sm:text-[1.75rem]":"text-xl"}`,children:s.title}),(0,e.jsx)("p",{className:"mt-3 text-sm leading-7 text-muted-foreground/95",children:t.description}),(0,e.jsxs)("a",{href:`/features/${s.slug}`,className:"mt-5 inline-flex items-center gap-1.5 text-sm font-semibold text-primary transition-all duration-200 group-hover:gap-2.5",children:[t.ctaLabel,(0,e.jsx)(b,{className:"h-4 w-4"})]})]})]})},t.slug)})})})]})]});var u=P(Q(),1),$e="https://www.youtube.com/embed/lPNikstMeRQ?rel=0";function Te(t){try{const r=new URL(t),s=r.searchParams;return s.set("autoplay","1"),s.set("mute","1"),s.set("playsinline","1"),s.set("modestbranding","1"),s.set("rel","0"),r.search=s.toString(),r.toString()}catch{return t}}function Ie(t,r){const s=t.toLowerCase();return s.includes("who")?"Audience":s.includes("how")?"Workflow":s.includes("why")?"Overview":s.includes("compare")||s.includes("differ")?"Comparison":["Overview","Workflow","Use cases","Results","Scale","Insights"][r]||`Tab ${r+1}`}function Fe(t,r,s){return t?.trim()?t.trim():Ie(r,s)}const Ue=({feature:t})=>{const r=t.contentSections;if(!r?.length)return null;const[s,i]=(0,u.useState)(0),[n,o]=(0,u.useState)(0),[l,g]=(0,u.useState)(!1),w=(0,u.useRef)(null),N=(0,u.useRef)(null),f=(0,u.useRef)(null);(0,u.useEffect)(()=>{i(0),o(0),g(!1)},[t.slug]),(0,u.useEffect)(()=>
1{const a=[w.current,N.current].filter(Boolean);a.length!==0&&T.fromTo(a,{autoAlpha:0,y:18},{autoAlpha:1,y:0,duration:.42,ease:"power3.out",stagger:.05})},[n,t.slug]),(0,u.useEffect)(()=>()=>{f.current?.kill()},[]);const _=Math.min(s,r.length-1),j=Math.min(n,r.length-1),x=r[j],v=x.videoUrl||$e,L=v.includes("youtube.com/embed"),C=L?Te(v):v,M=t.contentSectionEyebrow||"Who it is for",H=t.contentSectionTitle||"Built for every type of creator",k=r.map((a,d)=>Fe(a.tabLabel,a.heading,d)),B=k.map((a,d)=>{if(k.indexOf(a)===d)return a;const c=["Overview","Workflow","Audience","Use cases","Results","Insights"][d]||`Tab ${d+1}`;return k.includes(c)?`${c} ${d+1}`:c}),q=a=>{if(a===_||l)return;i(a),g(!0);const d=[w.current,N.current].filter(Boolean);if(d.length===0){o(a),g(!1);return}f.current?.kill(),f.current=T.timeline({onComplete:()=>{o(a),g(!1)}}),f.current.to(d,{autoAlpha:0,y:-14,duration:.22,ease:"power2.in",stagger:.03})};return(0,e.jsxs)("section",{className:"relative bg-card/35 px-4 py-16 sm:px-6 sm:py-20 lg:px-8",children:[(0,e.jsxs)("div",{className:"pointer-events-none absolute inset-0","aria-hidden":"true",children:[(0,e.jsx)("div",{className:"absolute left-[-10rem] top-[-8rem] h-72 w-72 rounded-full bg-primary/12 blur-[70px]"}),(0,e.jsx)("div",{className:"absolute bottom-[-10rem] right-[-8rem] h-80 w-80 rounded-full bg-accent/10 blur-[70px]"})]}),(0,e.jsxs)(p,{className:"relative z-10 mx-auto max-w-7xl",variant:"fade",children:[(0,e.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 text-xs font-semibold uppercase tracking-[0.08em] text-primary",children:[(0,e.jsx)("span",{className:"h-px w-6 bg-primary/80"}),M]}),(0,e.jsx)("h2",{className:"text-3xl font-semibold leading-tight tracking-[-0.02em] text-foreground sm:text-4xl lg:text-5xl",children:H}),(0,e.jsx)("div",{className:"mt-10 flex gap-0 overflow-x-auto border-b border-border/50",children:r.map((a,d)=>(0,e.jsx)("button",{type:"button",onClick:()=>{q(d)},className:`whitespace-nowrap border-b-2 px-3 py-2 text-[11px] font-medium uppercase tracking-[0.04em] transition-colors sm:px-4 sm:text-xs outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 ${d===_?"border-primary text-foreground":"border-transparent text-muted-foreground hover:text-foreground"}`,disabled:l,children:(0,e.jsx)("span",{className:"block max-w-[8rem] truncate",children:B[d]})},a.heading))}),(0,e.jsxs)("div",{className:"mt-10 grid gap-8 lg:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] lg:items-center lg:gap-16",children:[(0,e.jsxs)("div",{ref:w,children:[(0,e.jsx)("h3",{className:"text-xl font-semibold tracking-[-0.02em] text-foreground sm:text-2xl lg:text-[1.75rem]",children:x.heading}),x.description&&(0,e.jsx)("p",{className:"mt-4 text-sm leading-7 text-muted-foreground sm:text-base",children:x.description}),(0,e.jsx)("ul",{className:"mt-7 space-y-3",children:x.items.map(a=>(0,e.jsxs)("li",{className:"flex items-start gap-3 text-sm text-foreground/85",children:[(0,e.jsx)("span",{className:"mt-0.5 inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full border border-primary/30 bg-primary/15 text-primary",children:(0,e.jsx)(te,{className:"h-3.5 w-3.5"})}),(0,e.jsxs)("span",{children:[a.title,a.description?(0,e.jsxs)("span",{className:"sr-only",children:[" â ",a.description]}):null]})]},a.title))})]}),(0,e.jsx)("div",{ref:N,className:"overflow-hidden rounded-2xl border border-border/50 bg-background",children:L?(0,e.jsx)(z,{url:v,title:`${x.heading} preview`,className:"block aspect-[4/3] w-full"},`${t.slug}-${j}`):(0,e.jsx)("video",{src:C,className:"block aspect-[4/3] w-full object-cover",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata"},`${t.slug}-${j}-${C}`)})]}),x.table?(0,e.jsx)("div",{className:"mt-10 overflow-x-auto rounded-2xl border border-border/50 bg-background/50",children:(0,e.jsxs)("table",{className:"w-full border-collapse text-left text-sm",children:[x.table.caption?(0,e.jsx)("caption",{className:"px-4 py-3 text-left text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground",children:x.table.caption}):null,(0,e.jsx)("thead",{children:(0,e.jsx)("tr",{className:"border-b border-border/60 bg-muted/30",children:x.table.headers.map(a=>(0,e.jsx)("th",{scope:"col",className:"px-4 py-3 text-xs font-semibold uppercase tracking-wider text-foreground",children:a},a))})}),(0,e.jsx)("tbody",{children:x.table.rows.map((a,d)=>(0,e.jsx)("tr",{className:"border-b border-border/40 last:border-b-0 hover:bg-muted/20",children:a.map((c,y)=>(0,e.jsx)("td",{className:y===0?"px-4 py-3 font-medium text-foreground":"px-4 py-3 text-muted-foreground",children:c},y))},d))})]})}):null,x.sources?.length?(0,e.jsxs)("div",{className:"mt-4 text-xs text-muted-foreground",children:[(0,e.jsx)("p",{className:"font-semibold text-foreground",children:"Sources"}),(0,e.jsx)("ul",{className:"mt-1 flex flex-wrap gap-x-4 gap-y-1",children:x.sources.map(a=>(0,e.jsx)("li",{children:(0,e.jsx)("a",{href:a.href,target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 transition-colors hover:text-foreground",children:a.label})},a.href))})]}):null,(0,e.jsx)("div",{className:"sr-only",children:r.map((a,d)=>d===j?null:(0,e.jsxs)("div",{children:[(0,e.jsx)("h3",{children:a.heading}),a.description?(0,e.jsx)("p",{children:a.description}):null,a.items?.length?(0,e.jsx)("ul",{children:a.items.map(c=>(0,e.jsxs)("li",{children:[c.title,c.description?` â ${c.description}`:""]},c.title))}):null,a.table?(0,e.jsxs)("table",{children:[a.table.caption?(0,e.jsx)("caption",{children:a.table.caption}):null,(0,e.jsx)("thead",{children:(0,e.jsx)("tr",{children:a.table.headers.map(c=>(0,e.jsx)("th",{scope:"col",children:c},c))})}),(0,e.jsx)("tbody",{children:a.table.rows.map((c,y)=>(0,e.jsx)("tr",{children:c.map((D,V)=>(0,e.jsx)("td",{children:D},V))},y))})]}):null,a.sources?.length?(0,e.jsx)("ul",{children:a.sources.map(c=>(0,e.jsx)("li",{children:(0,e.jsx)("a",{href:c.href,rel:"noopener noreferrer nofollow",children:c.label})},c.href))}):null]},`seo-${a.heading}`))})]})]})},Pe=({currentSlug:t})=>{const r=h[t],s=[...(r?.relatedSlugs??[...Se]).filter(i=>i!==t&&h[i]).map(i=>{const n=h[i];return{href:`/features/${i}
1`,eyebrow:n.eyebrow,title:n.title,description:n.seo.description,icon:n.icon}}),...(r?.relatedPages??[]).map(i=>({href:i.href,eyebrow:i.eyebrow,title:i.label,description:i.description,icon:K}))];return s.length===0?null:(0,e.jsxs)("section",{className:"relative overflow-hidden px-4 py-16 sm:px-6 sm:py-20 lg:px-8",children:[(0,e.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-0 flex justify-center","aria-hidden":"true",children:(0,e.jsx)("div",{className:"h-px w-full max-w-7xl bg-gradient-to-r from-transparent via-border to-transparent"})}),(0,e.jsxs)("div",{className:"relative mx-auto max-w-7xl",children:[(0,e.jsx)(p,{children:(0,e.jsxs)("div",{className:"flex flex-col gap-5 sm:flex-row sm:items-end sm:justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("p",{className:"inline-flex items-center gap-2 text-xs font-semibold uppercase tracking-[0.24em] text-primary/80",children:[(0,e.jsx)("span",{className:"h-px w-6 bg-primary/70","aria-hidden":"true"}),"Explore more"]}),(0,e.jsx)("h2",{className:"mt-3 text-2xl font-semibold tracking-tight text-foreground sm:text-3xl",children:"Related workflows teams use together"})]}),(0,e.jsx)(S,{asChild:!0,variant:"outline",size:"lg",children:(0,e.jsxs)("a",{href:"/features",className:"group/all self-start backdrop-blur-sm sm:self-auto",children:["View all features",(0,e.jsx)(b,{className:"h-4 w-4 transition-transform duration-200 group-hover/all:translate-x-0.5"})]})})]})}),(0,e.jsx)("div",{className:"mt-10 grid gap-px overflow-hidden rounded-2xl border border-border/50 bg-border/30 sm:grid-cols-2 xl:grid-cols-3",children:s.map((i,n)=>{const o=i.icon;return(0,e.jsx)(p,{delay:.05*n,variant:"scale",className:"h-full",children:(0,e.jsxs)("a",{href:i.href,className:"group relative flex h-full flex-col bg-background/90 p-6 transition-colors duration-300 hover:bg-card/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-inset sm:p-7",children:[(0,e.jsx)("div",{className:"pointer-events-none absolute -right-10 -top-10 h-36 w-36 rounded-full bg-primary/12 opacity-0 blur-3xl transition-opacity duration-500 group-hover:opacity-100","aria-hidden":"true"}),(0,e.jsxs)("div",{className:"relative flex flex-1 flex-col",children:[(0,e.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,e.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.2em] text-muted-foreground",children:i.eyebrow}),(0,e.jsx)("span",{className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg border border-border/50 bg-card/50 text-muted-foreground transition-all duration-300 group-hover:border-primary/30 group-hover:bg-primary/10 group-hover:text-primary",children:(0,e.jsx)(o,{className:"h-3.5 w-3.5"})})]}),(0,e.jsx)("h3",{className:"mt-3 text-lg font-semibold tracking-tight text-foreground transition-colors duration-200 group-hover:text-primary",children:i.title}),(0,e.jsx)("p",{className:"mt-2 flex-1 line-clamp-3 text-sm leading-6 text-muted-foreground",children:i.description}),(0,e.jsxs)("span",{className:"mt-5 inline-flex items-center gap-2 text-sm font-semibold text-foreground/80 transition-colors duration-200 group-hover:text-primary",children:["Open page",(0,e.jsx)(b,{className:"h-4 w-4 transition-transform duration-200 group-hover:translate-x-1"})]})]}),(0,e.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-px origin-left scale-x-0 bg-gradient-to-r from-transparent via-primary/50 to-transparent transition-transform duration-300 ease-out group-hover:scale-x-100","aria-hidden":"true"})]})},i.href)})})]})]})},Re=({feature:t})=>t.downloads?.length?(0,e.jsx)("section",{className:"px-4 py-8 sm:px-6 sm:py-12 lg:px-8",children:(0,e.jsxs)("div",{className:"mx-auto max-w-7xl rounded-3xl border border-border/50 bg-card/60 p-6 sm:p-8",children:[(0,e.jsx)(p,{children:(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.24em] text-primary/80",children:"Free downloads"}),(0,e.jsx)("h2",{className:"mt-2 text-2xl font-semibold tracking-tight text-foreground",children:t.downloadsTitle??`Download the free ${t.title.toLowerCase()}`}),t.downloadsDescription?(0,e.jsx)("p",{className:"mt-2 max-w-2xl text-sm leading-6 text-muted-foreground",children:t.downloadsDescription}):null]})}),(0,e.jsx)("div",{className:"mt-6 grid gap-4 md:grid-cols-2",children:t.downloads.map((r,s)=>(0,e.jsx)(p,{delay:.03*s,variant:"scale",children:(0,e.jsxs)("a",{href:r.href,download:!0,className:"group flex h-full items-start gap-4 roun
1ded-2xl border border-border/50 bg-background/60 p-5 transition-colors hover:border-primary/35",children:[(0,e.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg border border-border/50 bg-card/80 text-primary",children:(0,e.jsx)(R,{className:"h-5 w-5"})}),(0,e.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("h3",{className:"text-base font-semibold text-foreground",children:r.label}),(0,e.jsx)("span",{className:"rounded border border-border/60 px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-[0.12em] text-muted-foreground",children:r.format})]}),(0,e.jsx)("p",{className:"mt-1 text-sm leading-6 text-muted-foreground",children:r.description}),(0,e.jsxs)("span",{className:"mt-3 inline-flex items-center gap-2 text-sm font-semibold text-foreground transition-colors group-hover:text-primary",children:[(0,e.jsx)(Y,{className:"h-4 w-4"}),"Download",(0,e.jsxs)("span",{className:"font-normal text-muted-foreground",children:["· ",r.fileSize," · no signup"]})]})]})]})},r.href))})]})}):null;var Oe=[{icon:Z,label:"Face"},{icon:J,label:"Costume"},{icon:se,label:"Style"},{icon:X,label:"Mood"}];const We=({feature:t})=>{const r=t.showcase,[s,i]=(0,u.useState)(0);if(!r)return null;const n=r.frames[s];return(0,e.jsxs)("section",{className:"relative overflow-hidden px-4 py-16 sm:px-6 lg:py-24",children:[(0,e.jsxs)("div",{className:"pointer-events-none absolute inset-0","aria-hidden":"true",children:[(0,e.jsx)("div",{className:"absolute left-[-8rem] top-[-6rem] h-72 w-72 rounded-full bg-primary/12 blur-[80px]"}),(0,e.jsx)("div",{className:"absolute bottom-[-8rem] right-[-6rem] h-72 w-72 rounded-full bg-accent/10 blur-[80px]"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,rgba(var(--primary-rgb),0.04)_0%,transparent_70%)]"})]}),(0,e.jsxs)("div",{className:"relative z-10 mx-auto max-w-5xl",children:[(0,e.jsx)(p,{variant:"up",children:(0,e.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between",children:[(0,e.jsxs)("div",{className:"max-w-2xl",children:[r.eyebrow?(0,e.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full border border-primary/25 bg-primary/[0.07] px-4 py-1.5",children:[(0,e.jsx)(E,{className:"h-3 w-3 text-primary",strokeWidth:2.5}),(0,e.jsx)("span",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-primary/90",children:r.eyebrow})]}):null,(0,e.jsx)("h2",{className:"text-3xl font-semibold tracking-[-0.03em] text-foreground sm:text-4xl lg:text-5xl",children:r.title}),r.description?(0,e.jsx)("p",{className:"mt-4 max-w-xl text-base leading-relaxed text-muted-foreground sm:text-lg",children:r.description}):null]}),(0,e.jsxs)("div",{className:"flex shrink-0 flex-col gap-3 rounded-2xl border border-border/50 bg-card/60 px-5 py-4 lg:items-end",children:[(0,e.jsx)("p",{className:"text-[10px] font-semibold uppercase tracking-[0.22em] text-muted-foreground",children:"Locked across every frame"}),(0,e.jsx)("div",{className:"flex items-center gap-3",children:Oe.map(({icon:o,label:l})=>(0,e.jsxs)("div",{className:"flex flex-col items-center gap-1.5",children:[(0,e.jsx)("div",{className:"flex h-9 w-9 items-center justify-center rounded-xl border border-primary/25 bg-primary/10",children:(0,e.jsx)(o,{className:"h-4 w-4 text-primary",strokeWidth:1.8})}),(0,e.jsx)("span",{className:"text-[10px] font-medium text-muted-foreground",children:l})]},l))})]})]})}),(0,e.jsxs)(p,{variant:"fade",delay:.1,className:"mt-10",children:[(0,e.jsxs)("div",{className:"grid gap-4 lg:grid-cols-[1fr_auto] lg:gap-6",children:[(0,e.jsx)("div",{className:"group relative overflow-hidden rounded-2xl h-fit border border-border/50 bg-card/70",children:(0,e.jsxs)("div",{className:"relative aspect-[16/9] w-full overflow-hidden",children:[n?.imageUrl?(0,e.jsx)("img",{src:n.imageUrl,alt:n.label,className:"h-full w-full object-cover transition-transform duration-700 group-hover:scale-105",loading:"lazy"}):(0,e.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-3 bg-gradient-to-br from-card to-background",children:[(0,e.jsx)("div",{className:"grid grid-cols-3 gap-px opacity-20",children:Array.from({length:9}).map((o,l)=>(0,e.jsx)("div",{className:"h-12 w-16 rounded bg-primary/30 sm:h-16 sm:w-24"},l))}),(0,e.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-2",children:[(0,e.jsx)(A,{className:"h-10 w-10 text-muted-foreground
1/40",strokeWidth:1.2}),(0,e.jsx)("span",{className:"text-xs font-medium uppercase tracking-wider text-muted-foreground/50",children:"AI storyboard picture"})]})]}),(0,e.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-gradient-to-t from-background/80 via-transparent to-transparent"}),(0,e.jsx)("div",{className:"absolute left-4 top-4",children:(0,e.jsxs)("span",{className:"rounded-full border border-white/20 bg-black/50 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.14em] text-white/90 backdrop-blur-sm",children:["Shot ",s+1," / ",r.frames.length]})}),(0,e.jsx)("div",{className:"absolute right-4 top-4",children:(0,e.jsxs)("div",{className:"flex items-center gap-1.5 rounded-full border border-primary/30 bg-primary/20 px-3 py-1 backdrop-blur-sm",children:[(0,e.jsx)(E,{className:"h-3 w-3 text-primary",strokeWidth:2.5}),(0,e.jsx)("span",{className:"text-[11px] font-semibold text-primary",children:"Character locked"})]})}),(0,e.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-5",children:[(0,e.jsx)("p",{className:"text-sm font-semibold text-white",children:n?.label}),n?.caption?(0,e.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-white/70",children:n.caption}):null]})]})}),(0,e.jsx)("div",{className:"flex gap-3 overflow-x-auto pb-1 lg:flex-col lg:overflow-x-visible lg:pb-0",children:r.frames.map((o,l)=>(0,e.jsxs)("button",{type:"button",onClick:()=>i(l),className:m("group relative shrink-0 overflow-hidden rounded-xl border transition-all duration-300 outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50","lg:w-40",l===s?"border-primary/60 shadow-[0_0_16px_rgba(var(--primary-rgb),0.25)] ring-1 ring-primary/40":"border-border/50 bg-card/60 hover:border-primary/30"),"aria-label":`View ${o.label}`,children:[(0,e.jsxs)("div",{className:"relative aspect-[16/10] w-40 overflow-hidden lg:w-full",children:[o.imageUrl?(0,e.jsx)("img",{src:o.imageUrl,alt:o.label,loading:"lazy",className:m("h-full w-full object-cover transition-transform duration-500",l===s?"scale-105":"group-hover:scale-105")}):(0,e.jsx)("div",{className:m("flex h-full w-full items-center justify-center",l===s?"bg-primary/15":"bg-muted/40"),children:(0,e.jsx)(A,{className:m("h-5 w-5 transition-colors",l===s?"text-primary/70":"text-muted-foreground/40"),strokeWidth:1.5})}),l===s&&(0,e.jsx)("div",{className:"absolute inset-0 bg-primary/10"}),(0,e.jsx)("span",{className:m("absolute left-2 top-2 rounded-md px-1.5 py-0.5 text-[10px] font-bold",l===s?"bg-primary text-primary-foreground":"bg-background/70 text-foreground/70"),children:l+1})]}),(0,e.jsx)("div",{className:m("border-t p-2 text-left transition-colors",l===s?"border-primary/30 bg-primary/[0.06]":"border-border/40"),children:(0,e.jsx)("p",{className:m("line-clamp-1 text-[11px] font-semibold leading-snug transition-colors",l===s?"text-primary":"text-muted-foreground group-hover:text-foreground"),children:o.label})})]},o.label))})]}),(0,e.jsx)("div",{className:"mt-5 flex items-center gap-1.5",children:r.frames.map((o,l)=>(0,e.jsx)("button",{type:"button",onClick:()=>i(l),className:m("h-1 flex-1 rounded-full transition-all duration-300 outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50",l===s?"bg-primary":"bg-border/60 hover:bg-border"),"aria-label":`Go to frame ${l+1}`},l))}),r.note?(0,e.jsx)("p",{className:"mt-4 text-xs text-muted-foreground/60",children:r.note}):null]})]})]})};function ze(t,r,s){const i=`${r}/features/${t.slug}`,n=[...t.bullets.map(l=>l.title),...t.contentSections?.flatMap(l=>l.items.map(g=>g.title))??[]],o=[{"@type":"WebPage","@id":`${i}#webpage`,name:t.seo.title,description:t.seo.description,url:i,isPartOf:{"@type":"WebSite",name:"M Studio",url:r},about:{"@id":`${i}#software`},primaryImageOfPage:t.gifUrl},{"@type":"SoftwareApplication","@id":`${i}#software`,name:`M Studio â ${t.title}`,description:t.subheadline,applicationCategory:"MultimediaApplication",operatingSystem:"Web",url:i,brand:je(r),inLanguage:"en",offers:fe(r,s),featureList:n},{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:r},{"@type":"ListItem",position:2,name:"Features",item:`${r}/features`},{"@type":"ListItem",position:3,name:t.title,item:i}]}];return t.faqs?.length&&o.push({"@type":"FAQPage","@id":`${i}#faq`,mainEntity:t.faqs.map(l=>
1({"@type":"Question",name:l.question,acceptedAnswer:{"@type":"Answer",text:l.answer}}))}),{"@context":"https://schema.org","@graph":o}}function U({slug:t}){const r=`/features/${t}`;return ve[r]?(0,e.jsx)("div",{className:"mx-auto max-w-screen-2xl px-4 py-6 sm:px-6 lg:px-8",children:(0,e.jsx)(ye,{path:r})}):null}function Cr({slug:t}){const r=h[t],s=O(),i=W(),{baseUrl:n,startingPriceCents:o}=be();if(!r)return null;const l=ze(r,n,o);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(le,{title:r.seo.title,description:r.seo.description,keywords:r.seo.keywords,ogImage:r.seo.image,canonical:`/features/${r.slug}`,structuredData:l}),(0,e.jsxs)("div",{className:"theme-marketing relative min-h-screen overflow-x-hidden bg-background",children:[(0,e.jsx)(ie,{root:!0}),(0,e.jsx)(me,{variant:"blur"}),(0,e.jsxs)("main",{id:"main-content",className:"relative z-10",children:[(0,e.jsx)(Le,{feature:r}),(0,e.jsx)(U,{slug:r.slug}),(0,e.jsx)("div",{className:"mx-auto max-w-screen-2xl px-4 sm:px-6 lg:px-8",children:(0,e.jsx)(ke,{})}),(0,e.jsx)(he,{}),r.showcase?(0,e.jsx)(We,{feature:r}):null,(0,e.jsx)(Ae,{}),(0,e.jsx)(Re,{feature:r}),(0,e.jsx)(Ue,{feature:r}),(0,e.jsx)(U,{slug:r.slug}),r.slug!=="ai-storyboard-generator"?(0,e.jsx)(Ce,{feature:r}):null,(0,e.jsx)(Ne,{title:`${r.title}, built into one workflow`,subheading:"Script, storyboard, video, voice, and sound connect in one place, so you go from idea to final cut without switching tools."}),(0,e.jsx)(ce,{}),r.faqs?.length?(0,e.jsx)(we,{items:r.faqs,eyebrow:r.title,title:"Frequently asked questions",description:"Setup, workflow, and production use.",showActions:!1}):null,(0,e.jsx)(Pe,{currentSlug:r.slug}),(0,e.jsx)(oe,{eyebrow:"Ready when you are",title:"First cut in one session",description:`${r.subheadline} Plans from $${o/100}/mo with a full refund within 24 hours, so put it through real work first.`,primaryActionLabel:"Start now",primaryActionHref:i,secondaryActionLabel:"See pricing",secondaryActionHref:s("pricing"),videoSrc:$.piratesfly.videoUrl,videoF
1allbackImageSrc:$.piratesfly.fallbackImageUrl,videoAriaLabel:`${r.title} cinematic preview`})]}),(0,e.jsx)(de,{})]})]})}export{Cr as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.