<!--
  templateType: section
  label: Pricing
  isAvailableForNewContent: true
  screenshotPath: ../images/section-previews/pricing.png
  description: "Middle centered heading above three pricing cards, containing a subheading, description, and button each."
-->
{% dnd_section padding={"top": 5, "bottom": 5, "left": 20, "right": 20}, max_width=1200 %}
  {% dnd_row %}
    {% dnd_column width=12 %}
      {% dnd_module "pricing_heading"
        path="@hubspot/rich_text",
        label="Pricing Heading",
        html={{ context.heading or '<div style="text-align: center;"><h1>Pricing</h1></div>' }}
      %}
      {% end_dnd_module %}
    {% end_dnd_column %}
  {% end_dnd_row %}
  {% dnd_row %}
    {% dnd_column width=12 %}
      {% dnd_module "pricing_table"
        path="../modules/cards-pricingtable.module",
        label="Pricing Table",
        cards=[
          {
            "plan_name": context.card_one_tier|striptags|default("Starter"),
            "price_monthly": context.card_one_price|default("$0"),
            "price_suffix": context.card_one_timeframe|default("/mo"),
            "description": context.card_one_description|default("<p>For individuals or team just getting started with sales.</p>"),
            "features": [
              {"feature_label":"Ad management", "included": true},
              {"feature_label":"Live chat", "included": true},
              {"feature_label":"Conversational bots", "included": true},
              {"feature_label":"Forms", "included": true},
              {"feature_label":"Pop-up forms", "included": true},
              {"feature_label":"Contact website activity", "included": true},
              {"feature_label":"List segmentation", "included": true},
              {"feature_label":"Email marketing", "included": true},
              {"feature_label":"Ad retargeting", "included": true}
            ],
            "popular": false,
            "cta_primary_text": context.card_one_button_text|default("Buy starter"),
            "cta_primary_url": {"href": "#", "type": "EXTERNAL"}
          },
          {
            "plan_name": context.card_two_tier|striptags|default("Professional"),
            "price_monthly": context.card_two_price|default("$1200"),
            "price_suffix": context.card_two_timeframe|default("/mo"),
            "description": context.card_two_description|default("<p>For teams that need to create sales plans with confidence.</p>"),
            "features": [
              {"feature_label":"Marketing automation", "included": true},
              {"feature_label":"Smart content", "included": true},
              {"feature_label":"Content creation tools", "included": true},
              {"feature_label":"SEO & content strategy", "included": true},
              {"feature_label":"Social media", "included": true},
              {"feature_label":"A/B testing", "included": true},
              {"feature_label":"Landing pages", "included": true},
              {"feature_label":"Calls-to-action", "included": true},
              {"feature_label":"Video hosting", "included": true}
            ],
            "popular": true,
            "popular_text": "Most Popular",
            "cta_primary_text": context.card_two_button_text|default("Buy professional"),
            "cta_primary_url": {"href": "#", "type": "EXTERNAL"}
          },
          {
            "plan_name": context.card_three_tier|striptags|default("Enterprise"),
            "price_monthly": context.card_three_price|default("$3200"),
            "price_suffix": context.card_three_timeframe|default("/mo"),
            "description": context.card_three_description|default("<p>For teams that need additional security, control, and support.</p>"),
            "features": [
              {"feature_label":"Content partitioning", "included": true},
              {"feature_label":"Hierarchical teams", "included": true},
              {"feature_label":"Single sign-on", "included": true},
              {"feature_label":"Social permissions", "included": true},
              {"feature_label":"Additional domains", "included": true},
              {"feature_label":"Email send frequency cap", "included": true},
              {"feature_label":"Calculated properties", "included": true},
              {"feature_label":"CMS membership", "included": true},
              {"feature_label":"Filtered analytics view", "included": true}
            ],
            "popular": false,
            "cta_primary_text": context.card_three_button_text|default("Buy enterprise"),
            "cta_primary_url": {"href": "#", "type": "EXTERNAL"}
          }
        ]
      %}
      {% end_dnd_module %}
    {% end_dnd_column %}
  {% end_dnd_row %}
{% end_dnd_section %}
