{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bpsc/bento-feature-grid-section",
  "version": "1.0.0",
  "title": "Bento Feature Grid Section",
  "category": "bPlugins",
  "description": "An asymmetric bento-grid feature showcase with five layouts, configurable cards, icons, and stat badges.",
  "keywords": [
    "bento",
    "feature",
    "grid",
    "saas",
    "showcase",
    "section"
  ],
  "textdomain": "section-collection",
  "attributes": {
    "themeStyle": {
      "type": "object",
      "default": {
        "theme": "style-1"
      }
    },
    "content": {
      "type": "object",
      "default": {
        "badgeText": "Features",
        "title": "Everything you need, beautifully organised",
        "subtitle": "One platform. Endless possibilities. No learning curve."
      }
    },
    "elements": {
      "type": "object",
      "default": {
        "isBadge": true,
        "isTitle": true,
        "isSubtitle": true,
        "isCta": false
      }
    },
    "cells": {
      "type": "array",
      "default": [
        {
          "id": "c1",
          "contentType": "screenshot-text",
          "colSpan": 2,
          "rowSpan": 2,
          "icon": "",
          "image": "",
          "title": "Ship faster with AI",
          "description": "Generate, review, and deploy code in seconds. Our AI copilot handles the boilerplate.",
          "stat": "",
          "statLabel": "",
          "accentColor": "#6366f1",
          "url": "",
          "newTab": false
        },
        {
          "id": "c2",
          "contentType": "icon-text",
          "colSpan": 1,
          "rowSpan": 1,
          "icon": "bolt",
          "image": "",
          "title": "10× faster builds",
          "description": "Incremental builds complete in milliseconds, not minutes.",
          "stat": "",
          "statLabel": "",
          "accentColor": "#f59e0b",
          "url": "",
          "newTab": false
        },
        {
          "id": "c3",
          "contentType": "stat-spotlight",
          "colSpan": 1,
          "rowSpan": 1,
          "icon": "",
          "image": "",
          "title": "Uptime",
          "description": "Guaranteed SLA across all regions.",
          "stat": "99.9%",
          "statLabel": "uptime SLA",
          "accentColor": "#10b981",
          "url": "",
          "newTab": false
        },
        {
          "id": "c4",
          "contentType": "icon-text",
          "colSpan": 1,
          "rowSpan": 1,
          "icon": "shield",
          "image": "",
          "title": "Enterprise security",
          "description": "SOC 2 Type II, GDPR, and SSO included on every plan.",
          "stat": "",
          "statLabel": "",
          "accentColor": "#3b82f6",
          "url": "",
          "newTab": false
        },
        {
          "id": "c5",
          "contentType": "icon-stat",
          "colSpan": 1,
          "rowSpan": 1,
          "icon": "users",
          "image": "",
          "title": "Teams",
          "description": "",
          "stat": "50K+",
          "statLabel": "active teams",
          "accentColor": "#8b5cf6",
          "url": "",
          "newTab": false
        },
        {
          "id": "c6",
          "contentType": "icon-text",
          "colSpan": 2,
          "rowSpan": 1,
          "icon": "plug",
          "image": "",
          "title": "Works with your existing stack",
          "description": "Native integrations with GitHub, Slack, Jira, Figma, and 200+ tools.",
          "stat": "",
          "statLabel": "",
          "accentColor": "#ec4899",
          "url": "",
          "newTab": false
        }
      ]
    },
    "gridColumns": {
      "type": "object",
      "default": {
        "desktop": 4,
        "tablet": 2,
        "mobile": 1
      }
    },
    "cta": {
      "type": "object",
      "default": {
        "text": "See all features",
        "url": "#",
        "newTab": false
      }
    },
    "titleStyle": {
      "type": "object",
      "default": {
        "color": "#111827",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 700,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 42,
            "tablet": 34,
            "mobile": 27
          },
          "lineHeight": "1.2"
        }
      }
    },
    "subtitleStyle": {
      "type": "object",
      "default": {
        "color": "#6b7280",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 400,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 18,
            "tablet": 16,
            "mobile": 15
          },
          "lineHeight": "1.65"
        }
      }
    },
    "badgeStyle": {
      "type": "object",
      "default": {
        "backgroundColor": "#eff6ff",
        "textColor": "#2563eb",
        "borderRadius": {
          "top": "20px",
          "right": "20px",
          "bottom": "20px",
          "left": "20px"
        },
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 600,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 13,
            "tablet": 13,
            "mobile": 13
          }
        }
      }
    },
    "cellStyle": {
      "type": "object",
      "default": {
        "backgroundColor": "#ffffff",
        "borderColor": "#e5e7eb",
        "borderRadius": {
          "top": "16px",
          "right": "16px",
          "bottom": "16px",
          "left": "16px"
        },
        "hoverShadow": "0 8px 32px rgba(0,0,0,0.10)",
        "padding": {
          "desktop": {
            "top": "28px",
            "right": "28px",
            "bottom": "28px",
            "left": "28px"
          },
          "tablet": {
            "top": "22px",
            "right": "22px",
            "bottom": "22px",
            "left": "22px"
          },
          "mobile": {
            "top": "18px",
            "right": "18px",
            "bottom": "18px",
            "left": "18px"
          }
        }
      }
    },
    "cellTitleStyle": {
      "type": "object",
      "default": {
        "color": "#111827",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 600,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 18,
            "tablet": 16,
            "mobile": 15
          },
          "lineHeight": "1.35"
        }
      }
    },
    "cellDescStyle": {
      "type": "object",
      "default": {
        "color": "#6b7280",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 400,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 14,
            "tablet": 14,
            "mobile": 13
          },
          "lineHeight": "1.6"
        }
      }
    },
    "statStyle": {
      "type": "object",
      "default": {
        "color": "#111827",
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 800,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 40,
            "tablet": 34,
            "mobile": 28
          },
          "lineHeight": "1.1"
        }
      }
    },
    "ctaStyle": {
      "type": "object",
      "default": {
        "backgroundColor": "#111827",
        "textColor": "#ffffff",
        "hoverBackgroundColor": "#374151",
        "hoverTextColor": "#ffffff",
        "borderRadius": {
          "top": "8px",
          "right": "8px",
          "bottom": "8px",
          "left": "8px"
        },
        "padding": {
          "desktop": {
            "top": "14px",
            "right": "32px",
            "bottom": "14px",
            "left": "32px"
          },
          "tablet": {
            "top": "12px",
            "right": "24px",
            "bottom": "12px",
            "left": "24px"
          },
          "mobile": {
            "top": "11px",
            "right": "20px",
            "bottom": "11px",
            "left": "20px"
          }
        },
        "typo": {
          "fontCategory": "sans-serif",
          "fontFamily": "Default",
          "fontWeight": 600,
          "isUploadFont": true,
          "fontSize": {
            "desktop": 15,
            "tablet": 14,
            "mobile": 14
          }
        }
      }
    },
    "gapStyle": {
      "type": "object",
      "default": {
        "desktop": "20px",
        "tablet": "16px",
        "mobile": "12px"
      }
    },
    "wrapper": {
      "type": "object",
      "default": {
        "bg": {
          "type": "solid",
          "color": "#f9fafb",
          "gradient": "linear-gradient(135deg, #f0f9ff 0%, #faf5ff 100%)",
          "overlayColor": "rgba(0,0,0,0)",
          "image": {
            "url": ""
          },
          "position": "center center",
          "repeat": "no-repeat",
          "size": "cover"
        },
        "padding": {
          "desktop": {
            "top": "80px",
            "right": "24px",
            "bottom": "80px",
            "left": "24px"
          },
          "tablet": {
            "top": "60px",
            "right": "20px",
            "bottom": "60px",
            "left": "20px"
          },
          "mobile": {
            "top": "48px",
            "right": "16px",
            "bottom": "48px",
            "left": "16px"
          }
        }
      }
    },
    "layout": {
      "type": "object",
      "default": {
        "contentAlign": "center",
        "maxWidth": "1100px"
      }
    },
    "align": {
      "type": "string",
      "default": "full"
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  },
  "example": {
    "attributes": {}
  },
  "editorScript": "file:../index.js",
  "style": "file:./view.css",
  "render": "file:./render.php",
  "viewScript": "file:./view.js"
}