@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #566aa8;
  --blue-dark: #263761;
  --blue-deep: #182846;
  --blue-light: #8c9bd0;
  --ink: #17243f;
  --muted: #66718a;
  --white: #ffffff;
  --line: rgba(86, 106, 168, .16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow: hidden;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(140,155,208,.25), transparent 26%),
    radial-gradient(circle at 88% 82%, rgba(86,106,168,.18), transparent 30%),
    linear-gradient(135deg, #f8faff 0%, #eef2fb 48%, #e7ecf8 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: radial-gradient(rgba(38,55,97,.18) .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom right, black, transparent 70%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
  z-index: 2;
}

.card {
  width: min(920px, 100%);
  min-height: 650px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 34px;
  padding: 62px 70px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255,255,255,.84);
  box-shadow:
    0 30px 80px rgba(38,55,97,.15),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
}

.card::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  top: -250px;
  left: -180px;
  border-radius: 50%;
  background: rgba(86,106,168,.08);
}

.card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: -210px;
  right: -100px;
  border-radius: 50%;
  background: rgba(86,106,168,.09);
}

.logo-wrap {
  width: 185px;
  height: 164px;
  position: relative;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
}

.logo-glow {
  position: absolute;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: rgba(86,106,168,.17);
  filter: blur(25px);
}

.logo {
  width: 178px;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: 18px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 15px 20px rgba(38,55,97,.16));
}

.brand { position: relative; z-index: 2; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}

h1 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -.035em;
}

h1 strong {
  color: var(--blue);
  font-weight: 800;
}

.subtitle {
  margin: 20px auto 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2.1;
  font-weight: 400;
}

.progress-area {
  width: min(440px, 100%);
  margin-top: 34px;
  position: relative;
  z-index: 2;
}

.progress-line {
  height: 7px;
  border-radius: 99px;
  background: #e3e8f4;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(38,55,97,.08);
}

.progress-line span {
  display: block;
  height: 100%;
  width: 66%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
  animation: progress 2.8s ease-in-out infinite alternate;
}

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.dots {
  direction: ltr;
  display: inline-flex;
  gap: 4px;
}

.dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  animation: dot 1.2s infinite ease-in-out;
}

.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }

.footer {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8a94aa;
  font-size: 11px;
  font-weight: 500;
  z-index: 3;
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.background-shape {
  position: fixed;
  z-index: 1;
  border: 1px solid rgba(86,106,168,.12);
  border-radius: 50%;
  pointer-events: none;
}

.shape-one {
  width: 520px;
  height: 520px;
  right: -240px;
  top: -170px;
}

.shape-two {
  width: 420px;
  height: 420px;
  left: -230px;
  bottom: -190px;
}

@keyframes progress {
  from { width: 48%; }
  to { width: 76%; }
}

@keyframes dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .35; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@media (max-width: 700px) {
  .page { padding: 16px; }
  .card {
    min-height: calc(100vh - 32px);
    border-radius: 26px;
    padding: 44px 24px 70px;
  }
  .logo-wrap {
    width: 155px;
    height: 142px;
    margin-bottom: 14px;
  }
  .logo { width: 150px; }
  h1 { font-size: clamp(29px, 9vw, 40px); }
  .subtitle { font-size: 14px; line-height: 2; }
  .progress-area { margin-top: 28px; }
  .footer { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .progress-line span, .dots i { animation: none; }
}
