{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "TierProgressScreen",
      "x": 0,
      "y": 0,
      "name": "Screen/TierProgress",
      "reusable": true,
      "width": 390,
      "fill": "$bg-page",
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "TierTopBar",
          "name": "TopBar",
          "width": "fill_container",
          "height": 56,
          "fill": "$bg-surface",
          "gap": 8,
          "padding": [
            0,
            16
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "icon_font",
              "id": "TierBackIcon",
              "name": "BackIcon",
              "width": 24,
              "height": 24,
              "iconFontName": "arrow-left",
              "iconFontFamily": "lucide",
              "fill": "$text-primary"
            },
            {
              "type": "text",
              "id": "TierScreenTitle",
              "name": "Title",
              "fill": "$text-primary",
              "content": "Hạng thành viên",
              "fontFamily": "Poppins",
              "fontSize": 18,
              "fontWeight": "600"
            }
          ]
        },
        {
          "type": "frame",
          "id": "TierScrollContent",
          "name": "ScrollContent",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 24,
          "padding": 20,
          "children": [
            {
              "type": "frame",
              "id": "CurrentTierCard",
              "name": "CurrentTierCard",
              "width": "fill_container",
              "fill": "#FFD700",
              "cornerRadius": 20,
              "effect": {
                "type": "shadow",
                "shadowType": "outer",
                "color": "#00000015",
                "offset": {
                  "x": 0,
                  "y": 4
                },
                "blur": 12
              },
              "layout": "vertical",
              "gap": 16,
              "padding": 24,
              "children": [
                {
                  "type": "icon_font",
                  "id": "TierCrownIcon",
                  "name": "CrownIcon",
                  "width": 32,
                  "height": 32,
                  "iconFontName": "crown",
                  "iconFontFamily": "lucide",
                  "fill": "#1F2937"
                },
                {
                  "type": "text",
                  "id": "TierCurrentLabel",
                  "name": "TierLabel",
                  "fill": "#1F2937",
                  "content": "Gold Member",
                  "fontFamily": "Poppins",
                  "fontSize": 22,
                  "fontWeight": "700"
                },
                {
                  "type": "text",
                  "id": "TierMemberName",
                  "name": "MemberName",
                  "fill": "#374151",
                  "content": "Nguyễn Văn A",
                  "fontFamily": "Poppins",
                  "fontSize": 16,
                  "fontWeight": "500"
                },
                {
                  "type": "text",
                  "id": "TierPointsProgress",
                  "name": "PointsProgress",
                  "fill": "#4B5563",
                  "content": "2,450 / 5,000 điểm",
                  "fontFamily": "Poppins",
                  "fontSize": 14,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "TierProgressBarBg",
                  "name": "ProgressBarBg",
                  "width": "fill_container",
                  "height": 12,
                  "fill": "#FFFFFF66",
                  "cornerRadius": 6,
                  "children": [
                    {
                      "type": "frame",
                      "id": "TierProgressBarFill",
                      "name": "ProgressBarFill",
                      "width": 148,
                      "height": 12,
                      "fill": "#FFFFFF",
                      "cornerRadius": 6
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "TierRemainingText",
                  "name": "RemainingText",
                  "fill": "#6B7280",
                  "content": "Còn 2,550 điểm để lên Platinum",
                  "fontFamily": "Poppins",
                  "fontSize": 12
                }
              ]
            },
            {
              "type": "frame",
              "id": "TierRoadmapSection",
              "name": "TierRoadmap",
              "width": "fill_container",
              "layout": "vertical",
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "TierRoadmapBronze",
                  "name": "BronzeTier",
                  "width": "fill_container",
                  "fill": "#F9FAFB",
                  "cornerRadius": 12,
                  "stroke": {
                    "align": "inside",
                    "thickness": 1,
                    "fill": "#E5E7EB"
                  },
                  "gap": 12,
                  "padding": 16,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "BronzeIconBg",
                      "name": "IconBg",
                      "width": 36,
                      "height": 36,
                      "fill": "#CD7F32",
                      "cornerRadius": 18,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "BronzeCheckIcon",
                          "name": "Icon",
                          "width": 20,
                          "height": 20,
                          "iconFontName": "check",
                          "iconFontFamily": "lucide",
                          "fill": "#FFFFFF"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "BronzeInfo",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "BronzeName",
                          "name": "Name",
                          "fill": "#1F2937",
                          "content": "Bronze",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "BronzeDesc",
                          "name": "Description",
                          "fill": "#6B7280",
                          "content": "0 điểm - Tích điểm cơ bản",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TierConnectorLine1",
                  "name": "Connector1",
                  "width": 2,
                  "height": 20,
                  "fill": "$border-default"
                },
                {
                  "type": "frame",
                  "id": "TierRoadmapSilver",
                  "name": "SilverTier",
                  "width": "fill_container",
                  "fill": "#F9FAFB",
                  "cornerRadius": 12,
                  "stroke": {
                    "align": "inside",
                    "thickness": 1,
                    "fill": "#E5E7EB"
                  },
                  "gap": 12,
                  "padding": 16,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "SilverIconBg",
                      "name": "IconBg",
                      "width": 36,
                      "height": 36,
                      "fill": "#C0C0C0",
                      "cornerRadius": 18,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "SilverCheckIcon",
                          "name": "Icon",
                          "width": 20,
                          "height": 20,
                          "iconFontName": "check",
                          "iconFontFamily": "lucide",
                          "fill": "#FFFFFF"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "SilverInfo",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "SilverName",
                          "name": "Name",
                          "fill": "#1F2937",
                          "content": "Silver",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "SilverDesc",
                          "name": "Description",
                          "fill": "#6B7280",
                          "content": "500 điểm - Giảm 5% mọi đơn",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TierConnectorLine2",
                  "name": "Connector2",
                  "width": 2,
                  "height": 20,
                  "fill": "$border-default"
                },
                {
                  "type": "frame",
                  "id": "TierRoadmapGold",
                  "name": "GoldTier",
                  "width": "fill_container",
                  "fill": "#FFF8E1",
                  "cornerRadius": 12,
                  "stroke": {
                    "align": "inside",
                    "thickness": 2,
                    "fill": "#FFD700"
                  },
                  "gap": 12,
                  "padding": 16,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "GoldIconBg",
                      "name": "IconBg",
                      "width": 36,
                      "height": 36,
                      "fill": "#FFD700",
                      "cornerRadius": 18,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "GoldStarIcon",
                          "name": "Icon",
                          "width": 20,
                          "height": 20,
                          "iconFontName": "star",
                          "iconFontFamily": "lucide",
                          "fill": "#1F2937"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "GoldInfo",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "GoldName",
                          "name": "Name",
                          "fill": "#1F2937",
                          "content": "Gold (Hiện tại)",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "700"
                        },
                        {
                          "type": "text",
                          "id": "GoldDesc",
                          "name": "Description",
                          "fill": "#1F2937",
                          "content": "2,000 điểm - Giảm 10%, x2 điểm",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "TierConnectorLine3",
                  "name": "Connector3",
                  "width": 2,
                  "height": 20,
                  "fill": "$border-default"
                },
                {
                  "type": "frame",
                  "id": "TierRoadmapPlatinum",
                  "name": "PlatinumTier",
                  "opacity": 0.6,
                  "width": "fill_container",
                  "fill": "#F9FAFB",
                  "cornerRadius": 12,
                  "stroke": {
                    "align": "inside",
                    "thickness": 1,
                    "fill": "#E5E7EB"
                  },
                  "gap": 12,
                  "padding": 16,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "PlatinumIconBg",
                      "name": "IconBg",
                      "width": 36,
                      "height": 36,
                      "fill": "#A78BFA",
                      "cornerRadius": 18,
                      "layout": "vertical",
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "PlatinumLockIcon",
                          "name": "Icon",
                          "width": 20,
                          "height": 20,
                          "iconFontName": "lock",
                          "iconFontFamily": "lucide",
                          "fill": "#FFFFFF"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "PlatinumInfo",
                      "name": "Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "PlatinumName",
                          "name": "Name",
                          "fill": "#1F2937",
                          "content": "Platinum",
                          "fontFamily": "Poppins",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "PlatinumDesc",
                          "name": "Description",
                          "fill": "#6B7280",
                          "content": "5,000 điểm - Giảm 15%, x3 điểm, VIP",
                          "fontFamily": "Poppins",
                          "fontSize": 12
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "GoldBenefitsSection",
              "name": "GoldBenefits",
              "width": "fill_container",
              "fill": "$bg-surface",
              "cornerRadius": 16,
              "effect": {
                "type": "shadow",
                "shadowType": "outer",
                "color": "#00000010",
                "offset": {
                  "x": 0,
                  "y": 2
                },
                "blur": 8
              },
              "layout": "vertical",
              "gap": 16,
              "padding": 20,
              "children": [
                {
                  "type": "text",
                  "id": "BenefitsTitle",
                  "name": "Title",
                  "fill": "$text-primary",
                  "content": "Quyền lợi Gold",
                  "fontFamily": "Poppins",
                  "fontSize": 16,
                  "fontWeight": "600"
                },
                {
                  "type": "frame",
                  "id": "Benefit1",
                  "name": "Benefit1",
                  "width": "fill_container",
                  "gap": 10,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "Benefit1Icon",
                      "name": "Icon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "tag",
                      "iconFontFamily": "lucide",
                      "fill": "#10B981"
                    },
                    {
                      "type": "text",
                      "id": "Benefit1Text",
                      "name": "Text",
                      "fill": "$text-primary",
                      "content": "Giảm 10% tất cả đơn hàng",
                      "fontFamily": "Poppins",
                      "fontSize": 14
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Benefit2",
                  "name": "Benefit2",
                  "width": "fill_container",
                  "gap": 10,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "Benefit2Icon",
                      "name": "Icon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "zap",
                      "iconFontFamily": "lucide",
                      "fill": "#F59E0B"
                    },
                    {
                      "type": "text",
                      "id": "Benefit2Text",
                      "name": "Text",
                      "fill": "$text-primary",
                      "content": "Tích điểm x2",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Benefit3",
                  "name": "Benefit3",
                  "width": "fill_container",
                  "gap": 10,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "Benefit3Icon",
                      "name": "Icon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "gift",
                      "iconFontFamily": "lucide",
                      "fill": "#EC4899"
                    },
                    {
                      "type": "text",
                      "id": "Benefit3Text",
                      "name": "Text",
                      "fill": "$text-primary",
                      "content": "Ưu đãi sinh nhật đặc biệt",
                      "fontFamily": "Poppins",
                      "fontSize": 14
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Benefit4",
                  "name": "Benefit4",
                  "width": "fill_container",
                  "gap": 10,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "Benefit4Icon",
                      "name": "Icon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "star",
                      "iconFontFamily": "lucide",
                      "fill": "#8B5CF6"
                    },
                    {
                      "type": "text",
                      "id": "Benefit4Text",
                      "name": "Text",
                      "fill": "$text-primary",
                      "content": "Ưu tiên phục vụ",
                      "fontFamily": "Poppins",
                      "fontSize": 14
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-page": {
      "type": "color",
      "value": "#FAF8F4"
    },
    "bg-surface": {
      "type": "color",
      "value": "#FFFFFF"
    },
    "bg-elevated": {
      "type": "color",
      "value": "#FFF8F0"
    },
    "bg-interactive": {
      "type": "color",
      "value": "#F5EDE4"
    },
    "brown-primary": {
      "type": "color",
      "value": "#6B4423"
    },
    "brown-dark": {
      "type": "color",
      "value": "#4A2E15"
    },
    "orange-primary": {
      "type": "color",
      "value": "#FF6B35"
    },
    "orange-light": {
      "type": "color",
      "value": "#FF8A5C"
    },
    "text-primary": {
      "type": "color",
      "value": "#2C2C2C"
    },
    "text-secondary": {
      "type": "color",
      "value": "#6B6B6B"
    },
    "text-tertiary": {
      "type": "color",
      "value": "#9B9B9B"
    },
    "border-default": {
      "type": "color",
      "value": "#E5DDD4"
    },
    "border-subtle": {
      "type": "color",
      "value": "#F0EAE2"
    },
    "success": {
      "type": "color",
      "value": "#22C55E"
    },
    "warning": {
      "type": "color",
      "value": "#F59E0B"
    },
    "error": {
      "type": "color",
      "value": "#EF4444"
    }
  }
}