<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Your Profile — {{ORGANIZATION_NAME}}</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        .container {
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 30px;
            border: 1px solid #e0e0e0;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
            border-bottom: 2px solid #9d4edd;
            padding-bottom: 20px;
        }
        .logo {
            color: #9d4edd;
            font-size: 24px;
            font-weight: bold;
        }
        .content {
            background-color: white;
            padding: 25px;
            border-radius: 6px;
            margin-bottom: 20px;
            border-left: 4px solid #9d4edd;
        }
        .btn {
            display: inline-block;
            padding: 14px 32px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: bold;
            text-decoration: none;
            background: linear-gradient(135deg, #9d4edd, #7b2cbf);
            color: white;
        }
        .btn-container {
            text-align: center;
            margin: 24px 0;
        }
        .note {
            background-color: #f8f4fc;
            padding: 12px 16px;
            border-radius: 6px;
            font-size: 13px;
            color: #6c757d;
            margin-top: 16px;
        }
        .footer {
            text-align: center;
            font-size: 12px;
            color: #6c757d;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="logo">{{ORGANIZATION_NAME}}</div>
            <p style="margin: 10px 0 0 0; color: #6c757d;">Your Personal Profile</p>
        </div>

        <div class="content">
            <p>Hi {{RECIPIENT_NAME}},</p>
            <p>You can view and update your contact information, manage your notification preferences, and see your engagement history using the link below.</p>

            <div class="btn-container">
                <a href="{{PROFILE_URL}}" class="btn">View My Profile</a>
            </div>

            {{#if EXTRA_NOTES}}<div class="note" style="margin-bottom: 12px;">
                {{EXTRA_NOTES}}
            </div>{{/if}}

            <div class="note">
                This link is personal to you. Please do not share it with others. If you need a new link, contact the organization directly.
            </div>
        </div>

        <div class="footer">
            <p>This email was sent by <strong>{{ORGANIZATION_NAME}}</strong></p>
        </div>
    </div>
</body>
</html>
