<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sedang Maintenance</title>
    <meta name="robots" content="noindex,nofollow">
    <style>
        :root {
            --bg: #f5f7fb;
            --card: #ffffff;
            --text: #111827;
            --muted: #6b7280;
            --border: #e5e7eb;
            --primary: #2563eb;
            --primary-hover: #1d4ed8;
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --bg: #0f172a;
                --card: #111827;
                --text: #f9fafb;
                --muted: #94a3b8;
                --border: #1f2937;
                --primary: #3b82f6;
                --primary-hover: #60a5fa;
            }
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: Inter, Arial, Helvetica, sans-serif;
            background: var(--bg);
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        .wrapper {
            width: 100%;
            max-width: 520px;
        }

        .card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
        }

        .status {
            display: inline-block;
            margin-bottom: 16px;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(37, 99, 235, 0.08);
            color: var(--primary);
            font-size: 12px;
            font-weight: 600;
        }

        h1 {
            margin: 0 0 12px;
            font-size: 28px;
            line-height: 1.3;
            font-weight: 700;
        }

        p {
            margin: 0;
            color: var(--muted);
            line-height: 1.7;
            font-size: 14px;
        }

        .info {
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
        }

        .info-item + .info-item {
            margin-top: 14px;
        }

        .info-label {
            font-size: 12px;
            color: var(--muted);
            margin-bottom: 4px;
        }

        .info-value {
            font-size: 14px;
            font-weight: 600;
            color: var(--text);
        }

        .actions {
            display: flex;
            gap: 12px;
            margin-top: 28px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 42px;
            padding: 0 16px;
            border-radius: 10px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: 0.2s ease;
            border: 1px solid var(--border);
        }

        .btn-primary {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            border-color: var(--primary-hover);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text);
        }

        .btn-secondary:hover {
            background: rgba(148, 163, 184, 0.08);
        }

        .footer {
            margin-top: 18px;
            font-size: 12px;
            color: var(--muted);
            text-align: center;
        }

        @media (max-width: 520px) {
            .card {
                padding: 24px;
            }

            .actions {
                flex-direction: column;
            }

            .btn {
                width: 100%;
            }

            h1 {
                font-size: 24px;
            }
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <div class="card">
            <div class="status">Maintenance</div>

            <h1>Sistem sedang dalam perawatan</h1>

            <p>
                Kami sedang melakukan maintenance untuk meningkatkan performa dan stabilitas aplikasi.
                Silakan coba kembali dalam beberapa saat.
            </p>

            <div class="info">
                <div class="info-item">
                    <div class="info-label">Status</div>
                    <div class="info-value">503 Service Unavailable</div>
                </div>

                <div class="info-item">
                    <div class="info-label">Waktu</div>
                    <div class="info-value">{{ now()->format('d M Y H:i') }}</div>
                </div>

                <div class="info-item">
                    <div class="info-label">Keterangan</div>
                    <div class="info-value">Layanan akan kembali tersedia setelah proses selesai.</div>
                </div>
            </div>

            <div class="actions">
                <a href="javascript:location.reload();" class="btn btn-primary">Refresh</a>
                <a href="/" class="btn btn-secondary">Kembali</a>
            </div>
        </div>

        <div class="footer">
            © {{ date('Y') }} {{ config('app.name', 'Application') }}
        </div>
    </div>
</body>
</html>