<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.6;
      color: #333;
      max-width: 600px;
      margin: 0 auto;
      padding: 20px;
    }
    .header {
      text-align: center;
      padding: 20px 0;
      border-bottom: 1px solid #eee;
    }
    .content {
      padding: 30px 0;
    }
    .button {
      display: inline-block;
      background-color: #3498db;
      color: white;
      text-decoration: none;
      padding: 12px 30px;
      border-radius: 5px;
      font-weight: bold;
      margin: 20px 0;
    }
    .button:hover {
      background-color: #2980b9;
    }
    .footer {
      font-size: 12px;
      color: #888;
      border-top: 1px solid #eee;
      padding-top: 20px;
      margin-top: 30px;
    }
    .url-fallback {
      word-break: break-all;
      font-size: 12px;
      color: #666;
    }
  </style>
</head>
<body>
  <div class="header">
    <h1>Verify Your Email</h1>
  </div>

  <div class="content">
    <p>Hello!</p>

    <p>Thank you for signing up for <strong><%= @website.subdomain %></strong>. To activate your website, please verify your email address by clicking the button below:</p>

    <p style="text-align: center;">
      <a href="<%= @verification_url %>" class="button">Verify Email Address</a>
    </p>

    <p>After verifying your email, you'll be able to create your account and start customizing your website.</p>

    <p>This link will expire in <strong><%= @expires_in %> days</strong>. If you need a new verification link, you can request one from the signup page.</p>

    <p class="url-fallback">
      If the button doesn't work, copy and paste this URL into your browser:<br>
      <%= @verification_url %>
    </p>
  </div>

  <div class="footer">
    <p>If you didn't sign up for this website, you can safely ignore this email.</p>
    <p>This email was sent by PropertyWebBuilder.</p>
  </div>
</body>
</html>
