<?php
session_start();

require_once __DIR__ . '/../../../includes/helpers.php';
require_once __DIR__ . '/../../../includes/layout.php';
require_once __DIR__ . '/../../../includes/expense_shell.php';

if (!isset($_SESSION['authenticated'])) {
    redirect(page_url('signin'));
}

render_expense_shell_start('FAQ | Expense', 'dashboard-page getting-started-page', 'home');
?>
<div class="page-surface getting-started-surface">
    <section class="getting-started-shell">
        <header class="getting-started-hero panel">
            <div class="getting-started-hero-mark">
                <i class="fa-regular fa-circle-question" aria-hidden="true"></i>
            </div>
            <div class="getting-started-hero-copy">
                <h1>FAQ</h1>
                <p>Quick answers to common questions about the app.</p>
            </div>
            <a class="page-close-button getting-started-close" href="<?= e(route_url('home/gettingstarted/')) ?>" aria-label="Close">
                <i class="fa-solid fa-xmark" aria-hidden="true"></i>
            </a>
        </header>

        <section class="getting-started-panel panel getting-started-more">
            <h2>Frequently asked</h2>
            <div class="getting-started-more-grid">
                <article class="getting-started-more-card">
                    <div class="getting-started-more-icon"><i class="fa-solid fa-circle-info" aria-hidden="true"></i></div>
                    <div>
                        <h3>How do I start?</h3>
                        <p>Use the Getting Started page to create trips, expenses, and reports.</p>
                    </div>
                    <a href="<?= e(route_url('home/gettingstarted/')) ?>">Open start page</a>
                </article>

                <article class="getting-started-more-card">
                    <div class="getting-started-more-icon"><i class="fa-solid fa-headphones-simple" aria-hidden="true"></i></div>
                    <div>
                        <h3>Need help?</h3>
                        <p>Reach out through the support page if you want a live onboarding call.</p>
                    </div>
                    <a href="<?= e(route_url('support/contact/')) ?>">Contact Support</a>
                </article>
            </div>
        </section>
    </section>
</div>
<?php render_expense_shell_end(); ?>
