/* ═══════════════════════════════════════════
   Coming Soon — Clinic
   فونت: اگه فایل Vazirmatn داری توی
   assets/fonts/ بذار و کامنت زیر رو باز کن
   ═══════════════════════════════════════════ */

/*
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*/

/* اگه فونت لوکال نداری از گوگل لود میشه */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;700&display=swap');

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: #05050e;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

/* ══ پس‌زمینه ══
   عکس کلینیک خودت رو بذار در:
   assets/images/clinic-bg.jpg
   ══════════════════════════════ */
.bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../images/clinic-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #0d1a2a;
}
.bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 18, 0.75);
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 75%, rgba(55, 25, 155, 0.30) 0%, transparent 58%),
    radial-gradient(ellipse at 12% 18%, rgba(0, 200, 180, 0.10) 0%, transparent 48%);
}

/* ══ محتوا ══ */
.content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 64px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* ══ حلقه‌های چرخنده ══ */
.rings {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.ring1 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(162, 155, 254, 0.30);
  animation: spinA 11s linear infinite;
}
.ring1::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a29bfe;
  box-shadow: 0 0 10px #a29bfe;
}
.ring1::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(162, 155, 254, 0.45);
}

.ring2 {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 206, 201, 0.20);
  border-top-color: rgba(0, 206, 201, 0.65);
  animation: spinA 7.5s linear infinite reverse;
}
.ring2::before {
  content: '';
  position: absolute;
  top: -3px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00CEC9;
  box-shadow: 0 0 8px #00CEC9;
}

.ring3 {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 0.5px dashed rgba(255, 255, 255, 0.10);
  animation: spinA 22s linear infinite;
}
.ring3::before {
  content: '';
  position: absolute;
  bottom: -2.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.ring-center {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, rgba(162, 155, 254, 0.25), rgba(0, 206, 201, 0.08));
  border: 1px solid rgba(162, 155, 254, 0.35);
}
.ring-center::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 155, 254, 0.55), transparent);
}

@keyframes spinA {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ══ متن‌ها ══ */
.clinic-label {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.30);
  letter-spacing: 0.25em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.clinic-label::before,
.clinic-label::after {
  content: '';
  width: 28px;
  height: 0.5px;
  background: rgba(255, 255, 255, 0.13);
}

.clinic-name {
  font-size: 21px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.headline {
  font-size: clamp(26px, 7vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  width: 100%;
}
.headline em {
  font-style: normal;
  background: linear-gradient(90deg, #a29bfe 0%, #00CEC9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.38);
  width: 100%;
  max-width: 300px;
  line-height: 1.95;
  margin-bottom: 40px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 240px;
}
.divider span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.17);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(108, 92, 231, 0.10);
  border: 0.5px solid rgba(108, 92, 231, 0.28);
  border-radius: 40px;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  max-width: 100%;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a29bfe;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(162, 155, 254, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(162, 155, 254, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(162, 155, 254, 0);    }
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.13);
  letter-spacing: 0.04em;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  padding-top: 10px;
}

/* ══ موبایل ══ */
@media (max-width: 480px) {
  .content {
    padding: 36px 20px 56px;
    justify-content: center;
    min-height: 100dvh;
  }

  .rings {
    width: 100px;
    height: 100px;
    margin-bottom: 28px;
  }

  .ring-center {
    width: 36px;
    height: 36px;
  }
  .ring-center::after {
    inset: 6px;
  }

  .ring2 { inset: 13px; }
  .ring3 { inset: 25px; }

  .clinic-label {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .clinic-name {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .headline {
    font-size: clamp(24px, 8vw, 36px);
  }

  .desc {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 32px;
  }

  .divider {
    max-width: 200px;
    margin-bottom: 28px;
  }

  .status-pill {
    font-size: 12px;
    padding: 9px 18px;
  }
}
