* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Vazirmatn", "IRANSans", Arial, sans-serif;
}

body {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #fefefe 0%, #f3f7ff 45%, #e6edf8 100%);
  color: #0f172a;
  display: flex;
  justify-content: center;
  padding: clamp(24px, 6vw, 64px);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("World-Map-PNG-Photos.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: min(1400px, 95vw);
  opacity: 0.18;
  filter: contrast(1.1) saturate(0.9);
  pointer-events: none;
}

.page {
  position: relative;
  width: min(960px, 100%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(248, 250, 255, 0.72)
  );
  border-radius: 40px;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    0 45px 80px rgba(15, 23, 42, 0.08),
    0 0 60px rgba(148, 163, 184, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(26px) saturate(1.4);
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(191, 219, 254, 0.6), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: clamp(32px, 4vw, 48px);
  align-items: center;
}

.hero__text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 700;
  background: linear-gradient(135deg, #0f172a, #1d4ed8, #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: #98a2b3;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero__lead {
  color: #475467;
  line-height: 1.8;
  font-size: 1.1rem;
}

.hero__visual {
  position: relative;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), rgba(241, 245, 255, 0.7));
  border-radius: 32px;
  padding: 20px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero__visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.hero__visual figcaption {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #667085;
}

.nav-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 28px clamp(32px, 5vw, 64px);
  border-radius: 999px;
  text-decoration: none;
  color: #0f172a;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.9), transparent 60%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 25px 60px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(22px) saturate(1.4);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  isolation: isolate;
  animation: float-pill 9s ease-in-out infinite;
}

.nav-pill__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.nav-pill__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.nav-pill__label {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}

.nav-pill::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.05));
  opacity: 0.55;
  z-index: 1;
}

.nav-pill::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--glow-color, rgba(255, 255, 255, 0.4)) 0%, transparent 65%);
  opacity: 0.6;
  filter: blur(18px);
  z-index: 0;
}

.nav-pill__orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
  z-index: 2;
}

.nav-pill__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  mix-blend-mode: screen;
}

.nav-pill__dot {
  fill: #fff;
}

.nav-pill[data-glow="crimson"] {
  --glow-color: rgba(248, 113, 113, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 32px rgba(248, 113, 113, 0.3),
    0 25px 50px rgba(15, 23, 42, 0.12);
}
.nav-pill[data-glow="emerald"] {
  --glow-color: rgba(34, 197, 94, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 32px rgba(34, 197, 94, 0.3),
    0 25px 50px rgba(15, 23, 42, 0.12);
}
.nav-pill[data-glow="azure"] {
  --glow-color: rgba(56, 189, 248, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 32px rgba(56, 189, 248, 0.3),
    0 25px 50px rgba(15, 23, 42, 0.12);
}
.nav-pill[data-glow="amber"] {
  --glow-color: rgba(251, 191, 36, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 32px rgba(251, 191, 36, 0.3),
    0 25px 50px rgba(15, 23, 42, 0.12);
}
.nav-pill[data-glow="violet"] {
  --glow-color: rgba(196, 181, 253, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 32px rgba(196, 181, 253, 0.3),
    0 25px 50px rgba(15, 23, 42, 0.12);
}

.nav-pill__dot {
  filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 40px var(--glow-color, rgba(255, 255, 255, 0.85)));
}

.nav-pill:hover {
  transform: translateX(-6px) translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 60px var(--glow-color, rgba(255, 255, 255, 0.5)),
    0 40px 80px rgba(15, 23, 42, 0.2);
  border-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(26px) saturate(1.6);
}

.nav-stack .nav-pill:nth-child(2) {
  animation-delay: 1s;
}

.nav-stack .nav-pill:nth-child(3) {
  animation-delay: 2s;
}

@keyframes float-pill {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.site-signature {
  margin-top: 40px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: #98a2b3;
  opacity: 0.9;
}

.fun-link {
  margin-top: 32px;
  text-align: left;
}

.fun-link a {
  text-decoration: none;
  color: #98a2b3;
  letter-spacing: 0.4em;
  font-weight: 500;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px dashed rgba(152, 162, 179, 0.5);
}

@media (max-width: 640px) {
  body {
    padding: 16px;
  }
  .page {
    border-radius: 24px;
  }
  .nav-pill {
    padding: 24px 28px;
  }
  .nav-pill__label {
    font-size: 1.2rem;
  }
}

