<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Verifikasi Email Anda</title>
    <style>
        body {
            background-color: #f1f5f9;
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            margin: 0;
            padding: 0;
            color: #334155;
        }
        .container {
            width: 100%;
            max-width: 600px;
            margin: 40px auto;
            background-color: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            border: 1px solid #e2e8f0;
        }
        .header {
            background: linear-gradient(135deg, #fef9c3 0%, #fed7aa 100%);
            padding: 30px;
            text-align: center;
        }
        .header h1 {
            margin: 0;
            color: #78350f;
            font-size: 28px;
            font-weight: 800;
            letter-spacing: 1px;
        }
        .content {
            padding: 40px 30px;
        }
        .content h2 {
            color: #0f172a;
            font-size: 20px;
            margin-top: 0;
            margin-bottom: 15px;
        }
        .content p {
            line-height: 1.6;
            margin-bottom: 25px;
            color: #475569;
            font-size: 15px;
        }
        .btn-wrapper {
            text-align: center;
            margin-top: 10px;
            margin-bottom: 30px;
        }
        .btn {
            display: inline-block;
            background: #0f172a;
            color: #ffffff;
            font-weight: 600;
            text-decoration: none;
            padding: 14px 28px;
            border-radius: 8px;
            font-size: 15px;
        }
        .note {
            background-color: #fef3c7;
            border-left: 4px solid #f59e0b;
            padding: 15px;
            border-radius: 4px;
            font-size: 14px;
            color: #92400e;
        }
        .footer {
            background-color: #f8fafc;
            padding: 20px;
            text-align: center;
            font-size: 13px;
            color: #94a3b8;
            border-top: 1px solid #e2e8f0;
        }
        .trouble-link {
            word-break: break-all;
            color: #3b82f6;
            font-size: 13px;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- Header -->
        <div class="header">
            <h1>INTERIA</h1>
        </div>

        <!-- Content -->
        <div class="content">
            <h2>Halo, {{ $user->name }}!</h2>
            <p>Terima kasih telah mendaftar di <strong>INTERIA</strong> - Toko Premium e-Commerce Anda. Tinggal satu langkah lagi sebelum akun Anda siap digunakan.</p>
            
            <p>Silakan klik tombol di bawah ini untuk memverifikasi alamat email Anda:</p>
            
            <div class="btn-wrapper">
                <!-- IMPORTANT: Outlook / Gmail usually don't support flex properly, so inline-block is better for buttons -->
                <a href="{{ $url }}" class="btn" style="color: #ffffff !important;">Verifikasi Email Saya</a>
            </div>

            <div class="note">
                <strong>Catatan:</strong> Jika Anda tidak mendaftar di INTERIA, abaikan email ini.
            </div>
        </div>

        <!-- Footer -->
        <div class="footer">
            <p>Bermasalah dengan tombol di atas? Salin URL berikut ke browser Anda:<br>
            <a href="{{ $url }}" class="trouble-link">{{ $url }}</a></p>
            <p>&copy; {{ date('Y') }} INTERIA. Hak cipta dilindungi undang-undang.</p>
        </div>
    </div>
</body>
</html>
