<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="noindex, nofollow">
    <title>{{ __('dberp.maintenance_page.title') }} — {{ config('app.name') }}</title>
    <style>
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            color-scheme: light;
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --primary-soft: #eff6ff;
            --accent: #0ea5e9;
            --text: #0f172a;
            --text-muted: #475569;
            --text-soft: #64748b;
            --card: #ffffff;
            --border: #e2e8f0;
            --shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
        }
        body {
            min-height: 100vh;
            font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
            color: var(--text);
            line-height: 1.65;
            background:
                radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 99, 235, 0.18), transparent),
                linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f1f5f9 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 1.25rem;
        }
        .shell {
            width: min(32rem, 100%);
        }
        .brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.625rem;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }
        .brand svg { width: 2rem; height: 2rem; }
        .brand-name {
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: var(--text);
        }
        .card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 1.25rem;
            padding: 2rem 1.75rem;
            box-shadow: var(--shadow);
            text-align: center;
        }
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.35rem 0.85rem;
            border-radius: 999px;
            background: var(--primary-soft);
            color: var(--primary-dark);
            font-size: 0.8125rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
        }
        .badge-dot {
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 50%;
            background: var(--accent);
            animation: pulse 1.4s ease-in-out infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.45; transform: scale(0.85); }
        }
        h1 {
            font-size: 1.375rem;
            font-weight: 700;
            line-height: 1.4;
            margin-bottom: 0.75rem;
            color: var(--text);
        }
        .lead {
            font-size: 0.9375rem;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }
        .progress-track {
            height: 0.375rem;
            background: #e2e8f0;
            border-radius: 999px;
            overflow: hidden;
            margin-bottom: 1.5rem;
        }
        .progress-bar {
            height: 100%;
            width: 40%;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            animation: slide 1.8s ease-in-out infinite;
        }
        @keyframes slide {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(350%); }
        }
        .tips {
            list-style: none;
            text-align: left;
            font-size: 0.875rem;
            color: var(--text-soft);
        }
        .tips li {
            display: flex;
            gap: 0.625rem;
            padding: 0.5rem 0;
            border-top: 1px solid #f1f5f9;
        }
        .tips li:first-child { border-top: none; padding-top: 0; }
        .tips li::before {
            content: "";
            flex-shrink: 0;
            width: 1.25rem;
            height: 1.25rem;
            margin-top: 0.1rem;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
        }
        .footnote {
            margin-top: 1.25rem;
            font-size: 0.75rem;
            color: var(--text-soft);
        }
        @media (prefers-reduced-motion: reduce) {
            .badge-dot, .progress-bar { animation: none; }
            .progress-bar { width: 65%; margin: 0 auto; }
        }
    </style>
</head>
<body>
    <div class="shell">
        <div class="brand" aria-hidden="true">
            @include('partials.dberp-brand-cube-mark', ['class' => ''])
            <span class="brand-name">{{ config('app.name') }}</span>
        </div>

        <main class="card" role="main">
            <div class="badge">
                <span class="badge-dot" aria-hidden="true"></span>
                {{ __('dberp.maintenance_page.badge') }}
            </div>

            <h1>{{ __('dberp.maintenance_page.headline') }}</h1>
            <p class="lead">{{ __('dberp.maintenance_page.lead') }}</p>

            <div class="progress-track" aria-hidden="true">
                <div class="progress-bar"></div>
            </div>

            <ul class="tips">
                @foreach ((array) trans('dberp.maintenance_page.tips') as $tip)
                    @if (is_string($tip) && $tip !== '')
                        <li>{{ $tip }}</li>
                    @endif
                @endforeach
            </ul>

            <p class="footnote">{{ __('dberp.maintenance_page.footnote') }}</p>
        </main>
    </div>
</body>
</html>
