@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn[wght].woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34rem),
    radial-gradient(circle at 90% 88%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: 'Vazirmatn', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(22px, 5vw, 72px);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}

.card {
  width: min(980px, 100%);
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 30px 90px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(22px);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
}

.topline { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.brand { display:flex; align-items:center; gap:14px; min-width: 0; }
.brand-mark {
  width: 52px; height: 52px; display:grid; place-items:center;
  border-radius: 16px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  flex: 0 0 auto;
}
.brand-mark svg { width: 31px; height: 31px; }
.eyebrow { color: var(--muted); font-size: .78rem; font-weight: 650; letter-spacing:.05em; }
.service-name { font-size: 1.08rem; font-weight: 850; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.status-pill {
  display:inline-flex; align-items:center; gap:9px; flex: 0 0 auto;
  padding: 9px 13px; border-radius: 999px;
  background: rgba(245, 158, 11, .10);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,.22);
  font-size: .82rem; font-weight: 750;
}
.status-dot { width:8px; height:8px; border-radius:50%; background: currentColor; box-shadow: 0 0 0 5px rgba(245,158,11,.08); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { opacity:.4; transform: scale(.84); } }

.hero { display:grid; grid-template-columns: 116px 1fr; gap: clamp(24px,4vw,44px); align-items:center; padding: clamp(48px,8vw,84px) 0 clamp(34px,6vw,56px); }
.icon-wrap {
  width:116px; height:116px; display:grid; place-items:center; border-radius:32px;
  color: var(--accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-2) 10%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 40px color-mix(in srgb, var(--accent) 10%, transparent);
}
.maintenance-icon { width:64px; height:64px; }
.kicker { margin:0 0 8px; color: var(--accent); font-size:.88rem; font-weight:800; }
h1 { margin:0; font-size: clamp(2rem, 5vw, 4rem); line-height:1.2; letter-spacing:-.035em; font-weight:900; }
.lead { margin:18px 0 0; color: var(--muted); font-size: clamp(1rem,2vw,1.17rem); max-width: 740px; white-space: pre-line; }

.info-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.info-item {
  padding:18px 20px; border-radius:20px;
  background: rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.075);
  min-width:0;
}
.info-label { display:block; color:var(--muted); font-size:.76rem; margin-bottom:6px; }
.info-item strong { display:block; font-size:.95rem; font-weight:750; overflow-wrap:anywhere; }

.note {
  margin-top:16px; padding:16px 18px; border-radius:18px;
  display:flex; gap:11px; align-items:flex-start;
  color: color-mix(in srgb, var(--text) 88%, var(--muted));
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  border:1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  font-size:.88rem;
}
.note svg { width:20px; height:20px; flex:0 0 auto; margin-top:3px; color:var(--accent); }

footer { margin-top:34px; padding-top:22px; border-top:1px solid rgba(255,255,255,.07); display:flex; justify-content:center; gap:8px; flex-wrap:wrap; color:var(--muted); font-size:.78rem; text-align:center; }
.footer-sep { opacity:.45; }
.ambient { position:fixed; border-radius:50%; filter: blur(70px); opacity:.28; pointer-events:none; z-index:-2; }
.ambient-a { width:370px; height:370px; background:var(--accent); top:-180px; inset-inline-start:-140px; }
.ambient-b { width:320px; height:320px; background:var(--accent-2); bottom:-180px; inset-inline-end:-100px; }
.noise { position:fixed; inset:0; pointer-events:none; opacity:.025; z-index:-1; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

[dir="rtl"] h1 { letter-spacing: -.02em; }

@media (max-width: 720px) {
  .page-shell { padding:18px; }
  .card { border-radius:24px; padding:22px; }
  .topline { align-items:flex-start; }
  .brand-mark { width:46px; height:46px; border-radius:14px; }
  .status-pill { padding:8px 10px; font-size:.75rem; }
  .hero { grid-template-columns:1fr; padding:44px 0 30px; gap:24px; }
  .icon-wrap { width:84px; height:84px; border-radius:24px; }
  .maintenance-icon { width:48px; height:48px; }
  .info-grid { grid-template-columns:1fr; }
  footer { margin-top:26px; }
}

@media (prefers-reduced-motion: reduce) { .status-dot { animation:none; } }
