<div style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; max-width: 600px; margin: 0 auto; background-color: #f8fafc;">
    <!-- Header Banner -->
    <div style="background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); padding: 40px 20px; text-align: center; border-radius: 8px 8px 0 0;">
        <h1 style="color: #ffffff; margin: 0; font-size: 28px; font-weight: 700;">🎉 Welcome to Your New Hosting Account!</h1>
        <p style="color: #e0e7ff; margin: 10px 0 0 0; font-size: 16px;">Your account has been successfully set up and is ready to use</p>
    </div>

    <!-- Main Content -->
    <div style="background-color: #ffffff; padding: 30px; border-radius: 0 0 8px 8px;">
        
        <!-- Quick Start Guide -->
        <div style="background-color: #f0f9ff; border-left: 4px solid #0ea5e9; padding: 20px; margin-bottom: 30px; border-radius: 4px;">
            <h2 style="color: #0c4a6e; margin: 0 0 15px 0; font-size: 18px;">🚀 Quick Start Guide</h2>
            <ol style="color: #0f172a; margin: 0; padding-left: 20px; line-height: 1.8;">
                <li><strong>Log in to cPanel</strong> using the credentials below</li>
                <li><strong>Upload your website</strong> files via File Manager or FTP</li>
                <li><strong>Set up email accounts</strong> for your domain</li>
            </ol>
        </div>

        <!-- Account Information -->
        <h3 style="color: #1e293b; margin: 0 0 15px 0; font-size: 20px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px;">📋 Account Information</h3>
        <table style="width: 100%; border-collapse: collapse; margin-bottom: 25px;">
            <tr>
                <td style="padding: 12px 0; color: #64748b; font-weight: 600; width: 40%;">Hosting Package:</td>
                <td style="padding: 12px 0; color: #0f172a; font-weight: 500;">{{service_product_name}}</td>
            </tr>
            <tr style="background-color: #f8fafc;">
                <td style="padding: 12px 0; color: #64748b; font-weight: 600;">Domain:</td>
                <td style="padding: 12px 0; color: #0f172a; font-weight: 500;">{{service_domain}}</td>
            </tr>
            <tr>
                <td style="padding: 12px 0; color: #64748b; font-weight: 600;">Billing Cycle:</td>
                <td style="padding: 12px 0; color: #0f172a; font-weight: 500;">{{service_billing_cycle}}</td>
            </tr>
            <tr style="background-color: #f8fafc;">
                <td style="padding: 12px 0; color: #64748b; font-weight: 600;">Next Due Date:</td>
                <td style="padding: 12px 0; color: #0f172a; font-weight: 500;">{{service_next_due_date}}</td>
            </tr>
        </table>

        <!-- Login Credentials -->
        <div style="background: linear-gradient(135deg, #10b981 0%, #059669 100%); padding: 25px; border-radius: 8px; margin-bottom: 25px;">
            <h3 style="color: #ffffff; margin: 0 0 20px 0; font-size: 18px;">🔐 Your Login Credentials</h3>
            <div style="background-color: rgba(255, 255, 255, 0.95); padding: 20px; border-radius: 6px;">
                <table style="width: 100%;">
                    <tr>
                        <td style="padding: 8px 0; color: #064e3b; font-weight: 600;">Control Panel URL:</td>
                        <td style="padding: 8px 0;"><a href="http://{{service_server_ip}}:2082/" style="color: #0ea5e9; text-decoration: none; font-weight: 500;">http://{{service_server_ip}}:2082/</a></td>
                    </tr>
                    <tr>
                        <td style="padding: 8px 0; color: #064e3b; font-weight: 600;">Username:</td>
                        <td style="padding: 8px 0; color: #0f172a; font-family: monospace; font-size: 14px; background-color: #f1f5f9; padding: 4px 8px; border-radius: 4px;">{{service_username}}</td>
                    </tr>
                    <tr>
                        <td style="padding: 8px 0; color: #064e3b; font-weight: 600;">Password:</td>
                        <td style="padding: 8px 0; color: #0f172a; font-family: monospace; font-size: 14px; background-color: #f1f5f9; padding: 4px 8px; border-radius: 4px;">{{service_password}}</td>
                    </tr>
                </table>
                <p style="margin: 15px 0 0 0; color: #dc2626; font-size: 13px; font-weight: 500;">⚠️ Keep these credentials secure. We recommend changing your password after first login.</p>
            </div>
        </div>

        <!-- Server Information -->
        <h3 style="color: #1e293b; margin: 0 0 15px 0; font-size: 18px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px;">🖥️ Server Information</h3>
        <table style="width: 100%; border-collapse: collapse; margin-bottom: 25px;">
            <tr>
                <td style="padding: 10px 0; color: #64748b; font-weight: 600; width: 40%;">Server IP:</td>
                <td style="padding: 10px 0; color: #0f172a; font-family: monospace;">{{service_server_ip}}</td>
            </tr>
            <tr style="background-color: #f8fafc;">
                <td style="padding: 10px 0; color: #64748b; font-weight: 600;">Nameserver 1:</td>
                <td style="padding: 10px 0; color: #0f172a; font-family: monospace;">{{ns1}}</td>
            </tr>
            <tr>
                <td style="padding: 10px 0; color: #64748b; font-weight: 600;">Nameserver 2:</td>
                <td style="padding: 10px 0; color: #0f172a; font-family: monospace;">{{ns2}}</td>
            </tr>
        </table>

        <!-- FTP & Email Settings -->
        <div style="background-color: #fef3c7; border-left: 4px solid #f59e0b; padding: 20px; margin-bottom: 25px; border-radius: 4px;">
            <h3 style="color: #78350f; margin: 0 0 15px 0; font-size: 16px;">📧 Email & FTP Settings</h3>
            <table style="width: 100%; font-size: 14px;">
                <tr>
                    <td style="padding: 6px 0; color: #78350f; font-weight: 600; width: 40%;">Incoming Mail (POP3/IMAP):</td>
                    <td style="padding: 6px 0; color: #0f172a; font-family: monospace;">mail.{{service_domain}}</td>
                </tr>
                <tr>
                    <td style="padding: 6px 0; color: #78350f; font-weight: 600;">Outgoing Mail (SMTP):</td>
                    <td style="padding: 6px 0; color: #0f172a; font-family: monospace;">mail.{{service_domain}}</td>
                </tr>
                <tr>
                    <td style="padding: 6px 0; color: #78350f; font-weight: 600;">FTP Hostname:</td>
                    <td style="padding: 6px 0; color: #0f172a; font-family: monospace;">{{service_domain}}</td>
                </tr>
            </table>
        </div>

        <!-- Important Notes -->
        <div style="background-color: #eff6ff; border-left: 4px solid #3b82f6; padding: 20px; margin-bottom: 25px; border-radius: 4px;">
            <h3 style="color: #1e40af; margin: 0 0 10px 0; font-size: 16px;">💡 Important Notes</h3>
            <ul style="color: #1e293b; margin: 0; padding-left: 20px; line-height: 1.8; font-size: 14px;">
                <li><strong>DNS Propagation:</strong> If you registered a new domain, it may take up to 48 hours to become fully accessible worldwide.</li>
                <li><strong>SSL Certificate:</strong> Free SSL certificates are automatically installed within 24 hours.</li>
                <li><strong>Backups:</strong> We perform daily backups, but we recommend keeping your own copies as well.</li>
            </ul>
        </div>

        <!-- CTA Button -->
        <div style="text-align: center; margin: 30px 0;">
            <a href="http://{{service_server_ip}}:2082/" style="display: inline-block; background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: #ffffff; padding: 14px 32px; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 16px;">Access cPanel Now →</a>
        </div>

        <!-- Support Section -->
        <div style="background-color: #f8fafc; padding: 20px; border-radius: 6px; text-align: center; margin-top: 30px;">
            <p style="color: #64748b; margin: 0 0 10px 0; font-size: 14px;">Need help getting started?</p>
            <p style="color: #0f172a; margin: 0; font-weight: 600;">Our support team is here 24/7 to assist you!</p>
        </div>
    </div>
</div>