<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

$this->render_page_header(
    __( 'nnax User Files - Sharing', 'nnax-frontend-user-files' ),
    __( 'Unlock advanced sharing features for nnax Frontend User Files with the optional Sharing Addon.', 'nnax-frontend-user-files' ),
    'sharing'
);
?>
<div class="nnax-grid nnax-grid-2">
    <div>
        <div class="nnax-card-wrapper">
        <?php $this->render_card_start( __( 'Sharing Addon Required', 'nnax-frontend-user-files' ), '', 'nnax-card--primary' ); ?>
            <p>
                <?php esc_html_e( 'With the optional Sharing Addon, you can extend nnax Frontend User Files with powerful sharing workflows for files and folders. The base plugin stays lean and focused, while advanced features such as user-based sharing, role-based sharing, permission levels and time-limited access can be enabled whenever needed.', 'nnax-frontend-user-files' ); ?>
            </p>
        <?php $this->render_card_end(); ?>
        </div>

        <div class="nnax-card-wrapper">
        <?php $this->render_card_start( __( 'What the Sharing Addon adds', 'nnax-frontend-user-files' ) ); ?>
            <ul class="nnax-features-list" style="margin: 0; padding: 0; list-style: none;">
                <li style="margin-bottom: 16px;">
                    <strong><?php esc_html_e( 'Advanced sharing settings', 'nnax-frontend-user-files' ); ?></strong><br>
                    <span class="description"><?php esc_html_e( 'Manage sharing behavior from a dedicated addon area without overloading the base plugin settings.', 'nnax-frontend-user-files' ); ?></span>
                </li>
                <li style="margin-bottom: 16px;">
                    <strong><?php esc_html_e( 'User-based sharing', 'nnax-frontend-user-files' ); ?></strong><br>
                    <span class="description"><?php esc_html_e( 'Share files and folders with selected WordPress users and control who can access specific content.', 'nnax-frontend-user-files' ); ?></span>
                </li>
                <li style="margin-bottom: 16px;">
                    <strong><?php esc_html_e( 'Advanced sharing roles', 'nnax-frontend-user-files' ); ?></strong><br>
                    <span class="description"><?php esc_html_e( 'Assign different permission levels such as normal access, management permissions or extended folder permissions.', 'nnax-frontend-user-files' ); ?></span>
                </li>
                <li style="margin-bottom: 16px;">
                    <strong><?php esc_html_e( 'Role-based sharing', 'nnax-frontend-user-files' ); ?></strong><br>
                    <span class="description"><?php esc_html_e( 'Optionally share files or folders with complete WordPress roles instead of selecting users one by one.', 'nnax-frontend-user-files' ); ?></span>
                </li>
                <li style="margin-bottom: 16px;">
                    <strong><?php esc_html_e( 'Time-limited sharing', 'nnax-frontend-user-files' ); ?></strong><br>
                    <span class="description"><?php esc_html_e( 'Create shares that are only valid for a defined period of time.', 'nnax-frontend-user-files' ); ?></span>
                </li>
            </ul>
        <?php $this->render_card_end(); ?>
        </div>
    </div>

    <div>
        <div class="nnax-card-wrapper">
        <?php $this->render_card_start( __( 'Ideal for teams, client portals and protected file areas', 'nnax-frontend-user-files' ) ); ?>
            <p>
                <?php esc_html_e( 'The Sharing Addon is designed for websites where users need controlled access to shared documents, project files, client folders or internal resources.', 'nnax-frontend-user-files' ); ?>
            </p>
            <p>
                <?php esc_html_e( 'Whether you are building a client portal, a member area or an internal document hub, the addon helps you keep file access structured and easier to manage.', 'nnax-frontend-user-files' ); ?>
            </p>
        <?php $this->render_card_end(); ?>
        </div>

        <div class="nnax-card-wrapper">
        <?php $this->render_card_start( __( 'Get the Sharing Addon', 'nnax-frontend-user-files' ) ); ?>
            <p>
                <?php esc_html_e( 'The nnax Frontend User Files - Sharing Addon will be available soon via:', 'nnax-frontend-user-files' ); ?>
            </p>
            <p style="margin: 16px 0;">
                <a href="https://www.expertonaut.de" target="_blank" class="nnax-btn nnax-btn--primary nnax-btn--small">www.expertonaut.de</a>
            </p>
            <p>
                <?php esc_html_e( 'After purchasing and installing the addon, activate nnax Frontend User Files - Sharing Addon in WordPress to unlock these features.', 'nnax-frontend-user-files' ); ?>
            </p>
        <?php $this->render_card_end(); ?>
        </div>
    </div>
</div>
<?php
$this->render_page_footer();
