/* =========================================================
   Under Maintenance Page — maintenance.css
   Project : mashahir.com
   ========================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-1: #0a0c14;
    --bg-2: #0e1120;
    --surface: rgba(255,255,255,.04);
    --border: rgba(255,255,255,.08);
    --text: #e8eaf0;
    --text-muted: #6b7394;
    --accent: #4a6cf7;
    --accent-2: #7c3aed;
    --glow: rgba(74,108,247,.35);
}

/* ---- Base ---- */
html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-1);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* ================================================================
   Background — animated gradient orbs
   ================================================================ */

.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: drift linear infinite;
    opacity: .55;
}

.orb-1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #4a6cf7 0%, transparent 70%);
    top: -160px; left: -100px;
    animation-duration: 22s;
}

.orb-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -120px; right: -80px;
    animation-duration: 18s;
    animation-direction: reverse;
}

.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
    top: 40%; left: 60%;
    animation-duration: 28s;
    opacity: .35;
}

@keyframes drift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(40px, -30px) scale(1.06); }
    66%  { transform: translate(-25px, 40px) scale(.95); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ---- Dot grid overlay ---- */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ================================================================
   Main card
   ================================================================ */

.card {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 520px;
    width: calc(100% - 40px);
    padding: 52px 44px 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.04),
        0 32px 80px rgba(0,0,0,.6),
        0 0 60px var(--glow);
    animation: card-in .7s cubic-bezier(.22,.68,0,1.2) both;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(28px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

/* ---- Icon ---- */
.icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 30px var(--glow);
    margin: 0 auto 28px;
    animation: float 3.4s ease-in-out infinite;
}

.icon-wrap svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ---- Badge ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(74,108,247,.15);
    border: 1px solid rgba(74,108,247,.3);
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #818cf8;
    margin-bottom: 18px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.7); }
}

/* ---- Heading ---- */
h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 30%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}

/* ---- Subtitle ---- */
.subtitle {
    font-size: .97rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

/* ---- Progress bar ---- */
.progress-wrap {
    margin-bottom: 36px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.progress-bar {
    height: 5px;
    background: rgba(255,255,255,.07);
    border-radius: 99px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 68%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 99px;
    position: relative;
    animation: fill-in 1.4s cubic-bezier(.4,0,.2,1) .5s both;
}

@keyframes fill-in {
    from { width: 0; }
    to   { width: 68%; }
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45));
    animation: shimmer 2.2s ease-in-out 2s infinite;
}

@keyframes shimmer {
    0%   { opacity: 0; transform: translateX(-40px); }
    50%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(10px); }
}

/* ---- Step indicators ---- */
.steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.step {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.step-done {
    background: rgba(16,185,129,.1);
    border-color: rgba(16,185,129,.25);
    color: #6ee7b7;
}

.step-active {
    background: rgba(74,108,247,.14);
    border-color: rgba(74,108,247,.35);
    color: #818cf8;
}

.step-pending {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
    color: var(--text-muted);
}

.step svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    fill: currentColor;
}

/* ---- Divider ---- */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 24px;
}

/* ---- Footer note ---- */
.footer-note {
    font-size: .77rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-note a {
    color: #818cf8;
    text-decoration: none;
}

.footer-note a:hover {
    text-decoration: underline;
}
