<!-- Path: app/Views/Email/welcome.email.php -->
<!DOCTYPE html>
<html>
<head>
    <style>
        body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background-color: #f8fafc; padding: 20px; }
        .container { max-width: 600px; margin: 0 auto; background: #ffffff; padding: 30px; border-radius: 8px; border-top: 5px solid #0F172A; }
        h2 { color: #0F172A; }
        .btn { display: inline-block; background-color: #F97316; color: #ffffff; text-decoration: none; padding: 12px 24px; border-radius: 6px; font-weight: bold; margin-top: 20px; }
    </style>
</head>
<body>
    <div class="container">
        <h2>Welcome to GlobalFreight, <?= htmlspecialchars($name) ?>!</h2>
        <p>Thank you for creating an account with us. Your client portal is now ready.</p>
        <p>From your dashboard, you can request new freight quotes, review your stage-based billing, and track your active consignments in real-time across the globe.</p>
        
        <a href="<?= APP_URL ?>/login" class="btn">Log In to Dashboard</a>
        
        <p style="margin-top: 30px; font-size: 0.9em; color: #666;">
            If you have any questions, feel free to reply to this email or contact our support team at <?= SUPPORT_EMAIL ?>.
        </p>
        <p>Best Regards,<br>The GlobalFreight Team</p>
    </div>
</body>
</html>