<?php
defined('ABSPATH') || exit;
?>
<div class="wrap">
  <div class="mepr-sister-plugin mepr-sister-plugin-easy-affiliate">

    <div class="mepr-sister-plugin-image">
      <img src="<?php echo esc_url(MEPR_BRAND_URL . '/images/logo-heart-easy-affiliate.svg'); ?>" alt="MemberPress and Easy Affiliate logos">
    </div>

    <div class="mepr-sister-plugin-title">
      <?php esc_html_e('Grow Your Revenue with Affiliate Marketing', 'memberpress'); ?>
    </div>

    <div class="mepr-sister-plugin-description">
      <?php esc_html_e('Easy Affiliate lets you create a fully self-hosted affiliate program for your membership site in minutes. Recruit affiliates, track referrals, and pay commissions — all without monthly fees or third-party restrictions.', 'memberpress'); ?>
    </div>

    <div class="mepr-sister-plugin-info mepr-clearfix">
      <div class="mepr-sister-plugin-info-image">
        <div>
          <img src="<?php echo esc_url(MEPR_BRAND_URL . '/images/easy-affiliate-screens.png'); ?>" alt="">
        </div>
      </div>
      <div class="mepr-sister-plugin-info-features">
        <ul>
          <li><img src="<?php echo esc_url(MEPR_IMAGES_URL . '/Check_Mark_Green.svg'); ?>" alt=""><?php esc_html_e('One-click setup that integrates directly with MemberPress', 'memberpress'); ?></li>
          <li><img src="<?php echo esc_url(MEPR_IMAGES_URL . '/Check_Mark_Green.svg'); ?>" alt=""><?php esc_html_e('Real-time reporting and 1-click affiliate payouts', 'memberpress'); ?></li>
          <li><img src="<?php echo esc_url(MEPR_IMAGES_URL . '/Check_Mark_Green.svg'); ?>" alt=""><?php esc_html_e('Tracks commissions without using third-party cookies', 'memberpress'); ?></li>
          <li><img src="<?php echo esc_url(MEPR_IMAGES_URL . '/Check_Mark_Green.svg'); ?>" alt=""><?php esc_html_e('Built-in fraud detection to protect your payouts', 'memberpress'); ?></li>
          <li><img src="<?php echo esc_url(MEPR_IMAGES_URL . '/Check_Mark_Green.svg'); ?>" alt=""><?php esc_html_e('Professional affiliate dashboard your partners will love', 'memberpress'); ?></li>
          <li><img src="<?php echo esc_url(MEPR_IMAGES_URL . '/Check_Mark_Green.svg'); ?>" alt=""><?php esc_html_e('Self-hosted and fully yours — no third-party dependencies or platform fees', 'memberpress'); ?></li>
        </ul>
      </div>
    </div>

    <div class="mepr-sister-plugin-step mepr-clearfix mepr-sister-plugin-step-current">
      <div class="mepr-sister-plugin-step-left">
        <div class="mepr-sister-plugin-step-number">1</div>
      </div>
      <div class="mepr-sister-plugin-step-detail">
        <div class="mepr-sister-plugin-step-title"><?php esc_html_e('Get Easy Affiliate', 'memberpress'); ?></div>
        <div class="mepr-sister-plugin-step-description">
          <?php esc_html_e('Purchase Easy Affiliate from EasyAffiliate.com, or check your MemberPress account to see if it is already included in your plan.', 'memberpress'); ?>
        </div>
        <div class="mepr-sister-plugin-step-button">
          <a href="<?php echo esc_url($pricing_url); ?>" class="button button-primary button-hero" target="_blank"><?php esc_html_e('Get Easy Affiliate', 'memberpress'); ?></a>
        </div>
      </div>
    </div>

    <div class="mepr-sister-plugin-step mepr-clearfix mepr-sister-plugin-step-current">
      <div class="mepr-sister-plugin-step-left">
        <div class="mepr-sister-plugin-step-number">2</div>
      </div>
      <div class="mepr-sister-plugin-step-detail">
        <div class="mepr-sister-plugin-step-title"><?php esc_html_e('Download and Install', 'memberpress'); ?></div>
        <div class="mepr-sister-plugin-step-description">
          <?php esc_html_e('After purchasing, download the Easy Affiliate plugin zip file from your account. Then go to Plugins > Add New > Upload Plugin in your WordPress admin to install and activate it.', 'memberpress'); ?>
        </div>
      </div>
    </div>

  </div>
</div>
