{"version":3,"file":"WhyDesignMattersSection.DXFsEVvL.mjs","names":["useState","startTransition"],"sources":["https:/framerusercontent.com/modules/XY8UncPxBmNJnatQKQJz/7oLcBZqV9dwVTLcArfsB/WhyDesignMattersSection.js"],"sourcesContent":["// Clean, responsive section titled \"Why Design Matters\" using Sprintmore light theme\n// 3 responsive cards with gradient icons, headings, and body text\n// Maintains premium aesthetic with subtle shadows and hover effects\n// CTA button with URL navigation capability\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,startTransition}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function WhyDesignMattersSection(props){const{title,titleColor,middleSection,middleSectionColor,middleSectionFont,cards,cardBackground,headingColor,bodyColor,borderRadius,sectionPaddingY,cardGap,titleFont,headingFont,bodyFont,showCTA,ctaText,ctaUrl,ctaBackground,ctaTextColor,ctaFont,ctaBorderRadius,style}=props;return /*#__PURE__*/_jsx(\"section\",{style:{...style,background:\"linear-gradient(180deg, #FFFFFF 0%, #FAF9FF 60%, #F3EEFF 100%)\",paddingTop:sectionPaddingY,paddingBottom:sectionPaddingY,paddingLeft:24,paddingRight:24,width:\"100%\",position:\"relative\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:1200,margin:\"0 auto\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{...titleFont,color:titleColor,textAlign:\"center\",margin:0,marginBottom:48},children:title}),/*#__PURE__*/_jsx(\"div\",{style:{...middleSectionFont,color:middleSectionColor,textAlign:\"center\",margin:\"0 auto\",marginBottom:48,maxWidth:800,whiteSpace:\"pre-wrap\"},children:middleSection}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(auto-fit, minmax(280px, 1fr))\",gap:cardGap,width:\"100%\"},children:cards.map((card,index)=>/*#__PURE__*/_jsx(Card,{card:card,cardBackground:cardBackground,borderRadius:borderRadius,headingColor:headingColor,bodyColor:bodyColor,headingFont:headingFont,bodyFont:bodyFont},index))}),showCTA&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",marginTop:48},children:/*#__PURE__*/_jsx(CTAButton,{text:ctaText,url:ctaUrl,background:ctaBackground,textColor:ctaTextColor,font:ctaFont,borderRadius:ctaBorderRadius})})]})});}function Card({card,cardBackground,borderRadius,headingColor,bodyColor,headingFont,bodyFont}){const[isHovered,setIsHovered]=useState(false);return /*#__PURE__*/_jsxs(\"div\",{style:{background:cardBackground,borderRadius:borderRadius,padding:32,boxShadow:isHovered?\"0 8px 16px rgba(0,0,0,0.1)\":\"0 2px 8px rgba(0,0,0,0.06)\",transform:isHovered?\"translateY(-4px)\":\"translateY(0)\",transition:\"transform 0.2s ease, box-shadow 0.2s ease\",cursor:\"default\"},onMouseEnter:()=>startTransition(()=>setIsHovered(true)),onMouseLeave:()=>startTransition(()=>setIsHovered(false)),children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:40,marginBottom:20,background:\"linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%)\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundClip:\"text\",lineHeight:1},children:card.icon}),/*#__PURE__*/_jsx(\"h3\",{style:{...headingFont,color:headingColor,margin:0,marginBottom:12},children:card.heading}),/*#__PURE__*/_jsx(\"p\",{style:{...bodyFont,color:bodyColor,margin:0},children:card.body})]});}function CTAButton({text,url,background,textColor,font,borderRadius}){const[isHovered,setIsHovered]=useState(false);const handleClick=()=>{if(url){if(typeof window!==\"undefined\"){window.location.href=url;}}};return /*#__PURE__*/_jsxs(\"button\",{onClick:handleClick,style:{...font,background:background,color:textColor,border:\"none\",borderRadius:borderRadius,padding:\"16px 32px\",cursor:\"pointer\",transform:isHovered?\"translateY(-2px)\":\"translateY(0)\",boxShadow:isHovered?\"0 8px 16px rgba(0,0,0,0.15)\":\"0 4px 12px rgba(0,0,0,0.1)\",transition:\"transform 0.2s ease, box-shadow 0.2s ease\",display:\"flex\",alignItems:\"center\",gap:8},onMouseEnter:()=>startTransition(()=>setIsHovered(true)),onMouseLeave:()=>startTransition(()=>setIsHovered(false)),children:[/*#__PURE__*/_jsx(\"span\",{children:text}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"0.9em\"},children:\"→\"})]});}addPropertyControls(WhyDesignMattersSection,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Why Design Matters\"},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#1A1333\"},middleSection:{type:ControlType.String,title:\"Middle Section\",defaultValue:\"This is an editable section between the title and cards. You can customize this text to provide additional context or information.\",displayTextArea:true},middleSectionColor:{type:ControlType.Color,title:\"Middle Section Color\",defaultValue:\"#4E4A66\"},middleSectionFont:{type:ControlType.Font,title:\"Middle Section Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.6em\"}},cards:{type:ControlType.Array,title:\"Cards\",control:{type:ControlType.Object,controls:{icon:{type:ControlType.String,title:\"Icon\",defaultValue:\"📐\"},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Blueprint AI Systems\"},body:{type:ControlType.String,title:\"Body\",defaultValue:\"Translate business goals into scalable, modular AI architectures that align with strategy.\",displayTextArea:true}}},defaultValue:[{icon:\"📐\",heading:\"Blueprint AI Systems\",body:\"Translate business goals into scalable, modular AI architectures that align with strategy.\"},{icon:\"🔄\",heading:\"Visualize Data Flows\",body:\"Map connections between tools, models, and processes for faster implementation.\"},{icon:\"📊\",heading:\"Plan for Measurable Impact\",body:\"Define KPIs and metrics early to ensure accountability and performance tracking.\"}]},cardBackground:{type:ControlType.Color,title:\"Card Background\",defaultValue:\"#FFFFFF\"},headingColor:{type:ControlType.Color,title:\"Heading Color\",defaultValue:\"#1A1333\"},bodyColor:{type:ControlType.Color,title:\"Body Color\",defaultValue:\"#4E4A66\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:16,min:0,max:32,step:1,unit:\"px\"},sectionPaddingY:{type:ControlType.Number,title:\"Section Padding Y\",defaultValue:80,min:0,max:200,step:8,unit:\"px\"},cardGap:{type:ControlType.Number,title:\"Card Gap\",defaultValue:24,min:0,max:64,step:4,unit:\"px\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"40px\",variant:\"Bold\",letterSpacing:\"-0.04em\",lineHeight:\"1em\"}},headingFont:{type:ControlType.Font,title:\"Heading Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"22px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.5em\"}},showCTA:{type:ControlType.Boolean,title:\"Show CTA\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},ctaText:{type:ControlType.String,title:\"CTA Text\",defaultValue:\"Explore the Discover Stage\",hidden:({showCTA})=>!showCTA},ctaUrl:{type:ControlType.String,title:\"CTA URL\",defaultValue:\"/discover\",placeholder:\"/discover\",hidden:({showCTA})=>!showCTA},ctaBackground:{type:ControlType.Color,title:\"CTA Background\",defaultValue:\"#8B5CF6\",hidden:({showCTA})=>!showCTA},ctaTextColor:{type:ControlType.Color,title:\"CTA Text Color\",defaultValue:\"#FFFFFF\",hidden:({showCTA})=>!showCTA},ctaFont:{type:ControlType.Font,title:\"CTA Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},hidden:({showCTA})=>!showCTA},ctaBorderRadius:{type:ControlType.Number,title:\"CTA Border Radius\",defaultValue:12,min:0,max:32,step:1,unit:\"px\",hidden:({showCTA})=>!showCTA}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WhyDesignMattersSection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WhyDesignMattersSection.map"],"mappings":"sMAOG,SAAwB,EAAwB,EAAM,CAAC,GAAK,CAAC,QAAM,aAAW,gBAAc,qBAAmB,oBAAkB,QAAM,iBAAe,eAAa,YAAU,eAAa,kBAAgB,UAAQ,YAAU,cAAY,WAAS,UAAQ,UAAQ,SAAO,gBAAc,eAAa,UAAQ,kBAAgB,SAAO,EAAM,OAAoB,EAAK,UAAU,CAAC,MAAM,CAAC,GAAG,EAAM,WAAW,iEAAiE,WAAW,EAAgB,cAAc,EAAgB,YAAY,GAAG,aAAa,GAAG,MAAM,OAAO,SAAS,WAAW,CAAC,SAAsB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,KAAK,OAAO,SAAS,MAAM,OAAO,CAAC,SAAS,CAAc,EAAK,KAAK,CAAC,MAAM,CAAC,GAAG,EAAU,MAAM,EAAW,UAAU,SAAS,OAAO,EAAE,aAAa,GAAG,CAAC,SAAS,EAAM,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAkB,MAAM,EAAmB,UAAU,SAAS,OAAO,SAAS,aAAa,GAAG,SAAS,IAAI,WAAW,WAAW,CAAC,SAAS,EAAc,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,oBAAoB,uCAAuC,IAAI,EAAQ,MAAM,OAAO,CAAC,SAAS,EAAM,KAAK,EAAK,IAAqB,EAAK,EAAK,CAAM,OAAoB,iBAA4B,eAA0B,eAAuB,YAAsB,cAAqB,WAAS,CAAC,EAAM,CAAC,CAAC,CAAC,CAAC,GAAsB,EAAK,MAAM,CAAC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