<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Welcome to <%= appName %>
    </title>
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            margin: 0;
            padding: 20px;
            background-color: #f4f4f4;
        }

        .container {
            max-width: 600px;
            margin: 0 auto;
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .header {
            text-align: center;
            border-bottom: 2px solid #eee;
            padding-bottom: 20px;
            margin-bottom: 20px;
        }

        .header h1 {
            color: #25d366;
            margin: 0;
        }

        .content {
            font-size: 16px;
        }

        .footer {
            margin-top: 30px;
            font-size: 12px;
            color: #777;
            text-align: center;
            border-top: 1px solid #eee;
            padding-top: 20px;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            background-color: #25d366;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            margin-top: 20px;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="header">
            <h1>
                <%= appName %>
            </h1>
        </div>
        <div class="content">
            <p>Hi <strong>
                    <%= name %>
                </strong>,</p>
            <p>Welcome to <strong>
                    <%= appName %>
                </strong>! We're excited to have you on board. Your account has been successfully created and you're now
                ready to start managing your WhatsApp gateway.</p>

            <p>With Wanine WhatsApp Gateway, you can:</p>
            <ul>
                <li>Connect multiple WhatsApp devices</li>
                <li>Send text and media messages via API</li>
                <li>Create broadcast campaigns</li>
                <li>Manage auto-replies and templates</li>
            </ul>

            <p>To get started, simply log in to your dashboard:</p>
            <a href="<%= appUrl %>/login" class="btn">Access Dashboard</a>

            <p>If you have any questions, feel free to reply to this email.</p>
            <p>Best regards,<br>The <%= appName %> Team</p>
        </div>
        <div class="footer">
            &copy; <%= new Date().getFullYear() %>
                <%= appName %>. All rights reserved.<br>
                    Sent to <%= email %>
        </div>
    </div>
</body>

</html>