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

:root {
  color-scheme: dark;
  --bg: #070912;
  --surface: rgba(18, 21, 38, 0.66);
  --text: #f7f8ff;
  --muted: #a8aec3;
  --cyan: #08d5f4;
  --purple: #8b5bd9;
  --pink: #ff0088;
  --border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 209, 246, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 75%, rgba(255, 0, 136, 0.08), transparent 30rem),
    var(--bg);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
}

.grid {
  position: fixed;
  z-index: -3;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.glow {
  position: fixed;
  z-index: -2;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.13;
  pointer-events: none;
}

.glow--cyan {
  top: -15rem;
  left: -12rem;
  background: var(--cyan);
}

.glow--pink {
  right: -14rem;
  bottom: -14rem;
  background: var(--pink);
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  color: #cbd0df;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

main {
  display: grid;
  align-items: center;
  padding: 60px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(400px, 1.15fr);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
  direction: ltr;
}

.content {
  direction: rtl;
}

.logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 440px;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 38%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transform: rotate(-3deg);
}

.logo-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 17%;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--cyan), var(--pink));
  filter: blur(65px);
  opacity: 0.27;
}

.logo-frame img {
  width: 70%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.35));
  transform: rotate(3deg);
}

.logo-orbit {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.logo-orbit::before,
.logo-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.logo-orbit::before {
  top: 9%;
  left: 17%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.logo-orbit::after {
  right: 7%;
  bottom: 22%;
  background: var(--pink);
  box-shadow: 0 0 18px var(--pink);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  direction: ltr;
  text-align: right;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--cyan) 0%, #8f68df 48%, var(--pink) 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.description {
  max-width: 580px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  font-weight: 300;
  line-height: 2;
}

.progress {
  max-width: 540px;
  margin-top: 38px;
}

.progress__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #c5cad9;
  font-size: 0.76rem;
}

.progress__track {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.progress__track span {
  position: absolute;
  inset: 0;
  width: 68%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
  box-shadow: 0 0 18px rgba(139, 91, 217, 0.6);
}

.progress__track span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.8s ease-in-out infinite;
}

.signature {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  color: #777f97;
  font-size: 0.78rem;
}

.heart {
  color: var(--pink);
  text-shadow: 0 0 12px rgba(255, 0, 136, 0.6);
  animation: heartbeat 1.8s ease-in-out infinite;
}

footer {
  justify-content: center;
  gap: 12px;
  color: #686f84;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  direction: ltr;
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #596075;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  60%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes heartbeat {
  50% {
    transform: scale(1.2);
  }
}

@media (max-width: 850px) {
  .page-shell {
    width: min(100% - 30px, 620px);
  }

  .site-header {
    min-height: 76px;
  }

  main {
    padding: 28px 0 58px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .logo-frame {
    width: min(75vw, 330px);
  }

  .content {
    text-align: center;
  }

  .eyebrow {
    text-align: center;
  }

  .description,
  .progress {
    margin-right: auto;
    margin-left: auto;
  }

  .signature {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .status {
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .brand span {
    font-size: 1rem;
  }

  .logo-frame {
    width: min(78vw, 280px);
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .description {
    line-height: 1.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
