{"version":3,"file":"FormBuildCard.CKspDSfS.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/kCz9MhutY4qSx0jYU0wk/eyDKm8cOtReTM7OROirT/FormBuildCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * FormBuildCard\n * Greyscale rectangular CTA card — Stack AI style, fully responsive.\n *\n * Desktop: left copy (label + headline + body + button) | right big app icon\n * Mobile:  logo top (full width) → label + headline + body (centered) → button (centered, bottom)\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */const css=`\n    @keyframes fbShine {\n        0%   { transform: translateX(-150%) skewX(-12deg); }\n        50%  { transform: translateX(250%) skewX(-12deg); }\n        100% { transform: translateX(250%) skewX(-12deg); }\n    }\n`;const FORMM_LOGO=\"https://framerusercontent.com/images/Hf2CkO1m1UpIMmgCNol9Smhn04A.png\";function useIsMobile(breakpoint=768){const[isMobile,setIsMobile]=useState(false);useEffect(()=>{const check=()=>setIsMobile(window.innerWidth<breakpoint);check();window.addEventListener(\"resize\",check);return()=>window.removeEventListener(\"resize\",check);},[breakpoint]);return isMobile;}export default function FormBuildCard({shineDuration=3.5,shineAngle=115,label=\"GET STARTED\",headline=\"We build your Framer site.\",body=\"Design-led Framer development for founders, startups, and brands that refuse to look generic.\",ctaText=\"Start a project →\",ctaLink=\"https://cal.com/formm/strategy-call\"}){const isMobile=useIsMobile();const ctaButton=/*#__PURE__*/_jsx(\"a\",{href:ctaLink,target:\"_blank\",rel:\"noopener noreferrer\",style:{display:\"inline-block\",fontFamily:\"'Inter', sans-serif\",fontSize:14,fontWeight:600,letterSpacing:\"-0.2px\",color:\"rgb(0,0,0)\",backgroundColor:\"rgb(255,255,255)\",padding:\"14px 28px\",borderRadius:100,textDecoration:\"none\",transition:\"opacity 0.2s ease\",whiteSpace:\"nowrap\"},onMouseEnter:e=>{e.currentTarget.style.opacity=\"0.85\";},onMouseLeave:e=>{e.currentTarget.style.opacity=\"1\";},children:ctaText});// Logo icon block — reused in both mobile & desktop\nconst logoBlock=isMobileCtx=>/*#__PURE__*/_jsxs(\"div\",{style:{width:isMobileCtx?\"75%\":\"100%\",maxWidth:isMobileCtx?240:320,aspectRatio:\"1 / 1\",borderRadius:isMobileCtx?40:48,backgroundColor:\"rgb(14, 14, 14)\",border:\"1px solid rgba(255,255,255,0.07)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxShadow:\"0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.06), 0 24px 64px rgba(0,0,0,0.7)\",position:\"relative\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:14,left:\"10%\",right:\"10%\",height:1,backgroundImage:\"repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0px, rgba(255,255,255,0.12) 4px, transparent 4px, transparent 10px)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:14,left:\"10%\",right:\"10%\",height:1,backgroundImage:\"repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0px, rgba(255,255,255,0.12) 4px, transparent 4px, transparent 10px)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:14,top:\"10%\",bottom:\"10%\",width:1,backgroundImage:\"repeating-linear-gradient(180deg, rgba(255,255,255,0.12) 0px, rgba(255,255,255,0.12) 4px, transparent 4px, transparent 10px)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",right:14,top:\"10%\",bottom:\"10%\",width:1,backgroundImage:\"repeating-linear-gradient(180deg, rgba(255,255,255,0.12) 0px, rgba(255,255,255,0.12) 4px, transparent 4px, transparent 10px)\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{width:\"72%\",aspectRatio:\"1 / 1\",borderRadius:isMobileCtx?26:32,backgroundColor:\"rgb(18, 18, 18)\",border:\"1px solid rgba(255,255,255,0.06)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxShadow:\"inset 0 2px 8px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03)\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:0,left:\"15%\",right:\"15%\",height:\"1px\",background:\"linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent)\"}}),/*#__PURE__*/_jsx(\"img\",{src:FORMM_LOGO,alt:\"Formm logo\",style:{width:\"62%\",height:\"auto\",objectFit:\"contain\",filter:\"brightness(0) invert(1)\",opacity:.92,userSelect:\"none\",pointerEvents:\"none\",display:\"block\"}})]})]});return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",padding:isMobile?\"24px 16px\":\"60px 24px\",boxSizing:\"border-box\",display:\"flex\",justifyContent:\"center\",backgroundColor:\"transparent\"},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",maxWidth:1200,borderRadius:isMobile?20:20,backgroundColor:\"rgb(20, 20, 20)\",border:\"1px solid rgba(255,255,255,0.08)\",overflow:\"hidden\",display:\"flex\",flexDirection:isMobile?\"column\":\"row\",boxShadow:\"0 40px 100px rgba(0,0,0,0.55)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,backgroundImage:\"radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px)\",backgroundSize:\"20px 20px\",pointerEvents:\"none\",zIndex:0}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"hidden\",pointerEvents:\"none\",zIndex:10,borderRadius:20},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"55%\",height:\"100%\",background:`linear-gradient(${shineAngle}deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%)`,animation:`fbShine ${shineDuration}s ease-in-out infinite`}})}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:\"8%\",right:\"8%\",height:1,background:\"linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent)\",zIndex:11}}),!isMobile&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",zIndex:5,flex:\"1 1 50%\",padding:\"64px 40px 64px 64px\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"'Inter', sans-serif\",fontSize:11,fontWeight:500,letterSpacing:\"0.14em\",textTransform:\"uppercase\",color:\"rgba(255,255,255,0.32)\",marginBottom:20,display:\"inline-block\",borderBottom:\"1px solid rgba(255,255,255,0.13)\",paddingBottom:10,width:\"fit-content\"},children:label}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:\"'Inter', sans-serif\",fontSize:54,fontWeight:700,letterSpacing:\"-2.5px\",lineHeight:1.08,color:\"rgb(255,255,255)\",margin:\"0 0 20px 0\"},children:headline}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"'Inter', sans-serif\",fontSize:14.5,lineHeight:1.65,color:\"rgba(255,255,255,0.4)\",margin:\"0 0 40px 0\",maxWidth:360},children:body}),/*#__PURE__*/_jsx(\"div\",{children:ctaButton})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",zIndex:5,flex:\"1 1 50%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"48px\",borderLeft:\"1px solid rgba(255,255,255,0.05)\"},children:logoBlock(false)})]}),isMobile&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",zIndex:5,display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",padding:\"40px 32px 36px 32px\",boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"rgb(16,16,16)\"},children:logoBlock(true)}),/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",padding:\"36px 28px 28px 28px\",boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",textAlign:\"center\",borderTop:\"1px solid rgba(255,255,255,0.06)\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"'Inter', sans-serif\",fontSize:11,fontWeight:500,letterSpacing:\"0.14em\",textTransform:\"uppercase\",color:\"rgba(255,255,255,0.32)\",marginBottom:20,display:\"inline-block\",borderBottom:\"1px solid rgba(255,255,255,0.13)\",paddingBottom:10},children:label}),/*#__PURE__*/_jsx(\"h2\",{style:{fontFamily:\"'Inter', sans-serif\",fontSize:36,fontWeight:700,letterSpacing:\"-1.5px\",lineHeight:1.1,color:\"rgb(255,255,255)\",margin:\"0 0 16px 0\"},children:headline}),/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"'Inter', sans-serif\",fontSize:14,lineHeight:1.65,color:\"rgba(255,255,255,0.4)\",margin:0,maxWidth:300},children:body})]}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",padding:\"20px 28px 40px 28px\",boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",borderTop:\"1px solid rgba(255,255,255,0.06)\"},children:ctaButton})]})]})]});}addPropertyControls(FormBuildCard,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"GET STARTED\"},headline:{type:ControlType.String,title:\"Headline\",defaultValue:\"We build your Framer site.\"},body:{type:ControlType.String,title:\"Body\",defaultValue:\"Design-led Framer development for founders, startups, and brands that refuse to look generic.\"},ctaText:{type:ControlType.String,title:\"CTA Text\",defaultValue:\"Start a project →\"},ctaLink:{type:ControlType.String,title:\"CTA Link\",defaultValue:\"https://cal.com/formm/strategy-call\"},shineDuration:{type:ControlType.Number,title:\"Shine Duration\",defaultValue:3.5,min:1,max:10,step:.5},shineAngle:{type:ControlType.Number,title:\"Shine Angle\",defaultValue:115,min:0,max:360}});\nexport const __FramerMetadata__ = {\"exports\":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