html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at right, rgba(168, 85, 247, 0.12), transparent 25%),
    #050816;
}

.lang-en {
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.skip-link {
  position: fixed;
  inset-inline-start: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 0.75rem;
  background: #22d3ee;
  color: #020617;
  padding: 0.75rem 1rem;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.glass {
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.soft-border {
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.glow {
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.14);
}

.card {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 0.82);
}

.nav-link {
  position: relative;
}

.text-gradient {
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
